@aws-sdk/client-sns 3.987.0 → 3.989.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.
@@ -6,6 +6,7 @@ import { fromBase64, toBase64 } from "@smithy/util-base64";
6
6
  import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
7
7
  import { defaultSNSHttpAuthSchemeProvider } from "./auth/httpAuthSchemeProvider";
8
8
  import { defaultEndpointResolver } from "./endpoint/endpointResolver";
9
+ import { errorTypeRegistries } from "./schemas/schemas_0";
9
10
  export const getRuntimeConfig = (config) => {
10
11
  return {
11
12
  apiVersion: "2010-03-31",
@@ -26,6 +27,7 @@ export const getRuntimeConfig = (config) => {
26
27
  protocol: config?.protocol ?? AwsQueryProtocol,
27
28
  protocolSettings: config?.protocolSettings ?? {
28
29
  defaultNamespace: "com.amazonaws.sns",
30
+ errorTypeRegistries,
29
31
  xmlNamespace: "http://sns.amazonaws.com/doc/2010-03-31/",
30
32
  version: "2010-03-31",
31
33
  serviceTarget: "AmazonSimpleNotificationService",
@@ -171,7 +171,7 @@ const _RP = "RemovePermission";
171
171
  const _RPI = "RemovePermissionInput";
172
172
  const _RSA = "ReturnSubscriptionArn";
173
173
  const _RT = "RouteType";
174
- const _S = "Subscriptions";
174
+ const _S = "Status";
175
175
  const _SA = "SubscriptionArn";
176
176
  const _SEA = "SetEndpointAttributes";
177
177
  const _SEAI = "SetEndpointAttributesInput";
@@ -194,10 +194,10 @@ const _STA = "SetTopicAttributes";
194
194
  const _STAI = "SetTopicAttributesInput";
195
195
  const _STE = "StaleTagException";
196
196
  const _SV = "StringValue";
197
- const _St = "Status";
198
- const _Su = "Subject";
199
- const _Sub = "Subscription";
200
- const _Subs = "Subscribe";
197
+ const _Su = "Subscriptions";
198
+ const _Sub = "Subject";
199
+ const _Subs = "Subscription";
200
+ const _Subsc = "Subscribe";
201
201
  const _Suc = "Successful";
202
202
  const _T = "Token";
203
203
  const _TA = "TopicArn";
@@ -239,38 +239,232 @@ const _m = "message";
239
239
  const _nT = "nextToken";
240
240
  const _pN = "phoneNumber";
241
241
  const _pNh = "phoneNumbers";
242
- const _s = "server";
243
- const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.sns";
242
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.sns";
243
+ const _se = "server";
244
244
  const _xN = "xmlName";
245
245
  const n0 = "com.amazonaws.sns";
246
246
  import { TypeRegistry } from "@smithy/core/schema";
247
247
  import { AuthorizationErrorException, BatchEntryIdsNotDistinctException, BatchRequestTooLongException, ConcurrentAccessException, EmptyBatchRequestException, EndpointDisabledException, FilterPolicyLimitExceededException, InternalErrorException, InvalidBatchEntryIdException, InvalidParameterException, InvalidParameterValueException, InvalidSecurityException, InvalidStateException, KMSAccessDeniedException, KMSDisabledException, KMSInvalidStateException, KMSNotFoundException, KMSOptInRequired, KMSThrottlingException, NotFoundException, OptedOutException, PlatformApplicationDisabledException, ReplayLimitExceededException, ResourceNotFoundException, StaleTagException, SubscriptionLimitExceededException, TagLimitExceededException, TagPolicyException, ThrottledException, TooManyEntriesInBatchRequestException, TopicLimitExceededException, UserErrorException, ValidationException, VerificationException, } from "../models/errors";
248
248
  import { SNSServiceException } from "../models/SNSServiceException";
249
- var PhoneNumber = [0, n0, _PN, 8, 0];
250
- var PhoneNumberString = [0, n0, _PNS, 8, 0];
251
- export var AddPermissionInput$ = [3, n0, _API,
252
- 0,
253
- [_TA, _L, _AWSAI, _AN],
254
- [0, 0, 64 | 0, 64 | 0], 4
255
- ];
249
+ const _s_registry = TypeRegistry.for(_s);
250
+ export var SNSServiceException$ = [-3, _s, "SNSServiceException", 0, [], []];
251
+ _s_registry.registerError(SNSServiceException$, SNSServiceException);
252
+ const n0_registry = TypeRegistry.for(n0);
256
253
  export var AuthorizationErrorException$ = [-3, n0, _AEE,
257
254
  { [_aQE]: [`AuthorizationError`, 403], [_e]: _c, [_hE]: 403 },
258
255
  [_m],
259
256
  [0]
260
257
  ];
261
- TypeRegistry.for(n0).registerError(AuthorizationErrorException$, AuthorizationErrorException);
258
+ n0_registry.registerError(AuthorizationErrorException$, AuthorizationErrorException);
262
259
  export var BatchEntryIdsNotDistinctException$ = [-3, n0, _BEINDE,
263
260
  { [_aQE]: [`BatchEntryIdsNotDistinct`, 400], [_e]: _c, [_hE]: 400 },
264
261
  [_m],
265
262
  [0]
266
263
  ];
267
- TypeRegistry.for(n0).registerError(BatchEntryIdsNotDistinctException$, BatchEntryIdsNotDistinctException);
264
+ n0_registry.registerError(BatchEntryIdsNotDistinctException$, BatchEntryIdsNotDistinctException);
268
265
  export var BatchRequestTooLongException$ = [-3, n0, _BRTLE,
269
266
  { [_aQE]: [`BatchRequestTooLong`, 400], [_e]: _c, [_hE]: 400 },
270
267
  [_m],
271
268
  [0]
272
269
  ];
273
- TypeRegistry.for(n0).registerError(BatchRequestTooLongException$, BatchRequestTooLongException);
270
+ n0_registry.registerError(BatchRequestTooLongException$, BatchRequestTooLongException);
271
+ export var ConcurrentAccessException$ = [-3, n0, _CAE,
272
+ { [_aQE]: [`ConcurrentAccess`, 400], [_e]: _c, [_hE]: 400 },
273
+ [_m],
274
+ [0]
275
+ ];
276
+ n0_registry.registerError(ConcurrentAccessException$, ConcurrentAccessException);
277
+ export var EmptyBatchRequestException$ = [-3, n0, _EBRE,
278
+ { [_aQE]: [`EmptyBatchRequest`, 400], [_e]: _c, [_hE]: 400 },
279
+ [_m],
280
+ [0]
281
+ ];
282
+ n0_registry.registerError(EmptyBatchRequestException$, EmptyBatchRequestException);
283
+ export var EndpointDisabledException$ = [-3, n0, _EDE,
284
+ { [_aQE]: [`EndpointDisabled`, 400], [_e]: _c, [_hE]: 400 },
285
+ [_m],
286
+ [0]
287
+ ];
288
+ n0_registry.registerError(EndpointDisabledException$, EndpointDisabledException);
289
+ export var FilterPolicyLimitExceededException$ = [-3, n0, _FPLEE,
290
+ { [_aQE]: [`FilterPolicyLimitExceeded`, 403], [_e]: _c, [_hE]: 403 },
291
+ [_m],
292
+ [0]
293
+ ];
294
+ n0_registry.registerError(FilterPolicyLimitExceededException$, FilterPolicyLimitExceededException);
295
+ export var InternalErrorException$ = [-3, n0, _IEE,
296
+ { [_aQE]: [`InternalError`, 500], [_e]: _se, [_hE]: 500 },
297
+ [_m],
298
+ [0]
299
+ ];
300
+ n0_registry.registerError(InternalErrorException$, InternalErrorException);
301
+ export var InvalidBatchEntryIdException$ = [-3, n0, _IBEIE,
302
+ { [_aQE]: [`InvalidBatchEntryId`, 400], [_e]: _c, [_hE]: 400 },
303
+ [_m],
304
+ [0]
305
+ ];
306
+ n0_registry.registerError(InvalidBatchEntryIdException$, InvalidBatchEntryIdException);
307
+ export var InvalidParameterException$ = [-3, n0, _IPE,
308
+ { [_aQE]: [`InvalidParameter`, 400], [_e]: _c, [_hE]: 400 },
309
+ [_m],
310
+ [0]
311
+ ];
312
+ n0_registry.registerError(InvalidParameterException$, InvalidParameterException);
313
+ export var InvalidParameterValueException$ = [-3, n0, _IPVE,
314
+ { [_aQE]: [`ParameterValueInvalid`, 400], [_e]: _c, [_hE]: 400 },
315
+ [_m],
316
+ [0]
317
+ ];
318
+ n0_registry.registerError(InvalidParameterValueException$, InvalidParameterValueException);
319
+ export var InvalidSecurityException$ = [-3, n0, _ISE,
320
+ { [_aQE]: [`InvalidSecurity`, 403], [_e]: _c, [_hE]: 403 },
321
+ [_m],
322
+ [0]
323
+ ];
324
+ n0_registry.registerError(InvalidSecurityException$, InvalidSecurityException);
325
+ export var InvalidStateException$ = [-3, n0, _ISEn,
326
+ { [_aQE]: [`InvalidState`, 400], [_e]: _c, [_hE]: 400 },
327
+ [_m],
328
+ [0]
329
+ ];
330
+ n0_registry.registerError(InvalidStateException$, InvalidStateException);
331
+ export var KMSAccessDeniedException$ = [-3, n0, _KMSADE,
332
+ { [_aQE]: [`KMSAccessDenied`, 400], [_e]: _c, [_hE]: 400 },
333
+ [_m],
334
+ [0]
335
+ ];
336
+ n0_registry.registerError(KMSAccessDeniedException$, KMSAccessDeniedException);
337
+ export var KMSDisabledException$ = [-3, n0, _KMSDE,
338
+ { [_aQE]: [`KMSDisabled`, 400], [_e]: _c, [_hE]: 400 },
339
+ [_m],
340
+ [0]
341
+ ];
342
+ n0_registry.registerError(KMSDisabledException$, KMSDisabledException);
343
+ export var KMSInvalidStateException$ = [-3, n0, _KMSISE,
344
+ { [_aQE]: [`KMSInvalidState`, 400], [_e]: _c, [_hE]: 400 },
345
+ [_m],
346
+ [0]
347
+ ];
348
+ n0_registry.registerError(KMSInvalidStateException$, KMSInvalidStateException);
349
+ export var KMSNotFoundException$ = [-3, n0, _KMSNFE,
350
+ { [_aQE]: [`KMSNotFound`, 400], [_e]: _c, [_hE]: 400 },
351
+ [_m],
352
+ [0]
353
+ ];
354
+ n0_registry.registerError(KMSNotFoundException$, KMSNotFoundException);
355
+ export var KMSOptInRequired$ = [-3, n0, _KMSOIR,
356
+ { [_aQE]: [`KMSOptInRequired`, 403], [_e]: _c, [_hE]: 403 },
357
+ [_m],
358
+ [0]
359
+ ];
360
+ n0_registry.registerError(KMSOptInRequired$, KMSOptInRequired);
361
+ export var KMSThrottlingException$ = [-3, n0, _KMSTE,
362
+ { [_aQE]: [`KMSThrottling`, 400], [_e]: _c, [_hE]: 400 },
363
+ [_m],
364
+ [0]
365
+ ];
366
+ n0_registry.registerError(KMSThrottlingException$, KMSThrottlingException);
367
+ export var NotFoundException$ = [-3, n0, _NFE,
368
+ { [_aQE]: [`NotFound`, 404], [_e]: _c, [_hE]: 404 },
369
+ [_m],
370
+ [0]
371
+ ];
372
+ n0_registry.registerError(NotFoundException$, NotFoundException);
373
+ export var OptedOutException$ = [-3, n0, _OOE,
374
+ { [_aQE]: [`OptedOut`, 400], [_e]: _c, [_hE]: 400 },
375
+ [_m],
376
+ [0]
377
+ ];
378
+ n0_registry.registerError(OptedOutException$, OptedOutException);
379
+ export var PlatformApplicationDisabledException$ = [-3, n0, _PADE,
380
+ { [_aQE]: [`PlatformApplicationDisabled`, 400], [_e]: _c, [_hE]: 400 },
381
+ [_m],
382
+ [0]
383
+ ];
384
+ n0_registry.registerError(PlatformApplicationDisabledException$, PlatformApplicationDisabledException);
385
+ export var ReplayLimitExceededException$ = [-3, n0, _RLEE,
386
+ { [_aQE]: [`ReplayLimitExceeded`, 403], [_e]: _c, [_hE]: 403 },
387
+ [_m],
388
+ [0]
389
+ ];
390
+ n0_registry.registerError(ReplayLimitExceededException$, ReplayLimitExceededException);
391
+ export var ResourceNotFoundException$ = [-3, n0, _RNFE,
392
+ { [_aQE]: [`ResourceNotFound`, 404], [_e]: _c, [_hE]: 404 },
393
+ [_m],
394
+ [0]
395
+ ];
396
+ n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
397
+ export var StaleTagException$ = [-3, n0, _STE,
398
+ { [_aQE]: [`StaleTag`, 400], [_e]: _c, [_hE]: 400 },
399
+ [_m],
400
+ [0]
401
+ ];
402
+ n0_registry.registerError(StaleTagException$, StaleTagException);
403
+ export var SubscriptionLimitExceededException$ = [-3, n0, _SLEE,
404
+ { [_aQE]: [`SubscriptionLimitExceeded`, 403], [_e]: _c, [_hE]: 403 },
405
+ [_m],
406
+ [0]
407
+ ];
408
+ n0_registry.registerError(SubscriptionLimitExceededException$, SubscriptionLimitExceededException);
409
+ export var TagLimitExceededException$ = [-3, n0, _TLEE,
410
+ { [_aQE]: [`TagLimitExceeded`, 400], [_e]: _c, [_hE]: 400 },
411
+ [_m],
412
+ [0]
413
+ ];
414
+ n0_registry.registerError(TagLimitExceededException$, TagLimitExceededException);
415
+ export var TagPolicyException$ = [-3, n0, _TPE,
416
+ { [_aQE]: [`TagPolicy`, 400], [_e]: _c, [_hE]: 400 },
417
+ [_m],
418
+ [0]
419
+ ];
420
+ n0_registry.registerError(TagPolicyException$, TagPolicyException);
421
+ export var ThrottledException$ = [-3, n0, _TE,
422
+ { [_aQE]: [`Throttled`, 429], [_e]: _c, [_hE]: 429 },
423
+ [_m],
424
+ [0]
425
+ ];
426
+ n0_registry.registerError(ThrottledException$, ThrottledException);
427
+ export var TooManyEntriesInBatchRequestException$ = [-3, n0, _TMEIBRE,
428
+ { [_aQE]: [`TooManyEntriesInBatchRequest`, 400], [_e]: _c, [_hE]: 400 },
429
+ [_m],
430
+ [0]
431
+ ];
432
+ n0_registry.registerError(TooManyEntriesInBatchRequestException$, TooManyEntriesInBatchRequestException);
433
+ export var TopicLimitExceededException$ = [-3, n0, _TLEEo,
434
+ { [_aQE]: [`TopicLimitExceeded`, 403], [_e]: _c, [_hE]: 403 },
435
+ [_m],
436
+ [0]
437
+ ];
438
+ n0_registry.registerError(TopicLimitExceededException$, TopicLimitExceededException);
439
+ export var UserErrorException$ = [-3, n0, _UEE,
440
+ { [_aQE]: [`UserError`, 400], [_e]: _c, [_hE]: 400 },
441
+ [_m],
442
+ [0]
443
+ ];
444
+ n0_registry.registerError(UserErrorException$, UserErrorException);
445
+ export var ValidationException$ = [-3, n0, _VE,
446
+ { [_aQE]: [`ValidationException`, 400], [_e]: _c, [_hE]: 400 },
447
+ [_M],
448
+ [0], 1
449
+ ];
450
+ n0_registry.registerError(ValidationException$, ValidationException);
451
+ export var VerificationException$ = [-3, n0, _VEe,
452
+ { [_e]: _c },
453
+ [_M, _S],
454
+ [0, 0], 2
455
+ ];
456
+ n0_registry.registerError(VerificationException$, VerificationException);
457
+ export const errorTypeRegistries = [
458
+ _s_registry,
459
+ n0_registry,
460
+ ];
461
+ var PhoneNumber = [0, n0, _PN, 8, 0];
462
+ var PhoneNumberString = [0, n0, _PNS, 8, 0];
463
+ export var AddPermissionInput$ = [3, n0, _API,
464
+ 0,
465
+ [_TA, _L, _AWSAI, _AN],
466
+ [0, 0, 64 | 0, 64 | 0], 4
467
+ ];
274
468
  export var BatchResultErrorEntry$ = [3, n0, _BREE,
275
469
  0,
276
470
  [_I, _C, _SF, _M],
@@ -286,12 +480,6 @@ export var CheckIfPhoneNumberIsOptedOutResponse$ = [3, n0, _CIPNIOOR,
286
480
  [_iOO],
287
481
  [2]
288
482
  ];
289
- export var ConcurrentAccessException$ = [-3, n0, _CAE,
290
- { [_aQE]: [`ConcurrentAccess`, 400], [_e]: _c, [_hE]: 400 },
291
- [_m],
292
- [0]
293
- ];
294
- TypeRegistry.for(n0).registerError(ConcurrentAccessException$, ConcurrentAccessException);
295
483
  export var ConfirmSubscriptionInput$ = [3, n0, _CSI,
296
484
  0,
297
485
  [_TA, _T, _AOU],
@@ -367,29 +555,11 @@ export var DeleteTopicInput$ = [3, n0, _DTI,
367
555
  [_TA],
368
556
  [0], 1
369
557
  ];
370
- export var EmptyBatchRequestException$ = [-3, n0, _EBRE,
371
- { [_aQE]: [`EmptyBatchRequest`, 400], [_e]: _c, [_hE]: 400 },
372
- [_m],
373
- [0]
374
- ];
375
- TypeRegistry.for(n0).registerError(EmptyBatchRequestException$, EmptyBatchRequestException);
376
558
  export var Endpoint$ = [3, n0, _E,
377
559
  0,
378
560
  [_EA, _A],
379
561
  [0, 128 | 0]
380
562
  ];
381
- export var EndpointDisabledException$ = [-3, n0, _EDE,
382
- { [_aQE]: [`EndpointDisabled`, 400], [_e]: _c, [_hE]: 400 },
383
- [_m],
384
- [0]
385
- ];
386
- TypeRegistry.for(n0).registerError(EndpointDisabledException$, EndpointDisabledException);
387
- export var FilterPolicyLimitExceededException$ = [-3, n0, _FPLEE,
388
- { [_aQE]: [`FilterPolicyLimitExceeded`, 403], [_e]: _c, [_hE]: 403 },
389
- [_m],
390
- [0]
391
- ];
392
- TypeRegistry.for(n0).registerError(FilterPolicyLimitExceededException$, FilterPolicyLimitExceededException);
393
563
  export var GetDataProtectionPolicyInput$ = [3, n0, _GDPPI,
394
564
  0,
395
565
  [_RA],
@@ -460,78 +630,6 @@ export var GetTopicAttributesResponse$ = [3, n0, _GTAR,
460
630
  [_A],
461
631
  [128 | 0]
462
632
  ];
463
- export var InternalErrorException$ = [-3, n0, _IEE,
464
- { [_aQE]: [`InternalError`, 500], [_e]: _s, [_hE]: 500 },
465
- [_m],
466
- [0]
467
- ];
468
- TypeRegistry.for(n0).registerError(InternalErrorException$, InternalErrorException);
469
- export var InvalidBatchEntryIdException$ = [-3, n0, _IBEIE,
470
- { [_aQE]: [`InvalidBatchEntryId`, 400], [_e]: _c, [_hE]: 400 },
471
- [_m],
472
- [0]
473
- ];
474
- TypeRegistry.for(n0).registerError(InvalidBatchEntryIdException$, InvalidBatchEntryIdException);
475
- export var InvalidParameterException$ = [-3, n0, _IPE,
476
- { [_aQE]: [`InvalidParameter`, 400], [_e]: _c, [_hE]: 400 },
477
- [_m],
478
- [0]
479
- ];
480
- TypeRegistry.for(n0).registerError(InvalidParameterException$, InvalidParameterException);
481
- export var InvalidParameterValueException$ = [-3, n0, _IPVE,
482
- { [_aQE]: [`ParameterValueInvalid`, 400], [_e]: _c, [_hE]: 400 },
483
- [_m],
484
- [0]
485
- ];
486
- TypeRegistry.for(n0).registerError(InvalidParameterValueException$, InvalidParameterValueException);
487
- export var InvalidSecurityException$ = [-3, n0, _ISE,
488
- { [_aQE]: [`InvalidSecurity`, 403], [_e]: _c, [_hE]: 403 },
489
- [_m],
490
- [0]
491
- ];
492
- TypeRegistry.for(n0).registerError(InvalidSecurityException$, InvalidSecurityException);
493
- export var InvalidStateException$ = [-3, n0, _ISEn,
494
- { [_aQE]: [`InvalidState`, 400], [_e]: _c, [_hE]: 400 },
495
- [_m],
496
- [0]
497
- ];
498
- TypeRegistry.for(n0).registerError(InvalidStateException$, InvalidStateException);
499
- export var KMSAccessDeniedException$ = [-3, n0, _KMSADE,
500
- { [_aQE]: [`KMSAccessDenied`, 400], [_e]: _c, [_hE]: 400 },
501
- [_m],
502
- [0]
503
- ];
504
- TypeRegistry.for(n0).registerError(KMSAccessDeniedException$, KMSAccessDeniedException);
505
- export var KMSDisabledException$ = [-3, n0, _KMSDE,
506
- { [_aQE]: [`KMSDisabled`, 400], [_e]: _c, [_hE]: 400 },
507
- [_m],
508
- [0]
509
- ];
510
- TypeRegistry.for(n0).registerError(KMSDisabledException$, KMSDisabledException);
511
- export var KMSInvalidStateException$ = [-3, n0, _KMSISE,
512
- { [_aQE]: [`KMSInvalidState`, 400], [_e]: _c, [_hE]: 400 },
513
- [_m],
514
- [0]
515
- ];
516
- TypeRegistry.for(n0).registerError(KMSInvalidStateException$, KMSInvalidStateException);
517
- export var KMSNotFoundException$ = [-3, n0, _KMSNFE,
518
- { [_aQE]: [`KMSNotFound`, 400], [_e]: _c, [_hE]: 400 },
519
- [_m],
520
- [0]
521
- ];
522
- TypeRegistry.for(n0).registerError(KMSNotFoundException$, KMSNotFoundException);
523
- export var KMSOptInRequired$ = [-3, n0, _KMSOIR,
524
- { [_aQE]: [`KMSOptInRequired`, 403], [_e]: _c, [_hE]: 403 },
525
- [_m],
526
- [0]
527
- ];
528
- TypeRegistry.for(n0).registerError(KMSOptInRequired$, KMSOptInRequired);
529
- export var KMSThrottlingException$ = [-3, n0, _KMSTE,
530
- { [_aQE]: [`KMSThrottling`, 400], [_e]: _c, [_hE]: 400 },
531
- [_m],
532
- [0]
533
- ];
534
- TypeRegistry.for(n0).registerError(KMSThrottlingException$, KMSThrottlingException);
535
633
  export var ListEndpointsByPlatformApplicationInput$ = [3, n0, _LEBPAI,
536
634
  0,
537
635
  [_PAA, _NT],
@@ -589,7 +687,7 @@ export var ListSubscriptionsByTopicInput$ = [3, n0, _LSBTI,
589
687
  ];
590
688
  export var ListSubscriptionsByTopicResponse$ = [3, n0, _LSBTR,
591
689
  0,
592
- [_S, _NT],
690
+ [_Su, _NT],
593
691
  [() => SubscriptionsList, 0]
594
692
  ];
595
693
  export var ListSubscriptionsInput$ = [3, n0, _LSI,
@@ -599,7 +697,7 @@ export var ListSubscriptionsInput$ = [3, n0, _LSI,
599
697
  ];
600
698
  export var ListSubscriptionsResponse$ = [3, n0, _LSR,
601
699
  0,
602
- [_S, _NT],
700
+ [_Su, _NT],
603
701
  [() => SubscriptionsList, 0]
604
702
  ];
605
703
  export var ListTagsForResourceRequest$ = [3, n0, _LTFRR,
@@ -627,18 +725,6 @@ export var MessageAttributeValue$ = [3, n0, _MAV,
627
725
  [_DT, _SV, _BV],
628
726
  [0, 0, 21], 1
629
727
  ];
630
- export var NotFoundException$ = [-3, n0, _NFE,
631
- { [_aQE]: [`NotFound`, 404], [_e]: _c, [_hE]: 404 },
632
- [_m],
633
- [0]
634
- ];
635
- TypeRegistry.for(n0).registerError(NotFoundException$, NotFoundException);
636
- export var OptedOutException$ = [-3, n0, _OOE,
637
- { [_aQE]: [`OptedOut`, 400], [_e]: _c, [_hE]: 400 },
638
- [_m],
639
- [0]
640
- ];
641
- TypeRegistry.for(n0).registerError(OptedOutException$, OptedOutException);
642
728
  export var OptInPhoneNumberInput$ = [3, n0, _OIPNI,
643
729
  0,
644
730
  [_pN],
@@ -651,7 +737,7 @@ export var OptInPhoneNumberResponse$ = [3, n0, _OIPNR,
651
737
  ];
652
738
  export var PhoneNumberInformation$ = [3, n0, _PNI,
653
739
  0,
654
- [_CA, _PN, _St, _ICC, _RT, _NC],
740
+ [_CA, _PN, _S, _ICC, _RT, _NC],
655
741
  [4, [() => PhoneNumber, 0], 0, 0, 0, 64 | 0]
656
742
  ];
657
743
  export var PlatformApplication$ = [3, n0, _PAl,
@@ -659,12 +745,6 @@ export var PlatformApplication$ = [3, n0, _PAl,
659
745
  [_PAA, _A],
660
746
  [0, 128 | 0]
661
747
  ];
662
- export var PlatformApplicationDisabledException$ = [-3, n0, _PADE,
663
- { [_aQE]: [`PlatformApplicationDisabled`, 400], [_e]: _c, [_hE]: 400 },
664
- [_m],
665
- [0]
666
- ];
667
- TypeRegistry.for(n0).registerError(PlatformApplicationDisabledException$, PlatformApplicationDisabledException);
668
748
  export var PublishBatchInput$ = [3, n0, _PBI,
669
749
  0,
670
750
  [_TA, _PBRE],
@@ -672,7 +752,7 @@ export var PublishBatchInput$ = [3, n0, _PBI,
672
752
  ];
673
753
  export var PublishBatchRequestEntry$ = [3, n0, _PBREu,
674
754
  0,
675
- [_I, _M, _Su, _MS, _MA, _MDI, _MGI],
755
+ [_I, _M, _Sub, _MS, _MA, _MDI, _MGI],
676
756
  [0, 0, 0, 0, [() => MessageAttributeMap, 0], 0, 0], 2
677
757
  ];
678
758
  export var PublishBatchResponse$ = [3, n0, _PBR,
@@ -687,7 +767,7 @@ export var PublishBatchResultEntry$ = [3, n0, _PBREub,
687
767
  ];
688
768
  export var PublishInput$ = [3, n0, _PI,
689
769
  0,
690
- [_M, _TA, _TAa, _PN, _Su, _MS, _MA, _MDI, _MGI],
770
+ [_M, _TA, _TAa, _PN, _Sub, _MS, _MA, _MDI, _MGI],
691
771
  [0, 0, 0, [() => PhoneNumber, 0], 0, 0, [() => MessageAttributeMap, 0], 0, 0], 1
692
772
  ];
693
773
  export var PublishResponse$ = [3, n0, _PR,
@@ -705,18 +785,6 @@ export var RemovePermissionInput$ = [3, n0, _RPI,
705
785
  [_TA, _L],
706
786
  [0, 0], 2
707
787
  ];
708
- export var ReplayLimitExceededException$ = [-3, n0, _RLEE,
709
- { [_aQE]: [`ReplayLimitExceeded`, 403], [_e]: _c, [_hE]: 403 },
710
- [_m],
711
- [0]
712
- ];
713
- TypeRegistry.for(n0).registerError(ReplayLimitExceededException$, ReplayLimitExceededException);
714
- export var ResourceNotFoundException$ = [-3, n0, _RNFE,
715
- { [_aQE]: [`ResourceNotFound`, 404], [_e]: _c, [_hE]: 404 },
716
- [_m],
717
- [0]
718
- ];
719
- TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
720
788
  export var SetEndpointAttributesInput$ = [3, n0, _SEAI,
721
789
  0,
722
790
  [_EA, _A],
@@ -749,15 +817,9 @@ export var SetTopicAttributesInput$ = [3, n0, _STAI,
749
817
  ];
750
818
  export var SMSSandboxPhoneNumber$ = [3, n0, _SMSSPN,
751
819
  0,
752
- [_PN, _St],
820
+ [_PN, _S],
753
821
  [[() => PhoneNumberString, 0], 0]
754
822
  ];
755
- export var StaleTagException$ = [-3, n0, _STE,
756
- { [_aQE]: [`StaleTag`, 400], [_e]: _c, [_hE]: 400 },
757
- [_m],
758
- [0]
759
- ];
760
- TypeRegistry.for(n0).registerError(StaleTagException$, StaleTagException);
761
823
  export var SubscribeInput$ = [3, n0, _SI,
762
824
  0,
763
825
  [_TA, _Pr, _E, _A, _RSA],
@@ -768,34 +830,16 @@ export var SubscribeResponse$ = [3, n0, _SR,
768
830
  [_SA],
769
831
  [0]
770
832
  ];
771
- export var Subscription$ = [3, n0, _Sub,
833
+ export var Subscription$ = [3, n0, _Subs,
772
834
  0,
773
835
  [_SA, _O, _Pr, _E, _TA],
774
836
  [0, 0, 0, 0, 0]
775
837
  ];
776
- export var SubscriptionLimitExceededException$ = [-3, n0, _SLEE,
777
- { [_aQE]: [`SubscriptionLimitExceeded`, 403], [_e]: _c, [_hE]: 403 },
778
- [_m],
779
- [0]
780
- ];
781
- TypeRegistry.for(n0).registerError(SubscriptionLimitExceededException$, SubscriptionLimitExceededException);
782
838
  export var Tag$ = [3, n0, _Tag,
783
839
  0,
784
840
  [_K, _V],
785
841
  [0, 0], 2
786
842
  ];
787
- export var TagLimitExceededException$ = [-3, n0, _TLEE,
788
- { [_aQE]: [`TagLimitExceeded`, 400], [_e]: _c, [_hE]: 400 },
789
- [_m],
790
- [0]
791
- ];
792
- TypeRegistry.for(n0).registerError(TagLimitExceededException$, TagLimitExceededException);
793
- export var TagPolicyException$ = [-3, n0, _TPE,
794
- { [_aQE]: [`TagPolicy`, 400], [_e]: _c, [_hE]: 400 },
795
- [_m],
796
- [0]
797
- ];
798
- TypeRegistry.for(n0).registerError(TagPolicyException$, TagPolicyException);
799
843
  export var TagResourceRequest$ = [3, n0, _TRR,
800
844
  0,
801
845
  [_RA, _Ta],
@@ -806,29 +850,11 @@ export var TagResourceResponse$ = [3, n0, _TRRa,
806
850
  [],
807
851
  []
808
852
  ];
809
- export var ThrottledException$ = [-3, n0, _TE,
810
- { [_aQE]: [`Throttled`, 429], [_e]: _c, [_hE]: 429 },
811
- [_m],
812
- [0]
813
- ];
814
- TypeRegistry.for(n0).registerError(ThrottledException$, ThrottledException);
815
- export var TooManyEntriesInBatchRequestException$ = [-3, n0, _TMEIBRE,
816
- { [_aQE]: [`TooManyEntriesInBatchRequest`, 400], [_e]: _c, [_hE]: 400 },
817
- [_m],
818
- [0]
819
- ];
820
- TypeRegistry.for(n0).registerError(TooManyEntriesInBatchRequestException$, TooManyEntriesInBatchRequestException);
821
853
  export var Topic$ = [3, n0, _Top,
822
854
  0,
823
855
  [_TA],
824
856
  [0]
825
857
  ];
826
- export var TopicLimitExceededException$ = [-3, n0, _TLEEo,
827
- { [_aQE]: [`TopicLimitExceeded`, 403], [_e]: _c, [_hE]: 403 },
828
- [_m],
829
- [0]
830
- ];
831
- TypeRegistry.for(n0).registerError(TopicLimitExceededException$, TopicLimitExceededException);
832
858
  export var UnsubscribeInput$ = [3, n0, _UI,
833
859
  0,
834
860
  [_SA],
@@ -844,24 +870,6 @@ export var UntagResourceResponse$ = [3, n0, _URRn,
844
870
  [],
845
871
  []
846
872
  ];
847
- export var UserErrorException$ = [-3, n0, _UEE,
848
- { [_aQE]: [`UserError`, 400], [_e]: _c, [_hE]: 400 },
849
- [_m],
850
- [0]
851
- ];
852
- TypeRegistry.for(n0).registerError(UserErrorException$, UserErrorException);
853
- export var ValidationException$ = [-3, n0, _VE,
854
- { [_aQE]: [`ValidationException`, 400], [_e]: _c, [_hE]: 400 },
855
- [_M],
856
- [0], 1
857
- ];
858
- TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
859
- export var VerificationException$ = [-3, n0, _VEe,
860
- { [_e]: _c },
861
- [_M, _St],
862
- [0, 0], 2
863
- ];
864
- TypeRegistry.for(n0).registerError(VerificationException$, VerificationException);
865
873
  export var VerifySMSSandboxPhoneNumberInput$ = [3, n0, _VSMSSPNI,
866
874
  0,
867
875
  [_PN, _OTP],
@@ -873,8 +881,6 @@ export var VerifySMSSandboxPhoneNumberResult$ = [3, n0, _VSMSSPNR,
873
881
  []
874
882
  ];
875
883
  var __Unit = "unit";
876
- export var SNSServiceException$ = [-3, _sm, "SNSServiceException", 0, [], []];
877
- TypeRegistry.for(_sm).registerError(SNSServiceException$, SNSServiceException);
878
884
  var ActionsList = 64 | 0;
879
885
  var BatchResultErrorEntryList = [1, n0, _BREEL,
880
886
  0, () => BatchResultErrorEntry$
@@ -1037,7 +1043,7 @@ export var SetSubscriptionAttributes$ = [9, n0, _SSA,
1037
1043
  export var SetTopicAttributes$ = [9, n0, _STA,
1038
1044
  0, () => SetTopicAttributesInput$, () => __Unit
1039
1045
  ];
1040
- export var Subscribe$ = [9, n0, _Subs,
1046
+ export var Subscribe$ = [9, n0, _Subsc,
1041
1047
  0, () => SubscribeInput$, () => SubscribeResponse$
1042
1048
  ];
1043
1049
  export var TagResource$ = [9, n0, _TR,