@aws-sdk/client-cognito-sync 3.180.0 → 3.183.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/CHANGELOG.md +20 -0
- package/dist-cjs/protocols/Aws_restJson1.js +23 -17
- package/dist-es/CognitoSync.js +70 -77
- package/dist-es/CognitoSyncClient.js +22 -28
- package/dist-es/commands/BulkPublishCommand.js +21 -28
- package/dist-es/commands/DeleteDatasetCommand.js +21 -28
- package/dist-es/commands/DescribeDatasetCommand.js +21 -28
- package/dist-es/commands/DescribeIdentityPoolUsageCommand.js +21 -28
- package/dist-es/commands/DescribeIdentityUsageCommand.js +21 -28
- package/dist-es/commands/GetBulkPublishDetailsCommand.js +21 -28
- package/dist-es/commands/GetCognitoEventsCommand.js +21 -28
- package/dist-es/commands/GetIdentityPoolConfigurationCommand.js +21 -28
- package/dist-es/commands/ListDatasetsCommand.js +21 -28
- package/dist-es/commands/ListIdentityPoolUsageCommand.js +21 -28
- package/dist-es/commands/ListRecordsCommand.js +21 -28
- package/dist-es/commands/RegisterDeviceCommand.js +21 -28
- package/dist-es/commands/SetCognitoEventsCommand.js +22 -29
- package/dist-es/commands/SetIdentityPoolConfigurationCommand.js +21 -28
- package/dist-es/commands/SubscribeToDatasetCommand.js +21 -28
- package/dist-es/commands/UnsubscribeFromDatasetCommand.js +21 -28
- package/dist-es/commands/UpdateRecordsCommand.js +21 -28
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/CognitoSyncServiceException.js +5 -10
- package/dist-es/models/models_0.js +263 -184
- package/dist-es/protocols/Aws_restJson1.js +1389 -1929
- package/dist-es/runtimeConfig.browser.js +26 -12
- package/dist-es/runtimeConfig.js +30 -12
- package/dist-es/runtimeConfig.native.js +8 -5
- package/dist-es/runtimeConfig.shared.js +8 -11
- package/package.json +33 -33
|
@@ -1,101 +1,100 @@
|
|
|
1
|
-
import { __assign, __extends } from "tslib";
|
|
2
1
|
import { CognitoSyncServiceException as __BaseException } from "./CognitoSyncServiceException";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
2
|
+
export class AlreadyStreamedException extends __BaseException {
|
|
3
|
+
constructor(opts) {
|
|
4
|
+
super({
|
|
5
|
+
name: "AlreadyStreamedException",
|
|
6
|
+
$fault: "client",
|
|
7
|
+
...opts,
|
|
8
|
+
});
|
|
9
|
+
this.name = "AlreadyStreamedException";
|
|
10
|
+
this.$fault = "client";
|
|
11
|
+
Object.setPrototypeOf(this, AlreadyStreamedException.prototype);
|
|
11
12
|
}
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
13
|
+
}
|
|
14
|
+
export class DuplicateRequestException extends __BaseException {
|
|
15
|
+
constructor(opts) {
|
|
16
|
+
super({
|
|
17
|
+
name: "DuplicateRequestException",
|
|
18
|
+
$fault: "client",
|
|
19
|
+
...opts,
|
|
20
|
+
});
|
|
21
|
+
this.name = "DuplicateRequestException";
|
|
22
|
+
this.$fault = "client";
|
|
23
|
+
Object.setPrototypeOf(this, DuplicateRequestException.prototype);
|
|
23
24
|
}
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
25
|
+
}
|
|
26
|
+
export class InternalErrorException extends __BaseException {
|
|
27
|
+
constructor(opts) {
|
|
28
|
+
super({
|
|
29
|
+
name: "InternalErrorException",
|
|
30
|
+
$fault: "server",
|
|
31
|
+
...opts,
|
|
32
|
+
});
|
|
33
|
+
this.name = "InternalErrorException";
|
|
34
|
+
this.$fault = "server";
|
|
35
|
+
Object.setPrototypeOf(this, InternalErrorException.prototype);
|
|
35
36
|
}
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
37
|
+
}
|
|
38
|
+
export class InvalidParameterException extends __BaseException {
|
|
39
|
+
constructor(opts) {
|
|
40
|
+
super({
|
|
41
|
+
name: "InvalidParameterException",
|
|
42
|
+
$fault: "client",
|
|
43
|
+
...opts,
|
|
44
|
+
});
|
|
45
|
+
this.name = "InvalidParameterException";
|
|
46
|
+
this.$fault = "client";
|
|
47
|
+
Object.setPrototypeOf(this, InvalidParameterException.prototype);
|
|
47
48
|
}
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
49
|
+
}
|
|
50
|
+
export class NotAuthorizedException extends __BaseException {
|
|
51
|
+
constructor(opts) {
|
|
52
|
+
super({
|
|
53
|
+
name: "NotAuthorizedException",
|
|
54
|
+
$fault: "client",
|
|
55
|
+
...opts,
|
|
56
|
+
});
|
|
57
|
+
this.name = "NotAuthorizedException";
|
|
58
|
+
this.$fault = "client";
|
|
59
|
+
Object.setPrototypeOf(this, NotAuthorizedException.prototype);
|
|
59
60
|
}
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
61
|
+
}
|
|
62
|
+
export class ResourceNotFoundException extends __BaseException {
|
|
63
|
+
constructor(opts) {
|
|
64
|
+
super({
|
|
65
|
+
name: "ResourceNotFoundException",
|
|
66
|
+
$fault: "client",
|
|
67
|
+
...opts,
|
|
68
|
+
});
|
|
69
|
+
this.name = "ResourceNotFoundException";
|
|
70
|
+
this.$fault = "client";
|
|
71
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
71
72
|
}
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
73
|
+
}
|
|
74
|
+
export class ResourceConflictException extends __BaseException {
|
|
75
|
+
constructor(opts) {
|
|
76
|
+
super({
|
|
77
|
+
name: "ResourceConflictException",
|
|
78
|
+
$fault: "client",
|
|
79
|
+
...opts,
|
|
80
|
+
});
|
|
81
|
+
this.name = "ResourceConflictException";
|
|
82
|
+
this.$fault = "client";
|
|
83
|
+
Object.setPrototypeOf(this, ResourceConflictException.prototype);
|
|
83
84
|
}
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
85
|
+
}
|
|
86
|
+
export class TooManyRequestsException extends __BaseException {
|
|
87
|
+
constructor(opts) {
|
|
88
|
+
super({
|
|
89
|
+
name: "TooManyRequestsException",
|
|
90
|
+
$fault: "client",
|
|
91
|
+
...opts,
|
|
92
|
+
});
|
|
93
|
+
this.name = "TooManyRequestsException";
|
|
94
|
+
this.$fault = "client";
|
|
95
|
+
Object.setPrototypeOf(this, TooManyRequestsException.prototype);
|
|
95
96
|
}
|
|
96
|
-
|
|
97
|
-
}(__BaseException));
|
|
98
|
-
export { TooManyRequestsException };
|
|
97
|
+
}
|
|
99
98
|
export var BulkPublishStatus;
|
|
100
99
|
(function (BulkPublishStatus) {
|
|
101
100
|
BulkPublishStatus["FAILED"] = "FAILED";
|
|
@@ -103,103 +102,183 @@ export var BulkPublishStatus;
|
|
|
103
102
|
BulkPublishStatus["NOT_STARTED"] = "NOT_STARTED";
|
|
104
103
|
BulkPublishStatus["SUCCEEDED"] = "SUCCEEDED";
|
|
105
104
|
})(BulkPublishStatus || (BulkPublishStatus = {}));
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
105
|
+
export class InvalidConfigurationException extends __BaseException {
|
|
106
|
+
constructor(opts) {
|
|
107
|
+
super({
|
|
108
|
+
name: "InvalidConfigurationException",
|
|
109
|
+
$fault: "client",
|
|
110
|
+
...opts,
|
|
111
|
+
});
|
|
112
|
+
this.name = "InvalidConfigurationException";
|
|
113
|
+
this.$fault = "client";
|
|
114
|
+
Object.setPrototypeOf(this, InvalidConfigurationException.prototype);
|
|
114
115
|
}
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
116
|
+
}
|
|
117
|
+
export class ConcurrentModificationException extends __BaseException {
|
|
118
|
+
constructor(opts) {
|
|
119
|
+
super({
|
|
120
|
+
name: "ConcurrentModificationException",
|
|
121
|
+
$fault: "client",
|
|
122
|
+
...opts,
|
|
123
|
+
});
|
|
124
|
+
this.name = "ConcurrentModificationException";
|
|
125
|
+
this.$fault = "client";
|
|
126
|
+
Object.setPrototypeOf(this, ConcurrentModificationException.prototype);
|
|
126
127
|
}
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
128
|
+
}
|
|
129
|
+
export class InvalidLambdaFunctionOutputException extends __BaseException {
|
|
130
|
+
constructor(opts) {
|
|
131
|
+
super({
|
|
132
|
+
name: "InvalidLambdaFunctionOutputException",
|
|
133
|
+
$fault: "client",
|
|
134
|
+
...opts,
|
|
135
|
+
});
|
|
136
|
+
this.name = "InvalidLambdaFunctionOutputException";
|
|
137
|
+
this.$fault = "client";
|
|
138
|
+
Object.setPrototypeOf(this, InvalidLambdaFunctionOutputException.prototype);
|
|
138
139
|
}
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
140
|
+
}
|
|
141
|
+
export class LambdaThrottledException extends __BaseException {
|
|
142
|
+
constructor(opts) {
|
|
143
|
+
super({
|
|
144
|
+
name: "LambdaThrottledException",
|
|
145
|
+
$fault: "client",
|
|
146
|
+
...opts,
|
|
147
|
+
});
|
|
148
|
+
this.name = "LambdaThrottledException";
|
|
149
|
+
this.$fault = "client";
|
|
150
|
+
Object.setPrototypeOf(this, LambdaThrottledException.prototype);
|
|
150
151
|
}
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
152
|
+
}
|
|
153
|
+
export class LimitExceededException extends __BaseException {
|
|
154
|
+
constructor(opts) {
|
|
155
|
+
super({
|
|
156
|
+
name: "LimitExceededException",
|
|
157
|
+
$fault: "client",
|
|
158
|
+
...opts,
|
|
159
|
+
});
|
|
160
|
+
this.name = "LimitExceededException";
|
|
161
|
+
this.$fault = "client";
|
|
162
|
+
Object.setPrototypeOf(this, LimitExceededException.prototype);
|
|
162
163
|
}
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
export
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
export
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
export
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
export
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
export
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
export
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
export
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
export
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
export
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
export
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
export
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
export
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
export
|
|
204
|
-
|
|
205
|
-
|
|
164
|
+
}
|
|
165
|
+
export const BulkPublishRequestFilterSensitiveLog = (obj) => ({
|
|
166
|
+
...obj,
|
|
167
|
+
});
|
|
168
|
+
export const BulkPublishResponseFilterSensitiveLog = (obj) => ({
|
|
169
|
+
...obj,
|
|
170
|
+
});
|
|
171
|
+
export const DeleteDatasetRequestFilterSensitiveLog = (obj) => ({
|
|
172
|
+
...obj,
|
|
173
|
+
});
|
|
174
|
+
export const DatasetFilterSensitiveLog = (obj) => ({
|
|
175
|
+
...obj,
|
|
176
|
+
});
|
|
177
|
+
export const DeleteDatasetResponseFilterSensitiveLog = (obj) => ({
|
|
178
|
+
...obj,
|
|
179
|
+
});
|
|
180
|
+
export const DescribeDatasetRequestFilterSensitiveLog = (obj) => ({
|
|
181
|
+
...obj,
|
|
182
|
+
});
|
|
183
|
+
export const DescribeDatasetResponseFilterSensitiveLog = (obj) => ({
|
|
184
|
+
...obj,
|
|
185
|
+
});
|
|
186
|
+
export const DescribeIdentityPoolUsageRequestFilterSensitiveLog = (obj) => ({
|
|
187
|
+
...obj,
|
|
188
|
+
});
|
|
189
|
+
export const IdentityPoolUsageFilterSensitiveLog = (obj) => ({
|
|
190
|
+
...obj,
|
|
191
|
+
});
|
|
192
|
+
export const DescribeIdentityPoolUsageResponseFilterSensitiveLog = (obj) => ({
|
|
193
|
+
...obj,
|
|
194
|
+
});
|
|
195
|
+
export const DescribeIdentityUsageRequestFilterSensitiveLog = (obj) => ({
|
|
196
|
+
...obj,
|
|
197
|
+
});
|
|
198
|
+
export const IdentityUsageFilterSensitiveLog = (obj) => ({
|
|
199
|
+
...obj,
|
|
200
|
+
});
|
|
201
|
+
export const DescribeIdentityUsageResponseFilterSensitiveLog = (obj) => ({
|
|
202
|
+
...obj,
|
|
203
|
+
});
|
|
204
|
+
export const GetBulkPublishDetailsRequestFilterSensitiveLog = (obj) => ({
|
|
205
|
+
...obj,
|
|
206
|
+
});
|
|
207
|
+
export const GetBulkPublishDetailsResponseFilterSensitiveLog = (obj) => ({
|
|
208
|
+
...obj,
|
|
209
|
+
});
|
|
210
|
+
export const GetCognitoEventsRequestFilterSensitiveLog = (obj) => ({
|
|
211
|
+
...obj,
|
|
212
|
+
});
|
|
213
|
+
export const GetCognitoEventsResponseFilterSensitiveLog = (obj) => ({
|
|
214
|
+
...obj,
|
|
215
|
+
});
|
|
216
|
+
export const GetIdentityPoolConfigurationRequestFilterSensitiveLog = (obj) => ({
|
|
217
|
+
...obj,
|
|
218
|
+
});
|
|
219
|
+
export const CognitoStreamsFilterSensitiveLog = (obj) => ({
|
|
220
|
+
...obj,
|
|
221
|
+
});
|
|
222
|
+
export const PushSyncFilterSensitiveLog = (obj) => ({
|
|
223
|
+
...obj,
|
|
224
|
+
});
|
|
225
|
+
export const GetIdentityPoolConfigurationResponseFilterSensitiveLog = (obj) => ({
|
|
226
|
+
...obj,
|
|
227
|
+
});
|
|
228
|
+
export const ListDatasetsRequestFilterSensitiveLog = (obj) => ({
|
|
229
|
+
...obj,
|
|
230
|
+
});
|
|
231
|
+
export const ListDatasetsResponseFilterSensitiveLog = (obj) => ({
|
|
232
|
+
...obj,
|
|
233
|
+
});
|
|
234
|
+
export const ListIdentityPoolUsageRequestFilterSensitiveLog = (obj) => ({
|
|
235
|
+
...obj,
|
|
236
|
+
});
|
|
237
|
+
export const ListIdentityPoolUsageResponseFilterSensitiveLog = (obj) => ({
|
|
238
|
+
...obj,
|
|
239
|
+
});
|
|
240
|
+
export const ListRecordsRequestFilterSensitiveLog = (obj) => ({
|
|
241
|
+
...obj,
|
|
242
|
+
});
|
|
243
|
+
export const _RecordFilterSensitiveLog = (obj) => ({
|
|
244
|
+
...obj,
|
|
245
|
+
});
|
|
246
|
+
export const ListRecordsResponseFilterSensitiveLog = (obj) => ({
|
|
247
|
+
...obj,
|
|
248
|
+
});
|
|
249
|
+
export const RegisterDeviceRequestFilterSensitiveLog = (obj) => ({
|
|
250
|
+
...obj,
|
|
251
|
+
});
|
|
252
|
+
export const RegisterDeviceResponseFilterSensitiveLog = (obj) => ({
|
|
253
|
+
...obj,
|
|
254
|
+
});
|
|
255
|
+
export const SetCognitoEventsRequestFilterSensitiveLog = (obj) => ({
|
|
256
|
+
...obj,
|
|
257
|
+
});
|
|
258
|
+
export const SetIdentityPoolConfigurationRequestFilterSensitiveLog = (obj) => ({
|
|
259
|
+
...obj,
|
|
260
|
+
});
|
|
261
|
+
export const SetIdentityPoolConfigurationResponseFilterSensitiveLog = (obj) => ({
|
|
262
|
+
...obj,
|
|
263
|
+
});
|
|
264
|
+
export const SubscribeToDatasetRequestFilterSensitiveLog = (obj) => ({
|
|
265
|
+
...obj,
|
|
266
|
+
});
|
|
267
|
+
export const SubscribeToDatasetResponseFilterSensitiveLog = (obj) => ({
|
|
268
|
+
...obj,
|
|
269
|
+
});
|
|
270
|
+
export const UnsubscribeFromDatasetRequestFilterSensitiveLog = (obj) => ({
|
|
271
|
+
...obj,
|
|
272
|
+
});
|
|
273
|
+
export const UnsubscribeFromDatasetResponseFilterSensitiveLog = (obj) => ({
|
|
274
|
+
...obj,
|
|
275
|
+
});
|
|
276
|
+
export const RecordPatchFilterSensitiveLog = (obj) => ({
|
|
277
|
+
...obj,
|
|
278
|
+
});
|
|
279
|
+
export const UpdateRecordsRequestFilterSensitiveLog = (obj) => ({
|
|
280
|
+
...obj,
|
|
281
|
+
});
|
|
282
|
+
export const UpdateRecordsResponseFilterSensitiveLog = (obj) => ({
|
|
283
|
+
...obj,
|
|
284
|
+
});
|