@aws-sdk/client-sns 3.170.0 → 3.171.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 (52) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist-types/ts3.4/SNS.d.ts +0 -42
  3. package/dist-types/ts3.4/SNSClient.d.ts +0 -25
  4. package/dist-types/ts3.4/commands/AddPermissionCommand.d.ts +0 -2
  5. package/dist-types/ts3.4/commands/CheckIfPhoneNumberIsOptedOutCommand.d.ts +0 -2
  6. package/dist-types/ts3.4/commands/ConfirmSubscriptionCommand.d.ts +0 -2
  7. package/dist-types/ts3.4/commands/CreatePlatformApplicationCommand.d.ts +0 -2
  8. package/dist-types/ts3.4/commands/CreatePlatformEndpointCommand.d.ts +0 -2
  9. package/dist-types/ts3.4/commands/CreateSMSSandboxPhoneNumberCommand.d.ts +0 -2
  10. package/dist-types/ts3.4/commands/CreateTopicCommand.d.ts +0 -2
  11. package/dist-types/ts3.4/commands/DeleteEndpointCommand.d.ts +0 -2
  12. package/dist-types/ts3.4/commands/DeletePlatformApplicationCommand.d.ts +0 -2
  13. package/dist-types/ts3.4/commands/DeleteSMSSandboxPhoneNumberCommand.d.ts +0 -2
  14. package/dist-types/ts3.4/commands/DeleteTopicCommand.d.ts +0 -2
  15. package/dist-types/ts3.4/commands/GetDataProtectionPolicyCommand.d.ts +0 -2
  16. package/dist-types/ts3.4/commands/GetEndpointAttributesCommand.d.ts +0 -2
  17. package/dist-types/ts3.4/commands/GetPlatformApplicationAttributesCommand.d.ts +0 -2
  18. package/dist-types/ts3.4/commands/GetSMSAttributesCommand.d.ts +0 -2
  19. package/dist-types/ts3.4/commands/GetSMSSandboxAccountStatusCommand.d.ts +0 -2
  20. package/dist-types/ts3.4/commands/GetSubscriptionAttributesCommand.d.ts +0 -2
  21. package/dist-types/ts3.4/commands/GetTopicAttributesCommand.d.ts +0 -2
  22. package/dist-types/ts3.4/commands/ListEndpointsByPlatformApplicationCommand.d.ts +0 -2
  23. package/dist-types/ts3.4/commands/ListOriginationNumbersCommand.d.ts +0 -2
  24. package/dist-types/ts3.4/commands/ListPhoneNumbersOptedOutCommand.d.ts +0 -2
  25. package/dist-types/ts3.4/commands/ListPlatformApplicationsCommand.d.ts +0 -2
  26. package/dist-types/ts3.4/commands/ListSMSSandboxPhoneNumbersCommand.d.ts +0 -2
  27. package/dist-types/ts3.4/commands/ListSubscriptionsByTopicCommand.d.ts +0 -2
  28. package/dist-types/ts3.4/commands/ListSubscriptionsCommand.d.ts +0 -2
  29. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +0 -2
  30. package/dist-types/ts3.4/commands/ListTopicsCommand.d.ts +0 -2
  31. package/dist-types/ts3.4/commands/OptInPhoneNumberCommand.d.ts +0 -2
  32. package/dist-types/ts3.4/commands/PublishBatchCommand.d.ts +0 -2
  33. package/dist-types/ts3.4/commands/PublishCommand.d.ts +0 -2
  34. package/dist-types/ts3.4/commands/PutDataProtectionPolicyCommand.d.ts +0 -2
  35. package/dist-types/ts3.4/commands/RemovePermissionCommand.d.ts +0 -2
  36. package/dist-types/ts3.4/commands/SetEndpointAttributesCommand.d.ts +0 -2
  37. package/dist-types/ts3.4/commands/SetPlatformApplicationAttributesCommand.d.ts +0 -2
  38. package/dist-types/ts3.4/commands/SetSMSAttributesCommand.d.ts +0 -2
  39. package/dist-types/ts3.4/commands/SetSubscriptionAttributesCommand.d.ts +0 -2
  40. package/dist-types/ts3.4/commands/SetTopicAttributesCommand.d.ts +0 -2
  41. package/dist-types/ts3.4/commands/SubscribeCommand.d.ts +0 -2
  42. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +0 -2
  43. package/dist-types/ts3.4/commands/UnsubscribeCommand.d.ts +0 -2
  44. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +0 -2
  45. package/dist-types/ts3.4/commands/VerifySMSSandboxPhoneNumberCommand.d.ts +0 -2
  46. package/dist-types/ts3.4/models/SNSServiceException.d.ts +0 -1
  47. package/dist-types/ts3.4/models/models_0.d.ts +0 -286
  48. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +0 -1
  49. package/dist-types/ts3.4/runtimeConfig.d.ts +0 -1
  50. package/dist-types/ts3.4/runtimeConfig.native.d.ts +0 -1
  51. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +0 -1
  52. package/package.json +26 -26
@@ -2,79 +2,58 @@ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-cl
2
2
  import { SNSServiceException as __BaseException } from "./SNSServiceException";
3
3
  export interface AddPermissionInput {
4
4
  TopicArn: string | undefined;
5
-
6
5
  Label: string | undefined;
7
-
8
6
  AWSAccountId: string[] | undefined;
9
-
10
7
  ActionName: string[] | undefined;
11
8
  }
12
-
13
9
  export declare class AuthorizationErrorException extends __BaseException {
14
10
  readonly name: "AuthorizationErrorException";
15
11
  readonly $fault: "client";
16
-
17
12
  constructor(
18
13
  opts: __ExceptionOptionType<AuthorizationErrorException, __BaseException>
19
14
  );
20
15
  }
21
-
22
16
  export declare class InternalErrorException extends __BaseException {
23
17
  readonly name: "InternalErrorException";
24
18
  readonly $fault: "server";
25
-
26
19
  constructor(
27
20
  opts: __ExceptionOptionType<InternalErrorException, __BaseException>
28
21
  );
29
22
  }
30
-
31
23
  export declare class InvalidParameterException extends __BaseException {
32
24
  readonly name: "InvalidParameterException";
33
25
  readonly $fault: "client";
34
-
35
26
  constructor(
36
27
  opts: __ExceptionOptionType<InvalidParameterException, __BaseException>
37
28
  );
38
29
  }
39
-
40
30
  export declare class NotFoundException extends __BaseException {
41
31
  readonly name: "NotFoundException";
42
32
  readonly $fault: "client";
43
-
44
33
  constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
45
34
  }
46
-
47
35
  export interface CheckIfPhoneNumberIsOptedOutInput {
48
36
  phoneNumber: string | undefined;
49
37
  }
50
-
51
38
  export interface CheckIfPhoneNumberIsOptedOutResponse {
52
39
  isOptedOut?: boolean;
53
40
  }
54
-
55
41
  export declare class ThrottledException extends __BaseException {
56
42
  readonly name: "ThrottledException";
57
43
  readonly $fault: "client";
58
-
59
44
  constructor(opts: __ExceptionOptionType<ThrottledException, __BaseException>);
60
45
  }
61
-
62
46
  export interface ConfirmSubscriptionInput {
63
47
  TopicArn: string | undefined;
64
-
65
48
  Token: string | undefined;
66
-
67
49
  AuthenticateOnUnsubscribe?: string;
68
50
  }
69
-
70
51
  export interface ConfirmSubscriptionResponse {
71
52
  SubscriptionArn?: string;
72
53
  }
73
-
74
54
  export declare class FilterPolicyLimitExceededException extends __BaseException {
75
55
  readonly name: "FilterPolicyLimitExceededException";
76
56
  readonly $fault: "client";
77
-
78
57
  constructor(
79
58
  opts: __ExceptionOptionType<
80
59
  FilterPolicyLimitExceededException,
@@ -82,11 +61,9 @@ export declare class FilterPolicyLimitExceededException extends __BaseException
82
61
  >
83
62
  );
84
63
  }
85
-
86
64
  export declare class SubscriptionLimitExceededException extends __BaseException {
87
65
  readonly name: "SubscriptionLimitExceededException";
88
66
  readonly $fault: "client";
89
-
90
67
  constructor(
91
68
  opts: __ExceptionOptionType<
92
69
  SubscriptionLimitExceededException,
@@ -94,30 +71,21 @@ export declare class SubscriptionLimitExceededException extends __BaseException
94
71
  >
95
72
  );
96
73
  }
97
-
98
74
  export interface CreatePlatformApplicationInput {
99
75
  Name: string | undefined;
100
-
101
76
  Platform: string | undefined;
102
-
103
77
  Attributes: Record<string, string> | undefined;
104
78
  }
105
-
106
79
  export interface CreatePlatformApplicationResponse {
107
80
  PlatformApplicationArn?: string;
108
81
  }
109
-
110
82
  export interface CreateEndpointResponse {
111
83
  EndpointArn?: string;
112
84
  }
113
-
114
85
  export interface CreatePlatformEndpointInput {
115
86
  PlatformApplicationArn: string | undefined;
116
-
117
87
  Token: string | undefined;
118
-
119
88
  CustomUserData?: string;
120
-
121
89
  Attributes?: Record<string, string>;
122
90
  }
123
91
  export declare enum LanguageCodeString {
@@ -137,99 +105,73 @@ export declare enum LanguageCodeString {
137
105
  }
138
106
  export interface CreateSMSSandboxPhoneNumberInput {
139
107
  PhoneNumber: string | undefined;
140
-
141
108
  LanguageCode?: LanguageCodeString | string;
142
109
  }
143
110
  export interface CreateSMSSandboxPhoneNumberResult {}
144
-
145
111
  export declare class OptedOutException extends __BaseException {
146
112
  readonly name: "OptedOutException";
147
113
  readonly $fault: "client";
148
-
149
114
  constructor(opts: __ExceptionOptionType<OptedOutException, __BaseException>);
150
115
  }
151
-
152
116
  export declare class UserErrorException extends __BaseException {
153
117
  readonly name: "UserErrorException";
154
118
  readonly $fault: "client";
155
-
156
119
  constructor(opts: __ExceptionOptionType<UserErrorException, __BaseException>);
157
120
  }
158
-
159
121
  export declare class ConcurrentAccessException extends __BaseException {
160
122
  readonly name: "ConcurrentAccessException";
161
123
  readonly $fault: "client";
162
-
163
124
  constructor(
164
125
  opts: __ExceptionOptionType<ConcurrentAccessException, __BaseException>
165
126
  );
166
127
  }
167
-
168
128
  export interface Tag {
169
129
  Key: string | undefined;
170
-
171
130
  Value: string | undefined;
172
131
  }
173
-
174
132
  export interface CreateTopicInput {
175
133
  Name: string | undefined;
176
-
177
134
  Attributes?: Record<string, string>;
178
-
179
135
  Tags?: Tag[];
180
-
181
136
  DataProtectionPolicy?: string;
182
137
  }
183
-
184
138
  export interface CreateTopicResponse {
185
139
  TopicArn?: string;
186
140
  }
187
-
188
141
  export declare class InvalidSecurityException extends __BaseException {
189
142
  readonly name: "InvalidSecurityException";
190
143
  readonly $fault: "client";
191
-
192
144
  constructor(
193
145
  opts: __ExceptionOptionType<InvalidSecurityException, __BaseException>
194
146
  );
195
147
  }
196
-
197
148
  export declare class StaleTagException extends __BaseException {
198
149
  readonly name: "StaleTagException";
199
150
  readonly $fault: "client";
200
-
201
151
  constructor(opts: __ExceptionOptionType<StaleTagException, __BaseException>);
202
152
  }
203
-
204
153
  export declare class TagLimitExceededException extends __BaseException {
205
154
  readonly name: "TagLimitExceededException";
206
155
  readonly $fault: "client";
207
-
208
156
  constructor(
209
157
  opts: __ExceptionOptionType<TagLimitExceededException, __BaseException>
210
158
  );
211
159
  }
212
-
213
160
  export declare class TagPolicyException extends __BaseException {
214
161
  readonly name: "TagPolicyException";
215
162
  readonly $fault: "client";
216
-
217
163
  constructor(opts: __ExceptionOptionType<TagPolicyException, __BaseException>);
218
164
  }
219
-
220
165
  export declare class TopicLimitExceededException extends __BaseException {
221
166
  readonly name: "TopicLimitExceededException";
222
167
  readonly $fault: "client";
223
-
224
168
  constructor(
225
169
  opts: __ExceptionOptionType<TopicLimitExceededException, __BaseException>
226
170
  );
227
171
  }
228
-
229
172
  export interface DeleteEndpointInput {
230
173
  EndpointArn: string | undefined;
231
174
  }
232
-
233
175
  export interface DeletePlatformApplicationInput {
234
176
  PlatformApplicationArn: string | undefined;
235
177
  }
@@ -237,11 +179,9 @@ export interface DeleteSMSSandboxPhoneNumberInput {
237
179
  PhoneNumber: string | undefined;
238
180
  }
239
181
  export interface DeleteSMSSandboxPhoneNumberResult {}
240
-
241
182
  export declare class ResourceNotFoundException extends __BaseException {
242
183
  readonly name: "ResourceNotFoundException";
243
184
  readonly $fault: "client";
244
-
245
185
  constructor(
246
186
  opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
247
187
  );
@@ -255,27 +195,21 @@ export interface GetDataProtectionPolicyInput {
255
195
  export interface GetDataProtectionPolicyResponse {
256
196
  DataProtectionPolicy?: string;
257
197
  }
258
-
259
198
  export interface GetEndpointAttributesInput {
260
199
  EndpointArn: string | undefined;
261
200
  }
262
-
263
201
  export interface GetEndpointAttributesResponse {
264
202
  Attributes?: Record<string, string>;
265
203
  }
266
-
267
204
  export interface GetPlatformApplicationAttributesInput {
268
205
  PlatformApplicationArn: string | undefined;
269
206
  }
270
-
271
207
  export interface GetPlatformApplicationAttributesResponse {
272
208
  Attributes?: Record<string, string>;
273
209
  }
274
-
275
210
  export interface GetSMSAttributesInput {
276
211
  attributes?: string[];
277
212
  }
278
-
279
213
  export interface GetSMSAttributesResponse {
280
214
  attributes?: Record<string, string>;
281
215
  }
@@ -283,43 +217,32 @@ export interface GetSMSSandboxAccountStatusInput {}
283
217
  export interface GetSMSSandboxAccountStatusResult {
284
218
  IsInSandbox: boolean | undefined;
285
219
  }
286
-
287
220
  export interface GetSubscriptionAttributesInput {
288
221
  SubscriptionArn: string | undefined;
289
222
  }
290
-
291
223
  export interface GetSubscriptionAttributesResponse {
292
224
  Attributes?: Record<string, string>;
293
225
  }
294
-
295
226
  export interface GetTopicAttributesInput {
296
227
  TopicArn: string | undefined;
297
228
  }
298
-
299
229
  export interface GetTopicAttributesResponse {
300
230
  Attributes?: Record<string, string>;
301
231
  }
302
-
303
232
  export interface ListEndpointsByPlatformApplicationInput {
304
233
  PlatformApplicationArn: string | undefined;
305
-
306
234
  NextToken?: string;
307
235
  }
308
-
309
236
  export interface Endpoint {
310
237
  EndpointArn?: string;
311
-
312
238
  Attributes?: Record<string, string>;
313
239
  }
314
-
315
240
  export interface ListEndpointsByPlatformApplicationResponse {
316
241
  Endpoints?: Endpoint[];
317
-
318
242
  NextToken?: string;
319
243
  }
320
244
  export interface ListOriginationNumbersRequest {
321
245
  NextToken?: string;
322
-
323
246
  MaxResults?: number;
324
247
  }
325
248
  export declare enum NumberCapability {
@@ -332,113 +255,80 @@ export declare enum RouteType {
332
255
  Promotional = "Promotional",
333
256
  Transactional = "Transactional",
334
257
  }
335
-
336
258
  export interface PhoneNumberInformation {
337
259
  CreatedAt?: Date;
338
-
339
260
  PhoneNumber?: string;
340
-
341
261
  Status?: string;
342
-
343
262
  Iso2CountryCode?: string;
344
-
345
263
  RouteType?: RouteType | string;
346
-
347
264
  NumberCapabilities?: (NumberCapability | string)[];
348
265
  }
349
266
  export interface ListOriginationNumbersResult {
350
267
  NextToken?: string;
351
-
352
268
  PhoneNumbers?: PhoneNumberInformation[];
353
269
  }
354
-
355
270
  export declare class ValidationException extends __BaseException {
356
271
  readonly name: "ValidationException";
357
272
  readonly $fault: "client";
358
273
  Message: string | undefined;
359
-
360
274
  constructor(
361
275
  opts: __ExceptionOptionType<ValidationException, __BaseException>
362
276
  );
363
277
  }
364
-
365
278
  export interface ListPhoneNumbersOptedOutInput {
366
279
  nextToken?: string;
367
280
  }
368
-
369
281
  export interface ListPhoneNumbersOptedOutResponse {
370
282
  phoneNumbers?: string[];
371
-
372
283
  nextToken?: string;
373
284
  }
374
-
375
285
  export interface ListPlatformApplicationsInput {
376
286
  NextToken?: string;
377
287
  }
378
-
379
288
  export interface PlatformApplication {
380
289
  PlatformApplicationArn?: string;
381
-
382
290
  Attributes?: Record<string, string>;
383
291
  }
384
-
385
292
  export interface ListPlatformApplicationsResponse {
386
293
  PlatformApplications?: PlatformApplication[];
387
-
388
294
  NextToken?: string;
389
295
  }
390
296
  export interface ListSMSSandboxPhoneNumbersInput {
391
297
  NextToken?: string;
392
-
393
298
  MaxResults?: number;
394
299
  }
395
300
  export declare enum SMSSandboxPhoneNumberVerificationStatus {
396
301
  Pending = "Pending",
397
302
  Verified = "Verified",
398
303
  }
399
-
400
304
  export interface SMSSandboxPhoneNumber {
401
305
  PhoneNumber?: string;
402
-
403
306
  Status?: SMSSandboxPhoneNumberVerificationStatus | string;
404
307
  }
405
308
  export interface ListSMSSandboxPhoneNumbersResult {
406
309
  PhoneNumbers: SMSSandboxPhoneNumber[] | undefined;
407
-
408
310
  NextToken?: string;
409
311
  }
410
-
411
312
  export interface ListSubscriptionsInput {
412
313
  NextToken?: string;
413
314
  }
414
-
415
315
  export interface Subscription {
416
316
  SubscriptionArn?: string;
417
-
418
317
  Owner?: string;
419
-
420
318
  Protocol?: string;
421
-
422
319
  Endpoint?: string;
423
-
424
320
  TopicArn?: string;
425
321
  }
426
-
427
322
  export interface ListSubscriptionsResponse {
428
323
  Subscriptions?: Subscription[];
429
-
430
324
  NextToken?: string;
431
325
  }
432
-
433
326
  export interface ListSubscriptionsByTopicInput {
434
327
  TopicArn: string | undefined;
435
-
436
328
  NextToken?: string;
437
329
  }
438
-
439
330
  export interface ListSubscriptionsByTopicResponse {
440
331
  Subscriptions?: Subscription[];
441
-
442
332
  NextToken?: string;
443
333
  }
444
334
  export interface ListTagsForResourceRequest {
@@ -450,97 +340,74 @@ export interface ListTagsForResourceResponse {
450
340
  export interface ListTopicsInput {
451
341
  NextToken?: string;
452
342
  }
453
-
454
343
  export interface Topic {
455
344
  TopicArn?: string;
456
345
  }
457
-
458
346
  export interface ListTopicsResponse {
459
347
  Topics?: Topic[];
460
-
461
348
  NextToken?: string;
462
349
  }
463
-
464
350
  export interface OptInPhoneNumberInput {
465
351
  phoneNumber: string | undefined;
466
352
  }
467
-
468
353
  export interface OptInPhoneNumberResponse {}
469
-
470
354
  export declare class EndpointDisabledException extends __BaseException {
471
355
  readonly name: "EndpointDisabledException";
472
356
  readonly $fault: "client";
473
-
474
357
  constructor(
475
358
  opts: __ExceptionOptionType<EndpointDisabledException, __BaseException>
476
359
  );
477
360
  }
478
-
479
361
  export declare class InvalidParameterValueException extends __BaseException {
480
362
  readonly name: "InvalidParameterValueException";
481
363
  readonly $fault: "client";
482
-
483
364
  constructor(
484
365
  opts: __ExceptionOptionType<InvalidParameterValueException, __BaseException>
485
366
  );
486
367
  }
487
-
488
368
  export declare class KMSAccessDeniedException extends __BaseException {
489
369
  readonly name: "KMSAccessDeniedException";
490
370
  readonly $fault: "client";
491
-
492
371
  constructor(
493
372
  opts: __ExceptionOptionType<KMSAccessDeniedException, __BaseException>
494
373
  );
495
374
  }
496
-
497
375
  export declare class KMSDisabledException extends __BaseException {
498
376
  readonly name: "KMSDisabledException";
499
377
  readonly $fault: "client";
500
-
501
378
  constructor(
502
379
  opts: __ExceptionOptionType<KMSDisabledException, __BaseException>
503
380
  );
504
381
  }
505
-
506
382
  export declare class KMSInvalidStateException extends __BaseException {
507
383
  readonly name: "KMSInvalidStateException";
508
384
  readonly $fault: "client";
509
-
510
385
  constructor(
511
386
  opts: __ExceptionOptionType<KMSInvalidStateException, __BaseException>
512
387
  );
513
388
  }
514
-
515
389
  export declare class KMSNotFoundException extends __BaseException {
516
390
  readonly name: "KMSNotFoundException";
517
391
  readonly $fault: "client";
518
-
519
392
  constructor(
520
393
  opts: __ExceptionOptionType<KMSNotFoundException, __BaseException>
521
394
  );
522
395
  }
523
-
524
396
  export declare class KMSOptInRequired extends __BaseException {
525
397
  readonly name: "KMSOptInRequired";
526
398
  readonly $fault: "client";
527
-
528
399
  constructor(opts: __ExceptionOptionType<KMSOptInRequired, __BaseException>);
529
400
  }
530
-
531
401
  export declare class KMSThrottlingException extends __BaseException {
532
402
  readonly name: "KMSThrottlingException";
533
403
  readonly $fault: "client";
534
-
535
404
  constructor(
536
405
  opts: __ExceptionOptionType<KMSThrottlingException, __BaseException>
537
406
  );
538
407
  }
539
-
540
408
  export declare class PlatformApplicationDisabledException extends __BaseException {
541
409
  readonly name: "PlatformApplicationDisabledException";
542
410
  readonly $fault: "client";
543
-
544
411
  constructor(
545
412
  opts: __ExceptionOptionType<
546
413
  PlatformApplicationDisabledException,
@@ -548,45 +415,29 @@ export declare class PlatformApplicationDisabledException extends __BaseExceptio
548
415
  >
549
416
  );
550
417
  }
551
-
552
418
  export interface MessageAttributeValue {
553
419
  DataType: string | undefined;
554
-
555
420
  StringValue?: string;
556
-
557
421
  BinaryValue?: Uint8Array;
558
422
  }
559
-
560
423
  export interface PublishInput {
561
424
  TopicArn?: string;
562
-
563
425
  TargetArn?: string;
564
-
565
426
  PhoneNumber?: string;
566
-
567
427
  Message: string | undefined;
568
-
569
428
  Subject?: string;
570
-
571
429
  MessageStructure?: string;
572
-
573
430
  MessageAttributes?: Record<string, MessageAttributeValue>;
574
-
575
431
  MessageDeduplicationId?: string;
576
-
577
432
  MessageGroupId?: string;
578
433
  }
579
-
580
434
  export interface PublishResponse {
581
435
  MessageId?: string;
582
-
583
436
  SequenceNumber?: string;
584
437
  }
585
-
586
438
  export declare class BatchEntryIdsNotDistinctException extends __BaseException {
587
439
  readonly name: "BatchEntryIdsNotDistinctException";
588
440
  readonly $fault: "client";
589
-
590
441
  constructor(
591
442
  opts: __ExceptionOptionType<
592
443
  BatchEntryIdsNotDistinctException,
@@ -594,82 +445,58 @@ export declare class BatchEntryIdsNotDistinctException extends __BaseException {
594
445
  >
595
446
  );
596
447
  }
597
-
598
448
  export declare class BatchRequestTooLongException extends __BaseException {
599
449
  readonly name: "BatchRequestTooLongException";
600
450
  readonly $fault: "client";
601
-
602
451
  constructor(
603
452
  opts: __ExceptionOptionType<BatchRequestTooLongException, __BaseException>
604
453
  );
605
454
  }
606
-
607
455
  export declare class EmptyBatchRequestException extends __BaseException {
608
456
  readonly name: "EmptyBatchRequestException";
609
457
  readonly $fault: "client";
610
-
611
458
  constructor(
612
459
  opts: __ExceptionOptionType<EmptyBatchRequestException, __BaseException>
613
460
  );
614
461
  }
615
-
616
462
  export declare class InvalidBatchEntryIdException extends __BaseException {
617
463
  readonly name: "InvalidBatchEntryIdException";
618
464
  readonly $fault: "client";
619
-
620
465
  constructor(
621
466
  opts: __ExceptionOptionType<InvalidBatchEntryIdException, __BaseException>
622
467
  );
623
468
  }
624
-
625
469
  export interface PublishBatchRequestEntry {
626
470
  Id: string | undefined;
627
-
628
471
  Message: string | undefined;
629
-
630
472
  Subject?: string;
631
-
632
473
  MessageStructure?: string;
633
-
634
474
  MessageAttributes?: Record<string, MessageAttributeValue>;
635
-
636
475
  MessageDeduplicationId?: string;
637
-
638
476
  MessageGroupId?: string;
639
477
  }
640
478
  export interface PublishBatchInput {
641
479
  TopicArn: string | undefined;
642
-
643
480
  PublishBatchRequestEntries: PublishBatchRequestEntry[] | undefined;
644
481
  }
645
-
646
482
  export interface BatchResultErrorEntry {
647
483
  Id: string | undefined;
648
-
649
484
  Code: string | undefined;
650
-
651
485
  Message?: string;
652
-
653
486
  SenderFault: boolean | undefined;
654
487
  }
655
-
656
488
  export interface PublishBatchResultEntry {
657
489
  Id?: string;
658
-
659
490
  MessageId?: string;
660
-
661
491
  SequenceNumber?: string;
662
492
  }
663
493
  export interface PublishBatchResponse {
664
494
  Successful?: PublishBatchResultEntry[];
665
-
666
495
  Failed?: BatchResultErrorEntry[];
667
496
  }
668
-
669
497
  export declare class TooManyEntriesInBatchRequestException extends __BaseException {
670
498
  readonly name: "TooManyEntriesInBatchRequestException";
671
499
  readonly $fault: "client";
672
-
673
500
  constructor(
674
501
  opts: __ExceptionOptionType<
675
502
  TooManyEntriesInBatchRequestException,
@@ -679,423 +506,310 @@ export declare class TooManyEntriesInBatchRequestException extends __BaseExcepti
679
506
  }
680
507
  export interface PutDataProtectionPolicyInput {
681
508
  ResourceArn: string | undefined;
682
-
683
509
  DataProtectionPolicy: string | undefined;
684
510
  }
685
-
686
511
  export interface RemovePermissionInput {
687
512
  TopicArn: string | undefined;
688
-
689
513
  Label: string | undefined;
690
514
  }
691
-
692
515
  export interface SetEndpointAttributesInput {
693
516
  EndpointArn: string | undefined;
694
-
695
517
  Attributes: Record<string, string> | undefined;
696
518
  }
697
-
698
519
  export interface SetPlatformApplicationAttributesInput {
699
520
  PlatformApplicationArn: string | undefined;
700
-
701
521
  Attributes: Record<string, string> | undefined;
702
522
  }
703
-
704
523
  export interface SetSMSAttributesInput {
705
524
  attributes: Record<string, string> | undefined;
706
525
  }
707
-
708
526
  export interface SetSMSAttributesResponse {}
709
-
710
527
  export interface SetSubscriptionAttributesInput {
711
528
  SubscriptionArn: string | undefined;
712
-
713
529
  AttributeName: string | undefined;
714
-
715
530
  AttributeValue?: string;
716
531
  }
717
-
718
532
  export interface SetTopicAttributesInput {
719
533
  TopicArn: string | undefined;
720
-
721
534
  AttributeName: string | undefined;
722
-
723
535
  AttributeValue?: string;
724
536
  }
725
-
726
537
  export interface SubscribeInput {
727
538
  TopicArn: string | undefined;
728
-
729
539
  Protocol: string | undefined;
730
-
731
540
  Endpoint?: string;
732
-
733
541
  Attributes?: Record<string, string>;
734
-
735
542
  ReturnSubscriptionArn?: boolean;
736
543
  }
737
-
738
544
  export interface SubscribeResponse {
739
545
  SubscriptionArn?: string;
740
546
  }
741
547
  export interface TagResourceRequest {
742
548
  ResourceArn: string | undefined;
743
-
744
549
  Tags: Tag[] | undefined;
745
550
  }
746
551
  export interface TagResourceResponse {}
747
-
748
552
  export interface UnsubscribeInput {
749
553
  SubscriptionArn: string | undefined;
750
554
  }
751
555
  export interface UntagResourceRequest {
752
556
  ResourceArn: string | undefined;
753
-
754
557
  TagKeys: string[] | undefined;
755
558
  }
756
559
  export interface UntagResourceResponse {}
757
-
758
560
  export declare class VerificationException extends __BaseException {
759
561
  readonly name: "VerificationException";
760
562
  readonly $fault: "client";
761
563
  Message: string | undefined;
762
-
763
564
  Status: string | undefined;
764
-
765
565
  constructor(
766
566
  opts: __ExceptionOptionType<VerificationException, __BaseException>
767
567
  );
768
568
  }
769
569
  export interface VerifySMSSandboxPhoneNumberInput {
770
570
  PhoneNumber: string | undefined;
771
-
772
571
  OneTimePassword: string | undefined;
773
572
  }
774
-
775
573
  export interface VerifySMSSandboxPhoneNumberResult {}
776
-
777
574
  export declare const AddPermissionInputFilterSensitiveLog: (
778
575
  obj: AddPermissionInput
779
576
  ) => any;
780
-
781
577
  export declare const CheckIfPhoneNumberIsOptedOutInputFilterSensitiveLog: (
782
578
  obj: CheckIfPhoneNumberIsOptedOutInput
783
579
  ) => any;
784
-
785
580
  export declare const CheckIfPhoneNumberIsOptedOutResponseFilterSensitiveLog: (
786
581
  obj: CheckIfPhoneNumberIsOptedOutResponse
787
582
  ) => any;
788
-
789
583
  export declare const ConfirmSubscriptionInputFilterSensitiveLog: (
790
584
  obj: ConfirmSubscriptionInput
791
585
  ) => any;
792
-
793
586
  export declare const ConfirmSubscriptionResponseFilterSensitiveLog: (
794
587
  obj: ConfirmSubscriptionResponse
795
588
  ) => any;
796
-
797
589
  export declare const CreatePlatformApplicationInputFilterSensitiveLog: (
798
590
  obj: CreatePlatformApplicationInput
799
591
  ) => any;
800
-
801
592
  export declare const CreatePlatformApplicationResponseFilterSensitiveLog: (
802
593
  obj: CreatePlatformApplicationResponse
803
594
  ) => any;
804
-
805
595
  export declare const CreateEndpointResponseFilterSensitiveLog: (
806
596
  obj: CreateEndpointResponse
807
597
  ) => any;
808
-
809
598
  export declare const CreatePlatformEndpointInputFilterSensitiveLog: (
810
599
  obj: CreatePlatformEndpointInput
811
600
  ) => any;
812
-
813
601
  export declare const CreateSMSSandboxPhoneNumberInputFilterSensitiveLog: (
814
602
  obj: CreateSMSSandboxPhoneNumberInput
815
603
  ) => any;
816
-
817
604
  export declare const CreateSMSSandboxPhoneNumberResultFilterSensitiveLog: (
818
605
  obj: CreateSMSSandboxPhoneNumberResult
819
606
  ) => any;
820
-
821
607
  export declare const TagFilterSensitiveLog: (obj: Tag) => any;
822
-
823
608
  export declare const CreateTopicInputFilterSensitiveLog: (
824
609
  obj: CreateTopicInput
825
610
  ) => any;
826
-
827
611
  export declare const CreateTopicResponseFilterSensitiveLog: (
828
612
  obj: CreateTopicResponse
829
613
  ) => any;
830
-
831
614
  export declare const DeleteEndpointInputFilterSensitiveLog: (
832
615
  obj: DeleteEndpointInput
833
616
  ) => any;
834
-
835
617
  export declare const DeletePlatformApplicationInputFilterSensitiveLog: (
836
618
  obj: DeletePlatformApplicationInput
837
619
  ) => any;
838
-
839
620
  export declare const DeleteSMSSandboxPhoneNumberInputFilterSensitiveLog: (
840
621
  obj: DeleteSMSSandboxPhoneNumberInput
841
622
  ) => any;
842
-
843
623
  export declare const DeleteSMSSandboxPhoneNumberResultFilterSensitiveLog: (
844
624
  obj: DeleteSMSSandboxPhoneNumberResult
845
625
  ) => any;
846
-
847
626
  export declare const DeleteTopicInputFilterSensitiveLog: (
848
627
  obj: DeleteTopicInput
849
628
  ) => any;
850
-
851
629
  export declare const GetDataProtectionPolicyInputFilterSensitiveLog: (
852
630
  obj: GetDataProtectionPolicyInput
853
631
  ) => any;
854
-
855
632
  export declare const GetDataProtectionPolicyResponseFilterSensitiveLog: (
856
633
  obj: GetDataProtectionPolicyResponse
857
634
  ) => any;
858
-
859
635
  export declare const GetEndpointAttributesInputFilterSensitiveLog: (
860
636
  obj: GetEndpointAttributesInput
861
637
  ) => any;
862
-
863
638
  export declare const GetEndpointAttributesResponseFilterSensitiveLog: (
864
639
  obj: GetEndpointAttributesResponse
865
640
  ) => any;
866
-
867
641
  export declare const GetPlatformApplicationAttributesInputFilterSensitiveLog: (
868
642
  obj: GetPlatformApplicationAttributesInput
869
643
  ) => any;
870
-
871
644
  export declare const GetPlatformApplicationAttributesResponseFilterSensitiveLog: (
872
645
  obj: GetPlatformApplicationAttributesResponse
873
646
  ) => any;
874
-
875
647
  export declare const GetSMSAttributesInputFilterSensitiveLog: (
876
648
  obj: GetSMSAttributesInput
877
649
  ) => any;
878
-
879
650
  export declare const GetSMSAttributesResponseFilterSensitiveLog: (
880
651
  obj: GetSMSAttributesResponse
881
652
  ) => any;
882
-
883
653
  export declare const GetSMSSandboxAccountStatusInputFilterSensitiveLog: (
884
654
  obj: GetSMSSandboxAccountStatusInput
885
655
  ) => any;
886
-
887
656
  export declare const GetSMSSandboxAccountStatusResultFilterSensitiveLog: (
888
657
  obj: GetSMSSandboxAccountStatusResult
889
658
  ) => any;
890
-
891
659
  export declare const GetSubscriptionAttributesInputFilterSensitiveLog: (
892
660
  obj: GetSubscriptionAttributesInput
893
661
  ) => any;
894
-
895
662
  export declare const GetSubscriptionAttributesResponseFilterSensitiveLog: (
896
663
  obj: GetSubscriptionAttributesResponse
897
664
  ) => any;
898
-
899
665
  export declare const GetTopicAttributesInputFilterSensitiveLog: (
900
666
  obj: GetTopicAttributesInput
901
667
  ) => any;
902
-
903
668
  export declare const GetTopicAttributesResponseFilterSensitiveLog: (
904
669
  obj: GetTopicAttributesResponse
905
670
  ) => any;
906
-
907
671
  export declare const ListEndpointsByPlatformApplicationInputFilterSensitiveLog: (
908
672
  obj: ListEndpointsByPlatformApplicationInput
909
673
  ) => any;
910
-
911
674
  export declare const EndpointFilterSensitiveLog: (obj: Endpoint) => any;
912
-
913
675
  export declare const ListEndpointsByPlatformApplicationResponseFilterSensitiveLog: (
914
676
  obj: ListEndpointsByPlatformApplicationResponse
915
677
  ) => any;
916
-
917
678
  export declare const ListOriginationNumbersRequestFilterSensitiveLog: (
918
679
  obj: ListOriginationNumbersRequest
919
680
  ) => any;
920
-
921
681
  export declare const PhoneNumberInformationFilterSensitiveLog: (
922
682
  obj: PhoneNumberInformation
923
683
  ) => any;
924
-
925
684
  export declare const ListOriginationNumbersResultFilterSensitiveLog: (
926
685
  obj: ListOriginationNumbersResult
927
686
  ) => any;
928
-
929
687
  export declare const ListPhoneNumbersOptedOutInputFilterSensitiveLog: (
930
688
  obj: ListPhoneNumbersOptedOutInput
931
689
  ) => any;
932
-
933
690
  export declare const ListPhoneNumbersOptedOutResponseFilterSensitiveLog: (
934
691
  obj: ListPhoneNumbersOptedOutResponse
935
692
  ) => any;
936
-
937
693
  export declare const ListPlatformApplicationsInputFilterSensitiveLog: (
938
694
  obj: ListPlatformApplicationsInput
939
695
  ) => any;
940
-
941
696
  export declare const PlatformApplicationFilterSensitiveLog: (
942
697
  obj: PlatformApplication
943
698
  ) => any;
944
-
945
699
  export declare const ListPlatformApplicationsResponseFilterSensitiveLog: (
946
700
  obj: ListPlatformApplicationsResponse
947
701
  ) => any;
948
-
949
702
  export declare const ListSMSSandboxPhoneNumbersInputFilterSensitiveLog: (
950
703
  obj: ListSMSSandboxPhoneNumbersInput
951
704
  ) => any;
952
-
953
705
  export declare const SMSSandboxPhoneNumberFilterSensitiveLog: (
954
706
  obj: SMSSandboxPhoneNumber
955
707
  ) => any;
956
-
957
708
  export declare const ListSMSSandboxPhoneNumbersResultFilterSensitiveLog: (
958
709
  obj: ListSMSSandboxPhoneNumbersResult
959
710
  ) => any;
960
-
961
711
  export declare const ListSubscriptionsInputFilterSensitiveLog: (
962
712
  obj: ListSubscriptionsInput
963
713
  ) => any;
964
-
965
714
  export declare const SubscriptionFilterSensitiveLog: (obj: Subscription) => any;
966
-
967
715
  export declare const ListSubscriptionsResponseFilterSensitiveLog: (
968
716
  obj: ListSubscriptionsResponse
969
717
  ) => any;
970
-
971
718
  export declare const ListSubscriptionsByTopicInputFilterSensitiveLog: (
972
719
  obj: ListSubscriptionsByTopicInput
973
720
  ) => any;
974
-
975
721
  export declare const ListSubscriptionsByTopicResponseFilterSensitiveLog: (
976
722
  obj: ListSubscriptionsByTopicResponse
977
723
  ) => any;
978
-
979
724
  export declare const ListTagsForResourceRequestFilterSensitiveLog: (
980
725
  obj: ListTagsForResourceRequest
981
726
  ) => any;
982
-
983
727
  export declare const ListTagsForResourceResponseFilterSensitiveLog: (
984
728
  obj: ListTagsForResourceResponse
985
729
  ) => any;
986
-
987
730
  export declare const ListTopicsInputFilterSensitiveLog: (
988
731
  obj: ListTopicsInput
989
732
  ) => any;
990
-
991
733
  export declare const TopicFilterSensitiveLog: (obj: Topic) => any;
992
-
993
734
  export declare const ListTopicsResponseFilterSensitiveLog: (
994
735
  obj: ListTopicsResponse
995
736
  ) => any;
996
-
997
737
  export declare const OptInPhoneNumberInputFilterSensitiveLog: (
998
738
  obj: OptInPhoneNumberInput
999
739
  ) => any;
1000
-
1001
740
  export declare const OptInPhoneNumberResponseFilterSensitiveLog: (
1002
741
  obj: OptInPhoneNumberResponse
1003
742
  ) => any;
1004
-
1005
743
  export declare const MessageAttributeValueFilterSensitiveLog: (
1006
744
  obj: MessageAttributeValue
1007
745
  ) => any;
1008
-
1009
746
  export declare const PublishInputFilterSensitiveLog: (obj: PublishInput) => any;
1010
-
1011
747
  export declare const PublishResponseFilterSensitiveLog: (
1012
748
  obj: PublishResponse
1013
749
  ) => any;
1014
-
1015
750
  export declare const PublishBatchRequestEntryFilterSensitiveLog: (
1016
751
  obj: PublishBatchRequestEntry
1017
752
  ) => any;
1018
-
1019
753
  export declare const PublishBatchInputFilterSensitiveLog: (
1020
754
  obj: PublishBatchInput
1021
755
  ) => any;
1022
-
1023
756
  export declare const BatchResultErrorEntryFilterSensitiveLog: (
1024
757
  obj: BatchResultErrorEntry
1025
758
  ) => any;
1026
-
1027
759
  export declare const PublishBatchResultEntryFilterSensitiveLog: (
1028
760
  obj: PublishBatchResultEntry
1029
761
  ) => any;
1030
-
1031
762
  export declare const PublishBatchResponseFilterSensitiveLog: (
1032
763
  obj: PublishBatchResponse
1033
764
  ) => any;
1034
-
1035
765
  export declare const PutDataProtectionPolicyInputFilterSensitiveLog: (
1036
766
  obj: PutDataProtectionPolicyInput
1037
767
  ) => any;
1038
-
1039
768
  export declare const RemovePermissionInputFilterSensitiveLog: (
1040
769
  obj: RemovePermissionInput
1041
770
  ) => any;
1042
-
1043
771
  export declare const SetEndpointAttributesInputFilterSensitiveLog: (
1044
772
  obj: SetEndpointAttributesInput
1045
773
  ) => any;
1046
-
1047
774
  export declare const SetPlatformApplicationAttributesInputFilterSensitiveLog: (
1048
775
  obj: SetPlatformApplicationAttributesInput
1049
776
  ) => any;
1050
-
1051
777
  export declare const SetSMSAttributesInputFilterSensitiveLog: (
1052
778
  obj: SetSMSAttributesInput
1053
779
  ) => any;
1054
-
1055
780
  export declare const SetSMSAttributesResponseFilterSensitiveLog: (
1056
781
  obj: SetSMSAttributesResponse
1057
782
  ) => any;
1058
-
1059
783
  export declare const SetSubscriptionAttributesInputFilterSensitiveLog: (
1060
784
  obj: SetSubscriptionAttributesInput
1061
785
  ) => any;
1062
-
1063
786
  export declare const SetTopicAttributesInputFilterSensitiveLog: (
1064
787
  obj: SetTopicAttributesInput
1065
788
  ) => any;
1066
-
1067
789
  export declare const SubscribeInputFilterSensitiveLog: (
1068
790
  obj: SubscribeInput
1069
791
  ) => any;
1070
-
1071
792
  export declare const SubscribeResponseFilterSensitiveLog: (
1072
793
  obj: SubscribeResponse
1073
794
  ) => any;
1074
-
1075
795
  export declare const TagResourceRequestFilterSensitiveLog: (
1076
796
  obj: TagResourceRequest
1077
797
  ) => any;
1078
-
1079
798
  export declare const TagResourceResponseFilterSensitiveLog: (
1080
799
  obj: TagResourceResponse
1081
800
  ) => any;
1082
-
1083
801
  export declare const UnsubscribeInputFilterSensitiveLog: (
1084
802
  obj: UnsubscribeInput
1085
803
  ) => any;
1086
-
1087
804
  export declare const UntagResourceRequestFilterSensitiveLog: (
1088
805
  obj: UntagResourceRequest
1089
806
  ) => any;
1090
-
1091
807
  export declare const UntagResourceResponseFilterSensitiveLog: (
1092
808
  obj: UntagResourceResponse
1093
809
  ) => any;
1094
-
1095
810
  export declare const VerifySMSSandboxPhoneNumberInputFilterSensitiveLog: (
1096
811
  obj: VerifySMSSandboxPhoneNumberInput
1097
812
  ) => any;
1098
-
1099
813
  export declare const VerifySMSSandboxPhoneNumberResultFilterSensitiveLog: (
1100
814
  obj: VerifySMSSandboxPhoneNumberResult
1101
815
  ) => any;