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