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