@aws-sdk/client-cognito-sync 3.321.1 → 3.326.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/commands/BulkPublishCommand.d.ts +6 -0
- package/dist-types/commands/DeleteDatasetCommand.d.ts +14 -0
- package/dist-types/commands/DescribeDatasetCommand.d.ts +14 -0
- package/dist-types/commands/DescribeIdentityPoolUsageCommand.d.ts +11 -0
- package/dist-types/commands/DescribeIdentityUsageCommand.d.ts +12 -0
- package/dist-types/commands/GetBulkPublishDetailsCommand.d.ts +10 -0
- package/dist-types/commands/GetCognitoEventsCommand.d.ts +8 -0
- package/dist-types/commands/GetIdentityPoolConfigurationCommand.d.ts +17 -0
- package/dist-types/commands/ListDatasetsCommand.d.ts +18 -0
- package/dist-types/commands/ListIdentityPoolUsageCommand.d.ts +16 -0
- package/dist-types/commands/ListRecordsCommand.d.ts +25 -0
- package/dist-types/commands/RegisterDeviceCommand.d.ts +6 -0
- package/dist-types/commands/SetCognitoEventsCommand.d.ts +4 -0
- package/dist-types/commands/SetIdentityPoolConfigurationCommand.d.ts +17 -0
- package/dist-types/commands/SubscribeToDatasetCommand.d.ts +4 -0
- package/dist-types/commands/UnsubscribeFromDatasetCommand.d.ts +4 -0
- package/dist-types/commands/UpdateRecordsCommand.d.ts +15 -0
- package/package.json +16 -16
|
@@ -31,6 +31,10 @@ export interface BulkPublishCommandOutput extends BulkPublishResponse, __Metadat
|
|
|
31
31
|
* };
|
|
32
32
|
* const command = new BulkPublishCommand(input);
|
|
33
33
|
* const response = await client.send(command);
|
|
34
|
+
* // { // BulkPublishResponse
|
|
35
|
+
* // IdentityPoolId: "STRING_VALUE",
|
|
36
|
+
* // };
|
|
37
|
+
*
|
|
34
38
|
* ```
|
|
35
39
|
*
|
|
36
40
|
* @param BulkPublishCommandInput - {@link BulkPublishCommandInput}
|
|
@@ -61,6 +65,8 @@ export interface BulkPublishCommandOutput extends BulkPublishResponse, __Metadat
|
|
|
61
65
|
* Thrown if the resource doesn't
|
|
62
66
|
* exist.
|
|
63
67
|
*
|
|
68
|
+
* @throws {@link CognitoSyncServiceException}
|
|
69
|
+
* <p>Base exception class for all service exceptions from CognitoSync service.</p>
|
|
64
70
|
*
|
|
65
71
|
*/
|
|
66
72
|
export declare class BulkPublishCommand extends $Command<BulkPublishCommandInput, BulkPublishCommandOutput, CognitoSyncClientResolvedConfig> {
|
|
@@ -37,6 +37,18 @@ export interface DeleteDatasetCommandOutput extends DeleteDatasetResponse, __Met
|
|
|
37
37
|
* };
|
|
38
38
|
* const command = new DeleteDatasetCommand(input);
|
|
39
39
|
* const response = await client.send(command);
|
|
40
|
+
* // { // DeleteDatasetResponse
|
|
41
|
+
* // Dataset: { // Dataset
|
|
42
|
+
* // IdentityId: "STRING_VALUE",
|
|
43
|
+
* // DatasetName: "STRING_VALUE",
|
|
44
|
+
* // CreationDate: new Date("TIMESTAMP"),
|
|
45
|
+
* // LastModifiedDate: new Date("TIMESTAMP"),
|
|
46
|
+
* // LastModifiedBy: "STRING_VALUE",
|
|
47
|
+
* // DataStorage: Number("long"),
|
|
48
|
+
* // NumRecords: Number("long"),
|
|
49
|
+
* // },
|
|
50
|
+
* // };
|
|
51
|
+
*
|
|
40
52
|
* ```
|
|
41
53
|
*
|
|
42
54
|
* @param DeleteDatasetCommandInput - {@link DeleteDatasetCommandInput}
|
|
@@ -69,6 +81,8 @@ export interface DeleteDatasetCommandOutput extends DeleteDatasetResponse, __Met
|
|
|
69
81
|
* Thrown if the request is
|
|
70
82
|
* throttled.
|
|
71
83
|
*
|
|
84
|
+
* @throws {@link CognitoSyncServiceException}
|
|
85
|
+
* <p>Base exception class for all service exceptions from CognitoSync service.</p>
|
|
72
86
|
*
|
|
73
87
|
*/
|
|
74
88
|
export declare class DeleteDatasetCommand extends $Command<DeleteDatasetCommandInput, DeleteDatasetCommandOutput, CognitoSyncClientResolvedConfig> {
|
|
@@ -36,6 +36,18 @@ export interface DescribeDatasetCommandOutput extends DescribeDatasetResponse, _
|
|
|
36
36
|
* };
|
|
37
37
|
* const command = new DescribeDatasetCommand(input);
|
|
38
38
|
* const response = await client.send(command);
|
|
39
|
+
* // { // DescribeDatasetResponse
|
|
40
|
+
* // Dataset: { // Dataset
|
|
41
|
+
* // IdentityId: "STRING_VALUE",
|
|
42
|
+
* // DatasetName: "STRING_VALUE",
|
|
43
|
+
* // CreationDate: new Date("TIMESTAMP"),
|
|
44
|
+
* // LastModifiedDate: new Date("TIMESTAMP"),
|
|
45
|
+
* // LastModifiedBy: "STRING_VALUE",
|
|
46
|
+
* // DataStorage: Number("long"),
|
|
47
|
+
* // NumRecords: Number("long"),
|
|
48
|
+
* // },
|
|
49
|
+
* // };
|
|
50
|
+
*
|
|
39
51
|
* ```
|
|
40
52
|
*
|
|
41
53
|
* @param DescribeDatasetCommandInput - {@link DescribeDatasetCommandInput}
|
|
@@ -64,6 +76,8 @@ export interface DescribeDatasetCommandOutput extends DescribeDatasetResponse, _
|
|
|
64
76
|
* Thrown if the request is
|
|
65
77
|
* throttled.
|
|
66
78
|
*
|
|
79
|
+
* @throws {@link CognitoSyncServiceException}
|
|
80
|
+
* <p>Base exception class for all service exceptions from CognitoSync service.</p>
|
|
67
81
|
*
|
|
68
82
|
*/
|
|
69
83
|
export declare class DescribeDatasetCommand extends $Command<DescribeDatasetCommandInput, DescribeDatasetCommandOutput, CognitoSyncClientResolvedConfig> {
|
|
@@ -79,6 +79,15 @@ export interface DescribeIdentityPoolUsageCommandOutput extends DescribeIdentity
|
|
|
79
79
|
* };
|
|
80
80
|
* const command = new DescribeIdentityPoolUsageCommand(input);
|
|
81
81
|
* const response = await client.send(command);
|
|
82
|
+
* // { // DescribeIdentityPoolUsageResponse
|
|
83
|
+
* // IdentityPoolUsage: { // IdentityPoolUsage
|
|
84
|
+
* // IdentityPoolId: "STRING_VALUE",
|
|
85
|
+
* // SyncSessionsCount: Number("long"),
|
|
86
|
+
* // DataStorage: Number("long"),
|
|
87
|
+
* // LastModifiedDate: new Date("TIMESTAMP"),
|
|
88
|
+
* // },
|
|
89
|
+
* // };
|
|
90
|
+
*
|
|
82
91
|
* ```
|
|
83
92
|
*
|
|
84
93
|
* @param DescribeIdentityPoolUsageCommandInput - {@link DescribeIdentityPoolUsageCommandInput}
|
|
@@ -107,6 +116,8 @@ export interface DescribeIdentityPoolUsageCommandOutput extends DescribeIdentity
|
|
|
107
116
|
* Thrown if the request is
|
|
108
117
|
* throttled.
|
|
109
118
|
*
|
|
119
|
+
* @throws {@link CognitoSyncServiceException}
|
|
120
|
+
* <p>Base exception class for all service exceptions from CognitoSync service.</p>
|
|
110
121
|
*
|
|
111
122
|
*/
|
|
112
123
|
export declare class DescribeIdentityPoolUsageCommand extends $Command<DescribeIdentityPoolUsageCommandInput, DescribeIdentityPoolUsageCommandOutput, CognitoSyncClientResolvedConfig> {
|
|
@@ -81,6 +81,16 @@ export interface DescribeIdentityUsageCommandOutput extends DescribeIdentityUsag
|
|
|
81
81
|
* };
|
|
82
82
|
* const command = new DescribeIdentityUsageCommand(input);
|
|
83
83
|
* const response = await client.send(command);
|
|
84
|
+
* // { // DescribeIdentityUsageResponse
|
|
85
|
+
* // IdentityUsage: { // IdentityUsage
|
|
86
|
+
* // IdentityId: "STRING_VALUE",
|
|
87
|
+
* // IdentityPoolId: "STRING_VALUE",
|
|
88
|
+
* // LastModifiedDate: new Date("TIMESTAMP"),
|
|
89
|
+
* // DatasetCount: Number("int"),
|
|
90
|
+
* // DataStorage: Number("long"),
|
|
91
|
+
* // },
|
|
92
|
+
* // };
|
|
93
|
+
*
|
|
84
94
|
* ```
|
|
85
95
|
*
|
|
86
96
|
* @param DescribeIdentityUsageCommandInput - {@link DescribeIdentityUsageCommandInput}
|
|
@@ -109,6 +119,8 @@ export interface DescribeIdentityUsageCommandOutput extends DescribeIdentityUsag
|
|
|
109
119
|
* Thrown if the request is
|
|
110
120
|
* throttled.
|
|
111
121
|
*
|
|
122
|
+
* @throws {@link CognitoSyncServiceException}
|
|
123
|
+
* <p>Base exception class for all service exceptions from CognitoSync service.</p>
|
|
112
124
|
*
|
|
113
125
|
*/
|
|
114
126
|
export declare class DescribeIdentityUsageCommand extends $Command<DescribeIdentityUsageCommandInput, DescribeIdentityUsageCommandOutput, CognitoSyncClientResolvedConfig> {
|
|
@@ -31,6 +31,14 @@ export interface GetBulkPublishDetailsCommandOutput extends GetBulkPublishDetail
|
|
|
31
31
|
* };
|
|
32
32
|
* const command = new GetBulkPublishDetailsCommand(input);
|
|
33
33
|
* const response = await client.send(command);
|
|
34
|
+
* // { // GetBulkPublishDetailsResponse
|
|
35
|
+
* // IdentityPoolId: "STRING_VALUE",
|
|
36
|
+
* // BulkPublishStartTime: new Date("TIMESTAMP"),
|
|
37
|
+
* // BulkPublishCompleteTime: new Date("TIMESTAMP"),
|
|
38
|
+
* // BulkPublishStatus: "STRING_VALUE",
|
|
39
|
+
* // FailureMessage: "STRING_VALUE",
|
|
40
|
+
* // };
|
|
41
|
+
*
|
|
34
42
|
* ```
|
|
35
43
|
*
|
|
36
44
|
* @param GetBulkPublishDetailsCommandInput - {@link GetBulkPublishDetailsCommandInput}
|
|
@@ -55,6 +63,8 @@ export interface GetBulkPublishDetailsCommandOutput extends GetBulkPublishDetail
|
|
|
55
63
|
* Thrown if the resource doesn't
|
|
56
64
|
* exist.
|
|
57
65
|
*
|
|
66
|
+
* @throws {@link CognitoSyncServiceException}
|
|
67
|
+
* <p>Base exception class for all service exceptions from CognitoSync service.</p>
|
|
58
68
|
*
|
|
59
69
|
*/
|
|
60
70
|
export declare class GetBulkPublishDetailsCommand extends $Command<GetBulkPublishDetailsCommandInput, GetBulkPublishDetailsCommandOutput, CognitoSyncClientResolvedConfig> {
|
|
@@ -31,6 +31,12 @@ export interface GetCognitoEventsCommandOutput extends GetCognitoEventsResponse,
|
|
|
31
31
|
* };
|
|
32
32
|
* const command = new GetCognitoEventsCommand(input);
|
|
33
33
|
* const response = await client.send(command);
|
|
34
|
+
* // { // GetCognitoEventsResponse
|
|
35
|
+
* // Events: { // Events
|
|
36
|
+
* // "<keys>": "STRING_VALUE",
|
|
37
|
+
* // },
|
|
38
|
+
* // };
|
|
39
|
+
*
|
|
34
40
|
* ```
|
|
35
41
|
*
|
|
36
42
|
* @param GetCognitoEventsCommandInput - {@link GetCognitoEventsCommandInput}
|
|
@@ -59,6 +65,8 @@ export interface GetCognitoEventsCommandOutput extends GetCognitoEventsResponse,
|
|
|
59
65
|
* Thrown if the request is
|
|
60
66
|
* throttled.
|
|
61
67
|
*
|
|
68
|
+
* @throws {@link CognitoSyncServiceException}
|
|
69
|
+
* <p>Base exception class for all service exceptions from CognitoSync service.</p>
|
|
62
70
|
*
|
|
63
71
|
*/
|
|
64
72
|
export declare class GetCognitoEventsCommand extends $Command<GetCognitoEventsCommandInput, GetCognitoEventsCommandOutput, CognitoSyncClientResolvedConfig> {
|
|
@@ -77,6 +77,21 @@ export interface GetIdentityPoolConfigurationCommandOutput extends GetIdentityPo
|
|
|
77
77
|
* };
|
|
78
78
|
* const command = new GetIdentityPoolConfigurationCommand(input);
|
|
79
79
|
* const response = await client.send(command);
|
|
80
|
+
* // { // GetIdentityPoolConfigurationResponse
|
|
81
|
+
* // IdentityPoolId: "STRING_VALUE",
|
|
82
|
+
* // PushSync: { // PushSync
|
|
83
|
+
* // ApplicationArns: [ // ApplicationArnList
|
|
84
|
+
* // "STRING_VALUE",
|
|
85
|
+
* // ],
|
|
86
|
+
* // RoleArn: "STRING_VALUE",
|
|
87
|
+
* // },
|
|
88
|
+
* // CognitoStreams: { // CognitoStreams
|
|
89
|
+
* // StreamName: "STRING_VALUE",
|
|
90
|
+
* // RoleArn: "STRING_VALUE",
|
|
91
|
+
* // StreamingStatus: "STRING_VALUE",
|
|
92
|
+
* // },
|
|
93
|
+
* // };
|
|
94
|
+
*
|
|
80
95
|
* ```
|
|
81
96
|
*
|
|
82
97
|
* @param GetIdentityPoolConfigurationCommandInput - {@link GetIdentityPoolConfigurationCommandInput}
|
|
@@ -105,6 +120,8 @@ export interface GetIdentityPoolConfigurationCommandOutput extends GetIdentityPo
|
|
|
105
120
|
* Thrown if the request is
|
|
106
121
|
* throttled.
|
|
107
122
|
*
|
|
123
|
+
* @throws {@link CognitoSyncServiceException}
|
|
124
|
+
* <p>Base exception class for all service exceptions from CognitoSync service.</p>
|
|
108
125
|
*
|
|
109
126
|
*/
|
|
110
127
|
export declare class GetIdentityPoolConfigurationCommand extends $Command<GetIdentityPoolConfigurationCommandInput, GetIdentityPoolConfigurationCommandOutput, CognitoSyncClientResolvedConfig> {
|
|
@@ -92,6 +92,22 @@ export interface ListDatasetsCommandOutput extends ListDatasetsResponse, __Metad
|
|
|
92
92
|
* };
|
|
93
93
|
* const command = new ListDatasetsCommand(input);
|
|
94
94
|
* const response = await client.send(command);
|
|
95
|
+
* // { // ListDatasetsResponse
|
|
96
|
+
* // Datasets: [ // DatasetList
|
|
97
|
+
* // { // Dataset
|
|
98
|
+
* // IdentityId: "STRING_VALUE",
|
|
99
|
+
* // DatasetName: "STRING_VALUE",
|
|
100
|
+
* // CreationDate: new Date("TIMESTAMP"),
|
|
101
|
+
* // LastModifiedDate: new Date("TIMESTAMP"),
|
|
102
|
+
* // LastModifiedBy: "STRING_VALUE",
|
|
103
|
+
* // DataStorage: Number("long"),
|
|
104
|
+
* // NumRecords: Number("long"),
|
|
105
|
+
* // },
|
|
106
|
+
* // ],
|
|
107
|
+
* // Count: Number("int"),
|
|
108
|
+
* // NextToken: "STRING_VALUE",
|
|
109
|
+
* // };
|
|
110
|
+
*
|
|
95
111
|
* ```
|
|
96
112
|
*
|
|
97
113
|
* @param ListDatasetsCommandInput - {@link ListDatasetsCommandInput}
|
|
@@ -116,6 +132,8 @@ export interface ListDatasetsCommandOutput extends ListDatasetsResponse, __Metad
|
|
|
116
132
|
* Thrown if the request is
|
|
117
133
|
* throttled.
|
|
118
134
|
*
|
|
135
|
+
* @throws {@link CognitoSyncServiceException}
|
|
136
|
+
* <p>Base exception class for all service exceptions from CognitoSync service.</p>
|
|
119
137
|
*
|
|
120
138
|
*/
|
|
121
139
|
export declare class ListDatasetsCommand extends $Command<ListDatasetsCommandInput, ListDatasetsCommandOutput, CognitoSyncClientResolvedConfig> {
|
|
@@ -90,6 +90,20 @@ export interface ListIdentityPoolUsageCommandOutput extends ListIdentityPoolUsag
|
|
|
90
90
|
* };
|
|
91
91
|
* const command = new ListIdentityPoolUsageCommand(input);
|
|
92
92
|
* const response = await client.send(command);
|
|
93
|
+
* // { // ListIdentityPoolUsageResponse
|
|
94
|
+
* // IdentityPoolUsages: [ // IdentityPoolUsageList
|
|
95
|
+
* // { // IdentityPoolUsage
|
|
96
|
+
* // IdentityPoolId: "STRING_VALUE",
|
|
97
|
+
* // SyncSessionsCount: Number("long"),
|
|
98
|
+
* // DataStorage: Number("long"),
|
|
99
|
+
* // LastModifiedDate: new Date("TIMESTAMP"),
|
|
100
|
+
* // },
|
|
101
|
+
* // ],
|
|
102
|
+
* // MaxResults: Number("int"),
|
|
103
|
+
* // Count: Number("int"),
|
|
104
|
+
* // NextToken: "STRING_VALUE",
|
|
105
|
+
* // };
|
|
106
|
+
*
|
|
93
107
|
* ```
|
|
94
108
|
*
|
|
95
109
|
* @param ListIdentityPoolUsageCommandInput - {@link ListIdentityPoolUsageCommandInput}
|
|
@@ -114,6 +128,8 @@ export interface ListIdentityPoolUsageCommandOutput extends ListIdentityPoolUsag
|
|
|
114
128
|
* Thrown if the request is
|
|
115
129
|
* throttled.
|
|
116
130
|
*
|
|
131
|
+
* @throws {@link CognitoSyncServiceException}
|
|
132
|
+
* <p>Base exception class for all service exceptions from CognitoSync service.</p>
|
|
117
133
|
*
|
|
118
134
|
*/
|
|
119
135
|
export declare class ListIdentityPoolUsageCommand extends $Command<ListIdentityPoolUsageCommandInput, ListIdentityPoolUsageCommandOutput, CognitoSyncClientResolvedConfig> {
|
|
@@ -92,6 +92,29 @@ export interface ListRecordsCommandOutput extends ListRecordsResponse, __Metadat
|
|
|
92
92
|
* };
|
|
93
93
|
* const command = new ListRecordsCommand(input);
|
|
94
94
|
* const response = await client.send(command);
|
|
95
|
+
* // { // ListRecordsResponse
|
|
96
|
+
* // Records: [ // RecordList
|
|
97
|
+
* // { // Record
|
|
98
|
+
* // Key: "STRING_VALUE",
|
|
99
|
+
* // Value: "STRING_VALUE",
|
|
100
|
+
* // SyncCount: Number("long"),
|
|
101
|
+
* // LastModifiedDate: new Date("TIMESTAMP"),
|
|
102
|
+
* // LastModifiedBy: "STRING_VALUE",
|
|
103
|
+
* // DeviceLastModifiedDate: new Date("TIMESTAMP"),
|
|
104
|
+
* // },
|
|
105
|
+
* // ],
|
|
106
|
+
* // NextToken: "STRING_VALUE",
|
|
107
|
+
* // Count: Number("int"),
|
|
108
|
+
* // DatasetSyncCount: Number("long"),
|
|
109
|
+
* // LastModifiedBy: "STRING_VALUE",
|
|
110
|
+
* // MergedDatasetNames: [ // MergedDatasetNameList
|
|
111
|
+
* // "STRING_VALUE",
|
|
112
|
+
* // ],
|
|
113
|
+
* // DatasetExists: true || false,
|
|
114
|
+
* // DatasetDeletedAfterRequestedSyncCount: true || false,
|
|
115
|
+
* // SyncSessionToken: "STRING_VALUE",
|
|
116
|
+
* // };
|
|
117
|
+
*
|
|
95
118
|
* ```
|
|
96
119
|
*
|
|
97
120
|
* @param ListRecordsCommandInput - {@link ListRecordsCommandInput}
|
|
@@ -116,6 +139,8 @@ export interface ListRecordsCommandOutput extends ListRecordsResponse, __Metadat
|
|
|
116
139
|
* Thrown if the request is
|
|
117
140
|
* throttled.
|
|
118
141
|
*
|
|
142
|
+
* @throws {@link CognitoSyncServiceException}
|
|
143
|
+
* <p>Base exception class for all service exceptions from CognitoSync service.</p>
|
|
119
144
|
*
|
|
120
145
|
*/
|
|
121
146
|
export declare class ListRecordsCommand extends $Command<ListRecordsCommandInput, ListRecordsCommandOutput, CognitoSyncClientResolvedConfig> {
|
|
@@ -78,6 +78,10 @@ export interface RegisterDeviceCommandOutput extends RegisterDeviceResponse, __M
|
|
|
78
78
|
* };
|
|
79
79
|
* const command = new RegisterDeviceCommand(input);
|
|
80
80
|
* const response = await client.send(command);
|
|
81
|
+
* // { // RegisterDeviceResponse
|
|
82
|
+
* // DeviceId: "STRING_VALUE",
|
|
83
|
+
* // };
|
|
84
|
+
*
|
|
81
85
|
* ```
|
|
82
86
|
*
|
|
83
87
|
* @param RegisterDeviceCommandInput - {@link RegisterDeviceCommandInput}
|
|
@@ -108,6 +112,8 @@ export interface RegisterDeviceCommandOutput extends RegisterDeviceResponse, __M
|
|
|
108
112
|
* Thrown if the request is
|
|
109
113
|
* throttled.
|
|
110
114
|
*
|
|
115
|
+
* @throws {@link CognitoSyncServiceException}
|
|
116
|
+
* <p>Base exception class for all service exceptions from CognitoSync service.</p>
|
|
111
117
|
*
|
|
112
118
|
*/
|
|
113
119
|
export declare class RegisterDeviceCommand extends $Command<RegisterDeviceCommandInput, RegisterDeviceCommandOutput, CognitoSyncClientResolvedConfig> {
|
|
@@ -34,6 +34,8 @@ export interface SetCognitoEventsCommandOutput extends __MetadataBearer {
|
|
|
34
34
|
* };
|
|
35
35
|
* const command = new SetCognitoEventsCommand(input);
|
|
36
36
|
* const response = await client.send(command);
|
|
37
|
+
* // {};
|
|
38
|
+
*
|
|
37
39
|
* ```
|
|
38
40
|
*
|
|
39
41
|
* @param SetCognitoEventsCommandInput - {@link SetCognitoEventsCommandInput}
|
|
@@ -62,6 +64,8 @@ export interface SetCognitoEventsCommandOutput extends __MetadataBearer {
|
|
|
62
64
|
* Thrown if the request is
|
|
63
65
|
* throttled.
|
|
64
66
|
*
|
|
67
|
+
* @throws {@link CognitoSyncServiceException}
|
|
68
|
+
* <p>Base exception class for all service exceptions from CognitoSync service.</p>
|
|
65
69
|
*
|
|
66
70
|
*/
|
|
67
71
|
export declare class SetCognitoEventsCommand extends $Command<SetCognitoEventsCommandInput, SetCognitoEventsCommandOutput, CognitoSyncClientResolvedConfig> {
|
|
@@ -92,6 +92,21 @@ export interface SetIdentityPoolConfigurationCommandOutput extends SetIdentityPo
|
|
|
92
92
|
* };
|
|
93
93
|
* const command = new SetIdentityPoolConfigurationCommand(input);
|
|
94
94
|
* const response = await client.send(command);
|
|
95
|
+
* // { // SetIdentityPoolConfigurationResponse
|
|
96
|
+
* // IdentityPoolId: "STRING_VALUE",
|
|
97
|
+
* // PushSync: { // PushSync
|
|
98
|
+
* // ApplicationArns: [ // ApplicationArnList
|
|
99
|
+
* // "STRING_VALUE",
|
|
100
|
+
* // ],
|
|
101
|
+
* // RoleArn: "STRING_VALUE",
|
|
102
|
+
* // },
|
|
103
|
+
* // CognitoStreams: { // CognitoStreams
|
|
104
|
+
* // StreamName: "STRING_VALUE",
|
|
105
|
+
* // RoleArn: "STRING_VALUE",
|
|
106
|
+
* // StreamingStatus: "STRING_VALUE",
|
|
107
|
+
* // },
|
|
108
|
+
* // };
|
|
109
|
+
*
|
|
95
110
|
* ```
|
|
96
111
|
*
|
|
97
112
|
* @param SetIdentityPoolConfigurationCommandInput - {@link SetIdentityPoolConfigurationCommandInput}
|
|
@@ -123,6 +138,8 @@ export interface SetIdentityPoolConfigurationCommandOutput extends SetIdentityPo
|
|
|
123
138
|
* Thrown if the request is
|
|
124
139
|
* throttled.
|
|
125
140
|
*
|
|
141
|
+
* @throws {@link CognitoSyncServiceException}
|
|
142
|
+
* <p>Base exception class for all service exceptions from CognitoSync service.</p>
|
|
126
143
|
*
|
|
127
144
|
*/
|
|
128
145
|
export declare class SetIdentityPoolConfigurationCommand extends $Command<SetIdentityPoolConfigurationCommandInput, SetIdentityPoolConfigurationCommandOutput, CognitoSyncClientResolvedConfig> {
|
|
@@ -77,6 +77,8 @@ export interface SubscribeToDatasetCommandOutput extends SubscribeToDatasetRespo
|
|
|
77
77
|
* };
|
|
78
78
|
* const command = new SubscribeToDatasetCommand(input);
|
|
79
79
|
* const response = await client.send(command);
|
|
80
|
+
* // {};
|
|
81
|
+
*
|
|
80
82
|
* ```
|
|
81
83
|
*
|
|
82
84
|
* @param SubscribeToDatasetCommandInput - {@link SubscribeToDatasetCommandInput}
|
|
@@ -107,6 +109,8 @@ export interface SubscribeToDatasetCommandOutput extends SubscribeToDatasetRespo
|
|
|
107
109
|
* Thrown if the request is
|
|
108
110
|
* throttled.
|
|
109
111
|
*
|
|
112
|
+
* @throws {@link CognitoSyncServiceException}
|
|
113
|
+
* <p>Base exception class for all service exceptions from CognitoSync service.</p>
|
|
110
114
|
*
|
|
111
115
|
*/
|
|
112
116
|
export declare class SubscribeToDatasetCommand extends $Command<SubscribeToDatasetCommandInput, SubscribeToDatasetCommandOutput, CognitoSyncClientResolvedConfig> {
|
|
@@ -78,6 +78,8 @@ export interface UnsubscribeFromDatasetCommandOutput extends UnsubscribeFromData
|
|
|
78
78
|
* };
|
|
79
79
|
* const command = new UnsubscribeFromDatasetCommand(input);
|
|
80
80
|
* const response = await client.send(command);
|
|
81
|
+
* // {};
|
|
82
|
+
*
|
|
81
83
|
* ```
|
|
82
84
|
*
|
|
83
85
|
* @param UnsubscribeFromDatasetCommandInput - {@link UnsubscribeFromDatasetCommandInput}
|
|
@@ -108,6 +110,8 @@ export interface UnsubscribeFromDatasetCommandOutput extends UnsubscribeFromData
|
|
|
108
110
|
* Thrown if the request is
|
|
109
111
|
* throttled.
|
|
110
112
|
*
|
|
113
|
+
* @throws {@link CognitoSyncServiceException}
|
|
114
|
+
* <p>Base exception class for all service exceptions from CognitoSync service.</p>
|
|
111
115
|
*
|
|
112
116
|
*/
|
|
113
117
|
export declare class UnsubscribeFromDatasetCommand extends $Command<UnsubscribeFromDatasetCommandInput, UnsubscribeFromDatasetCommandOutput, CognitoSyncClientResolvedConfig> {
|
|
@@ -47,6 +47,19 @@ export interface UpdateRecordsCommandOutput extends UpdateRecordsResponse, __Met
|
|
|
47
47
|
* };
|
|
48
48
|
* const command = new UpdateRecordsCommand(input);
|
|
49
49
|
* const response = await client.send(command);
|
|
50
|
+
* // { // UpdateRecordsResponse
|
|
51
|
+
* // Records: [ // RecordList
|
|
52
|
+
* // { // Record
|
|
53
|
+
* // Key: "STRING_VALUE",
|
|
54
|
+
* // Value: "STRING_VALUE",
|
|
55
|
+
* // SyncCount: Number("long"),
|
|
56
|
+
* // LastModifiedDate: new Date("TIMESTAMP"),
|
|
57
|
+
* // LastModifiedBy: "STRING_VALUE",
|
|
58
|
+
* // DeviceLastModifiedDate: new Date("TIMESTAMP"),
|
|
59
|
+
* // },
|
|
60
|
+
* // ],
|
|
61
|
+
* // };
|
|
62
|
+
*
|
|
50
63
|
* ```
|
|
51
64
|
*
|
|
52
65
|
* @param UpdateRecordsCommandInput - {@link UpdateRecordsCommandInput}
|
|
@@ -89,6 +102,8 @@ export interface UpdateRecordsCommandOutput extends UpdateRecordsResponse, __Met
|
|
|
89
102
|
* Thrown if the request is
|
|
90
103
|
* throttled.
|
|
91
104
|
*
|
|
105
|
+
* @throws {@link CognitoSyncServiceException}
|
|
106
|
+
* <p>Base exception class for all service exceptions from CognitoSync service.</p>
|
|
92
107
|
*
|
|
93
108
|
*/
|
|
94
109
|
export declare class UpdateRecordsCommand extends $Command<UpdateRecordsCommandInput, UpdateRecordsCommandOutput, CognitoSyncClientResolvedConfig> {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-cognito-sync",
|
|
3
3
|
"description": "AWS SDK for JavaScript Cognito Sync Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.326.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,33 +21,33 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.326.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.310.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.326.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.310.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.310.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.310.0",
|
|
30
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
31
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
32
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
33
|
-
"@aws-sdk/middleware-logger": "3.
|
|
34
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
36
|
-
"@aws-sdk/middleware-serde": "3.
|
|
37
|
-
"@aws-sdk/middleware-signing": "3.
|
|
38
|
-
"@aws-sdk/middleware-stack": "3.
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
+
"@aws-sdk/middleware-content-length": "3.325.0",
|
|
31
|
+
"@aws-sdk/middleware-endpoint": "3.325.0",
|
|
32
|
+
"@aws-sdk/middleware-host-header": "3.325.0",
|
|
33
|
+
"@aws-sdk/middleware-logger": "3.325.0",
|
|
34
|
+
"@aws-sdk/middleware-recursion-detection": "3.325.0",
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.325.0",
|
|
36
|
+
"@aws-sdk/middleware-serde": "3.325.0",
|
|
37
|
+
"@aws-sdk/middleware-signing": "3.325.0",
|
|
38
|
+
"@aws-sdk/middleware-stack": "3.325.0",
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.325.0",
|
|
40
40
|
"@aws-sdk/node-config-provider": "3.310.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.321.1",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.310.0",
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
+
"@aws-sdk/smithy-client": "3.325.0",
|
|
44
44
|
"@aws-sdk/types": "3.310.0",
|
|
45
45
|
"@aws-sdk/url-parser": "3.310.0",
|
|
46
46
|
"@aws-sdk/util-base64": "3.310.0",
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.310.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.325.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.325.0",
|
|
51
51
|
"@aws-sdk/util-endpoints": "3.319.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.310.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.310.0",
|