@aws-sdk/client-cognito-sync 3.533.0 → 3.535.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-types/CognitoSync.d.ts +2 -1
- package/dist-types/CognitoSyncClient.d.ts +1 -1
- package/dist-types/commands/BulkPublishCommand.d.ts +2 -1
- package/dist-types/commands/DeleteDatasetCommand.d.ts +2 -1
- package/dist-types/commands/DescribeDatasetCommand.d.ts +2 -1
- package/dist-types/commands/DescribeIdentityPoolUsageCommand.d.ts +2 -1
- package/dist-types/commands/DescribeIdentityUsageCommand.d.ts +2 -1
- package/dist-types/commands/GetBulkPublishDetailsCommand.d.ts +2 -1
- package/dist-types/commands/GetCognitoEventsCommand.d.ts +2 -1
- package/dist-types/commands/GetIdentityPoolConfigurationCommand.d.ts +2 -1
- package/dist-types/commands/ListDatasetsCommand.d.ts +2 -1
- package/dist-types/commands/ListIdentityPoolUsageCommand.d.ts +2 -1
- package/dist-types/commands/ListRecordsCommand.d.ts +2 -1
- package/dist-types/commands/RegisterDeviceCommand.d.ts +2 -1
- package/dist-types/commands/SetCognitoEventsCommand.d.ts +2 -1
- package/dist-types/commands/SetIdentityPoolConfigurationCommand.d.ts +2 -1
- package/dist-types/commands/SubscribeToDatasetCommand.d.ts +2 -1
- package/dist-types/commands/UnsubscribeFromDatasetCommand.d.ts +2 -1
- package/dist-types/commands/UpdateRecordsCommand.d.ts +2 -1
- package/dist-types/models/models_0.d.ts +169 -169
- package/dist-types/ts3.4/CognitoSync.d.ts +1 -0
- package/dist-types/ts3.4/commands/BulkPublishCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteDatasetCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DescribeDatasetCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DescribeIdentityPoolUsageCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DescribeIdentityUsageCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetBulkPublishDetailsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetCognitoEventsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetIdentityPoolConfigurationCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListDatasetsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListIdentityPoolUsageCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListRecordsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/RegisterDeviceCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/SetCognitoEventsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/SetIdentityPoolConfigurationCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/SubscribeToDatasetCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UnsubscribeFromDatasetCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UpdateRecordsCommand.d.ts +9 -0
- package/package.json +40 -40
|
@@ -75,6 +75,7 @@ export interface CognitoSync {
|
|
|
75
75
|
/**
|
|
76
76
|
* @see {@link ListIdentityPoolUsageCommand}
|
|
77
77
|
*/
|
|
78
|
+
listIdentityPoolUsage(): Promise<ListIdentityPoolUsageCommandOutput>;
|
|
78
79
|
listIdentityPoolUsage(args: ListIdentityPoolUsageCommandInput, options?: __HttpHandlerOptions): Promise<ListIdentityPoolUsageCommandOutput>;
|
|
79
80
|
listIdentityPoolUsage(args: ListIdentityPoolUsageCommandInput, cb: (err: any, data?: ListIdentityPoolUsageCommandOutput) => void): void;
|
|
80
81
|
listIdentityPoolUsage(args: ListIdentityPoolUsageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListIdentityPoolUsageCommandOutput) => void): void;
|
|
@@ -122,7 +123,6 @@ export interface CognitoSync {
|
|
|
122
123
|
updateRecords(args: UpdateRecordsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateRecordsCommandOutput) => void): void;
|
|
123
124
|
}
|
|
124
125
|
/**
|
|
125
|
-
* @public
|
|
126
126
|
* <fullname>Amazon Cognito Sync</fullname>
|
|
127
127
|
* <p>Amazon Cognito Sync provides an AWS service and client library that enable cross-device syncing of
|
|
128
128
|
* application-related user data. High-level client libraries are available for both iOS and
|
|
@@ -136,6 +136,7 @@ export interface CognitoSync {
|
|
|
136
136
|
* to make API calls using credentials retrieved with <a href="http://docs.aws.amazon.com/cognitoidentity/latest/APIReference/Welcome.html">Amazon Cognito Identity service</a>.</p>
|
|
137
137
|
* <p>If you want to use Cognito Sync in an Android or iOS application, you will probably want to
|
|
138
138
|
* make API calls via the AWS Mobile SDK. To learn more, see the <a href="http://docs.aws.amazon.com/mobile/sdkforandroid/developerguide/cognito-sync.html">Developer Guide for Android</a> and the <a href="http://docs.aws.amazon.com/mobile/sdkforios/developerguide/cognito-sync.html">Developer Guide for iOS</a>.</p>
|
|
139
|
+
* @public
|
|
139
140
|
*/
|
|
140
141
|
export declare class CognitoSync extends CognitoSyncClient implements CognitoSync {
|
|
141
142
|
}
|
|
@@ -168,7 +168,6 @@ export type CognitoSyncClientResolvedConfigType = __SmithyResolvedConfiguration<
|
|
|
168
168
|
export interface CognitoSyncClientResolvedConfig extends CognitoSyncClientResolvedConfigType {
|
|
169
169
|
}
|
|
170
170
|
/**
|
|
171
|
-
* @public
|
|
172
171
|
* <fullname>Amazon Cognito Sync</fullname>
|
|
173
172
|
* <p>Amazon Cognito Sync provides an AWS service and client library that enable cross-device syncing of
|
|
174
173
|
* application-related user data. High-level client libraries are available for both iOS and
|
|
@@ -182,6 +181,7 @@ export interface CognitoSyncClientResolvedConfig extends CognitoSyncClientResolv
|
|
|
182
181
|
* to make API calls using credentials retrieved with <a href="http://docs.aws.amazon.com/cognitoidentity/latest/APIReference/Welcome.html">Amazon Cognito Identity service</a>.</p>
|
|
183
182
|
* <p>If you want to use Cognito Sync in an Android or iOS application, you will probably want to
|
|
184
183
|
* make API calls via the AWS Mobile SDK. To learn more, see the <a href="http://docs.aws.amazon.com/mobile/sdkforandroid/developerguide/cognito-sync.html">Developer Guide for Android</a> and the <a href="http://docs.aws.amazon.com/mobile/sdkforios/developerguide/cognito-sync.html">Developer Guide for iOS</a>.</p>
|
|
184
|
+
* @public
|
|
185
185
|
*/
|
|
186
186
|
export declare class CognitoSyncClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, CognitoSyncClientResolvedConfig> {
|
|
187
187
|
/**
|
|
@@ -22,10 +22,10 @@ export interface BulkPublishCommandOutput extends BulkPublishResponse, __Metadat
|
|
|
22
22
|
}
|
|
23
23
|
declare const BulkPublishCommand_base: {
|
|
24
24
|
new (input: BulkPublishCommandInput): import("@smithy/smithy-client").CommandImpl<BulkPublishCommandInput, BulkPublishCommandOutput, CognitoSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: BulkPublishCommandInput): import("@smithy/smithy-client").CommandImpl<BulkPublishCommandInput, BulkPublishCommandOutput, CognitoSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Initiates a bulk publish of all existing datasets for an Identity Pool to the configured stream. Customers are limited to one successful bulk publish per 24 hours. Bulk publish is an asynchronous request, customers can see the status of the request via the GetBulkPublishDetails operation.</p><p>This API can only be called with developer credentials. You cannot call this API with the temporary user credentials provided by Cognito Identity.</p>
|
|
30
30
|
* @example
|
|
31
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -75,6 +75,7 @@ declare const BulkPublishCommand_base: {
|
|
|
75
75
|
* @throws {@link CognitoSyncServiceException}
|
|
76
76
|
* <p>Base exception class for all service exceptions from CognitoSync service.</p>
|
|
77
77
|
*
|
|
78
|
+
* @public
|
|
78
79
|
*/
|
|
79
80
|
export declare class BulkPublishCommand extends BulkPublishCommand_base {
|
|
80
81
|
}
|
|
@@ -22,10 +22,10 @@ export interface DeleteDatasetCommandOutput extends DeleteDatasetResponse, __Met
|
|
|
22
22
|
}
|
|
23
23
|
declare const DeleteDatasetCommand_base: {
|
|
24
24
|
new (input: DeleteDatasetCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteDatasetCommandInput, DeleteDatasetCommandOutput, CognitoSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: DeleteDatasetCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteDatasetCommandInput, DeleteDatasetCommandOutput, CognitoSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Deletes the specific dataset. The dataset will be deleted permanently, and the action can't
|
|
30
30
|
* be undone. Datasets that this dataset was merged with will no longer report the merge. Any
|
|
31
31
|
* subsequent operation on this dataset will result in a
|
|
@@ -91,6 +91,7 @@ declare const DeleteDatasetCommand_base: {
|
|
|
91
91
|
* @throws {@link CognitoSyncServiceException}
|
|
92
92
|
* <p>Base exception class for all service exceptions from CognitoSync service.</p>
|
|
93
93
|
*
|
|
94
|
+
* @public
|
|
94
95
|
*/
|
|
95
96
|
export declare class DeleteDatasetCommand extends DeleteDatasetCommand_base {
|
|
96
97
|
}
|
|
@@ -22,10 +22,10 @@ export interface DescribeDatasetCommandOutput extends DescribeDatasetResponse, _
|
|
|
22
22
|
}
|
|
23
23
|
declare const DescribeDatasetCommand_base: {
|
|
24
24
|
new (input: DescribeDatasetCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeDatasetCommandInput, DescribeDatasetCommandOutput, CognitoSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: DescribeDatasetCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeDatasetCommandInput, DescribeDatasetCommandOutput, CognitoSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Gets meta data about a dataset by identity and dataset name. With Amazon Cognito Sync, each
|
|
30
30
|
* identity has access only to its own data. Thus, the credentials used to make this API call
|
|
31
31
|
* need to have access to the identity data.</p>
|
|
@@ -86,6 +86,7 @@ declare const DescribeDatasetCommand_base: {
|
|
|
86
86
|
* @throws {@link CognitoSyncServiceException}
|
|
87
87
|
* <p>Base exception class for all service exceptions from CognitoSync service.</p>
|
|
88
88
|
*
|
|
89
|
+
* @public
|
|
89
90
|
*/
|
|
90
91
|
export declare class DescribeDatasetCommand extends DescribeDatasetCommand_base {
|
|
91
92
|
}
|
|
@@ -22,10 +22,10 @@ export interface DescribeIdentityPoolUsageCommandOutput extends DescribeIdentity
|
|
|
22
22
|
}
|
|
23
23
|
declare const DescribeIdentityPoolUsageCommand_base: {
|
|
24
24
|
new (input: DescribeIdentityPoolUsageCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeIdentityPoolUsageCommandInput, DescribeIdentityPoolUsageCommandOutput, CognitoSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: DescribeIdentityPoolUsageCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeIdentityPoolUsageCommandInput, DescribeIdentityPoolUsageCommandOutput, CognitoSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Gets usage details (for example, data storage) about a particular identity pool.</p>
|
|
30
30
|
* <p>This API can only be called with developer credentials. You cannot call this API with the temporary user credentials provided by Cognito Identity.</p>
|
|
31
31
|
*
|
|
@@ -126,6 +126,7 @@ declare const DescribeIdentityPoolUsageCommand_base: {
|
|
|
126
126
|
* @throws {@link CognitoSyncServiceException}
|
|
127
127
|
* <p>Base exception class for all service exceptions from CognitoSync service.</p>
|
|
128
128
|
*
|
|
129
|
+
* @public
|
|
129
130
|
*/
|
|
130
131
|
export declare class DescribeIdentityPoolUsageCommand extends DescribeIdentityPoolUsageCommand_base {
|
|
131
132
|
}
|
|
@@ -22,10 +22,10 @@ export interface DescribeIdentityUsageCommandOutput extends DescribeIdentityUsag
|
|
|
22
22
|
}
|
|
23
23
|
declare const DescribeIdentityUsageCommand_base: {
|
|
24
24
|
new (input: DescribeIdentityUsageCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeIdentityUsageCommandInput, DescribeIdentityUsageCommandOutput, CognitoSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: DescribeIdentityUsageCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeIdentityUsageCommandInput, DescribeIdentityUsageCommandOutput, CognitoSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Gets usage information for an identity, including number of datasets and data usage.</p>
|
|
30
30
|
* <p>This API can be called with temporary user credentials provided by Cognito Identity or with developer credentials.</p>
|
|
31
31
|
* <examples>
|
|
@@ -129,6 +129,7 @@ declare const DescribeIdentityUsageCommand_base: {
|
|
|
129
129
|
* @throws {@link CognitoSyncServiceException}
|
|
130
130
|
* <p>Base exception class for all service exceptions from CognitoSync service.</p>
|
|
131
131
|
*
|
|
132
|
+
* @public
|
|
132
133
|
*/
|
|
133
134
|
export declare class DescribeIdentityUsageCommand extends DescribeIdentityUsageCommand_base {
|
|
134
135
|
}
|
|
@@ -22,10 +22,10 @@ export interface GetBulkPublishDetailsCommandOutput extends GetBulkPublishDetail
|
|
|
22
22
|
}
|
|
23
23
|
declare const GetBulkPublishDetailsCommand_base: {
|
|
24
24
|
new (input: GetBulkPublishDetailsCommandInput): import("@smithy/smithy-client").CommandImpl<GetBulkPublishDetailsCommandInput, GetBulkPublishDetailsCommandOutput, CognitoSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: GetBulkPublishDetailsCommandInput): import("@smithy/smithy-client").CommandImpl<GetBulkPublishDetailsCommandInput, GetBulkPublishDetailsCommandOutput, CognitoSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Get the status of the last BulkPublish operation for an identity pool.</p><p>This API can only be called with developer credentials. You cannot call this API with the temporary user credentials provided by Cognito Identity.</p>
|
|
30
30
|
* @example
|
|
31
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -73,6 +73,7 @@ declare const GetBulkPublishDetailsCommand_base: {
|
|
|
73
73
|
* @throws {@link CognitoSyncServiceException}
|
|
74
74
|
* <p>Base exception class for all service exceptions from CognitoSync service.</p>
|
|
75
75
|
*
|
|
76
|
+
* @public
|
|
76
77
|
*/
|
|
77
78
|
export declare class GetBulkPublishDetailsCommand extends GetBulkPublishDetailsCommand_base {
|
|
78
79
|
}
|
|
@@ -22,10 +22,10 @@ export interface GetCognitoEventsCommandOutput extends GetCognitoEventsResponse,
|
|
|
22
22
|
}
|
|
23
23
|
declare const GetCognitoEventsCommand_base: {
|
|
24
24
|
new (input: GetCognitoEventsCommandInput): import("@smithy/smithy-client").CommandImpl<GetCognitoEventsCommandInput, GetCognitoEventsCommandOutput, CognitoSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: GetCognitoEventsCommandInput): import("@smithy/smithy-client").CommandImpl<GetCognitoEventsCommandInput, GetCognitoEventsCommandOutput, CognitoSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Gets the events and the corresponding Lambda functions associated with an identity pool.</p><p>This API can only be called with developer credentials. You cannot call this API with the temporary user credentials provided by Cognito Identity.</p>
|
|
30
30
|
* @example
|
|
31
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -75,6 +75,7 @@ declare const GetCognitoEventsCommand_base: {
|
|
|
75
75
|
* @throws {@link CognitoSyncServiceException}
|
|
76
76
|
* <p>Base exception class for all service exceptions from CognitoSync service.</p>
|
|
77
77
|
*
|
|
78
|
+
* @public
|
|
78
79
|
*/
|
|
79
80
|
export declare class GetCognitoEventsCommand extends GetCognitoEventsCommand_base {
|
|
80
81
|
}
|
|
@@ -22,10 +22,10 @@ export interface GetIdentityPoolConfigurationCommandOutput extends GetIdentityPo
|
|
|
22
22
|
}
|
|
23
23
|
declare const GetIdentityPoolConfigurationCommand_base: {
|
|
24
24
|
new (input: GetIdentityPoolConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<GetIdentityPoolConfigurationCommandInput, GetIdentityPoolConfigurationCommandOutput, CognitoSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: GetIdentityPoolConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<GetIdentityPoolConfigurationCommandInput, GetIdentityPoolConfigurationCommandOutput, CognitoSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Gets the configuration settings of an identity pool.</p><p>This API can only be called with developer credentials. You cannot call this API with the temporary user credentials provided by Cognito Identity.</p>
|
|
30
30
|
* <examples>
|
|
31
31
|
* <example>
|
|
@@ -130,6 +130,7 @@ declare const GetIdentityPoolConfigurationCommand_base: {
|
|
|
130
130
|
* @throws {@link CognitoSyncServiceException}
|
|
131
131
|
* <p>Base exception class for all service exceptions from CognitoSync service.</p>
|
|
132
132
|
*
|
|
133
|
+
* @public
|
|
133
134
|
*/
|
|
134
135
|
export declare class GetIdentityPoolConfigurationCommand extends GetIdentityPoolConfigurationCommand_base {
|
|
135
136
|
}
|
|
@@ -22,10 +22,10 @@ export interface ListDatasetsCommandOutput extends ListDatasetsResponse, __Metad
|
|
|
22
22
|
}
|
|
23
23
|
declare const ListDatasetsCommand_base: {
|
|
24
24
|
new (input: ListDatasetsCommandInput): import("@smithy/smithy-client").CommandImpl<ListDatasetsCommandInput, ListDatasetsCommandOutput, CognitoSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: ListDatasetsCommandInput): import("@smithy/smithy-client").CommandImpl<ListDatasetsCommandInput, ListDatasetsCommandOutput, CognitoSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Lists datasets for an identity. With Amazon Cognito Sync, each identity has access only to
|
|
30
30
|
* its own data. Thus, the credentials used to make this API call need to have access to the
|
|
31
31
|
* identity data.</p>
|
|
@@ -142,6 +142,7 @@ declare const ListDatasetsCommand_base: {
|
|
|
142
142
|
* @throws {@link CognitoSyncServiceException}
|
|
143
143
|
* <p>Base exception class for all service exceptions from CognitoSync service.</p>
|
|
144
144
|
*
|
|
145
|
+
* @public
|
|
145
146
|
*/
|
|
146
147
|
export declare class ListDatasetsCommand extends ListDatasetsCommand_base {
|
|
147
148
|
}
|
|
@@ -22,10 +22,10 @@ export interface ListIdentityPoolUsageCommandOutput extends ListIdentityPoolUsag
|
|
|
22
22
|
}
|
|
23
23
|
declare const ListIdentityPoolUsageCommand_base: {
|
|
24
24
|
new (input: ListIdentityPoolUsageCommandInput): import("@smithy/smithy-client").CommandImpl<ListIdentityPoolUsageCommandInput, ListIdentityPoolUsageCommandOutput, CognitoSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (...[input]: [] | [ListIdentityPoolUsageCommandInput]): import("@smithy/smithy-client").CommandImpl<ListIdentityPoolUsageCommandInput, ListIdentityPoolUsageCommandOutput, CognitoSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Gets a list of identity pools registered with Cognito.</p>
|
|
30
30
|
* <p>ListIdentityPoolUsage can only be called with developer credentials. You
|
|
31
31
|
* cannot make this API call with the temporary user credentials provided by Cognito
|
|
@@ -138,6 +138,7 @@ declare const ListIdentityPoolUsageCommand_base: {
|
|
|
138
138
|
* @throws {@link CognitoSyncServiceException}
|
|
139
139
|
* <p>Base exception class for all service exceptions from CognitoSync service.</p>
|
|
140
140
|
*
|
|
141
|
+
* @public
|
|
141
142
|
*/
|
|
142
143
|
export declare class ListIdentityPoolUsageCommand extends ListIdentityPoolUsageCommand_base {
|
|
143
144
|
}
|
|
@@ -22,10 +22,10 @@ export interface ListRecordsCommandOutput extends ListRecordsResponse, __Metadat
|
|
|
22
22
|
}
|
|
23
23
|
declare const ListRecordsCommand_base: {
|
|
24
24
|
new (input: ListRecordsCommandInput): import("@smithy/smithy-client").CommandImpl<ListRecordsCommandInput, ListRecordsCommandOutput, CognitoSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: ListRecordsCommandInput): import("@smithy/smithy-client").CommandImpl<ListRecordsCommandInput, ListRecordsCommandOutput, CognitoSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Gets paginated records, optionally changed after a particular sync count for a dataset and
|
|
30
30
|
* identity. With Amazon Cognito Sync, each identity has access only to its own data. Thus,
|
|
31
31
|
* the credentials used to make this API call need to have access to the identity data.</p>
|
|
@@ -149,6 +149,7 @@ declare const ListRecordsCommand_base: {
|
|
|
149
149
|
* @throws {@link CognitoSyncServiceException}
|
|
150
150
|
* <p>Base exception class for all service exceptions from CognitoSync service.</p>
|
|
151
151
|
*
|
|
152
|
+
* @public
|
|
152
153
|
*/
|
|
153
154
|
export declare class ListRecordsCommand extends ListRecordsCommand_base {
|
|
154
155
|
}
|
|
@@ -22,10 +22,10 @@ export interface RegisterDeviceCommandOutput extends RegisterDeviceResponse, __M
|
|
|
22
22
|
}
|
|
23
23
|
declare const RegisterDeviceCommand_base: {
|
|
24
24
|
new (input: RegisterDeviceCommandInput): import("@smithy/smithy-client").CommandImpl<RegisterDeviceCommandInput, RegisterDeviceCommandOutput, CognitoSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: RegisterDeviceCommandInput): import("@smithy/smithy-client").CommandImpl<RegisterDeviceCommandInput, RegisterDeviceCommandOutput, CognitoSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Registers a device to receive push sync notifications.</p><p>This API can only be called with temporary credentials provided by Cognito Identity. You cannot call this API with developer credentials.</p>
|
|
30
30
|
* <examples>
|
|
31
31
|
* <example>
|
|
@@ -122,6 +122,7 @@ declare const RegisterDeviceCommand_base: {
|
|
|
122
122
|
* @throws {@link CognitoSyncServiceException}
|
|
123
123
|
* <p>Base exception class for all service exceptions from CognitoSync service.</p>
|
|
124
124
|
*
|
|
125
|
+
* @public
|
|
125
126
|
*/
|
|
126
127
|
export declare class RegisterDeviceCommand extends RegisterDeviceCommand_base {
|
|
127
128
|
}
|
|
@@ -22,10 +22,10 @@ export interface SetCognitoEventsCommandOutput extends __MetadataBearer {
|
|
|
22
22
|
}
|
|
23
23
|
declare const SetCognitoEventsCommand_base: {
|
|
24
24
|
new (input: SetCognitoEventsCommandInput): import("@smithy/smithy-client").CommandImpl<SetCognitoEventsCommandInput, SetCognitoEventsCommandOutput, CognitoSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: SetCognitoEventsCommandInput): import("@smithy/smithy-client").CommandImpl<SetCognitoEventsCommandInput, SetCognitoEventsCommandOutput, CognitoSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Sets the AWS Lambda function for a given event type for an identity pool. This request only updates the key/value pair specified. Other key/values pairs are not updated. To remove a key value pair, pass a empty value for the particular key.</p><p>This API can only be called with developer credentials. You cannot call this API with the temporary user credentials provided by Cognito Identity.</p>
|
|
30
30
|
* @example
|
|
31
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -74,6 +74,7 @@ declare const SetCognitoEventsCommand_base: {
|
|
|
74
74
|
* @throws {@link CognitoSyncServiceException}
|
|
75
75
|
* <p>Base exception class for all service exceptions from CognitoSync service.</p>
|
|
76
76
|
*
|
|
77
|
+
* @public
|
|
77
78
|
*/
|
|
78
79
|
export declare class SetCognitoEventsCommand extends SetCognitoEventsCommand_base {
|
|
79
80
|
}
|
|
@@ -22,10 +22,10 @@ export interface SetIdentityPoolConfigurationCommandOutput extends SetIdentityPo
|
|
|
22
22
|
}
|
|
23
23
|
declare const SetIdentityPoolConfigurationCommand_base: {
|
|
24
24
|
new (input: SetIdentityPoolConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<SetIdentityPoolConfigurationCommandInput, SetIdentityPoolConfigurationCommandOutput, CognitoSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: SetIdentityPoolConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<SetIdentityPoolConfigurationCommandInput, SetIdentityPoolConfigurationCommandOutput, CognitoSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Sets the necessary configuration for push sync.</p><p>This API can only be called with developer credentials. You cannot call this API with the temporary user credentials provided by Cognito Identity.</p>
|
|
30
30
|
* <examples>
|
|
31
31
|
* <example>
|
|
@@ -148,6 +148,7 @@ declare const SetIdentityPoolConfigurationCommand_base: {
|
|
|
148
148
|
* @throws {@link CognitoSyncServiceException}
|
|
149
149
|
* <p>Base exception class for all service exceptions from CognitoSync service.</p>
|
|
150
150
|
*
|
|
151
|
+
* @public
|
|
151
152
|
*/
|
|
152
153
|
export declare class SetIdentityPoolConfigurationCommand extends SetIdentityPoolConfigurationCommand_base {
|
|
153
154
|
}
|
|
@@ -22,10 +22,10 @@ export interface SubscribeToDatasetCommandOutput extends SubscribeToDatasetRespo
|
|
|
22
22
|
}
|
|
23
23
|
declare const SubscribeToDatasetCommand_base: {
|
|
24
24
|
new (input: SubscribeToDatasetCommandInput): import("@smithy/smithy-client").CommandImpl<SubscribeToDatasetCommandInput, SubscribeToDatasetCommandOutput, CognitoSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: SubscribeToDatasetCommandInput): import("@smithy/smithy-client").CommandImpl<SubscribeToDatasetCommandInput, SubscribeToDatasetCommandOutput, CognitoSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Subscribes to receive notifications when a dataset is modified by another device.</p><p>This API can only be called with temporary credentials provided by Cognito Identity. You cannot call this API with developer credentials.</p>
|
|
30
30
|
* <examples>
|
|
31
31
|
* <example>
|
|
@@ -119,6 +119,7 @@ declare const SubscribeToDatasetCommand_base: {
|
|
|
119
119
|
* @throws {@link CognitoSyncServiceException}
|
|
120
120
|
* <p>Base exception class for all service exceptions from CognitoSync service.</p>
|
|
121
121
|
*
|
|
122
|
+
* @public
|
|
122
123
|
*/
|
|
123
124
|
export declare class SubscribeToDatasetCommand extends SubscribeToDatasetCommand_base {
|
|
124
125
|
}
|
|
@@ -22,10 +22,10 @@ export interface UnsubscribeFromDatasetCommandOutput extends UnsubscribeFromData
|
|
|
22
22
|
}
|
|
23
23
|
declare const UnsubscribeFromDatasetCommand_base: {
|
|
24
24
|
new (input: UnsubscribeFromDatasetCommandInput): import("@smithy/smithy-client").CommandImpl<UnsubscribeFromDatasetCommandInput, UnsubscribeFromDatasetCommandOutput, CognitoSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: UnsubscribeFromDatasetCommandInput): import("@smithy/smithy-client").CommandImpl<UnsubscribeFromDatasetCommandInput, UnsubscribeFromDatasetCommandOutput, CognitoSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Unsubscribes from receiving notifications when a dataset is modified by another device.</p><p>This API can only be called with temporary credentials provided by Cognito Identity. You cannot call this API with developer credentials.</p>
|
|
30
30
|
* <examples>
|
|
31
31
|
* <example>
|
|
@@ -120,6 +120,7 @@ declare const UnsubscribeFromDatasetCommand_base: {
|
|
|
120
120
|
* @throws {@link CognitoSyncServiceException}
|
|
121
121
|
* <p>Base exception class for all service exceptions from CognitoSync service.</p>
|
|
122
122
|
*
|
|
123
|
+
* @public
|
|
123
124
|
*/
|
|
124
125
|
export declare class UnsubscribeFromDatasetCommand extends UnsubscribeFromDatasetCommand_base {
|
|
125
126
|
}
|
|
@@ -22,10 +22,10 @@ export interface UpdateRecordsCommandOutput extends UpdateRecordsResponse, __Met
|
|
|
22
22
|
}
|
|
23
23
|
declare const UpdateRecordsCommand_base: {
|
|
24
24
|
new (input: UpdateRecordsCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateRecordsCommandInput, UpdateRecordsCommandOutput, CognitoSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: UpdateRecordsCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateRecordsCommandInput, UpdateRecordsCommandOutput, CognitoSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Posts updates to records and adds and deletes records for a dataset and user.</p>
|
|
30
30
|
* <p>The sync count in the record patch is your last known sync count for that record. The server will reject an UpdateRecords request with a ResourceConflictException if you try to patch a record with a new value but a stale sync count.</p><p>For example, if the sync count on the server is 5 for a key called highScore and you try and submit a new highScore with sync count of 4, the request will be rejected. To obtain the current sync count for a record, call ListRecords. On a successful update of the record, the response returns the new sync count for that record. You should present that sync count the next time you try to update that same record. When the record does not exist, specify the sync count as 0.</p>
|
|
31
31
|
* <p>This API can be called with temporary user credentials provided by Cognito Identity or with developer credentials.</p>
|
|
@@ -112,6 +112,7 @@ declare const UpdateRecordsCommand_base: {
|
|
|
112
112
|
* @throws {@link CognitoSyncServiceException}
|
|
113
113
|
* <p>Base exception class for all service exceptions from CognitoSync service.</p>
|
|
114
114
|
*
|
|
115
|
+
* @public
|
|
115
116
|
*/
|
|
116
117
|
export declare class UpdateRecordsCommand extends UpdateRecordsCommand_base {
|
|
117
118
|
}
|