@aws-sdk/client-cognito-sync 3.928.0 → 3.930.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.
Files changed (38) hide show
  1. package/dist-cjs/index.js +803 -928
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/CognitoSyncClient.js +2 -0
  4. package/dist-es/commands/BulkPublishCommand.js +3 -9
  5. package/dist-es/commands/DeleteDatasetCommand.js +3 -9
  6. package/dist-es/commands/DescribeDatasetCommand.js +3 -9
  7. package/dist-es/commands/DescribeIdentityPoolUsageCommand.js +3 -9
  8. package/dist-es/commands/DescribeIdentityUsageCommand.js +3 -9
  9. package/dist-es/commands/GetBulkPublishDetailsCommand.js +3 -9
  10. package/dist-es/commands/GetCognitoEventsCommand.js +3 -9
  11. package/dist-es/commands/GetIdentityPoolConfigurationCommand.js +3 -9
  12. package/dist-es/commands/ListDatasetsCommand.js +3 -9
  13. package/dist-es/commands/ListIdentityPoolUsageCommand.js +3 -9
  14. package/dist-es/commands/ListRecordsCommand.js +3 -9
  15. package/dist-es/commands/RegisterDeviceCommand.js +3 -9
  16. package/dist-es/commands/SetCognitoEventsCommand.js +3 -9
  17. package/dist-es/commands/SetIdentityPoolConfigurationCommand.js +3 -9
  18. package/dist-es/commands/SubscribeToDatasetCommand.js +3 -9
  19. package/dist-es/commands/UnsubscribeFromDatasetCommand.js +3 -9
  20. package/dist-es/commands/UpdateRecordsCommand.js +3 -9
  21. package/dist-es/runtimeConfig.shared.js +2 -0
  22. package/dist-es/schemas/schemas_0.js +740 -0
  23. package/dist-types/CognitoSyncClient.d.ts +10 -1
  24. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  25. package/dist-types/runtimeConfig.d.ts +1 -0
  26. package/dist-types/runtimeConfig.native.d.ts +1 -0
  27. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  28. package/dist-types/schemas/schemas_0.d.ts +80 -0
  29. package/dist-types/ts3.4/CognitoSyncClient.d.ts +4 -0
  30. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  31. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  32. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  33. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  34. package/dist-types/ts3.4/schemas/schemas_0.d.ts +85 -0
  35. package/package.json +33 -33
  36. package/dist-es/protocols/Aws_restJson1.js +0 -780
  37. package/dist-types/protocols/Aws_restJson1.d.ts +0 -155
  38. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -209
package/dist-cjs/index.js CHANGED
@@ -6,6 +6,7 @@ var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detect
6
6
  var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
7
7
  var configResolver = require('@smithy/config-resolver');
8
8
  var core = require('@smithy/core');
9
+ var schema = require('@smithy/core/schema');
9
10
  var middlewareContentLength = require('@smithy/middleware-content-length');
10
11
  var middlewareEndpoint = require('@smithy/middleware-endpoint');
11
12
  var middlewareRetry = require('@smithy/middleware-retry');
@@ -14,8 +15,6 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
14
15
  var runtimeConfig = require('./runtimeConfig');
15
16
  var regionConfigResolver = require('@aws-sdk/region-config-resolver');
16
17
  var protocolHttp = require('@smithy/protocol-http');
17
- var middlewareSerde = require('@smithy/middleware-serde');
18
- var core$1 = require('@aws-sdk/core');
19
18
 
20
19
  const resolveClientEndpointParameters = (options) => {
21
20
  return Object.assign(options, {
@@ -91,6 +90,7 @@ class CognitoSyncClient extends smithyClient.Client {
91
90
  const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
92
91
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
93
92
  this.config = _config_8;
93
+ this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
94
94
  this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
95
95
  this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
96
96
  this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
@@ -110,14 +110,14 @@ class CognitoSyncClient extends smithyClient.Client {
110
110
  }
111
111
  }
112
112
 
113
- class CognitoSyncServiceException extends smithyClient.ServiceException {
113
+ let CognitoSyncServiceException$1 = class CognitoSyncServiceException extends smithyClient.ServiceException {
114
114
  constructor(options) {
115
115
  super(options);
116
116
  Object.setPrototypeOf(this, CognitoSyncServiceException.prototype);
117
117
  }
118
- }
118
+ };
119
119
 
120
- class AlreadyStreamedException extends CognitoSyncServiceException {
120
+ let AlreadyStreamedException$1 = class AlreadyStreamedException extends CognitoSyncServiceException$1 {
121
121
  name = "AlreadyStreamedException";
122
122
  $fault = "client";
123
123
  constructor(opts) {
@@ -128,8 +128,8 @@ class AlreadyStreamedException extends CognitoSyncServiceException {
128
128
  });
129
129
  Object.setPrototypeOf(this, AlreadyStreamedException.prototype);
130
130
  }
131
- }
132
- class DuplicateRequestException extends CognitoSyncServiceException {
131
+ };
132
+ let DuplicateRequestException$1 = class DuplicateRequestException extends CognitoSyncServiceException$1 {
133
133
  name = "DuplicateRequestException";
134
134
  $fault = "client";
135
135
  constructor(opts) {
@@ -140,8 +140,8 @@ class DuplicateRequestException extends CognitoSyncServiceException {
140
140
  });
141
141
  Object.setPrototypeOf(this, DuplicateRequestException.prototype);
142
142
  }
143
- }
144
- class InternalErrorException extends CognitoSyncServiceException {
143
+ };
144
+ let InternalErrorException$1 = class InternalErrorException extends CognitoSyncServiceException$1 {
145
145
  name = "InternalErrorException";
146
146
  $fault = "server";
147
147
  constructor(opts) {
@@ -152,8 +152,8 @@ class InternalErrorException extends CognitoSyncServiceException {
152
152
  });
153
153
  Object.setPrototypeOf(this, InternalErrorException.prototype);
154
154
  }
155
- }
156
- class InvalidParameterException extends CognitoSyncServiceException {
155
+ };
156
+ let InvalidParameterException$1 = class InvalidParameterException extends CognitoSyncServiceException$1 {
157
157
  name = "InvalidParameterException";
158
158
  $fault = "client";
159
159
  constructor(opts) {
@@ -164,8 +164,8 @@ class InvalidParameterException extends CognitoSyncServiceException {
164
164
  });
165
165
  Object.setPrototypeOf(this, InvalidParameterException.prototype);
166
166
  }
167
- }
168
- class NotAuthorizedException extends CognitoSyncServiceException {
167
+ };
168
+ let NotAuthorizedException$1 = class NotAuthorizedException extends CognitoSyncServiceException$1 {
169
169
  name = "NotAuthorizedException";
170
170
  $fault = "client";
171
171
  constructor(opts) {
@@ -176,8 +176,8 @@ class NotAuthorizedException extends CognitoSyncServiceException {
176
176
  });
177
177
  Object.setPrototypeOf(this, NotAuthorizedException.prototype);
178
178
  }
179
- }
180
- class ResourceNotFoundException extends CognitoSyncServiceException {
179
+ };
180
+ let ResourceNotFoundException$1 = class ResourceNotFoundException extends CognitoSyncServiceException$1 {
181
181
  name = "ResourceNotFoundException";
182
182
  $fault = "client";
183
183
  constructor(opts) {
@@ -188,8 +188,8 @@ class ResourceNotFoundException extends CognitoSyncServiceException {
188
188
  });
189
189
  Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
190
190
  }
191
- }
192
- class ResourceConflictException extends CognitoSyncServiceException {
191
+ };
192
+ let ResourceConflictException$1 = class ResourceConflictException extends CognitoSyncServiceException$1 {
193
193
  name = "ResourceConflictException";
194
194
  $fault = "client";
195
195
  constructor(opts) {
@@ -200,8 +200,8 @@ class ResourceConflictException extends CognitoSyncServiceException {
200
200
  });
201
201
  Object.setPrototypeOf(this, ResourceConflictException.prototype);
202
202
  }
203
- }
204
- class TooManyRequestsException extends CognitoSyncServiceException {
203
+ };
204
+ let TooManyRequestsException$1 = class TooManyRequestsException extends CognitoSyncServiceException$1 {
205
205
  name = "TooManyRequestsException";
206
206
  $fault = "client";
207
207
  constructor(opts) {
@@ -212,7 +212,7 @@ class TooManyRequestsException extends CognitoSyncServiceException {
212
212
  });
213
213
  Object.setPrototypeOf(this, TooManyRequestsException.prototype);
214
214
  }
215
- }
215
+ };
216
216
  const BulkPublishStatus = {
217
217
  FAILED: "FAILED",
218
218
  IN_PROGRESS: "IN_PROGRESS",
@@ -223,7 +223,7 @@ const StreamingStatus = {
223
223
  DISABLED: "DISABLED",
224
224
  ENABLED: "ENABLED",
225
225
  };
226
- class InvalidConfigurationException extends CognitoSyncServiceException {
226
+ let InvalidConfigurationException$1 = class InvalidConfigurationException extends CognitoSyncServiceException$1 {
227
227
  name = "InvalidConfigurationException";
228
228
  $fault = "client";
229
229
  constructor(opts) {
@@ -234,14 +234,14 @@ class InvalidConfigurationException extends CognitoSyncServiceException {
234
234
  });
235
235
  Object.setPrototypeOf(this, InvalidConfigurationException.prototype);
236
236
  }
237
- }
237
+ };
238
238
  const Platform = {
239
239
  ADM: "ADM",
240
240
  APNS: "APNS",
241
241
  APNS_SANDBOX: "APNS_SANDBOX",
242
242
  GCM: "GCM",
243
243
  };
244
- class ConcurrentModificationException extends CognitoSyncServiceException {
244
+ let ConcurrentModificationException$1 = class ConcurrentModificationException extends CognitoSyncServiceException$1 {
245
245
  name = "ConcurrentModificationException";
246
246
  $fault = "client";
247
247
  constructor(opts) {
@@ -252,8 +252,8 @@ class ConcurrentModificationException extends CognitoSyncServiceException {
252
252
  });
253
253
  Object.setPrototypeOf(this, ConcurrentModificationException.prototype);
254
254
  }
255
- }
256
- class InvalidLambdaFunctionOutputException extends CognitoSyncServiceException {
255
+ };
256
+ let InvalidLambdaFunctionOutputException$1 = class InvalidLambdaFunctionOutputException extends CognitoSyncServiceException$1 {
257
257
  name = "InvalidLambdaFunctionOutputException";
258
258
  $fault = "client";
259
259
  constructor(opts) {
@@ -264,8 +264,8 @@ class InvalidLambdaFunctionOutputException extends CognitoSyncServiceException {
264
264
  });
265
265
  Object.setPrototypeOf(this, InvalidLambdaFunctionOutputException.prototype);
266
266
  }
267
- }
268
- class LambdaThrottledException extends CognitoSyncServiceException {
267
+ };
268
+ let LambdaThrottledException$1 = class LambdaThrottledException extends CognitoSyncServiceException$1 {
269
269
  name = "LambdaThrottledException";
270
270
  $fault = "client";
271
271
  constructor(opts) {
@@ -276,8 +276,8 @@ class LambdaThrottledException extends CognitoSyncServiceException {
276
276
  });
277
277
  Object.setPrototypeOf(this, LambdaThrottledException.prototype);
278
278
  }
279
- }
280
- class LimitExceededException extends CognitoSyncServiceException {
279
+ };
280
+ let LimitExceededException$1 = class LimitExceededException extends CognitoSyncServiceException$1 {
281
281
  name = "LimitExceededException";
282
282
  $fault = "client";
283
283
  constructor(opts) {
@@ -288,801 +288,756 @@ class LimitExceededException extends CognitoSyncServiceException {
288
288
  });
289
289
  Object.setPrototypeOf(this, LimitExceededException.prototype);
290
290
  }
291
- }
291
+ };
292
292
  const Operation = {
293
293
  remove: "remove",
294
294
  replace: "replace",
295
295
  };
296
296
 
297
- const se_BulkPublishCommand = async (input, context) => {
298
- const b = core.requestBuilder(input, context);
299
- const headers = {};
300
- b.bp("/identitypools/{IdentityPoolId}/bulkpublish");
301
- b.p("IdentityPoolId", () => input.IdentityPoolId, "{IdentityPoolId}", false);
302
- let body;
303
- b.m("POST").h(headers).b(body);
304
- return b.build();
305
- };
306
- const se_DeleteDatasetCommand = async (input, context) => {
307
- const b = core.requestBuilder(input, context);
308
- const headers = {};
309
- b.bp("/identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets/{DatasetName}");
310
- b.p("IdentityPoolId", () => input.IdentityPoolId, "{IdentityPoolId}", false);
311
- b.p("IdentityId", () => input.IdentityId, "{IdentityId}", false);
312
- b.p("DatasetName", () => input.DatasetName, "{DatasetName}", false);
313
- let body;
314
- b.m("DELETE").h(headers).b(body);
315
- return b.build();
316
- };
317
- const se_DescribeDatasetCommand = async (input, context) => {
318
- const b = core.requestBuilder(input, context);
319
- const headers = {};
320
- b.bp("/identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets/{DatasetName}");
321
- b.p("IdentityPoolId", () => input.IdentityPoolId, "{IdentityPoolId}", false);
322
- b.p("IdentityId", () => input.IdentityId, "{IdentityId}", false);
323
- b.p("DatasetName", () => input.DatasetName, "{DatasetName}", false);
324
- let body;
325
- b.m("GET").h(headers).b(body);
326
- return b.build();
327
- };
328
- const se_DescribeIdentityPoolUsageCommand = async (input, context) => {
329
- const b = core.requestBuilder(input, context);
330
- const headers = {};
331
- b.bp("/identitypools/{IdentityPoolId}");
332
- b.p("IdentityPoolId", () => input.IdentityPoolId, "{IdentityPoolId}", false);
333
- let body;
334
- b.m("GET").h(headers).b(body);
335
- return b.build();
336
- };
337
- const se_DescribeIdentityUsageCommand = async (input, context) => {
338
- const b = core.requestBuilder(input, context);
339
- const headers = {};
340
- b.bp("/identitypools/{IdentityPoolId}/identities/{IdentityId}");
341
- b.p("IdentityPoolId", () => input.IdentityPoolId, "{IdentityPoolId}", false);
342
- b.p("IdentityId", () => input.IdentityId, "{IdentityId}", false);
343
- let body;
344
- b.m("GET").h(headers).b(body);
345
- return b.build();
346
- };
347
- const se_GetBulkPublishDetailsCommand = async (input, context) => {
348
- const b = core.requestBuilder(input, context);
349
- const headers = {};
350
- b.bp("/identitypools/{IdentityPoolId}/getBulkPublishDetails");
351
- b.p("IdentityPoolId", () => input.IdentityPoolId, "{IdentityPoolId}", false);
352
- let body;
353
- b.m("POST").h(headers).b(body);
354
- return b.build();
355
- };
356
- const se_GetCognitoEventsCommand = async (input, context) => {
357
- const b = core.requestBuilder(input, context);
358
- const headers = {};
359
- b.bp("/identitypools/{IdentityPoolId}/events");
360
- b.p("IdentityPoolId", () => input.IdentityPoolId, "{IdentityPoolId}", false);
361
- let body;
362
- b.m("GET").h(headers).b(body);
363
- return b.build();
364
- };
365
- const se_GetIdentityPoolConfigurationCommand = async (input, context) => {
366
- const b = core.requestBuilder(input, context);
367
- const headers = {};
368
- b.bp("/identitypools/{IdentityPoolId}/configuration");
369
- b.p("IdentityPoolId", () => input.IdentityPoolId, "{IdentityPoolId}", false);
370
- let body;
371
- b.m("GET").h(headers).b(body);
372
- return b.build();
373
- };
374
- const se_ListDatasetsCommand = async (input, context) => {
375
- const b = core.requestBuilder(input, context);
376
- const headers = {};
377
- b.bp("/identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets");
378
- b.p("IdentityPoolId", () => input.IdentityPoolId, "{IdentityPoolId}", false);
379
- b.p("IdentityId", () => input.IdentityId, "{IdentityId}", false);
380
- const query = smithyClient.map({
381
- [_nT]: [, input[_NT]],
382
- [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
383
- });
384
- let body;
385
- b.m("GET").h(headers).q(query).b(body);
386
- return b.build();
387
- };
388
- const se_ListIdentityPoolUsageCommand = async (input, context) => {
389
- const b = core.requestBuilder(input, context);
390
- const headers = {};
391
- b.bp("/identitypools");
392
- const query = smithyClient.map({
393
- [_nT]: [, input[_NT]],
394
- [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
395
- });
396
- let body;
397
- b.m("GET").h(headers).q(query).b(body);
398
- return b.build();
399
- };
400
- const se_ListRecordsCommand = async (input, context) => {
401
- const b = core.requestBuilder(input, context);
402
- const headers = {};
403
- b.bp("/identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets/{DatasetName}/records");
404
- b.p("IdentityPoolId", () => input.IdentityPoolId, "{IdentityPoolId}", false);
405
- b.p("IdentityId", () => input.IdentityId, "{IdentityId}", false);
406
- b.p("DatasetName", () => input.DatasetName, "{DatasetName}", false);
407
- const query = smithyClient.map({
408
- [_lSC]: [() => input.LastSyncCount !== void 0, () => input[_LSC].toString()],
409
- [_nT]: [, input[_NT]],
410
- [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
411
- [_sST]: [, input[_SST]],
412
- });
413
- let body;
414
- b.m("GET").h(headers).q(query).b(body);
415
- return b.build();
416
- };
417
- const se_RegisterDeviceCommand = async (input, context) => {
418
- const b = core.requestBuilder(input, context);
419
- const headers = {
420
- "content-type": "application/json",
421
- };
422
- b.bp("/identitypools/{IdentityPoolId}/identity/{IdentityId}/device");
423
- b.p("IdentityPoolId", () => input.IdentityPoolId, "{IdentityPoolId}", false);
424
- b.p("IdentityId", () => input.IdentityId, "{IdentityId}", false);
425
- let body;
426
- body = JSON.stringify(smithyClient.take(input, {
427
- Platform: [],
428
- Token: [],
429
- }));
430
- b.m("POST").h(headers).b(body);
431
- return b.build();
432
- };
433
- const se_SetCognitoEventsCommand = async (input, context) => {
434
- const b = core.requestBuilder(input, context);
435
- const headers = {
436
- "content-type": "application/json",
437
- };
438
- b.bp("/identitypools/{IdentityPoolId}/events");
439
- b.p("IdentityPoolId", () => input.IdentityPoolId, "{IdentityPoolId}", false);
440
- let body;
441
- body = JSON.stringify(smithyClient.take(input, {
442
- Events: (_) => smithyClient._json(_),
443
- }));
444
- b.m("POST").h(headers).b(body);
445
- return b.build();
446
- };
447
- const se_SetIdentityPoolConfigurationCommand = async (input, context) => {
448
- const b = core.requestBuilder(input, context);
449
- const headers = {
450
- "content-type": "application/json",
451
- };
452
- b.bp("/identitypools/{IdentityPoolId}/configuration");
453
- b.p("IdentityPoolId", () => input.IdentityPoolId, "{IdentityPoolId}", false);
454
- let body;
455
- body = JSON.stringify(smithyClient.take(input, {
456
- CognitoStreams: (_) => smithyClient._json(_),
457
- PushSync: (_) => smithyClient._json(_),
458
- }));
459
- b.m("POST").h(headers).b(body);
460
- return b.build();
461
- };
462
- const se_SubscribeToDatasetCommand = async (input, context) => {
463
- const b = core.requestBuilder(input, context);
464
- const headers = {};
465
- b.bp("/identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets/{DatasetName}/subscriptions/{DeviceId}");
466
- b.p("IdentityPoolId", () => input.IdentityPoolId, "{IdentityPoolId}", false);
467
- b.p("IdentityId", () => input.IdentityId, "{IdentityId}", false);
468
- b.p("DatasetName", () => input.DatasetName, "{DatasetName}", false);
469
- b.p("DeviceId", () => input.DeviceId, "{DeviceId}", false);
470
- let body;
471
- b.m("POST").h(headers).b(body);
472
- return b.build();
473
- };
474
- const se_UnsubscribeFromDatasetCommand = async (input, context) => {
475
- const b = core.requestBuilder(input, context);
476
- const headers = {};
477
- b.bp("/identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets/{DatasetName}/subscriptions/{DeviceId}");
478
- b.p("IdentityPoolId", () => input.IdentityPoolId, "{IdentityPoolId}", false);
479
- b.p("IdentityId", () => input.IdentityId, "{IdentityId}", false);
480
- b.p("DatasetName", () => input.DatasetName, "{DatasetName}", false);
481
- b.p("DeviceId", () => input.DeviceId, "{DeviceId}", false);
482
- let body;
483
- b.m("DELETE").h(headers).b(body);
484
- return b.build();
485
- };
486
- const se_UpdateRecordsCommand = async (input, context) => {
487
- const b = core.requestBuilder(input, context);
488
- const headers = smithyClient.map({}, smithyClient.isSerializableHeaderValue, {
489
- "content-type": "application/json",
490
- [_xacc]: input[_CC],
491
- });
492
- b.bp("/identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets/{DatasetName}");
493
- b.p("IdentityPoolId", () => input.IdentityPoolId, "{IdentityPoolId}", false);
494
- b.p("IdentityId", () => input.IdentityId, "{IdentityId}", false);
495
- b.p("DatasetName", () => input.DatasetName, "{DatasetName}", false);
496
- let body;
497
- body = JSON.stringify(smithyClient.take(input, {
498
- DeviceId: [],
499
- RecordPatches: (_) => se_RecordPatchList(_),
500
- SyncSessionToken: [],
501
- }));
502
- b.m("POST").h(headers).b(body);
503
- return b.build();
504
- };
505
- const de_BulkPublishCommand = async (output, context) => {
506
- if (output.statusCode !== 200 && output.statusCode >= 300) {
507
- return de_CommandError(output, context);
508
- }
509
- const contents = smithyClient.map({
510
- $metadata: deserializeMetadata(output),
511
- });
512
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
513
- const doc = smithyClient.take(data, {
514
- IdentityPoolId: smithyClient.expectString,
515
- });
516
- Object.assign(contents, doc);
517
- return contents;
518
- };
519
- const de_DeleteDatasetCommand = async (output, context) => {
520
- if (output.statusCode !== 200 && output.statusCode >= 300) {
521
- return de_CommandError(output, context);
522
- }
523
- const contents = smithyClient.map({
524
- $metadata: deserializeMetadata(output),
525
- });
526
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
527
- const doc = smithyClient.take(data, {
528
- Dataset: (_) => de_Dataset(_),
529
- });
530
- Object.assign(contents, doc);
531
- return contents;
532
- };
533
- const de_DescribeDatasetCommand = async (output, context) => {
534
- if (output.statusCode !== 200 && output.statusCode >= 300) {
535
- return de_CommandError(output, context);
536
- }
537
- const contents = smithyClient.map({
538
- $metadata: deserializeMetadata(output),
539
- });
540
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
541
- const doc = smithyClient.take(data, {
542
- Dataset: (_) => de_Dataset(_),
543
- });
544
- Object.assign(contents, doc);
545
- return contents;
546
- };
547
- const de_DescribeIdentityPoolUsageCommand = async (output, context) => {
548
- if (output.statusCode !== 200 && output.statusCode >= 300) {
549
- return de_CommandError(output, context);
550
- }
551
- const contents = smithyClient.map({
552
- $metadata: deserializeMetadata(output),
553
- });
554
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
555
- const doc = smithyClient.take(data, {
556
- IdentityPoolUsage: (_) => de_IdentityPoolUsage(_),
557
- });
558
- Object.assign(contents, doc);
559
- return contents;
560
- };
561
- const de_DescribeIdentityUsageCommand = async (output, context) => {
562
- if (output.statusCode !== 200 && output.statusCode >= 300) {
563
- return de_CommandError(output, context);
564
- }
565
- const contents = smithyClient.map({
566
- $metadata: deserializeMetadata(output),
567
- });
568
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
569
- const doc = smithyClient.take(data, {
570
- IdentityUsage: (_) => de_IdentityUsage(_),
571
- });
572
- Object.assign(contents, doc);
573
- return contents;
574
- };
575
- const de_GetBulkPublishDetailsCommand = async (output, context) => {
576
- if (output.statusCode !== 200 && output.statusCode >= 300) {
577
- return de_CommandError(output, context);
578
- }
579
- const contents = smithyClient.map({
580
- $metadata: deserializeMetadata(output),
581
- });
582
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
583
- const doc = smithyClient.take(data, {
584
- BulkPublishCompleteTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
585
- BulkPublishStartTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
586
- BulkPublishStatus: smithyClient.expectString,
587
- FailureMessage: smithyClient.expectString,
588
- IdentityPoolId: smithyClient.expectString,
589
- });
590
- Object.assign(contents, doc);
591
- return contents;
592
- };
593
- const de_GetCognitoEventsCommand = async (output, context) => {
594
- if (output.statusCode !== 200 && output.statusCode >= 300) {
595
- return de_CommandError(output, context);
596
- }
597
- const contents = smithyClient.map({
598
- $metadata: deserializeMetadata(output),
599
- });
600
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
601
- const doc = smithyClient.take(data, {
602
- Events: smithyClient._json,
603
- });
604
- Object.assign(contents, doc);
605
- return contents;
606
- };
607
- const de_GetIdentityPoolConfigurationCommand = async (output, context) => {
608
- if (output.statusCode !== 200 && output.statusCode >= 300) {
609
- return de_CommandError(output, context);
610
- }
611
- const contents = smithyClient.map({
612
- $metadata: deserializeMetadata(output),
613
- });
614
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
615
- const doc = smithyClient.take(data, {
616
- CognitoStreams: smithyClient._json,
617
- IdentityPoolId: smithyClient.expectString,
618
- PushSync: smithyClient._json,
619
- });
620
- Object.assign(contents, doc);
621
- return contents;
622
- };
623
- const de_ListDatasetsCommand = async (output, context) => {
624
- if (output.statusCode !== 200 && output.statusCode >= 300) {
625
- return de_CommandError(output, context);
626
- }
627
- const contents = smithyClient.map({
628
- $metadata: deserializeMetadata(output),
629
- });
630
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
631
- const doc = smithyClient.take(data, {
632
- Count: smithyClient.expectInt32,
633
- Datasets: (_) => de_DatasetList(_),
634
- NextToken: smithyClient.expectString,
635
- });
636
- Object.assign(contents, doc);
637
- return contents;
638
- };
639
- const de_ListIdentityPoolUsageCommand = async (output, context) => {
640
- if (output.statusCode !== 200 && output.statusCode >= 300) {
641
- return de_CommandError(output, context);
642
- }
643
- const contents = smithyClient.map({
644
- $metadata: deserializeMetadata(output),
645
- });
646
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
647
- const doc = smithyClient.take(data, {
648
- Count: smithyClient.expectInt32,
649
- IdentityPoolUsages: (_) => de_IdentityPoolUsageList(_),
650
- MaxResults: smithyClient.expectInt32,
651
- NextToken: smithyClient.expectString,
652
- });
653
- Object.assign(contents, doc);
654
- return contents;
655
- };
656
- const de_ListRecordsCommand = async (output, context) => {
657
- if (output.statusCode !== 200 && output.statusCode >= 300) {
658
- return de_CommandError(output, context);
659
- }
660
- const contents = smithyClient.map({
661
- $metadata: deserializeMetadata(output),
662
- });
663
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
664
- const doc = smithyClient.take(data, {
665
- Count: smithyClient.expectInt32,
666
- DatasetDeletedAfterRequestedSyncCount: smithyClient.expectBoolean,
667
- DatasetExists: smithyClient.expectBoolean,
668
- DatasetSyncCount: smithyClient.expectLong,
669
- LastModifiedBy: smithyClient.expectString,
670
- MergedDatasetNames: smithyClient._json,
671
- NextToken: smithyClient.expectString,
672
- Records: (_) => de_RecordList(_),
673
- SyncSessionToken: smithyClient.expectString,
674
- });
675
- Object.assign(contents, doc);
676
- return contents;
677
- };
678
- const de_RegisterDeviceCommand = async (output, context) => {
679
- if (output.statusCode !== 200 && output.statusCode >= 300) {
680
- return de_CommandError(output, context);
681
- }
682
- const contents = smithyClient.map({
683
- $metadata: deserializeMetadata(output),
684
- });
685
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
686
- const doc = smithyClient.take(data, {
687
- DeviceId: smithyClient.expectString,
688
- });
689
- Object.assign(contents, doc);
690
- return contents;
691
- };
692
- const de_SetCognitoEventsCommand = async (output, context) => {
693
- if (output.statusCode !== 200 && output.statusCode >= 300) {
694
- return de_CommandError(output, context);
695
- }
696
- const contents = smithyClient.map({
697
- $metadata: deserializeMetadata(output),
698
- });
699
- await smithyClient.collectBody(output.body, context);
700
- return contents;
701
- };
702
- const de_SetIdentityPoolConfigurationCommand = async (output, context) => {
703
- if (output.statusCode !== 200 && output.statusCode >= 300) {
704
- return de_CommandError(output, context);
705
- }
706
- const contents = smithyClient.map({
707
- $metadata: deserializeMetadata(output),
708
- });
709
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
710
- const doc = smithyClient.take(data, {
711
- CognitoStreams: smithyClient._json,
712
- IdentityPoolId: smithyClient.expectString,
713
- PushSync: smithyClient._json,
714
- });
715
- Object.assign(contents, doc);
716
- return contents;
717
- };
718
- const de_SubscribeToDatasetCommand = async (output, context) => {
719
- if (output.statusCode !== 200 && output.statusCode >= 300) {
720
- return de_CommandError(output, context);
721
- }
722
- const contents = smithyClient.map({
723
- $metadata: deserializeMetadata(output),
724
- });
725
- await smithyClient.collectBody(output.body, context);
726
- return contents;
727
- };
728
- const de_UnsubscribeFromDatasetCommand = async (output, context) => {
729
- if (output.statusCode !== 200 && output.statusCode >= 300) {
730
- return de_CommandError(output, context);
731
- }
732
- const contents = smithyClient.map({
733
- $metadata: deserializeMetadata(output),
734
- });
735
- await smithyClient.collectBody(output.body, context);
736
- return contents;
737
- };
738
- const de_UpdateRecordsCommand = async (output, context) => {
739
- if (output.statusCode !== 200 && output.statusCode >= 300) {
740
- return de_CommandError(output, context);
741
- }
742
- const contents = smithyClient.map({
743
- $metadata: deserializeMetadata(output),
744
- });
745
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
746
- const doc = smithyClient.take(data, {
747
- Records: (_) => de_RecordList(_),
748
- });
749
- Object.assign(contents, doc);
750
- return contents;
751
- };
752
- const de_CommandError = async (output, context) => {
753
- const parsedOutput = {
754
- ...output,
755
- body: await core$1.parseJsonErrorBody(output.body, context),
756
- };
757
- const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
758
- switch (errorCode) {
759
- case "AlreadyStreamedException":
760
- case "com.amazonaws.cognitosync#AlreadyStreamedException":
761
- throw await de_AlreadyStreamedExceptionRes(parsedOutput);
762
- case "DuplicateRequestException":
763
- case "com.amazonaws.cognitosync#DuplicateRequestException":
764
- throw await de_DuplicateRequestExceptionRes(parsedOutput);
765
- case "InternalErrorException":
766
- case "com.amazonaws.cognitosync#InternalErrorException":
767
- throw await de_InternalErrorExceptionRes(parsedOutput);
768
- case "InvalidParameterException":
769
- case "com.amazonaws.cognitosync#InvalidParameterException":
770
- throw await de_InvalidParameterExceptionRes(parsedOutput);
771
- case "NotAuthorizedException":
772
- case "com.amazonaws.cognitosync#NotAuthorizedException":
773
- throw await de_NotAuthorizedExceptionRes(parsedOutput);
774
- case "ResourceNotFoundException":
775
- case "com.amazonaws.cognitosync#ResourceNotFoundException":
776
- throw await de_ResourceNotFoundExceptionRes(parsedOutput);
777
- case "ResourceConflictException":
778
- case "com.amazonaws.cognitosync#ResourceConflictException":
779
- throw await de_ResourceConflictExceptionRes(parsedOutput);
780
- case "TooManyRequestsException":
781
- case "com.amazonaws.cognitosync#TooManyRequestsException":
782
- throw await de_TooManyRequestsExceptionRes(parsedOutput);
783
- case "InvalidConfigurationException":
784
- case "com.amazonaws.cognitosync#InvalidConfigurationException":
785
- throw await de_InvalidConfigurationExceptionRes(parsedOutput);
786
- case "ConcurrentModificationException":
787
- case "com.amazonaws.cognitosync#ConcurrentModificationException":
788
- throw await de_ConcurrentModificationExceptionRes(parsedOutput);
789
- case "InvalidLambdaFunctionOutputException":
790
- case "com.amazonaws.cognitosync#InvalidLambdaFunctionOutputException":
791
- throw await de_InvalidLambdaFunctionOutputExceptionRes(parsedOutput);
792
- case "LambdaThrottledException":
793
- case "com.amazonaws.cognitosync#LambdaThrottledException":
794
- throw await de_LambdaThrottledExceptionRes(parsedOutput);
795
- case "LimitExceededException":
796
- case "com.amazonaws.cognitosync#LimitExceededException":
797
- throw await de_LimitExceededExceptionRes(parsedOutput);
798
- default:
799
- const parsedBody = parsedOutput.body;
800
- return throwDefaultError({
801
- output,
802
- parsedBody,
803
- errorCode,
804
- });
805
- }
806
- };
807
- const throwDefaultError = smithyClient.withBaseException(CognitoSyncServiceException);
808
- const de_AlreadyStreamedExceptionRes = async (parsedOutput, context) => {
809
- const contents = smithyClient.map({});
810
- const data = parsedOutput.body;
811
- const doc = smithyClient.take(data, {
812
- message: smithyClient.expectString,
813
- });
814
- Object.assign(contents, doc);
815
- const exception = new AlreadyStreamedException({
816
- $metadata: deserializeMetadata(parsedOutput),
817
- ...contents,
818
- });
819
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
820
- };
821
- const de_ConcurrentModificationExceptionRes = async (parsedOutput, context) => {
822
- const contents = smithyClient.map({});
823
- const data = parsedOutput.body;
824
- const doc = smithyClient.take(data, {
825
- message: smithyClient.expectString,
826
- });
827
- Object.assign(contents, doc);
828
- const exception = new ConcurrentModificationException({
829
- $metadata: deserializeMetadata(parsedOutput),
830
- ...contents,
831
- });
832
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
833
- };
834
- const de_DuplicateRequestExceptionRes = async (parsedOutput, context) => {
835
- const contents = smithyClient.map({});
836
- const data = parsedOutput.body;
837
- const doc = smithyClient.take(data, {
838
- message: smithyClient.expectString,
839
- });
840
- Object.assign(contents, doc);
841
- const exception = new DuplicateRequestException({
842
- $metadata: deserializeMetadata(parsedOutput),
843
- ...contents,
844
- });
845
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
846
- };
847
- const de_InternalErrorExceptionRes = async (parsedOutput, context) => {
848
- const contents = smithyClient.map({});
849
- const data = parsedOutput.body;
850
- const doc = smithyClient.take(data, {
851
- message: smithyClient.expectString,
852
- });
853
- Object.assign(contents, doc);
854
- const exception = new InternalErrorException({
855
- $metadata: deserializeMetadata(parsedOutput),
856
- ...contents,
857
- });
858
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
859
- };
860
- const de_InvalidConfigurationExceptionRes = async (parsedOutput, context) => {
861
- const contents = smithyClient.map({});
862
- const data = parsedOutput.body;
863
- const doc = smithyClient.take(data, {
864
- message: smithyClient.expectString,
865
- });
866
- Object.assign(contents, doc);
867
- const exception = new InvalidConfigurationException({
868
- $metadata: deserializeMetadata(parsedOutput),
869
- ...contents,
870
- });
871
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
872
- };
873
- const de_InvalidLambdaFunctionOutputExceptionRes = async (parsedOutput, context) => {
874
- const contents = smithyClient.map({});
875
- const data = parsedOutput.body;
876
- const doc = smithyClient.take(data, {
877
- message: smithyClient.expectString,
878
- });
879
- Object.assign(contents, doc);
880
- const exception = new InvalidLambdaFunctionOutputException({
881
- $metadata: deserializeMetadata(parsedOutput),
882
- ...contents,
883
- });
884
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
885
- };
886
- const de_InvalidParameterExceptionRes = async (parsedOutput, context) => {
887
- const contents = smithyClient.map({});
888
- const data = parsedOutput.body;
889
- const doc = smithyClient.take(data, {
890
- message: smithyClient.expectString,
891
- });
892
- Object.assign(contents, doc);
893
- const exception = new InvalidParameterException({
894
- $metadata: deserializeMetadata(parsedOutput),
895
- ...contents,
896
- });
897
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
898
- };
899
- const de_LambdaThrottledExceptionRes = async (parsedOutput, context) => {
900
- const contents = smithyClient.map({});
901
- const data = parsedOutput.body;
902
- const doc = smithyClient.take(data, {
903
- message: smithyClient.expectString,
904
- });
905
- Object.assign(contents, doc);
906
- const exception = new LambdaThrottledException({
907
- $metadata: deserializeMetadata(parsedOutput),
908
- ...contents,
909
- });
910
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
911
- };
912
- const de_LimitExceededExceptionRes = async (parsedOutput, context) => {
913
- const contents = smithyClient.map({});
914
- const data = parsedOutput.body;
915
- const doc = smithyClient.take(data, {
916
- message: smithyClient.expectString,
917
- });
918
- Object.assign(contents, doc);
919
- const exception = new LimitExceededException({
920
- $metadata: deserializeMetadata(parsedOutput),
921
- ...contents,
922
- });
923
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
924
- };
925
- const de_NotAuthorizedExceptionRes = async (parsedOutput, context) => {
926
- const contents = smithyClient.map({});
927
- const data = parsedOutput.body;
928
- const doc = smithyClient.take(data, {
929
- message: smithyClient.expectString,
930
- });
931
- Object.assign(contents, doc);
932
- const exception = new NotAuthorizedException({
933
- $metadata: deserializeMetadata(parsedOutput),
934
- ...contents,
935
- });
936
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
937
- };
938
- const de_ResourceConflictExceptionRes = async (parsedOutput, context) => {
939
- const contents = smithyClient.map({});
940
- const data = parsedOutput.body;
941
- const doc = smithyClient.take(data, {
942
- message: smithyClient.expectString,
943
- });
944
- Object.assign(contents, doc);
945
- const exception = new ResourceConflictException({
946
- $metadata: deserializeMetadata(parsedOutput),
947
- ...contents,
948
- });
949
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
950
- };
951
- const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
952
- const contents = smithyClient.map({});
953
- const data = parsedOutput.body;
954
- const doc = smithyClient.take(data, {
955
- message: smithyClient.expectString,
956
- });
957
- Object.assign(contents, doc);
958
- const exception = new ResourceNotFoundException({
959
- $metadata: deserializeMetadata(parsedOutput),
960
- ...contents,
961
- });
962
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
963
- };
964
- const de_TooManyRequestsExceptionRes = async (parsedOutput, context) => {
965
- const contents = smithyClient.map({});
966
- const data = parsedOutput.body;
967
- const doc = smithyClient.take(data, {
968
- message: smithyClient.expectString,
969
- });
970
- Object.assign(contents, doc);
971
- const exception = new TooManyRequestsException({
972
- $metadata: deserializeMetadata(parsedOutput),
973
- ...contents,
974
- });
975
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
976
- };
977
- const se_RecordPatch = (input, context) => {
978
- return smithyClient.take(input, {
979
- DeviceLastModifiedDate: (_) => _.getTime() / 1_000,
980
- Key: [],
981
- Op: [],
982
- SyncCount: [],
983
- Value: [],
984
- });
985
- };
986
- const se_RecordPatchList = (input, context) => {
987
- return input
988
- .filter((e) => e != null)
989
- .map((entry) => {
990
- return se_RecordPatch(entry);
991
- });
992
- };
993
- const de_Dataset = (output, context) => {
994
- return smithyClient.take(output, {
995
- CreationDate: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
996
- DataStorage: smithyClient.expectLong,
997
- DatasetName: smithyClient.expectString,
998
- IdentityId: smithyClient.expectString,
999
- LastModifiedBy: smithyClient.expectString,
1000
- LastModifiedDate: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1001
- NumRecords: smithyClient.expectLong,
1002
- });
1003
- };
1004
- const de_DatasetList = (output, context) => {
1005
- const retVal = (output || [])
1006
- .filter((e) => e != null)
1007
- .map((entry) => {
1008
- return de_Dataset(entry);
1009
- });
1010
- return retVal;
1011
- };
1012
- const de_IdentityPoolUsage = (output, context) => {
1013
- return smithyClient.take(output, {
1014
- DataStorage: smithyClient.expectLong,
1015
- IdentityPoolId: smithyClient.expectString,
1016
- LastModifiedDate: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1017
- SyncSessionsCount: smithyClient.expectLong,
1018
- });
1019
- };
1020
- const de_IdentityPoolUsageList = (output, context) => {
1021
- const retVal = (output || [])
1022
- .filter((e) => e != null)
1023
- .map((entry) => {
1024
- return de_IdentityPoolUsage(entry);
1025
- });
1026
- return retVal;
1027
- };
1028
- const de_IdentityUsage = (output, context) => {
1029
- return smithyClient.take(output, {
1030
- DataStorage: smithyClient.expectLong,
1031
- DatasetCount: smithyClient.expectInt32,
1032
- IdentityId: smithyClient.expectString,
1033
- IdentityPoolId: smithyClient.expectString,
1034
- LastModifiedDate: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1035
- });
1036
- };
1037
- const de__Record = (output, context) => {
1038
- return smithyClient.take(output, {
1039
- DeviceLastModifiedDate: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1040
- Key: smithyClient.expectString,
1041
- LastModifiedBy: smithyClient.expectString,
1042
- LastModifiedDate: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1043
- SyncCount: smithyClient.expectLong,
1044
- Value: smithyClient.expectString,
1045
- });
1046
- };
1047
- const de_RecordList = (output, context) => {
1048
- const retVal = (output || [])
1049
- .filter((e) => e != null)
1050
- .map((entry) => {
1051
- return de__Record(entry);
1052
- });
1053
- return retVal;
1054
- };
1055
- const deserializeMetadata = (output) => ({
1056
- httpStatusCode: output.statusCode,
1057
- requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
1058
- extendedRequestId: output.headers["x-amz-id-2"],
1059
- cfId: output.headers["x-amz-cf-id"],
1060
- });
297
+ const _AA = "ApplicationArns";
298
+ const _ASE = "AlreadyStreamedException";
299
+ const _BP = "BulkPublish";
300
+ const _BPCT = "BulkPublishCompleteTime";
301
+ const _BPR = "BulkPublishRequest";
302
+ const _BPRu = "BulkPublishResponse";
303
+ const _BPS = "BulkPublishStatus";
304
+ const _BPST = "BulkPublishStartTime";
305
+ const _C = "Count";
1061
306
  const _CC = "ClientContext";
307
+ const _CD = "CreationDate";
308
+ const _CME = "ConcurrentModificationException";
309
+ const _CS = "CognitoStreams";
310
+ const _D = "Dataset";
311
+ const _DC = "DatasetCount";
312
+ const _DD = "DeleteDataset";
313
+ const _DDARSC = "DatasetDeletedAfterRequestedSyncCount";
314
+ const _DDR = "DeleteDatasetRequest";
315
+ const _DDRe = "DeleteDatasetResponse";
316
+ const _DDRes = "DescribeDatasetRequest";
317
+ const _DDResc = "DescribeDatasetResponse";
318
+ const _DDe = "DescribeDataset";
319
+ const _DE = "DatasetExists";
320
+ const _DI = "DeviceId";
321
+ const _DIPU = "DescribeIdentityPoolUsage";
322
+ const _DIPUR = "DescribeIdentityPoolUsageRequest";
323
+ const _DIPURe = "DescribeIdentityPoolUsageResponse";
324
+ const _DIU = "DescribeIdentityUsage";
325
+ const _DIUR = "DescribeIdentityUsageRequest";
326
+ const _DIURe = "DescribeIdentityUsageResponse";
327
+ const _DL = "DatasetList";
328
+ const _DLMD = "DeviceLastModifiedDate";
329
+ const _DN = "DatasetName";
330
+ const _DRE = "DuplicateRequestException";
331
+ const _DS = "DataStorage";
332
+ const _DSC = "DatasetSyncCount";
333
+ const _Da = "Datasets";
334
+ const _E = "Events";
335
+ const _FM = "FailureMessage";
336
+ const _GBPD = "GetBulkPublishDetails";
337
+ const _GBPDR = "GetBulkPublishDetailsRequest";
338
+ const _GBPDRe = "GetBulkPublishDetailsResponse";
339
+ const _GCE = "GetCognitoEvents";
340
+ const _GCER = "GetCognitoEventsRequest";
341
+ const _GCERe = "GetCognitoEventsResponse";
342
+ const _GIPC = "GetIdentityPoolConfiguration";
343
+ const _GIPCR = "GetIdentityPoolConfigurationRequest";
344
+ const _GIPCRe = "GetIdentityPoolConfigurationResponse";
345
+ const _ICE = "InvalidConfigurationException";
346
+ const _IEE = "InternalErrorException";
347
+ const _II = "IdentityId";
348
+ const _ILFOE = "InvalidLambdaFunctionOutputException";
349
+ const _IPE = "InvalidParameterException";
350
+ const _IPI = "IdentityPoolId";
351
+ const _IPU = "IdentityPoolUsage";
352
+ const _IPUL = "IdentityPoolUsageList";
353
+ const _IPUd = "IdentityPoolUsages";
354
+ const _IU = "IdentityUsage";
355
+ const _K = "Key";
356
+ const _LD = "ListDatasets";
357
+ const _LDR = "ListDatasetsRequest";
358
+ const _LDRi = "ListDatasetsResponse";
359
+ const _LEE = "LimitExceededException";
360
+ const _LIPU = "ListIdentityPoolUsage";
361
+ const _LIPUR = "ListIdentityPoolUsageRequest";
362
+ const _LIPURi = "ListIdentityPoolUsageResponse";
363
+ const _LMB = "LastModifiedBy";
364
+ const _LMD = "LastModifiedDate";
365
+ const _LR = "ListRecords";
366
+ const _LRR = "ListRecordsRequest";
367
+ const _LRRi = "ListRecordsResponse";
1062
368
  const _LSC = "LastSyncCount";
369
+ const _LTE = "LambdaThrottledException";
370
+ const _MDN = "MergedDatasetNames";
1063
371
  const _MR = "MaxResults";
372
+ const _NAE = "NotAuthorizedException";
373
+ const _NR = "NumRecords";
1064
374
  const _NT = "NextToken";
375
+ const _O = "Op";
376
+ const _P = "Platform";
377
+ const _PS = "PushSync";
378
+ const _R = "Records";
379
+ const _RA = "RoleArn";
380
+ const _RCE = "ResourceConflictException";
381
+ const _RD = "RegisterDevice";
382
+ const _RDR = "RegisterDeviceRequest";
383
+ const _RDRe = "RegisterDeviceResponse";
384
+ const _RL = "RecordList";
385
+ const _RNFE = "ResourceNotFoundException";
386
+ const _RP = "RecordPatch";
387
+ const _RPL = "RecordPatchList";
388
+ const _RPe = "RecordPatches";
389
+ const _Re = "Record";
390
+ const _SC = "SyncCount";
391
+ const _SCE = "SetCognitoEvents";
392
+ const _SCER = "SetCognitoEventsRequest";
393
+ const _SIPC = "SetIdentityPoolConfiguration";
394
+ const _SIPCR = "SetIdentityPoolConfigurationRequest";
395
+ const _SIPCRe = "SetIdentityPoolConfigurationResponse";
396
+ const _SN = "StreamName";
397
+ const _SS = "StreamingStatus";
398
+ const _SSC = "SyncSessionsCount";
1065
399
  const _SST = "SyncSessionToken";
400
+ const _STD = "SubscribeToDataset";
401
+ const _STDR = "SubscribeToDatasetRequest";
402
+ const _STDRu = "SubscribeToDatasetResponse";
403
+ const _T = "Token";
404
+ const _TMRE = "TooManyRequestsException";
405
+ const _UFD = "UnsubscribeFromDataset";
406
+ const _UFDR = "UnsubscribeFromDatasetRequest";
407
+ const _UFDRn = "UnsubscribeFromDatasetResponse";
408
+ const _UR = "UpdateRecords";
409
+ const _URR = "UpdateRecordsRequest";
410
+ const _URRp = "UpdateRecordsResponse";
411
+ const _V = "Value";
412
+ const _aQE = "awsQueryError";
413
+ const _c = "client";
414
+ const _e = "error";
415
+ const _h = "http";
416
+ const _hE = "httpError";
417
+ const _hH = "httpHeader";
418
+ const _hQ = "httpQuery";
1066
419
  const _lSC = "lastSyncCount";
420
+ const _m = "message";
1067
421
  const _mR = "maxResults";
1068
422
  const _nT = "nextToken";
423
+ const _s = "server";
1069
424
  const _sST = "syncSessionToken";
1070
- const _xacc = "x-amz-client-context";
425
+ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.cognitosync";
426
+ const _xaCC = "x-amz-Client-Context";
427
+ const n0 = "com.amazonaws.cognitosync";
428
+ var AlreadyStreamedException = [
429
+ -3,
430
+ n0,
431
+ _ASE,
432
+ {
433
+ [_e]: _c,
434
+ [_hE]: 400,
435
+ [_aQE]: [`AlreadyStreamed`, 400],
436
+ },
437
+ [_m],
438
+ [0],
439
+ ];
440
+ schema.TypeRegistry.for(n0).registerError(AlreadyStreamedException, AlreadyStreamedException$1);
441
+ var BulkPublishRequest = [3, n0, _BPR, 0, [_IPI], [[0, 1]]];
442
+ var BulkPublishResponse = [3, n0, _BPRu, 0, [_IPI], [0]];
443
+ var CognitoStreams = [3, n0, _CS, 0, [_SN, _RA, _SS], [0, 0, 0]];
444
+ var ConcurrentModificationException = [
445
+ -3,
446
+ n0,
447
+ _CME,
448
+ {
449
+ [_e]: _c,
450
+ [_hE]: 400,
451
+ [_aQE]: [`ConcurrentModification`, 400],
452
+ },
453
+ [_m],
454
+ [0],
455
+ ];
456
+ schema.TypeRegistry.for(n0).registerError(ConcurrentModificationException, ConcurrentModificationException$1);
457
+ var Dataset = [
458
+ 3,
459
+ n0,
460
+ _D,
461
+ 0,
462
+ [_II, _DN, _CD, _LMD, _LMB, _DS, _NR],
463
+ [0, 0, 4, 4, 0, 1, 1],
464
+ ];
465
+ var DeleteDatasetRequest = [
466
+ 3,
467
+ n0,
468
+ _DDR,
469
+ 0,
470
+ [_IPI, _II, _DN],
471
+ [
472
+ [0, 1],
473
+ [0, 1],
474
+ [0, 1],
475
+ ],
476
+ ];
477
+ var DeleteDatasetResponse = [3, n0, _DDRe, 0, [_D], [() => Dataset]];
478
+ var DescribeDatasetRequest = [
479
+ 3,
480
+ n0,
481
+ _DDRes,
482
+ 0,
483
+ [_IPI, _II, _DN],
484
+ [
485
+ [0, 1],
486
+ [0, 1],
487
+ [0, 1],
488
+ ],
489
+ ];
490
+ var DescribeDatasetResponse = [3, n0, _DDResc, 0, [_D], [() => Dataset]];
491
+ var DescribeIdentityPoolUsageRequest = [3, n0, _DIPUR, 0, [_IPI], [[0, 1]]];
492
+ var DescribeIdentityPoolUsageResponse = [
493
+ 3,
494
+ n0,
495
+ _DIPURe,
496
+ 0,
497
+ [_IPU],
498
+ [() => IdentityPoolUsage],
499
+ ];
500
+ var DescribeIdentityUsageRequest = [
501
+ 3,
502
+ n0,
503
+ _DIUR,
504
+ 0,
505
+ [_IPI, _II],
506
+ [
507
+ [0, 1],
508
+ [0, 1],
509
+ ],
510
+ ];
511
+ var DescribeIdentityUsageResponse = [3, n0, _DIURe, 0, [_IU], [() => IdentityUsage]];
512
+ var DuplicateRequestException = [
513
+ -3,
514
+ n0,
515
+ _DRE,
516
+ {
517
+ [_e]: _c,
518
+ [_hE]: 400,
519
+ [_aQE]: [`DuplicateRequest`, 400],
520
+ },
521
+ [_m],
522
+ [0],
523
+ ];
524
+ schema.TypeRegistry.for(n0).registerError(DuplicateRequestException, DuplicateRequestException$1);
525
+ var GetBulkPublishDetailsRequest = [3, n0, _GBPDR, 0, [_IPI], [[0, 1]]];
526
+ var GetBulkPublishDetailsResponse = [
527
+ 3,
528
+ n0,
529
+ _GBPDRe,
530
+ 0,
531
+ [_IPI, _BPST, _BPCT, _BPS, _FM],
532
+ [0, 4, 4, 0, 0],
533
+ ];
534
+ var GetCognitoEventsRequest = [3, n0, _GCER, 0, [_IPI], [[0, 1]]];
535
+ var GetCognitoEventsResponse = [3, n0, _GCERe, 0, [_E], [128 | 0]];
536
+ var GetIdentityPoolConfigurationRequest = [3, n0, _GIPCR, 0, [_IPI], [[0, 1]]];
537
+ var GetIdentityPoolConfigurationResponse = [
538
+ 3,
539
+ n0,
540
+ _GIPCRe,
541
+ 0,
542
+ [_IPI, _PS, _CS],
543
+ [0, () => PushSync, () => CognitoStreams],
544
+ ];
545
+ var IdentityPoolUsage = [3, n0, _IPU, 0, [_IPI, _SSC, _DS, _LMD], [0, 1, 1, 4]];
546
+ var IdentityUsage = [3, n0, _IU, 0, [_II, _IPI, _LMD, _DC, _DS], [0, 0, 4, 1, 1]];
547
+ var InternalErrorException = [
548
+ -3,
549
+ n0,
550
+ _IEE,
551
+ {
552
+ [_e]: _s,
553
+ [_hE]: 500,
554
+ [_aQE]: [`InternalError`, 500],
555
+ },
556
+ [_m],
557
+ [0],
558
+ ];
559
+ schema.TypeRegistry.for(n0).registerError(InternalErrorException, InternalErrorException$1);
560
+ var InvalidConfigurationException = [
561
+ -3,
562
+ n0,
563
+ _ICE,
564
+ {
565
+ [_e]: _c,
566
+ [_hE]: 400,
567
+ [_aQE]: [`InvalidConfiguration`, 400],
568
+ },
569
+ [_m],
570
+ [0],
571
+ ];
572
+ schema.TypeRegistry.for(n0).registerError(InvalidConfigurationException, InvalidConfigurationException$1);
573
+ var InvalidLambdaFunctionOutputException = [
574
+ -3,
575
+ n0,
576
+ _ILFOE,
577
+ {
578
+ [_e]: _c,
579
+ [_hE]: 400,
580
+ [_aQE]: [`InvalidLambdaFunctionOutput`, 400],
581
+ },
582
+ [_m],
583
+ [0],
584
+ ];
585
+ schema.TypeRegistry.for(n0).registerError(InvalidLambdaFunctionOutputException, InvalidLambdaFunctionOutputException$1);
586
+ var InvalidParameterException = [
587
+ -3,
588
+ n0,
589
+ _IPE,
590
+ {
591
+ [_e]: _c,
592
+ [_hE]: 400,
593
+ [_aQE]: [`InvalidParameter`, 400],
594
+ },
595
+ [_m],
596
+ [0],
597
+ ];
598
+ schema.TypeRegistry.for(n0).registerError(InvalidParameterException, InvalidParameterException$1);
599
+ var LambdaThrottledException = [
600
+ -3,
601
+ n0,
602
+ _LTE,
603
+ {
604
+ [_e]: _c,
605
+ [_hE]: 429,
606
+ [_aQE]: [`LambdaThrottled`, 429],
607
+ },
608
+ [_m],
609
+ [0],
610
+ ];
611
+ schema.TypeRegistry.for(n0).registerError(LambdaThrottledException, LambdaThrottledException$1);
612
+ var LimitExceededException = [
613
+ -3,
614
+ n0,
615
+ _LEE,
616
+ {
617
+ [_e]: _c,
618
+ [_hE]: 400,
619
+ [_aQE]: [`LimitExceeded`, 400],
620
+ },
621
+ [_m],
622
+ [0],
623
+ ];
624
+ schema.TypeRegistry.for(n0).registerError(LimitExceededException, LimitExceededException$1);
625
+ var ListDatasetsRequest = [
626
+ 3,
627
+ n0,
628
+ _LDR,
629
+ 0,
630
+ [_IPI, _II, _NT, _MR],
631
+ [
632
+ [0, 1],
633
+ [0, 1],
634
+ [
635
+ 0,
636
+ {
637
+ [_hQ]: _nT,
638
+ },
639
+ ],
640
+ [
641
+ 1,
642
+ {
643
+ [_hQ]: _mR,
644
+ },
645
+ ],
646
+ ],
647
+ ];
648
+ var ListDatasetsResponse = [3, n0, _LDRi, 0, [_Da, _C, _NT], [() => DatasetList, 1, 0]];
649
+ var ListIdentityPoolUsageRequest = [
650
+ 3,
651
+ n0,
652
+ _LIPUR,
653
+ 0,
654
+ [_NT, _MR],
655
+ [
656
+ [
657
+ 0,
658
+ {
659
+ [_hQ]: _nT,
660
+ },
661
+ ],
662
+ [
663
+ 1,
664
+ {
665
+ [_hQ]: _mR,
666
+ },
667
+ ],
668
+ ],
669
+ ];
670
+ var ListIdentityPoolUsageResponse = [
671
+ 3,
672
+ n0,
673
+ _LIPURi,
674
+ 0,
675
+ [_IPUd, _MR, _C, _NT],
676
+ [() => IdentityPoolUsageList, 1, 1, 0],
677
+ ];
678
+ var ListRecordsRequest = [
679
+ 3,
680
+ n0,
681
+ _LRR,
682
+ 0,
683
+ [_IPI, _II, _DN, _LSC, _NT, _MR, _SST],
684
+ [
685
+ [0, 1],
686
+ [0, 1],
687
+ [0, 1],
688
+ [
689
+ 1,
690
+ {
691
+ [_hQ]: _lSC,
692
+ },
693
+ ],
694
+ [
695
+ 0,
696
+ {
697
+ [_hQ]: _nT,
698
+ },
699
+ ],
700
+ [
701
+ 1,
702
+ {
703
+ [_hQ]: _mR,
704
+ },
705
+ ],
706
+ [
707
+ 0,
708
+ {
709
+ [_hQ]: _sST,
710
+ },
711
+ ],
712
+ ],
713
+ ];
714
+ var ListRecordsResponse = [
715
+ 3,
716
+ n0,
717
+ _LRRi,
718
+ 0,
719
+ [_R, _NT, _C, _DSC, _LMB, _MDN, _DE, _DDARSC, _SST],
720
+ [() => RecordList, 0, 1, 1, 0, 64 | 0, 2, 2, 0],
721
+ ];
722
+ var NotAuthorizedException = [
723
+ -3,
724
+ n0,
725
+ _NAE,
726
+ {
727
+ [_e]: _c,
728
+ [_hE]: 403,
729
+ [_aQE]: [`NotAuthorizedError`, 403],
730
+ },
731
+ [_m],
732
+ [0],
733
+ ];
734
+ schema.TypeRegistry.for(n0).registerError(NotAuthorizedException, NotAuthorizedException$1);
735
+ var PushSync = [3, n0, _PS, 0, [_AA, _RA], [64 | 0, 0]];
736
+ var _Record = [3, n0, _Re, 0, [_K, _V, _SC, _LMD, _LMB, _DLMD], [0, 0, 1, 4, 0, 4]];
737
+ var RecordPatch = [3, n0, _RP, 0, [_O, _K, _V, _SC, _DLMD], [0, 0, 0, 1, 4]];
738
+ var RegisterDeviceRequest = [3, n0, _RDR, 0, [_IPI, _II, _P, _T], [[0, 1], [0, 1], 0, 0]];
739
+ var RegisterDeviceResponse = [3, n0, _RDRe, 0, [_DI], [0]];
740
+ var ResourceConflictException = [
741
+ -3,
742
+ n0,
743
+ _RCE,
744
+ {
745
+ [_e]: _c,
746
+ [_hE]: 409,
747
+ [_aQE]: [`ResourceConflict`, 409],
748
+ },
749
+ [_m],
750
+ [0],
751
+ ];
752
+ schema.TypeRegistry.for(n0).registerError(ResourceConflictException, ResourceConflictException$1);
753
+ var ResourceNotFoundException = [
754
+ -3,
755
+ n0,
756
+ _RNFE,
757
+ {
758
+ [_e]: _c,
759
+ [_hE]: 404,
760
+ [_aQE]: [`ResourceNotFound`, 404],
761
+ },
762
+ [_m],
763
+ [0],
764
+ ];
765
+ schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
766
+ var SetCognitoEventsRequest = [3, n0, _SCER, 0, [_IPI, _E], [[0, 1], 128 | 0]];
767
+ var SetIdentityPoolConfigurationRequest = [
768
+ 3,
769
+ n0,
770
+ _SIPCR,
771
+ 0,
772
+ [_IPI, _PS, _CS],
773
+ [[0, 1], () => PushSync, () => CognitoStreams],
774
+ ];
775
+ var SetIdentityPoolConfigurationResponse = [
776
+ 3,
777
+ n0,
778
+ _SIPCRe,
779
+ 0,
780
+ [_IPI, _PS, _CS],
781
+ [0, () => PushSync, () => CognitoStreams],
782
+ ];
783
+ var SubscribeToDatasetRequest = [
784
+ 3,
785
+ n0,
786
+ _STDR,
787
+ 0,
788
+ [_IPI, _II, _DN, _DI],
789
+ [
790
+ [0, 1],
791
+ [0, 1],
792
+ [0, 1],
793
+ [0, 1],
794
+ ],
795
+ ];
796
+ var SubscribeToDatasetResponse = [3, n0, _STDRu, 0, [], []];
797
+ var TooManyRequestsException = [
798
+ -3,
799
+ n0,
800
+ _TMRE,
801
+ {
802
+ [_e]: _c,
803
+ [_hE]: 429,
804
+ [_aQE]: [`TooManyRequests`, 429],
805
+ },
806
+ [_m],
807
+ [0],
808
+ ];
809
+ schema.TypeRegistry.for(n0).registerError(TooManyRequestsException, TooManyRequestsException$1);
810
+ var UnsubscribeFromDatasetRequest = [
811
+ 3,
812
+ n0,
813
+ _UFDR,
814
+ 0,
815
+ [_IPI, _II, _DN, _DI],
816
+ [
817
+ [0, 1],
818
+ [0, 1],
819
+ [0, 1],
820
+ [0, 1],
821
+ ],
822
+ ];
823
+ var UnsubscribeFromDatasetResponse = [3, n0, _UFDRn, 0, [], []];
824
+ var UpdateRecordsRequest = [
825
+ 3,
826
+ n0,
827
+ _URR,
828
+ 0,
829
+ [_IPI, _II, _DN, _DI, _RPe, _SST, _CC],
830
+ [
831
+ [0, 1],
832
+ [0, 1],
833
+ [0, 1],
834
+ 0,
835
+ () => RecordPatchList,
836
+ 0,
837
+ [
838
+ 0,
839
+ {
840
+ [_hH]: _xaCC,
841
+ },
842
+ ],
843
+ ],
844
+ ];
845
+ var UpdateRecordsResponse = [3, n0, _URRp, 0, [_R], [() => RecordList]];
846
+ var __Unit = "unit";
847
+ var CognitoSyncServiceException = [-3, _sm, "CognitoSyncServiceException", 0, [], []];
848
+ schema.TypeRegistry.for(_sm).registerError(CognitoSyncServiceException, CognitoSyncServiceException$1);
849
+ var DatasetList = [1, n0, _DL, 0, () => Dataset];
850
+ var IdentityPoolUsageList = [1, n0, _IPUL, 0, () => IdentityPoolUsage];
851
+ var RecordList = [1, n0, _RL, 0, () => _Record];
852
+ var RecordPatchList = [1, n0, _RPL, 0, () => RecordPatch];
853
+ var BulkPublish = [
854
+ 9,
855
+ n0,
856
+ _BP,
857
+ {
858
+ [_h]: ["POST", "/identitypools/{IdentityPoolId}/bulkpublish", 200],
859
+ },
860
+ () => BulkPublishRequest,
861
+ () => BulkPublishResponse,
862
+ ];
863
+ var DeleteDataset = [
864
+ 9,
865
+ n0,
866
+ _DD,
867
+ {
868
+ [_h]: ["DELETE", "/identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets/{DatasetName}", 200],
869
+ },
870
+ () => DeleteDatasetRequest,
871
+ () => DeleteDatasetResponse,
872
+ ];
873
+ var DescribeDataset = [
874
+ 9,
875
+ n0,
876
+ _DDe,
877
+ {
878
+ [_h]: ["GET", "/identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets/{DatasetName}", 200],
879
+ },
880
+ () => DescribeDatasetRequest,
881
+ () => DescribeDatasetResponse,
882
+ ];
883
+ var DescribeIdentityPoolUsage = [
884
+ 9,
885
+ n0,
886
+ _DIPU,
887
+ {
888
+ [_h]: ["GET", "/identitypools/{IdentityPoolId}", 200],
889
+ },
890
+ () => DescribeIdentityPoolUsageRequest,
891
+ () => DescribeIdentityPoolUsageResponse,
892
+ ];
893
+ var DescribeIdentityUsage = [
894
+ 9,
895
+ n0,
896
+ _DIU,
897
+ {
898
+ [_h]: ["GET", "/identitypools/{IdentityPoolId}/identities/{IdentityId}", 200],
899
+ },
900
+ () => DescribeIdentityUsageRequest,
901
+ () => DescribeIdentityUsageResponse,
902
+ ];
903
+ var GetBulkPublishDetails = [
904
+ 9,
905
+ n0,
906
+ _GBPD,
907
+ {
908
+ [_h]: ["POST", "/identitypools/{IdentityPoolId}/getBulkPublishDetails", 200],
909
+ },
910
+ () => GetBulkPublishDetailsRequest,
911
+ () => GetBulkPublishDetailsResponse,
912
+ ];
913
+ var GetCognitoEvents = [
914
+ 9,
915
+ n0,
916
+ _GCE,
917
+ {
918
+ [_h]: ["GET", "/identitypools/{IdentityPoolId}/events", 200],
919
+ },
920
+ () => GetCognitoEventsRequest,
921
+ () => GetCognitoEventsResponse,
922
+ ];
923
+ var GetIdentityPoolConfiguration = [
924
+ 9,
925
+ n0,
926
+ _GIPC,
927
+ {
928
+ [_h]: ["GET", "/identitypools/{IdentityPoolId}/configuration", 200],
929
+ },
930
+ () => GetIdentityPoolConfigurationRequest,
931
+ () => GetIdentityPoolConfigurationResponse,
932
+ ];
933
+ var ListDatasets = [
934
+ 9,
935
+ n0,
936
+ _LD,
937
+ {
938
+ [_h]: ["GET", "/identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets", 200],
939
+ },
940
+ () => ListDatasetsRequest,
941
+ () => ListDatasetsResponse,
942
+ ];
943
+ var ListIdentityPoolUsage = [
944
+ 9,
945
+ n0,
946
+ _LIPU,
947
+ {
948
+ [_h]: ["GET", "/identitypools", 200],
949
+ },
950
+ () => ListIdentityPoolUsageRequest,
951
+ () => ListIdentityPoolUsageResponse,
952
+ ];
953
+ var ListRecords = [
954
+ 9,
955
+ n0,
956
+ _LR,
957
+ {
958
+ [_h]: ["GET", "/identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets/{DatasetName}/records", 200],
959
+ },
960
+ () => ListRecordsRequest,
961
+ () => ListRecordsResponse,
962
+ ];
963
+ var RegisterDevice = [
964
+ 9,
965
+ n0,
966
+ _RD,
967
+ {
968
+ [_h]: ["POST", "/identitypools/{IdentityPoolId}/identity/{IdentityId}/device", 200],
969
+ },
970
+ () => RegisterDeviceRequest,
971
+ () => RegisterDeviceResponse,
972
+ ];
973
+ var SetCognitoEvents = [
974
+ 9,
975
+ n0,
976
+ _SCE,
977
+ {
978
+ [_h]: ["POST", "/identitypools/{IdentityPoolId}/events", 200],
979
+ },
980
+ () => SetCognitoEventsRequest,
981
+ () => __Unit,
982
+ ];
983
+ var SetIdentityPoolConfiguration = [
984
+ 9,
985
+ n0,
986
+ _SIPC,
987
+ {
988
+ [_h]: ["POST", "/identitypools/{IdentityPoolId}/configuration", 200],
989
+ },
990
+ () => SetIdentityPoolConfigurationRequest,
991
+ () => SetIdentityPoolConfigurationResponse,
992
+ ];
993
+ var SubscribeToDataset = [
994
+ 9,
995
+ n0,
996
+ _STD,
997
+ {
998
+ [_h]: [
999
+ "POST",
1000
+ "/identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets/{DatasetName}/subscriptions/{DeviceId}",
1001
+ 200,
1002
+ ],
1003
+ },
1004
+ () => SubscribeToDatasetRequest,
1005
+ () => SubscribeToDatasetResponse,
1006
+ ];
1007
+ var UnsubscribeFromDataset = [
1008
+ 9,
1009
+ n0,
1010
+ _UFD,
1011
+ {
1012
+ [_h]: [
1013
+ "DELETE",
1014
+ "/identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets/{DatasetName}/subscriptions/{DeviceId}",
1015
+ 200,
1016
+ ],
1017
+ },
1018
+ () => UnsubscribeFromDatasetRequest,
1019
+ () => UnsubscribeFromDatasetResponse,
1020
+ ];
1021
+ var UpdateRecords = [
1022
+ 9,
1023
+ n0,
1024
+ _UR,
1025
+ {
1026
+ [_h]: ["POST", "/identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets/{DatasetName}", 200],
1027
+ },
1028
+ () => UpdateRecordsRequest,
1029
+ () => UpdateRecordsResponse,
1030
+ ];
1071
1031
 
1072
1032
  class BulkPublishCommand extends smithyClient.Command
1073
1033
  .classBuilder()
1074
1034
  .ep(commonParams)
1075
1035
  .m(function (Command, cs, config, o) {
1076
- return [
1077
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1078
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1079
- ];
1036
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1080
1037
  })
1081
1038
  .s("AWSCognitoSyncService", "BulkPublish", {})
1082
1039
  .n("CognitoSyncClient", "BulkPublishCommand")
1083
- .f(void 0, void 0)
1084
- .ser(se_BulkPublishCommand)
1085
- .de(de_BulkPublishCommand)
1040
+ .sc(BulkPublish)
1086
1041
  .build() {
1087
1042
  }
1088
1043
 
@@ -1090,16 +1045,11 @@ class DeleteDatasetCommand extends smithyClient.Command
1090
1045
  .classBuilder()
1091
1046
  .ep(commonParams)
1092
1047
  .m(function (Command, cs, config, o) {
1093
- return [
1094
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1095
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1096
- ];
1048
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1097
1049
  })
1098
1050
  .s("AWSCognitoSyncService", "DeleteDataset", {})
1099
1051
  .n("CognitoSyncClient", "DeleteDatasetCommand")
1100
- .f(void 0, void 0)
1101
- .ser(se_DeleteDatasetCommand)
1102
- .de(de_DeleteDatasetCommand)
1052
+ .sc(DeleteDataset)
1103
1053
  .build() {
1104
1054
  }
1105
1055
 
@@ -1107,16 +1057,11 @@ class DescribeDatasetCommand extends smithyClient.Command
1107
1057
  .classBuilder()
1108
1058
  .ep(commonParams)
1109
1059
  .m(function (Command, cs, config, o) {
1110
- return [
1111
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1112
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1113
- ];
1060
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1114
1061
  })
1115
1062
  .s("AWSCognitoSyncService", "DescribeDataset", {})
1116
1063
  .n("CognitoSyncClient", "DescribeDatasetCommand")
1117
- .f(void 0, void 0)
1118
- .ser(se_DescribeDatasetCommand)
1119
- .de(de_DescribeDatasetCommand)
1064
+ .sc(DescribeDataset)
1120
1065
  .build() {
1121
1066
  }
1122
1067
 
@@ -1124,16 +1069,11 @@ class DescribeIdentityPoolUsageCommand extends smithyClient.Command
1124
1069
  .classBuilder()
1125
1070
  .ep(commonParams)
1126
1071
  .m(function (Command, cs, config, o) {
1127
- return [
1128
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1129
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1130
- ];
1072
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1131
1073
  })
1132
1074
  .s("AWSCognitoSyncService", "DescribeIdentityPoolUsage", {})
1133
1075
  .n("CognitoSyncClient", "DescribeIdentityPoolUsageCommand")
1134
- .f(void 0, void 0)
1135
- .ser(se_DescribeIdentityPoolUsageCommand)
1136
- .de(de_DescribeIdentityPoolUsageCommand)
1076
+ .sc(DescribeIdentityPoolUsage)
1137
1077
  .build() {
1138
1078
  }
1139
1079
 
@@ -1141,16 +1081,11 @@ class DescribeIdentityUsageCommand extends smithyClient.Command
1141
1081
  .classBuilder()
1142
1082
  .ep(commonParams)
1143
1083
  .m(function (Command, cs, config, o) {
1144
- return [
1145
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1146
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1147
- ];
1084
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1148
1085
  })
1149
1086
  .s("AWSCognitoSyncService", "DescribeIdentityUsage", {})
1150
1087
  .n("CognitoSyncClient", "DescribeIdentityUsageCommand")
1151
- .f(void 0, void 0)
1152
- .ser(se_DescribeIdentityUsageCommand)
1153
- .de(de_DescribeIdentityUsageCommand)
1088
+ .sc(DescribeIdentityUsage)
1154
1089
  .build() {
1155
1090
  }
1156
1091
 
@@ -1158,16 +1093,11 @@ class GetBulkPublishDetailsCommand extends smithyClient.Command
1158
1093
  .classBuilder()
1159
1094
  .ep(commonParams)
1160
1095
  .m(function (Command, cs, config, o) {
1161
- return [
1162
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1163
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1164
- ];
1096
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1165
1097
  })
1166
1098
  .s("AWSCognitoSyncService", "GetBulkPublishDetails", {})
1167
1099
  .n("CognitoSyncClient", "GetBulkPublishDetailsCommand")
1168
- .f(void 0, void 0)
1169
- .ser(se_GetBulkPublishDetailsCommand)
1170
- .de(de_GetBulkPublishDetailsCommand)
1100
+ .sc(GetBulkPublishDetails)
1171
1101
  .build() {
1172
1102
  }
1173
1103
 
@@ -1175,16 +1105,11 @@ class GetCognitoEventsCommand extends smithyClient.Command
1175
1105
  .classBuilder()
1176
1106
  .ep(commonParams)
1177
1107
  .m(function (Command, cs, config, o) {
1178
- return [
1179
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1180
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1181
- ];
1108
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1182
1109
  })
1183
1110
  .s("AWSCognitoSyncService", "GetCognitoEvents", {})
1184
1111
  .n("CognitoSyncClient", "GetCognitoEventsCommand")
1185
- .f(void 0, void 0)
1186
- .ser(se_GetCognitoEventsCommand)
1187
- .de(de_GetCognitoEventsCommand)
1112
+ .sc(GetCognitoEvents)
1188
1113
  .build() {
1189
1114
  }
1190
1115
 
@@ -1192,16 +1117,11 @@ class GetIdentityPoolConfigurationCommand extends smithyClient.Command
1192
1117
  .classBuilder()
1193
1118
  .ep(commonParams)
1194
1119
  .m(function (Command, cs, config, o) {
1195
- return [
1196
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1197
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1198
- ];
1120
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1199
1121
  })
1200
1122
  .s("AWSCognitoSyncService", "GetIdentityPoolConfiguration", {})
1201
1123
  .n("CognitoSyncClient", "GetIdentityPoolConfigurationCommand")
1202
- .f(void 0, void 0)
1203
- .ser(se_GetIdentityPoolConfigurationCommand)
1204
- .de(de_GetIdentityPoolConfigurationCommand)
1124
+ .sc(GetIdentityPoolConfiguration)
1205
1125
  .build() {
1206
1126
  }
1207
1127
 
@@ -1209,16 +1129,11 @@ class ListDatasetsCommand extends smithyClient.Command
1209
1129
  .classBuilder()
1210
1130
  .ep(commonParams)
1211
1131
  .m(function (Command, cs, config, o) {
1212
- return [
1213
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1214
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1215
- ];
1132
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1216
1133
  })
1217
1134
  .s("AWSCognitoSyncService", "ListDatasets", {})
1218
1135
  .n("CognitoSyncClient", "ListDatasetsCommand")
1219
- .f(void 0, void 0)
1220
- .ser(se_ListDatasetsCommand)
1221
- .de(de_ListDatasetsCommand)
1136
+ .sc(ListDatasets)
1222
1137
  .build() {
1223
1138
  }
1224
1139
 
@@ -1226,16 +1141,11 @@ class ListIdentityPoolUsageCommand extends smithyClient.Command
1226
1141
  .classBuilder()
1227
1142
  .ep(commonParams)
1228
1143
  .m(function (Command, cs, config, o) {
1229
- return [
1230
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1231
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1232
- ];
1144
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1233
1145
  })
1234
1146
  .s("AWSCognitoSyncService", "ListIdentityPoolUsage", {})
1235
1147
  .n("CognitoSyncClient", "ListIdentityPoolUsageCommand")
1236
- .f(void 0, void 0)
1237
- .ser(se_ListIdentityPoolUsageCommand)
1238
- .de(de_ListIdentityPoolUsageCommand)
1148
+ .sc(ListIdentityPoolUsage)
1239
1149
  .build() {
1240
1150
  }
1241
1151
 
@@ -1243,16 +1153,11 @@ class ListRecordsCommand extends smithyClient.Command
1243
1153
  .classBuilder()
1244
1154
  .ep(commonParams)
1245
1155
  .m(function (Command, cs, config, o) {
1246
- return [
1247
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1248
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1249
- ];
1156
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1250
1157
  })
1251
1158
  .s("AWSCognitoSyncService", "ListRecords", {})
1252
1159
  .n("CognitoSyncClient", "ListRecordsCommand")
1253
- .f(void 0, void 0)
1254
- .ser(se_ListRecordsCommand)
1255
- .de(de_ListRecordsCommand)
1160
+ .sc(ListRecords)
1256
1161
  .build() {
1257
1162
  }
1258
1163
 
@@ -1260,16 +1165,11 @@ class RegisterDeviceCommand extends smithyClient.Command
1260
1165
  .classBuilder()
1261
1166
  .ep(commonParams)
1262
1167
  .m(function (Command, cs, config, o) {
1263
- return [
1264
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1265
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1266
- ];
1168
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1267
1169
  })
1268
1170
  .s("AWSCognitoSyncService", "RegisterDevice", {})
1269
1171
  .n("CognitoSyncClient", "RegisterDeviceCommand")
1270
- .f(void 0, void 0)
1271
- .ser(se_RegisterDeviceCommand)
1272
- .de(de_RegisterDeviceCommand)
1172
+ .sc(RegisterDevice)
1273
1173
  .build() {
1274
1174
  }
1275
1175
 
@@ -1277,16 +1177,11 @@ class SetCognitoEventsCommand extends smithyClient.Command
1277
1177
  .classBuilder()
1278
1178
  .ep(commonParams)
1279
1179
  .m(function (Command, cs, config, o) {
1280
- return [
1281
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1282
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1283
- ];
1180
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1284
1181
  })
1285
1182
  .s("AWSCognitoSyncService", "SetCognitoEvents", {})
1286
1183
  .n("CognitoSyncClient", "SetCognitoEventsCommand")
1287
- .f(void 0, void 0)
1288
- .ser(se_SetCognitoEventsCommand)
1289
- .de(de_SetCognitoEventsCommand)
1184
+ .sc(SetCognitoEvents)
1290
1185
  .build() {
1291
1186
  }
1292
1187
 
@@ -1294,16 +1189,11 @@ class SetIdentityPoolConfigurationCommand extends smithyClient.Command
1294
1189
  .classBuilder()
1295
1190
  .ep(commonParams)
1296
1191
  .m(function (Command, cs, config, o) {
1297
- return [
1298
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1299
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1300
- ];
1192
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1301
1193
  })
1302
1194
  .s("AWSCognitoSyncService", "SetIdentityPoolConfiguration", {})
1303
1195
  .n("CognitoSyncClient", "SetIdentityPoolConfigurationCommand")
1304
- .f(void 0, void 0)
1305
- .ser(se_SetIdentityPoolConfigurationCommand)
1306
- .de(de_SetIdentityPoolConfigurationCommand)
1196
+ .sc(SetIdentityPoolConfiguration)
1307
1197
  .build() {
1308
1198
  }
1309
1199
 
@@ -1311,16 +1201,11 @@ class SubscribeToDatasetCommand extends smithyClient.Command
1311
1201
  .classBuilder()
1312
1202
  .ep(commonParams)
1313
1203
  .m(function (Command, cs, config, o) {
1314
- return [
1315
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1316
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1317
- ];
1204
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1318
1205
  })
1319
1206
  .s("AWSCognitoSyncService", "SubscribeToDataset", {})
1320
1207
  .n("CognitoSyncClient", "SubscribeToDatasetCommand")
1321
- .f(void 0, void 0)
1322
- .ser(se_SubscribeToDatasetCommand)
1323
- .de(de_SubscribeToDatasetCommand)
1208
+ .sc(SubscribeToDataset)
1324
1209
  .build() {
1325
1210
  }
1326
1211
 
@@ -1328,16 +1213,11 @@ class UnsubscribeFromDatasetCommand extends smithyClient.Command
1328
1213
  .classBuilder()
1329
1214
  .ep(commonParams)
1330
1215
  .m(function (Command, cs, config, o) {
1331
- return [
1332
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1333
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1334
- ];
1216
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1335
1217
  })
1336
1218
  .s("AWSCognitoSyncService", "UnsubscribeFromDataset", {})
1337
1219
  .n("CognitoSyncClient", "UnsubscribeFromDatasetCommand")
1338
- .f(void 0, void 0)
1339
- .ser(se_UnsubscribeFromDatasetCommand)
1340
- .de(de_UnsubscribeFromDatasetCommand)
1220
+ .sc(UnsubscribeFromDataset)
1341
1221
  .build() {
1342
1222
  }
1343
1223
 
@@ -1345,16 +1225,11 @@ class UpdateRecordsCommand extends smithyClient.Command
1345
1225
  .classBuilder()
1346
1226
  .ep(commonParams)
1347
1227
  .m(function (Command, cs, config, o) {
1348
- return [
1349
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1350
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1351
- ];
1228
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1352
1229
  })
1353
1230
  .s("AWSCognitoSyncService", "UpdateRecords", {})
1354
1231
  .n("CognitoSyncClient", "UpdateRecordsCommand")
1355
- .f(void 0, void 0)
1356
- .ser(se_UpdateRecordsCommand)
1357
- .de(de_UpdateRecordsCommand)
1232
+ .sc(UpdateRecords)
1358
1233
  .build() {
1359
1234
  }
1360
1235
 
@@ -1389,40 +1264,40 @@ Object.defineProperty(exports, "__Client", {
1389
1264
  enumerable: true,
1390
1265
  get: function () { return smithyClient.Client; }
1391
1266
  });
1392
- exports.AlreadyStreamedException = AlreadyStreamedException;
1267
+ exports.AlreadyStreamedException = AlreadyStreamedException$1;
1393
1268
  exports.BulkPublishCommand = BulkPublishCommand;
1394
1269
  exports.BulkPublishStatus = BulkPublishStatus;
1395
1270
  exports.CognitoSync = CognitoSync;
1396
1271
  exports.CognitoSyncClient = CognitoSyncClient;
1397
- exports.CognitoSyncServiceException = CognitoSyncServiceException;
1398
- exports.ConcurrentModificationException = ConcurrentModificationException;
1272
+ exports.CognitoSyncServiceException = CognitoSyncServiceException$1;
1273
+ exports.ConcurrentModificationException = ConcurrentModificationException$1;
1399
1274
  exports.DeleteDatasetCommand = DeleteDatasetCommand;
1400
1275
  exports.DescribeDatasetCommand = DescribeDatasetCommand;
1401
1276
  exports.DescribeIdentityPoolUsageCommand = DescribeIdentityPoolUsageCommand;
1402
1277
  exports.DescribeIdentityUsageCommand = DescribeIdentityUsageCommand;
1403
- exports.DuplicateRequestException = DuplicateRequestException;
1278
+ exports.DuplicateRequestException = DuplicateRequestException$1;
1404
1279
  exports.GetBulkPublishDetailsCommand = GetBulkPublishDetailsCommand;
1405
1280
  exports.GetCognitoEventsCommand = GetCognitoEventsCommand;
1406
1281
  exports.GetIdentityPoolConfigurationCommand = GetIdentityPoolConfigurationCommand;
1407
- exports.InternalErrorException = InternalErrorException;
1408
- exports.InvalidConfigurationException = InvalidConfigurationException;
1409
- exports.InvalidLambdaFunctionOutputException = InvalidLambdaFunctionOutputException;
1410
- exports.InvalidParameterException = InvalidParameterException;
1411
- exports.LambdaThrottledException = LambdaThrottledException;
1412
- exports.LimitExceededException = LimitExceededException;
1282
+ exports.InternalErrorException = InternalErrorException$1;
1283
+ exports.InvalidConfigurationException = InvalidConfigurationException$1;
1284
+ exports.InvalidLambdaFunctionOutputException = InvalidLambdaFunctionOutputException$1;
1285
+ exports.InvalidParameterException = InvalidParameterException$1;
1286
+ exports.LambdaThrottledException = LambdaThrottledException$1;
1287
+ exports.LimitExceededException = LimitExceededException$1;
1413
1288
  exports.ListDatasetsCommand = ListDatasetsCommand;
1414
1289
  exports.ListIdentityPoolUsageCommand = ListIdentityPoolUsageCommand;
1415
1290
  exports.ListRecordsCommand = ListRecordsCommand;
1416
- exports.NotAuthorizedException = NotAuthorizedException;
1291
+ exports.NotAuthorizedException = NotAuthorizedException$1;
1417
1292
  exports.Operation = Operation;
1418
1293
  exports.Platform = Platform;
1419
1294
  exports.RegisterDeviceCommand = RegisterDeviceCommand;
1420
- exports.ResourceConflictException = ResourceConflictException;
1421
- exports.ResourceNotFoundException = ResourceNotFoundException;
1295
+ exports.ResourceConflictException = ResourceConflictException$1;
1296
+ exports.ResourceNotFoundException = ResourceNotFoundException$1;
1422
1297
  exports.SetCognitoEventsCommand = SetCognitoEventsCommand;
1423
1298
  exports.SetIdentityPoolConfigurationCommand = SetIdentityPoolConfigurationCommand;
1424
1299
  exports.StreamingStatus = StreamingStatus;
1425
1300
  exports.SubscribeToDatasetCommand = SubscribeToDatasetCommand;
1426
- exports.TooManyRequestsException = TooManyRequestsException;
1301
+ exports.TooManyRequestsException = TooManyRequestsException$1;
1427
1302
  exports.UnsubscribeFromDatasetCommand = UnsubscribeFromDatasetCommand;
1428
1303
  exports.UpdateRecordsCommand = UpdateRecordsCommand;