@aws-sdk/client-cognito-sync 3.716.0 → 3.723.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-cjs/index.js +163 -126
- package/dist-es/CognitoSyncClient.js +1 -0
- package/dist-es/models/models_0.js +26 -26
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +9 -7
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +20 -8
- package/package.json +43 -43
package/dist-cjs/index.js
CHANGED
|
@@ -158,7 +158,14 @@ var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions
|
|
|
158
158
|
}, "resolveRuntimeExtensions");
|
|
159
159
|
|
|
160
160
|
// src/CognitoSyncClient.ts
|
|
161
|
-
var
|
|
161
|
+
var CognitoSyncClient = class extends import_smithy_client.Client {
|
|
162
|
+
static {
|
|
163
|
+
__name(this, "CognitoSyncClient");
|
|
164
|
+
}
|
|
165
|
+
/**
|
|
166
|
+
* The resolved configuration of CognitoSyncClient class. This is resolved and normalized from the {@link CognitoSyncClientConfig | constructor configuration interface}.
|
|
167
|
+
*/
|
|
168
|
+
config;
|
|
162
169
|
constructor(...[configuration]) {
|
|
163
170
|
const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
|
|
164
171
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
@@ -168,7 +175,7 @@ var _CognitoSyncClient = class _CognitoSyncClient extends import_smithy_client.C
|
|
|
168
175
|
const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
|
|
169
176
|
const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
|
|
170
177
|
const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
|
|
171
|
-
const _config_8 = resolveRuntimeExtensions(_config_7,
|
|
178
|
+
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
172
179
|
super(_config_8);
|
|
173
180
|
this.config = _config_8;
|
|
174
181
|
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
@@ -196,8 +203,6 @@ var _CognitoSyncClient = class _CognitoSyncClient extends import_smithy_client.C
|
|
|
196
203
|
super.destroy();
|
|
197
204
|
}
|
|
198
205
|
};
|
|
199
|
-
__name(_CognitoSyncClient, "CognitoSyncClient");
|
|
200
|
-
var CognitoSyncClient = _CognitoSyncClient;
|
|
201
206
|
|
|
202
207
|
// src/CognitoSync.ts
|
|
203
208
|
|
|
@@ -214,7 +219,10 @@ var import_core2 = require("@aws-sdk/core");
|
|
|
214
219
|
|
|
215
220
|
// src/models/CognitoSyncServiceException.ts
|
|
216
221
|
|
|
217
|
-
var
|
|
222
|
+
var CognitoSyncServiceException = class _CognitoSyncServiceException extends import_smithy_client.ServiceException {
|
|
223
|
+
static {
|
|
224
|
+
__name(this, "CognitoSyncServiceException");
|
|
225
|
+
}
|
|
218
226
|
/**
|
|
219
227
|
* @internal
|
|
220
228
|
*/
|
|
@@ -223,11 +231,14 @@ var _CognitoSyncServiceException = class _CognitoSyncServiceException extends im
|
|
|
223
231
|
Object.setPrototypeOf(this, _CognitoSyncServiceException.prototype);
|
|
224
232
|
}
|
|
225
233
|
};
|
|
226
|
-
__name(_CognitoSyncServiceException, "CognitoSyncServiceException");
|
|
227
|
-
var CognitoSyncServiceException = _CognitoSyncServiceException;
|
|
228
234
|
|
|
229
235
|
// src/models/models_0.ts
|
|
230
|
-
var
|
|
236
|
+
var AlreadyStreamedException = class _AlreadyStreamedException extends CognitoSyncServiceException {
|
|
237
|
+
static {
|
|
238
|
+
__name(this, "AlreadyStreamedException");
|
|
239
|
+
}
|
|
240
|
+
name = "AlreadyStreamedException";
|
|
241
|
+
$fault = "client";
|
|
231
242
|
/**
|
|
232
243
|
* @internal
|
|
233
244
|
*/
|
|
@@ -237,14 +248,15 @@ var _AlreadyStreamedException = class _AlreadyStreamedException extends CognitoS
|
|
|
237
248
|
$fault: "client",
|
|
238
249
|
...opts
|
|
239
250
|
});
|
|
240
|
-
this.name = "AlreadyStreamedException";
|
|
241
|
-
this.$fault = "client";
|
|
242
251
|
Object.setPrototypeOf(this, _AlreadyStreamedException.prototype);
|
|
243
252
|
}
|
|
244
253
|
};
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
254
|
+
var DuplicateRequestException = class _DuplicateRequestException extends CognitoSyncServiceException {
|
|
255
|
+
static {
|
|
256
|
+
__name(this, "DuplicateRequestException");
|
|
257
|
+
}
|
|
258
|
+
name = "DuplicateRequestException";
|
|
259
|
+
$fault = "client";
|
|
248
260
|
/**
|
|
249
261
|
* @internal
|
|
250
262
|
*/
|
|
@@ -254,14 +266,15 @@ var _DuplicateRequestException = class _DuplicateRequestException extends Cognit
|
|
|
254
266
|
$fault: "client",
|
|
255
267
|
...opts
|
|
256
268
|
});
|
|
257
|
-
this.name = "DuplicateRequestException";
|
|
258
|
-
this.$fault = "client";
|
|
259
269
|
Object.setPrototypeOf(this, _DuplicateRequestException.prototype);
|
|
260
270
|
}
|
|
261
271
|
};
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
272
|
+
var InternalErrorException = class _InternalErrorException extends CognitoSyncServiceException {
|
|
273
|
+
static {
|
|
274
|
+
__name(this, "InternalErrorException");
|
|
275
|
+
}
|
|
276
|
+
name = "InternalErrorException";
|
|
277
|
+
$fault = "server";
|
|
265
278
|
/**
|
|
266
279
|
* @internal
|
|
267
280
|
*/
|
|
@@ -271,14 +284,15 @@ var _InternalErrorException = class _InternalErrorException extends CognitoSyncS
|
|
|
271
284
|
$fault: "server",
|
|
272
285
|
...opts
|
|
273
286
|
});
|
|
274
|
-
this.name = "InternalErrorException";
|
|
275
|
-
this.$fault = "server";
|
|
276
287
|
Object.setPrototypeOf(this, _InternalErrorException.prototype);
|
|
277
288
|
}
|
|
278
289
|
};
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
290
|
+
var InvalidParameterException = class _InvalidParameterException extends CognitoSyncServiceException {
|
|
291
|
+
static {
|
|
292
|
+
__name(this, "InvalidParameterException");
|
|
293
|
+
}
|
|
294
|
+
name = "InvalidParameterException";
|
|
295
|
+
$fault = "client";
|
|
282
296
|
/**
|
|
283
297
|
* @internal
|
|
284
298
|
*/
|
|
@@ -288,14 +302,15 @@ var _InvalidParameterException = class _InvalidParameterException extends Cognit
|
|
|
288
302
|
$fault: "client",
|
|
289
303
|
...opts
|
|
290
304
|
});
|
|
291
|
-
this.name = "InvalidParameterException";
|
|
292
|
-
this.$fault = "client";
|
|
293
305
|
Object.setPrototypeOf(this, _InvalidParameterException.prototype);
|
|
294
306
|
}
|
|
295
307
|
};
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
308
|
+
var NotAuthorizedException = class _NotAuthorizedException extends CognitoSyncServiceException {
|
|
309
|
+
static {
|
|
310
|
+
__name(this, "NotAuthorizedException");
|
|
311
|
+
}
|
|
312
|
+
name = "NotAuthorizedException";
|
|
313
|
+
$fault = "client";
|
|
299
314
|
/**
|
|
300
315
|
* @internal
|
|
301
316
|
*/
|
|
@@ -305,14 +320,15 @@ var _NotAuthorizedException = class _NotAuthorizedException extends CognitoSyncS
|
|
|
305
320
|
$fault: "client",
|
|
306
321
|
...opts
|
|
307
322
|
});
|
|
308
|
-
this.name = "NotAuthorizedException";
|
|
309
|
-
this.$fault = "client";
|
|
310
323
|
Object.setPrototypeOf(this, _NotAuthorizedException.prototype);
|
|
311
324
|
}
|
|
312
325
|
};
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
326
|
+
var ResourceNotFoundException = class _ResourceNotFoundException extends CognitoSyncServiceException {
|
|
327
|
+
static {
|
|
328
|
+
__name(this, "ResourceNotFoundException");
|
|
329
|
+
}
|
|
330
|
+
name = "ResourceNotFoundException";
|
|
331
|
+
$fault = "client";
|
|
316
332
|
/**
|
|
317
333
|
* @internal
|
|
318
334
|
*/
|
|
@@ -322,14 +338,15 @@ var _ResourceNotFoundException = class _ResourceNotFoundException extends Cognit
|
|
|
322
338
|
$fault: "client",
|
|
323
339
|
...opts
|
|
324
340
|
});
|
|
325
|
-
this.name = "ResourceNotFoundException";
|
|
326
|
-
this.$fault = "client";
|
|
327
341
|
Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
|
|
328
342
|
}
|
|
329
343
|
};
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
344
|
+
var ResourceConflictException = class _ResourceConflictException extends CognitoSyncServiceException {
|
|
345
|
+
static {
|
|
346
|
+
__name(this, "ResourceConflictException");
|
|
347
|
+
}
|
|
348
|
+
name = "ResourceConflictException";
|
|
349
|
+
$fault = "client";
|
|
333
350
|
/**
|
|
334
351
|
* @internal
|
|
335
352
|
*/
|
|
@@ -339,14 +356,15 @@ var _ResourceConflictException = class _ResourceConflictException extends Cognit
|
|
|
339
356
|
$fault: "client",
|
|
340
357
|
...opts
|
|
341
358
|
});
|
|
342
|
-
this.name = "ResourceConflictException";
|
|
343
|
-
this.$fault = "client";
|
|
344
359
|
Object.setPrototypeOf(this, _ResourceConflictException.prototype);
|
|
345
360
|
}
|
|
346
361
|
};
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
362
|
+
var TooManyRequestsException = class _TooManyRequestsException extends CognitoSyncServiceException {
|
|
363
|
+
static {
|
|
364
|
+
__name(this, "TooManyRequestsException");
|
|
365
|
+
}
|
|
366
|
+
name = "TooManyRequestsException";
|
|
367
|
+
$fault = "client";
|
|
350
368
|
/**
|
|
351
369
|
* @internal
|
|
352
370
|
*/
|
|
@@ -356,13 +374,9 @@ var _TooManyRequestsException = class _TooManyRequestsException extends CognitoS
|
|
|
356
374
|
$fault: "client",
|
|
357
375
|
...opts
|
|
358
376
|
});
|
|
359
|
-
this.name = "TooManyRequestsException";
|
|
360
|
-
this.$fault = "client";
|
|
361
377
|
Object.setPrototypeOf(this, _TooManyRequestsException.prototype);
|
|
362
378
|
}
|
|
363
379
|
};
|
|
364
|
-
__name(_TooManyRequestsException, "TooManyRequestsException");
|
|
365
|
-
var TooManyRequestsException = _TooManyRequestsException;
|
|
366
380
|
var BulkPublishStatus = {
|
|
367
381
|
FAILED: "FAILED",
|
|
368
382
|
IN_PROGRESS: "IN_PROGRESS",
|
|
@@ -373,7 +387,12 @@ var StreamingStatus = {
|
|
|
373
387
|
DISABLED: "DISABLED",
|
|
374
388
|
ENABLED: "ENABLED"
|
|
375
389
|
};
|
|
376
|
-
var
|
|
390
|
+
var InvalidConfigurationException = class _InvalidConfigurationException extends CognitoSyncServiceException {
|
|
391
|
+
static {
|
|
392
|
+
__name(this, "InvalidConfigurationException");
|
|
393
|
+
}
|
|
394
|
+
name = "InvalidConfigurationException";
|
|
395
|
+
$fault = "client";
|
|
377
396
|
/**
|
|
378
397
|
* @internal
|
|
379
398
|
*/
|
|
@@ -383,20 +402,21 @@ var _InvalidConfigurationException = class _InvalidConfigurationException extend
|
|
|
383
402
|
$fault: "client",
|
|
384
403
|
...opts
|
|
385
404
|
});
|
|
386
|
-
this.name = "InvalidConfigurationException";
|
|
387
|
-
this.$fault = "client";
|
|
388
405
|
Object.setPrototypeOf(this, _InvalidConfigurationException.prototype);
|
|
389
406
|
}
|
|
390
407
|
};
|
|
391
|
-
__name(_InvalidConfigurationException, "InvalidConfigurationException");
|
|
392
|
-
var InvalidConfigurationException = _InvalidConfigurationException;
|
|
393
408
|
var Platform = {
|
|
394
409
|
ADM: "ADM",
|
|
395
410
|
APNS: "APNS",
|
|
396
411
|
APNS_SANDBOX: "APNS_SANDBOX",
|
|
397
412
|
GCM: "GCM"
|
|
398
413
|
};
|
|
399
|
-
var
|
|
414
|
+
var ConcurrentModificationException = class _ConcurrentModificationException extends CognitoSyncServiceException {
|
|
415
|
+
static {
|
|
416
|
+
__name(this, "ConcurrentModificationException");
|
|
417
|
+
}
|
|
418
|
+
name = "ConcurrentModificationException";
|
|
419
|
+
$fault = "client";
|
|
400
420
|
/**
|
|
401
421
|
* @internal
|
|
402
422
|
*/
|
|
@@ -406,14 +426,15 @@ var _ConcurrentModificationException = class _ConcurrentModificationException ex
|
|
|
406
426
|
$fault: "client",
|
|
407
427
|
...opts
|
|
408
428
|
});
|
|
409
|
-
this.name = "ConcurrentModificationException";
|
|
410
|
-
this.$fault = "client";
|
|
411
429
|
Object.setPrototypeOf(this, _ConcurrentModificationException.prototype);
|
|
412
430
|
}
|
|
413
431
|
};
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
432
|
+
var InvalidLambdaFunctionOutputException = class _InvalidLambdaFunctionOutputException extends CognitoSyncServiceException {
|
|
433
|
+
static {
|
|
434
|
+
__name(this, "InvalidLambdaFunctionOutputException");
|
|
435
|
+
}
|
|
436
|
+
name = "InvalidLambdaFunctionOutputException";
|
|
437
|
+
$fault = "client";
|
|
417
438
|
/**
|
|
418
439
|
* @internal
|
|
419
440
|
*/
|
|
@@ -423,14 +444,15 @@ var _InvalidLambdaFunctionOutputException = class _InvalidLambdaFunctionOutputEx
|
|
|
423
444
|
$fault: "client",
|
|
424
445
|
...opts
|
|
425
446
|
});
|
|
426
|
-
this.name = "InvalidLambdaFunctionOutputException";
|
|
427
|
-
this.$fault = "client";
|
|
428
447
|
Object.setPrototypeOf(this, _InvalidLambdaFunctionOutputException.prototype);
|
|
429
448
|
}
|
|
430
449
|
};
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
450
|
+
var LambdaThrottledException = class _LambdaThrottledException extends CognitoSyncServiceException {
|
|
451
|
+
static {
|
|
452
|
+
__name(this, "LambdaThrottledException");
|
|
453
|
+
}
|
|
454
|
+
name = "LambdaThrottledException";
|
|
455
|
+
$fault = "client";
|
|
434
456
|
/**
|
|
435
457
|
* @internal
|
|
436
458
|
*/
|
|
@@ -440,14 +462,15 @@ var _LambdaThrottledException = class _LambdaThrottledException extends CognitoS
|
|
|
440
462
|
$fault: "client",
|
|
441
463
|
...opts
|
|
442
464
|
});
|
|
443
|
-
this.name = "LambdaThrottledException";
|
|
444
|
-
this.$fault = "client";
|
|
445
465
|
Object.setPrototypeOf(this, _LambdaThrottledException.prototype);
|
|
446
466
|
}
|
|
447
467
|
};
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
468
|
+
var LimitExceededException = class _LimitExceededException extends CognitoSyncServiceException {
|
|
469
|
+
static {
|
|
470
|
+
__name(this, "LimitExceededException");
|
|
471
|
+
}
|
|
472
|
+
name = "LimitExceededException";
|
|
473
|
+
$fault = "client";
|
|
451
474
|
/**
|
|
452
475
|
* @internal
|
|
453
476
|
*/
|
|
@@ -457,13 +480,9 @@ var _LimitExceededException = class _LimitExceededException extends CognitoSyncS
|
|
|
457
480
|
$fault: "client",
|
|
458
481
|
...opts
|
|
459
482
|
});
|
|
460
|
-
this.name = "LimitExceededException";
|
|
461
|
-
this.$fault = "client";
|
|
462
483
|
Object.setPrototypeOf(this, _LimitExceededException.prototype);
|
|
463
484
|
}
|
|
464
485
|
};
|
|
465
|
-
__name(_LimitExceededException, "LimitExceededException");
|
|
466
|
-
var LimitExceededException = _LimitExceededException;
|
|
467
486
|
var Operation = {
|
|
468
487
|
remove: "remove",
|
|
469
488
|
replace: "replace"
|
|
@@ -1246,239 +1265,256 @@ var _sST = "syncSessionToken";
|
|
|
1246
1265
|
var _xacc = "x-amz-client-context";
|
|
1247
1266
|
|
|
1248
1267
|
// src/commands/BulkPublishCommand.ts
|
|
1249
|
-
var
|
|
1268
|
+
var BulkPublishCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1250
1269
|
return [
|
|
1251
1270
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1252
1271
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1253
1272
|
];
|
|
1254
1273
|
}).s("AWSCognitoSyncService", "BulkPublish", {}).n("CognitoSyncClient", "BulkPublishCommand").f(void 0, void 0).ser(se_BulkPublishCommand).de(de_BulkPublishCommand).build() {
|
|
1274
|
+
static {
|
|
1275
|
+
__name(this, "BulkPublishCommand");
|
|
1276
|
+
}
|
|
1255
1277
|
};
|
|
1256
|
-
__name(_BulkPublishCommand, "BulkPublishCommand");
|
|
1257
|
-
var BulkPublishCommand = _BulkPublishCommand;
|
|
1258
1278
|
|
|
1259
1279
|
// src/commands/DeleteDatasetCommand.ts
|
|
1260
1280
|
|
|
1261
1281
|
|
|
1262
1282
|
|
|
1263
|
-
var
|
|
1283
|
+
var DeleteDatasetCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1264
1284
|
return [
|
|
1265
1285
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1266
1286
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1267
1287
|
];
|
|
1268
1288
|
}).s("AWSCognitoSyncService", "DeleteDataset", {}).n("CognitoSyncClient", "DeleteDatasetCommand").f(void 0, void 0).ser(se_DeleteDatasetCommand).de(de_DeleteDatasetCommand).build() {
|
|
1289
|
+
static {
|
|
1290
|
+
__name(this, "DeleteDatasetCommand");
|
|
1291
|
+
}
|
|
1269
1292
|
};
|
|
1270
|
-
__name(_DeleteDatasetCommand, "DeleteDatasetCommand");
|
|
1271
|
-
var DeleteDatasetCommand = _DeleteDatasetCommand;
|
|
1272
1293
|
|
|
1273
1294
|
// src/commands/DescribeDatasetCommand.ts
|
|
1274
1295
|
|
|
1275
1296
|
|
|
1276
1297
|
|
|
1277
|
-
var
|
|
1298
|
+
var DescribeDatasetCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1278
1299
|
return [
|
|
1279
1300
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1280
1301
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1281
1302
|
];
|
|
1282
1303
|
}).s("AWSCognitoSyncService", "DescribeDataset", {}).n("CognitoSyncClient", "DescribeDatasetCommand").f(void 0, void 0).ser(se_DescribeDatasetCommand).de(de_DescribeDatasetCommand).build() {
|
|
1304
|
+
static {
|
|
1305
|
+
__name(this, "DescribeDatasetCommand");
|
|
1306
|
+
}
|
|
1283
1307
|
};
|
|
1284
|
-
__name(_DescribeDatasetCommand, "DescribeDatasetCommand");
|
|
1285
|
-
var DescribeDatasetCommand = _DescribeDatasetCommand;
|
|
1286
1308
|
|
|
1287
1309
|
// src/commands/DescribeIdentityPoolUsageCommand.ts
|
|
1288
1310
|
|
|
1289
1311
|
|
|
1290
1312
|
|
|
1291
|
-
var
|
|
1313
|
+
var DescribeIdentityPoolUsageCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1292
1314
|
return [
|
|
1293
1315
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1294
1316
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1295
1317
|
];
|
|
1296
1318
|
}).s("AWSCognitoSyncService", "DescribeIdentityPoolUsage", {}).n("CognitoSyncClient", "DescribeIdentityPoolUsageCommand").f(void 0, void 0).ser(se_DescribeIdentityPoolUsageCommand).de(de_DescribeIdentityPoolUsageCommand).build() {
|
|
1319
|
+
static {
|
|
1320
|
+
__name(this, "DescribeIdentityPoolUsageCommand");
|
|
1321
|
+
}
|
|
1297
1322
|
};
|
|
1298
|
-
__name(_DescribeIdentityPoolUsageCommand, "DescribeIdentityPoolUsageCommand");
|
|
1299
|
-
var DescribeIdentityPoolUsageCommand = _DescribeIdentityPoolUsageCommand;
|
|
1300
1323
|
|
|
1301
1324
|
// src/commands/DescribeIdentityUsageCommand.ts
|
|
1302
1325
|
|
|
1303
1326
|
|
|
1304
1327
|
|
|
1305
|
-
var
|
|
1328
|
+
var DescribeIdentityUsageCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1306
1329
|
return [
|
|
1307
1330
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1308
1331
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1309
1332
|
];
|
|
1310
1333
|
}).s("AWSCognitoSyncService", "DescribeIdentityUsage", {}).n("CognitoSyncClient", "DescribeIdentityUsageCommand").f(void 0, void 0).ser(se_DescribeIdentityUsageCommand).de(de_DescribeIdentityUsageCommand).build() {
|
|
1334
|
+
static {
|
|
1335
|
+
__name(this, "DescribeIdentityUsageCommand");
|
|
1336
|
+
}
|
|
1311
1337
|
};
|
|
1312
|
-
__name(_DescribeIdentityUsageCommand, "DescribeIdentityUsageCommand");
|
|
1313
|
-
var DescribeIdentityUsageCommand = _DescribeIdentityUsageCommand;
|
|
1314
1338
|
|
|
1315
1339
|
// src/commands/GetBulkPublishDetailsCommand.ts
|
|
1316
1340
|
|
|
1317
1341
|
|
|
1318
1342
|
|
|
1319
|
-
var
|
|
1343
|
+
var GetBulkPublishDetailsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1320
1344
|
return [
|
|
1321
1345
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1322
1346
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1323
1347
|
];
|
|
1324
1348
|
}).s("AWSCognitoSyncService", "GetBulkPublishDetails", {}).n("CognitoSyncClient", "GetBulkPublishDetailsCommand").f(void 0, void 0).ser(se_GetBulkPublishDetailsCommand).de(de_GetBulkPublishDetailsCommand).build() {
|
|
1349
|
+
static {
|
|
1350
|
+
__name(this, "GetBulkPublishDetailsCommand");
|
|
1351
|
+
}
|
|
1325
1352
|
};
|
|
1326
|
-
__name(_GetBulkPublishDetailsCommand, "GetBulkPublishDetailsCommand");
|
|
1327
|
-
var GetBulkPublishDetailsCommand = _GetBulkPublishDetailsCommand;
|
|
1328
1353
|
|
|
1329
1354
|
// src/commands/GetCognitoEventsCommand.ts
|
|
1330
1355
|
|
|
1331
1356
|
|
|
1332
1357
|
|
|
1333
|
-
var
|
|
1358
|
+
var GetCognitoEventsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1334
1359
|
return [
|
|
1335
1360
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1336
1361
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1337
1362
|
];
|
|
1338
1363
|
}).s("AWSCognitoSyncService", "GetCognitoEvents", {}).n("CognitoSyncClient", "GetCognitoEventsCommand").f(void 0, void 0).ser(se_GetCognitoEventsCommand).de(de_GetCognitoEventsCommand).build() {
|
|
1364
|
+
static {
|
|
1365
|
+
__name(this, "GetCognitoEventsCommand");
|
|
1366
|
+
}
|
|
1339
1367
|
};
|
|
1340
|
-
__name(_GetCognitoEventsCommand, "GetCognitoEventsCommand");
|
|
1341
|
-
var GetCognitoEventsCommand = _GetCognitoEventsCommand;
|
|
1342
1368
|
|
|
1343
1369
|
// src/commands/GetIdentityPoolConfigurationCommand.ts
|
|
1344
1370
|
|
|
1345
1371
|
|
|
1346
1372
|
|
|
1347
|
-
var
|
|
1373
|
+
var GetIdentityPoolConfigurationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1348
1374
|
return [
|
|
1349
1375
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1350
1376
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1351
1377
|
];
|
|
1352
1378
|
}).s("AWSCognitoSyncService", "GetIdentityPoolConfiguration", {}).n("CognitoSyncClient", "GetIdentityPoolConfigurationCommand").f(void 0, void 0).ser(se_GetIdentityPoolConfigurationCommand).de(de_GetIdentityPoolConfigurationCommand).build() {
|
|
1379
|
+
static {
|
|
1380
|
+
__name(this, "GetIdentityPoolConfigurationCommand");
|
|
1381
|
+
}
|
|
1353
1382
|
};
|
|
1354
|
-
__name(_GetIdentityPoolConfigurationCommand, "GetIdentityPoolConfigurationCommand");
|
|
1355
|
-
var GetIdentityPoolConfigurationCommand = _GetIdentityPoolConfigurationCommand;
|
|
1356
1383
|
|
|
1357
1384
|
// src/commands/ListDatasetsCommand.ts
|
|
1358
1385
|
|
|
1359
1386
|
|
|
1360
1387
|
|
|
1361
|
-
var
|
|
1388
|
+
var ListDatasetsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1362
1389
|
return [
|
|
1363
1390
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1364
1391
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1365
1392
|
];
|
|
1366
1393
|
}).s("AWSCognitoSyncService", "ListDatasets", {}).n("CognitoSyncClient", "ListDatasetsCommand").f(void 0, void 0).ser(se_ListDatasetsCommand).de(de_ListDatasetsCommand).build() {
|
|
1394
|
+
static {
|
|
1395
|
+
__name(this, "ListDatasetsCommand");
|
|
1396
|
+
}
|
|
1367
1397
|
};
|
|
1368
|
-
__name(_ListDatasetsCommand, "ListDatasetsCommand");
|
|
1369
|
-
var ListDatasetsCommand = _ListDatasetsCommand;
|
|
1370
1398
|
|
|
1371
1399
|
// src/commands/ListIdentityPoolUsageCommand.ts
|
|
1372
1400
|
|
|
1373
1401
|
|
|
1374
1402
|
|
|
1375
|
-
var
|
|
1403
|
+
var ListIdentityPoolUsageCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1376
1404
|
return [
|
|
1377
1405
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1378
1406
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1379
1407
|
];
|
|
1380
1408
|
}).s("AWSCognitoSyncService", "ListIdentityPoolUsage", {}).n("CognitoSyncClient", "ListIdentityPoolUsageCommand").f(void 0, void 0).ser(se_ListIdentityPoolUsageCommand).de(de_ListIdentityPoolUsageCommand).build() {
|
|
1409
|
+
static {
|
|
1410
|
+
__name(this, "ListIdentityPoolUsageCommand");
|
|
1411
|
+
}
|
|
1381
1412
|
};
|
|
1382
|
-
__name(_ListIdentityPoolUsageCommand, "ListIdentityPoolUsageCommand");
|
|
1383
|
-
var ListIdentityPoolUsageCommand = _ListIdentityPoolUsageCommand;
|
|
1384
1413
|
|
|
1385
1414
|
// src/commands/ListRecordsCommand.ts
|
|
1386
1415
|
|
|
1387
1416
|
|
|
1388
1417
|
|
|
1389
|
-
var
|
|
1418
|
+
var ListRecordsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1390
1419
|
return [
|
|
1391
1420
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1392
1421
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1393
1422
|
];
|
|
1394
1423
|
}).s("AWSCognitoSyncService", "ListRecords", {}).n("CognitoSyncClient", "ListRecordsCommand").f(void 0, void 0).ser(se_ListRecordsCommand).de(de_ListRecordsCommand).build() {
|
|
1424
|
+
static {
|
|
1425
|
+
__name(this, "ListRecordsCommand");
|
|
1426
|
+
}
|
|
1395
1427
|
};
|
|
1396
|
-
__name(_ListRecordsCommand, "ListRecordsCommand");
|
|
1397
|
-
var ListRecordsCommand = _ListRecordsCommand;
|
|
1398
1428
|
|
|
1399
1429
|
// src/commands/RegisterDeviceCommand.ts
|
|
1400
1430
|
|
|
1401
1431
|
|
|
1402
1432
|
|
|
1403
|
-
var
|
|
1433
|
+
var RegisterDeviceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1404
1434
|
return [
|
|
1405
1435
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1406
1436
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1407
1437
|
];
|
|
1408
1438
|
}).s("AWSCognitoSyncService", "RegisterDevice", {}).n("CognitoSyncClient", "RegisterDeviceCommand").f(void 0, void 0).ser(se_RegisterDeviceCommand).de(de_RegisterDeviceCommand).build() {
|
|
1439
|
+
static {
|
|
1440
|
+
__name(this, "RegisterDeviceCommand");
|
|
1441
|
+
}
|
|
1409
1442
|
};
|
|
1410
|
-
__name(_RegisterDeviceCommand, "RegisterDeviceCommand");
|
|
1411
|
-
var RegisterDeviceCommand = _RegisterDeviceCommand;
|
|
1412
1443
|
|
|
1413
1444
|
// src/commands/SetCognitoEventsCommand.ts
|
|
1414
1445
|
|
|
1415
1446
|
|
|
1416
1447
|
|
|
1417
|
-
var
|
|
1448
|
+
var SetCognitoEventsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1418
1449
|
return [
|
|
1419
1450
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1420
1451
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1421
1452
|
];
|
|
1422
1453
|
}).s("AWSCognitoSyncService", "SetCognitoEvents", {}).n("CognitoSyncClient", "SetCognitoEventsCommand").f(void 0, void 0).ser(se_SetCognitoEventsCommand).de(de_SetCognitoEventsCommand).build() {
|
|
1454
|
+
static {
|
|
1455
|
+
__name(this, "SetCognitoEventsCommand");
|
|
1456
|
+
}
|
|
1423
1457
|
};
|
|
1424
|
-
__name(_SetCognitoEventsCommand, "SetCognitoEventsCommand");
|
|
1425
|
-
var SetCognitoEventsCommand = _SetCognitoEventsCommand;
|
|
1426
1458
|
|
|
1427
1459
|
// src/commands/SetIdentityPoolConfigurationCommand.ts
|
|
1428
1460
|
|
|
1429
1461
|
|
|
1430
1462
|
|
|
1431
|
-
var
|
|
1463
|
+
var SetIdentityPoolConfigurationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1432
1464
|
return [
|
|
1433
1465
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1434
1466
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1435
1467
|
];
|
|
1436
1468
|
}).s("AWSCognitoSyncService", "SetIdentityPoolConfiguration", {}).n("CognitoSyncClient", "SetIdentityPoolConfigurationCommand").f(void 0, void 0).ser(se_SetIdentityPoolConfigurationCommand).de(de_SetIdentityPoolConfigurationCommand).build() {
|
|
1469
|
+
static {
|
|
1470
|
+
__name(this, "SetIdentityPoolConfigurationCommand");
|
|
1471
|
+
}
|
|
1437
1472
|
};
|
|
1438
|
-
__name(_SetIdentityPoolConfigurationCommand, "SetIdentityPoolConfigurationCommand");
|
|
1439
|
-
var SetIdentityPoolConfigurationCommand = _SetIdentityPoolConfigurationCommand;
|
|
1440
1473
|
|
|
1441
1474
|
// src/commands/SubscribeToDatasetCommand.ts
|
|
1442
1475
|
|
|
1443
1476
|
|
|
1444
1477
|
|
|
1445
|
-
var
|
|
1478
|
+
var SubscribeToDatasetCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1446
1479
|
return [
|
|
1447
1480
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1448
1481
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1449
1482
|
];
|
|
1450
1483
|
}).s("AWSCognitoSyncService", "SubscribeToDataset", {}).n("CognitoSyncClient", "SubscribeToDatasetCommand").f(void 0, void 0).ser(se_SubscribeToDatasetCommand).de(de_SubscribeToDatasetCommand).build() {
|
|
1484
|
+
static {
|
|
1485
|
+
__name(this, "SubscribeToDatasetCommand");
|
|
1486
|
+
}
|
|
1451
1487
|
};
|
|
1452
|
-
__name(_SubscribeToDatasetCommand, "SubscribeToDatasetCommand");
|
|
1453
|
-
var SubscribeToDatasetCommand = _SubscribeToDatasetCommand;
|
|
1454
1488
|
|
|
1455
1489
|
// src/commands/UnsubscribeFromDatasetCommand.ts
|
|
1456
1490
|
|
|
1457
1491
|
|
|
1458
1492
|
|
|
1459
|
-
var
|
|
1493
|
+
var UnsubscribeFromDatasetCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1460
1494
|
return [
|
|
1461
1495
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1462
1496
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1463
1497
|
];
|
|
1464
1498
|
}).s("AWSCognitoSyncService", "UnsubscribeFromDataset", {}).n("CognitoSyncClient", "UnsubscribeFromDatasetCommand").f(void 0, void 0).ser(se_UnsubscribeFromDatasetCommand).de(de_UnsubscribeFromDatasetCommand).build() {
|
|
1499
|
+
static {
|
|
1500
|
+
__name(this, "UnsubscribeFromDatasetCommand");
|
|
1501
|
+
}
|
|
1465
1502
|
};
|
|
1466
|
-
__name(_UnsubscribeFromDatasetCommand, "UnsubscribeFromDatasetCommand");
|
|
1467
|
-
var UnsubscribeFromDatasetCommand = _UnsubscribeFromDatasetCommand;
|
|
1468
1503
|
|
|
1469
1504
|
// src/commands/UpdateRecordsCommand.ts
|
|
1470
1505
|
|
|
1471
1506
|
|
|
1472
1507
|
|
|
1473
|
-
var
|
|
1508
|
+
var UpdateRecordsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1474
1509
|
return [
|
|
1475
1510
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1476
1511
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1477
1512
|
];
|
|
1478
1513
|
}).s("AWSCognitoSyncService", "UpdateRecords", {}).n("CognitoSyncClient", "UpdateRecordsCommand").f(void 0, void 0).ser(se_UpdateRecordsCommand).de(de_UpdateRecordsCommand).build() {
|
|
1514
|
+
static {
|
|
1515
|
+
__name(this, "UpdateRecordsCommand");
|
|
1516
|
+
}
|
|
1479
1517
|
};
|
|
1480
|
-
__name(_UpdateRecordsCommand, "UpdateRecordsCommand");
|
|
1481
|
-
var UpdateRecordsCommand = _UpdateRecordsCommand;
|
|
1482
1518
|
|
|
1483
1519
|
// src/CognitoSync.ts
|
|
1484
1520
|
var commands = {
|
|
@@ -1500,10 +1536,11 @@ var commands = {
|
|
|
1500
1536
|
UnsubscribeFromDatasetCommand,
|
|
1501
1537
|
UpdateRecordsCommand
|
|
1502
1538
|
};
|
|
1503
|
-
var
|
|
1539
|
+
var CognitoSync = class extends CognitoSyncClient {
|
|
1540
|
+
static {
|
|
1541
|
+
__name(this, "CognitoSync");
|
|
1542
|
+
}
|
|
1504
1543
|
};
|
|
1505
|
-
__name(_CognitoSync, "CognitoSync");
|
|
1506
|
-
var CognitoSync = _CognitoSync;
|
|
1507
1544
|
(0, import_smithy_client.createAggregatedClient)(commands, CognitoSync);
|
|
1508
1545
|
// Annotate the CommonJS export names for ESM import in node:
|
|
1509
1546
|
|
|
@@ -14,6 +14,7 @@ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
|
14
14
|
import { resolveRuntimeExtensions } from "./runtimeExtensions";
|
|
15
15
|
export { __Client };
|
|
16
16
|
export class CognitoSyncClient extends __Client {
|
|
17
|
+
config;
|
|
17
18
|
constructor(...[configuration]) {
|
|
18
19
|
const _config_0 = __getRuntimeConfig(configuration || {});
|
|
19
20
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
@@ -1,97 +1,97 @@
|
|
|
1
1
|
import { CognitoSyncServiceException as __BaseException } from "./CognitoSyncServiceException";
|
|
2
2
|
export class AlreadyStreamedException extends __BaseException {
|
|
3
|
+
name = "AlreadyStreamedException";
|
|
4
|
+
$fault = "client";
|
|
3
5
|
constructor(opts) {
|
|
4
6
|
super({
|
|
5
7
|
name: "AlreadyStreamedException",
|
|
6
8
|
$fault: "client",
|
|
7
9
|
...opts,
|
|
8
10
|
});
|
|
9
|
-
this.name = "AlreadyStreamedException";
|
|
10
|
-
this.$fault = "client";
|
|
11
11
|
Object.setPrototypeOf(this, AlreadyStreamedException.prototype);
|
|
12
12
|
}
|
|
13
13
|
}
|
|
14
14
|
export class DuplicateRequestException extends __BaseException {
|
|
15
|
+
name = "DuplicateRequestException";
|
|
16
|
+
$fault = "client";
|
|
15
17
|
constructor(opts) {
|
|
16
18
|
super({
|
|
17
19
|
name: "DuplicateRequestException",
|
|
18
20
|
$fault: "client",
|
|
19
21
|
...opts,
|
|
20
22
|
});
|
|
21
|
-
this.name = "DuplicateRequestException";
|
|
22
|
-
this.$fault = "client";
|
|
23
23
|
Object.setPrototypeOf(this, DuplicateRequestException.prototype);
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
26
|
export class InternalErrorException extends __BaseException {
|
|
27
|
+
name = "InternalErrorException";
|
|
28
|
+
$fault = "server";
|
|
27
29
|
constructor(opts) {
|
|
28
30
|
super({
|
|
29
31
|
name: "InternalErrorException",
|
|
30
32
|
$fault: "server",
|
|
31
33
|
...opts,
|
|
32
34
|
});
|
|
33
|
-
this.name = "InternalErrorException";
|
|
34
|
-
this.$fault = "server";
|
|
35
35
|
Object.setPrototypeOf(this, InternalErrorException.prototype);
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
export class InvalidParameterException extends __BaseException {
|
|
39
|
+
name = "InvalidParameterException";
|
|
40
|
+
$fault = "client";
|
|
39
41
|
constructor(opts) {
|
|
40
42
|
super({
|
|
41
43
|
name: "InvalidParameterException",
|
|
42
44
|
$fault: "client",
|
|
43
45
|
...opts,
|
|
44
46
|
});
|
|
45
|
-
this.name = "InvalidParameterException";
|
|
46
|
-
this.$fault = "client";
|
|
47
47
|
Object.setPrototypeOf(this, InvalidParameterException.prototype);
|
|
48
48
|
}
|
|
49
49
|
}
|
|
50
50
|
export class NotAuthorizedException extends __BaseException {
|
|
51
|
+
name = "NotAuthorizedException";
|
|
52
|
+
$fault = "client";
|
|
51
53
|
constructor(opts) {
|
|
52
54
|
super({
|
|
53
55
|
name: "NotAuthorizedException",
|
|
54
56
|
$fault: "client",
|
|
55
57
|
...opts,
|
|
56
58
|
});
|
|
57
|
-
this.name = "NotAuthorizedException";
|
|
58
|
-
this.$fault = "client";
|
|
59
59
|
Object.setPrototypeOf(this, NotAuthorizedException.prototype);
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
62
|
export class ResourceNotFoundException extends __BaseException {
|
|
63
|
+
name = "ResourceNotFoundException";
|
|
64
|
+
$fault = "client";
|
|
63
65
|
constructor(opts) {
|
|
64
66
|
super({
|
|
65
67
|
name: "ResourceNotFoundException",
|
|
66
68
|
$fault: "client",
|
|
67
69
|
...opts,
|
|
68
70
|
});
|
|
69
|
-
this.name = "ResourceNotFoundException";
|
|
70
|
-
this.$fault = "client";
|
|
71
71
|
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
export class ResourceConflictException extends __BaseException {
|
|
75
|
+
name = "ResourceConflictException";
|
|
76
|
+
$fault = "client";
|
|
75
77
|
constructor(opts) {
|
|
76
78
|
super({
|
|
77
79
|
name: "ResourceConflictException",
|
|
78
80
|
$fault: "client",
|
|
79
81
|
...opts,
|
|
80
82
|
});
|
|
81
|
-
this.name = "ResourceConflictException";
|
|
82
|
-
this.$fault = "client";
|
|
83
83
|
Object.setPrototypeOf(this, ResourceConflictException.prototype);
|
|
84
84
|
}
|
|
85
85
|
}
|
|
86
86
|
export class TooManyRequestsException extends __BaseException {
|
|
87
|
+
name = "TooManyRequestsException";
|
|
88
|
+
$fault = "client";
|
|
87
89
|
constructor(opts) {
|
|
88
90
|
super({
|
|
89
91
|
name: "TooManyRequestsException",
|
|
90
92
|
$fault: "client",
|
|
91
93
|
...opts,
|
|
92
94
|
});
|
|
93
|
-
this.name = "TooManyRequestsException";
|
|
94
|
-
this.$fault = "client";
|
|
95
95
|
Object.setPrototypeOf(this, TooManyRequestsException.prototype);
|
|
96
96
|
}
|
|
97
97
|
}
|
|
@@ -106,14 +106,14 @@ export const StreamingStatus = {
|
|
|
106
106
|
ENABLED: "ENABLED",
|
|
107
107
|
};
|
|
108
108
|
export class InvalidConfigurationException extends __BaseException {
|
|
109
|
+
name = "InvalidConfigurationException";
|
|
110
|
+
$fault = "client";
|
|
109
111
|
constructor(opts) {
|
|
110
112
|
super({
|
|
111
113
|
name: "InvalidConfigurationException",
|
|
112
114
|
$fault: "client",
|
|
113
115
|
...opts,
|
|
114
116
|
});
|
|
115
|
-
this.name = "InvalidConfigurationException";
|
|
116
|
-
this.$fault = "client";
|
|
117
117
|
Object.setPrototypeOf(this, InvalidConfigurationException.prototype);
|
|
118
118
|
}
|
|
119
119
|
}
|
|
@@ -124,50 +124,50 @@ export const Platform = {
|
|
|
124
124
|
GCM: "GCM",
|
|
125
125
|
};
|
|
126
126
|
export class ConcurrentModificationException extends __BaseException {
|
|
127
|
+
name = "ConcurrentModificationException";
|
|
128
|
+
$fault = "client";
|
|
127
129
|
constructor(opts) {
|
|
128
130
|
super({
|
|
129
131
|
name: "ConcurrentModificationException",
|
|
130
132
|
$fault: "client",
|
|
131
133
|
...opts,
|
|
132
134
|
});
|
|
133
|
-
this.name = "ConcurrentModificationException";
|
|
134
|
-
this.$fault = "client";
|
|
135
135
|
Object.setPrototypeOf(this, ConcurrentModificationException.prototype);
|
|
136
136
|
}
|
|
137
137
|
}
|
|
138
138
|
export class InvalidLambdaFunctionOutputException extends __BaseException {
|
|
139
|
+
name = "InvalidLambdaFunctionOutputException";
|
|
140
|
+
$fault = "client";
|
|
139
141
|
constructor(opts) {
|
|
140
142
|
super({
|
|
141
143
|
name: "InvalidLambdaFunctionOutputException",
|
|
142
144
|
$fault: "client",
|
|
143
145
|
...opts,
|
|
144
146
|
});
|
|
145
|
-
this.name = "InvalidLambdaFunctionOutputException";
|
|
146
|
-
this.$fault = "client";
|
|
147
147
|
Object.setPrototypeOf(this, InvalidLambdaFunctionOutputException.prototype);
|
|
148
148
|
}
|
|
149
149
|
}
|
|
150
150
|
export class LambdaThrottledException extends __BaseException {
|
|
151
|
+
name = "LambdaThrottledException";
|
|
152
|
+
$fault = "client";
|
|
151
153
|
constructor(opts) {
|
|
152
154
|
super({
|
|
153
155
|
name: "LambdaThrottledException",
|
|
154
156
|
$fault: "client",
|
|
155
157
|
...opts,
|
|
156
158
|
});
|
|
157
|
-
this.name = "LambdaThrottledException";
|
|
158
|
-
this.$fault = "client";
|
|
159
159
|
Object.setPrototypeOf(this, LambdaThrottledException.prototype);
|
|
160
160
|
}
|
|
161
161
|
}
|
|
162
162
|
export class LimitExceededException extends __BaseException {
|
|
163
|
+
name = "LimitExceededException";
|
|
164
|
+
$fault = "client";
|
|
163
165
|
constructor(opts) {
|
|
164
166
|
super({
|
|
165
167
|
name: "LimitExceededException",
|
|
166
168
|
$fault: "client",
|
|
167
169
|
...opts,
|
|
168
170
|
});
|
|
169
|
-
this.name = "LimitExceededException";
|
|
170
|
-
this.$fault = "client";
|
|
171
171
|
Object.setPrototypeOf(this, LimitExceededException.prototype);
|
|
172
172
|
}
|
|
173
173
|
}
|
|
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: CognitoSyncClientConfig) => {
|
|
|
7
7
|
runtime: string;
|
|
8
8
|
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
|
-
credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
10
|
+
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
11
11
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
13
13
|
region: string | import("@smithy/types").Provider<any>;
|
|
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: CognitoSyncClientConfig) => {
|
|
|
7
7
|
runtime: string;
|
|
8
8
|
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
|
-
credentialDefaultProvider: (init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity
|
|
10
|
+
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>);
|
|
11
11
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
13
13
|
region: string | import("@smithy/types").Provider<string>;
|
|
@@ -22,7 +22,7 @@ export declare const getRuntimeConfig: (config: CognitoSyncClientConfig) => {
|
|
|
22
22
|
region: string | import("@smithy/types").Provider<any>;
|
|
23
23
|
profile?: string | undefined;
|
|
24
24
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
25
|
-
credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
25
|
+
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
26
26
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
27
27
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
28
28
|
logger: import("@smithy/types").Logger;
|
|
@@ -31,7 +31,7 @@ export declare const getRuntimeConfig: (config: CognitoSyncClientConfig) => {
|
|
|
31
31
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
32
32
|
userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
|
|
33
33
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
34
|
-
endpoint?: string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2> | undefined;
|
|
34
|
+
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
|
|
35
35
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
36
36
|
logger?: import("@smithy/types").Logger | undefined;
|
|
37
37
|
}) => import("@smithy/types").EndpointV2;
|
|
@@ -6,9 +6,11 @@ export declare const getRuntimeConfig: (config: CognitoSyncClientConfig) => {
|
|
|
6
6
|
import("@smithy/smithy-client").ResolvedDefaultsMode
|
|
7
7
|
>;
|
|
8
8
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
9
|
-
credentialDefaultProvider:
|
|
10
|
-
input: any
|
|
11
|
-
|
|
9
|
+
credentialDefaultProvider:
|
|
10
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
11
|
+
| ((
|
|
12
|
+
_: unknown
|
|
13
|
+
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
12
14
|
defaultUserAgentProvider: (
|
|
13
15
|
config?:
|
|
14
16
|
| import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
|
|
@@ -6,13 +6,15 @@ export declare const getRuntimeConfig: (config: CognitoSyncClientConfig) => {
|
|
|
6
6
|
import("@smithy/smithy-client").ResolvedDefaultsMode
|
|
7
7
|
>;
|
|
8
8
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
9
|
-
credentialDefaultProvider:
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
9
|
+
credentialDefaultProvider:
|
|
10
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
11
|
+
| ((
|
|
12
|
+
init?:
|
|
13
|
+
| import("@aws-sdk/credential-provider-node").DefaultProviderInit
|
|
14
|
+
| undefined
|
|
15
|
+
) => import("@smithy/types").MemoizedProvider<
|
|
16
|
+
import("@smithy/types").AwsCredentialIdentity
|
|
17
|
+
>);
|
|
16
18
|
defaultUserAgentProvider: (
|
|
17
19
|
config?:
|
|
18
20
|
| import("@aws-sdk/util-user-agent-node").PreviouslyResolved
|
|
@@ -28,9 +28,11 @@ export declare const getRuntimeConfig: (config: CognitoSyncClientConfig) => {
|
|
|
28
28
|
| import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
|
|
29
29
|
| undefined
|
|
30
30
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
31
|
-
credentialDefaultProvider:
|
|
32
|
-
input: any
|
|
33
|
-
|
|
31
|
+
credentialDefaultProvider:
|
|
32
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
33
|
+
| ((
|
|
34
|
+
_: unknown
|
|
35
|
+
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
34
36
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
35
37
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
36
38
|
logger: import("@smithy/types").Logger;
|
|
@@ -50,11 +52,21 @@ export declare const getRuntimeConfig: (config: CognitoSyncClientConfig) => {
|
|
|
50
52
|
| import("@smithy/types").RetryStrategyV2
|
|
51
53
|
| undefined;
|
|
52
54
|
endpoint?:
|
|
53
|
-
|
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
55
|
+
| ((
|
|
56
|
+
| string
|
|
57
|
+
| import("@smithy/types").Endpoint
|
|
58
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
59
|
+
| import("@smithy/types").EndpointV2
|
|
60
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
61
|
+
) &
|
|
62
|
+
(
|
|
63
|
+
| string
|
|
64
|
+
| import("@smithy/types").Provider<string>
|
|
65
|
+
| import("@smithy/types").Endpoint
|
|
66
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
67
|
+
| import("@smithy/types").EndpointV2
|
|
68
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
69
|
+
))
|
|
58
70
|
| undefined;
|
|
59
71
|
endpointProvider: (
|
|
60
72
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
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.723.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-cognito-sync",
|
|
@@ -20,56 +20,56 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
28
|
-
"@aws-sdk/middleware-logger": "3.
|
|
29
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
32
|
-
"@aws-sdk/types": "3.
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
36
|
-
"@smithy/config-resolver": "^
|
|
37
|
-
"@smithy/core": "^
|
|
38
|
-
"@smithy/fetch-http-handler": "^
|
|
39
|
-
"@smithy/hash-node": "^
|
|
40
|
-
"@smithy/invalid-dependency": "^
|
|
41
|
-
"@smithy/middleware-content-length": "^
|
|
42
|
-
"@smithy/middleware-endpoint": "^
|
|
43
|
-
"@smithy/middleware-retry": "^
|
|
44
|
-
"@smithy/middleware-serde": "^
|
|
45
|
-
"@smithy/middleware-stack": "^
|
|
46
|
-
"@smithy/node-config-provider": "^
|
|
47
|
-
"@smithy/node-http-handler": "^
|
|
48
|
-
"@smithy/protocol-http": "^
|
|
49
|
-
"@smithy/smithy-client": "^
|
|
50
|
-
"@smithy/types": "^
|
|
51
|
-
"@smithy/url-parser": "^
|
|
52
|
-
"@smithy/util-base64": "^
|
|
53
|
-
"@smithy/util-body-length-browser": "^
|
|
54
|
-
"@smithy/util-body-length-node": "^
|
|
55
|
-
"@smithy/util-defaults-mode-browser": "^
|
|
56
|
-
"@smithy/util-defaults-mode-node": "^
|
|
57
|
-
"@smithy/util-endpoints": "^
|
|
58
|
-
"@smithy/util-middleware": "^
|
|
59
|
-
"@smithy/util-retry": "^
|
|
60
|
-
"@smithy/util-utf8": "^
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.723.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.723.0",
|
|
25
|
+
"@aws-sdk/core": "3.723.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.723.0",
|
|
27
|
+
"@aws-sdk/middleware-host-header": "3.723.0",
|
|
28
|
+
"@aws-sdk/middleware-logger": "3.723.0",
|
|
29
|
+
"@aws-sdk/middleware-recursion-detection": "3.723.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.723.0",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.723.0",
|
|
32
|
+
"@aws-sdk/types": "3.723.0",
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.723.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "3.723.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.723.0",
|
|
36
|
+
"@smithy/config-resolver": "^4.0.0",
|
|
37
|
+
"@smithy/core": "^3.0.0",
|
|
38
|
+
"@smithy/fetch-http-handler": "^5.0.0",
|
|
39
|
+
"@smithy/hash-node": "^4.0.0",
|
|
40
|
+
"@smithy/invalid-dependency": "^4.0.0",
|
|
41
|
+
"@smithy/middleware-content-length": "^4.0.0",
|
|
42
|
+
"@smithy/middleware-endpoint": "^4.0.0",
|
|
43
|
+
"@smithy/middleware-retry": "^4.0.0",
|
|
44
|
+
"@smithy/middleware-serde": "^4.0.0",
|
|
45
|
+
"@smithy/middleware-stack": "^4.0.0",
|
|
46
|
+
"@smithy/node-config-provider": "^4.0.0",
|
|
47
|
+
"@smithy/node-http-handler": "^4.0.0",
|
|
48
|
+
"@smithy/protocol-http": "^5.0.0",
|
|
49
|
+
"@smithy/smithy-client": "^4.0.0",
|
|
50
|
+
"@smithy/types": "^4.0.0",
|
|
51
|
+
"@smithy/url-parser": "^4.0.0",
|
|
52
|
+
"@smithy/util-base64": "^4.0.0",
|
|
53
|
+
"@smithy/util-body-length-browser": "^4.0.0",
|
|
54
|
+
"@smithy/util-body-length-node": "^4.0.0",
|
|
55
|
+
"@smithy/util-defaults-mode-browser": "^4.0.0",
|
|
56
|
+
"@smithy/util-defaults-mode-node": "^4.0.0",
|
|
57
|
+
"@smithy/util-endpoints": "^3.0.0",
|
|
58
|
+
"@smithy/util-middleware": "^4.0.0",
|
|
59
|
+
"@smithy/util-retry": "^4.0.0",
|
|
60
|
+
"@smithy/util-utf8": "^4.0.0",
|
|
61
61
|
"tslib": "^2.6.2"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
|
-
"@tsconfig/
|
|
65
|
-
"@types/node": "^
|
|
64
|
+
"@tsconfig/node18": "18.2.4",
|
|
65
|
+
"@types/node": "^18.19.69",
|
|
66
66
|
"concurrently": "7.0.0",
|
|
67
67
|
"downlevel-dts": "0.10.1",
|
|
68
68
|
"rimraf": "3.0.2",
|
|
69
|
-
"typescript": "~
|
|
69
|
+
"typescript": "~5.2.2"
|
|
70
70
|
},
|
|
71
71
|
"engines": {
|
|
72
|
-
"node": ">=
|
|
72
|
+
"node": ">=18.0.0"
|
|
73
73
|
},
|
|
74
74
|
"typesVersions": {
|
|
75
75
|
"<4.0": {
|