@aws-sdk/client-sns 3.296.0 → 3.297.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.
- package/dist-cjs/protocols/Aws_query.js +65 -224
- package/dist-es/protocols/Aws_query.js +65 -224
- package/dist-types/SNS.d.ts +43 -0
- package/dist-types/SNSClient.d.ts +24 -4
- package/dist-types/commands/AddPermissionCommand.d.ts +16 -0
- package/dist-types/commands/CheckIfPhoneNumberIsOptedOutCommand.d.ts +16 -0
- package/dist-types/commands/ConfirmSubscriptionCommand.d.ts +16 -0
- package/dist-types/commands/CreatePlatformApplicationCommand.d.ts +16 -0
- package/dist-types/commands/CreatePlatformEndpointCommand.d.ts +16 -0
- package/dist-types/commands/CreateSMSSandboxPhoneNumberCommand.d.ts +16 -0
- package/dist-types/commands/CreateTopicCommand.d.ts +16 -0
- package/dist-types/commands/DeleteEndpointCommand.d.ts +16 -0
- package/dist-types/commands/DeletePlatformApplicationCommand.d.ts +16 -0
- package/dist-types/commands/DeleteSMSSandboxPhoneNumberCommand.d.ts +16 -0
- package/dist-types/commands/DeleteTopicCommand.d.ts +16 -0
- package/dist-types/commands/GetDataProtectionPolicyCommand.d.ts +16 -0
- package/dist-types/commands/GetEndpointAttributesCommand.d.ts +16 -0
- package/dist-types/commands/GetPlatformApplicationAttributesCommand.d.ts +16 -0
- package/dist-types/commands/GetSMSAttributesCommand.d.ts +16 -0
- package/dist-types/commands/GetSMSSandboxAccountStatusCommand.d.ts +16 -0
- package/dist-types/commands/GetSubscriptionAttributesCommand.d.ts +16 -0
- package/dist-types/commands/GetTopicAttributesCommand.d.ts +16 -0
- package/dist-types/commands/ListEndpointsByPlatformApplicationCommand.d.ts +16 -0
- package/dist-types/commands/ListOriginationNumbersCommand.d.ts +16 -0
- package/dist-types/commands/ListPhoneNumbersOptedOutCommand.d.ts +16 -0
- package/dist-types/commands/ListPlatformApplicationsCommand.d.ts +16 -0
- package/dist-types/commands/ListSMSSandboxPhoneNumbersCommand.d.ts +16 -0
- package/dist-types/commands/ListSubscriptionsByTopicCommand.d.ts +16 -0
- package/dist-types/commands/ListSubscriptionsCommand.d.ts +16 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +16 -0
- package/dist-types/commands/ListTopicsCommand.d.ts +16 -0
- package/dist-types/commands/OptInPhoneNumberCommand.d.ts +16 -0
- package/dist-types/commands/PublishBatchCommand.d.ts +16 -0
- package/dist-types/commands/PublishCommand.d.ts +16 -0
- package/dist-types/commands/PutDataProtectionPolicyCommand.d.ts +16 -0
- package/dist-types/commands/RemovePermissionCommand.d.ts +16 -0
- package/dist-types/commands/SetEndpointAttributesCommand.d.ts +16 -0
- package/dist-types/commands/SetPlatformApplicationAttributesCommand.d.ts +16 -0
- package/dist-types/commands/SetSMSAttributesCommand.d.ts +16 -0
- package/dist-types/commands/SetSubscriptionAttributesCommand.d.ts +16 -0
- package/dist-types/commands/SetTopicAttributesCommand.d.ts +16 -0
- package/dist-types/commands/SubscribeCommand.d.ts +16 -0
- package/dist-types/commands/TagResourceCommand.d.ts +16 -0
- package/dist-types/commands/UnsubscribeCommand.d.ts +16 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +16 -0
- package/dist-types/commands/VerifySMSSandboxPhoneNumberCommand.d.ts +16 -0
- package/dist-types/models/SNSServiceException.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +182 -4
- package/dist-types/pagination/Interfaces.d.ts +3 -0
- package/dist-types/pagination/ListEndpointsByPlatformApplicationPaginator.d.ts +3 -0
- package/dist-types/pagination/ListOriginationNumbersPaginator.d.ts +3 -0
- package/dist-types/pagination/ListPhoneNumbersOptedOutPaginator.d.ts +3 -0
- package/dist-types/pagination/ListPlatformApplicationsPaginator.d.ts +3 -0
- package/dist-types/pagination/ListSMSSandboxPhoneNumbersPaginator.d.ts +3 -0
- package/dist-types/pagination/ListSubscriptionsByTopicPaginator.d.ts +3 -0
- package/dist-types/pagination/ListSubscriptionsPaginator.d.ts +3 -0
- package/dist-types/pagination/ListTopicsPaginator.d.ts +3 -0
- package/package.json +3 -3
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { SNSServiceException as __BaseException } from "./SNSServiceException";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
3
6
|
export interface AddPermissionInput {
|
|
4
7
|
/**
|
|
5
8
|
* <p>The ARN of the topic whose access control policy you wish to modify.</p>
|
|
@@ -22,6 +25,7 @@ export interface AddPermissionInput {
|
|
|
22
25
|
ActionName: string[] | undefined;
|
|
23
26
|
}
|
|
24
27
|
/**
|
|
28
|
+
* @public
|
|
25
29
|
* <p>Indicates that the user has been denied access to the requested resource.</p>
|
|
26
30
|
*/
|
|
27
31
|
export declare class AuthorizationErrorException extends __BaseException {
|
|
@@ -33,6 +37,7 @@ export declare class AuthorizationErrorException extends __BaseException {
|
|
|
33
37
|
constructor(opts: __ExceptionOptionType<AuthorizationErrorException, __BaseException>);
|
|
34
38
|
}
|
|
35
39
|
/**
|
|
40
|
+
* @public
|
|
36
41
|
* <p>Indicates an internal service error.</p>
|
|
37
42
|
*/
|
|
38
43
|
export declare class InternalErrorException extends __BaseException {
|
|
@@ -44,6 +49,7 @@ export declare class InternalErrorException extends __BaseException {
|
|
|
44
49
|
constructor(opts: __ExceptionOptionType<InternalErrorException, __BaseException>);
|
|
45
50
|
}
|
|
46
51
|
/**
|
|
52
|
+
* @public
|
|
47
53
|
* <p>Indicates that a request parameter does not comply with the associated
|
|
48
54
|
* constraints.</p>
|
|
49
55
|
*/
|
|
@@ -56,6 +62,7 @@ export declare class InvalidParameterException extends __BaseException {
|
|
|
56
62
|
constructor(opts: __ExceptionOptionType<InvalidParameterException, __BaseException>);
|
|
57
63
|
}
|
|
58
64
|
/**
|
|
65
|
+
* @public
|
|
59
66
|
* <p>Indicates that the requested resource does not exist.</p>
|
|
60
67
|
*/
|
|
61
68
|
export declare class NotFoundException extends __BaseException {
|
|
@@ -67,6 +74,7 @@ export declare class NotFoundException extends __BaseException {
|
|
|
67
74
|
constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
|
|
68
75
|
}
|
|
69
76
|
/**
|
|
77
|
+
* @public
|
|
70
78
|
* <p>The input for the <code>CheckIfPhoneNumberIsOptedOut</code> action.</p>
|
|
71
79
|
*/
|
|
72
80
|
export interface CheckIfPhoneNumberIsOptedOutInput {
|
|
@@ -76,6 +84,7 @@ export interface CheckIfPhoneNumberIsOptedOutInput {
|
|
|
76
84
|
phoneNumber: string | undefined;
|
|
77
85
|
}
|
|
78
86
|
/**
|
|
87
|
+
* @public
|
|
79
88
|
* <p>The response from the <code>CheckIfPhoneNumberIsOptedOut</code> action.</p>
|
|
80
89
|
*/
|
|
81
90
|
export interface CheckIfPhoneNumberIsOptedOutResponse {
|
|
@@ -97,6 +106,7 @@ export interface CheckIfPhoneNumberIsOptedOutResponse {
|
|
|
97
106
|
isOptedOut?: boolean;
|
|
98
107
|
}
|
|
99
108
|
/**
|
|
109
|
+
* @public
|
|
100
110
|
* <p>Indicates that the rate at which requests have been submitted for this action exceeds the limit for your Amazon Web Services account.</p>
|
|
101
111
|
*/
|
|
102
112
|
export declare class ThrottledException extends __BaseException {
|
|
@@ -108,6 +118,7 @@ export declare class ThrottledException extends __BaseException {
|
|
|
108
118
|
constructor(opts: __ExceptionOptionType<ThrottledException, __BaseException>);
|
|
109
119
|
}
|
|
110
120
|
/**
|
|
121
|
+
* @public
|
|
111
122
|
* <p>Input for ConfirmSubscription action.</p>
|
|
112
123
|
*/
|
|
113
124
|
export interface ConfirmSubscriptionInput {
|
|
@@ -128,6 +139,7 @@ export interface ConfirmSubscriptionInput {
|
|
|
128
139
|
AuthenticateOnUnsubscribe?: string;
|
|
129
140
|
}
|
|
130
141
|
/**
|
|
142
|
+
* @public
|
|
131
143
|
* <p>Response for ConfirmSubscriptions action.</p>
|
|
132
144
|
*/
|
|
133
145
|
export interface ConfirmSubscriptionResponse {
|
|
@@ -137,6 +149,7 @@ export interface ConfirmSubscriptionResponse {
|
|
|
137
149
|
SubscriptionArn?: string;
|
|
138
150
|
}
|
|
139
151
|
/**
|
|
152
|
+
* @public
|
|
140
153
|
* <p>Indicates that the number of filter polices in your Amazon Web Services account exceeds the limit. To
|
|
141
154
|
* add more filter polices, submit an Amazon SNS Limit Increase case in the Amazon Web Services Support
|
|
142
155
|
* Center.</p>
|
|
@@ -150,6 +163,7 @@ export declare class FilterPolicyLimitExceededException extends __BaseException
|
|
|
150
163
|
constructor(opts: __ExceptionOptionType<FilterPolicyLimitExceededException, __BaseException>);
|
|
151
164
|
}
|
|
152
165
|
/**
|
|
166
|
+
* @public
|
|
153
167
|
* <p>Indicates that the customer already owns the maximum allowed number of
|
|
154
168
|
* subscriptions.</p>
|
|
155
169
|
*/
|
|
@@ -162,6 +176,7 @@ export declare class SubscriptionLimitExceededException extends __BaseException
|
|
|
162
176
|
constructor(opts: __ExceptionOptionType<SubscriptionLimitExceededException, __BaseException>);
|
|
163
177
|
}
|
|
164
178
|
/**
|
|
179
|
+
* @public
|
|
165
180
|
* <p>Input for CreatePlatformApplication action.</p>
|
|
166
181
|
*/
|
|
167
182
|
export interface CreatePlatformApplicationInput {
|
|
@@ -182,6 +197,7 @@ export interface CreatePlatformApplicationInput {
|
|
|
182
197
|
Attributes: Record<string, string> | undefined;
|
|
183
198
|
}
|
|
184
199
|
/**
|
|
200
|
+
* @public
|
|
185
201
|
* <p>Response from CreatePlatformApplication action.</p>
|
|
186
202
|
*/
|
|
187
203
|
export interface CreatePlatformApplicationResponse {
|
|
@@ -191,6 +207,7 @@ export interface CreatePlatformApplicationResponse {
|
|
|
191
207
|
PlatformApplicationArn?: string;
|
|
192
208
|
}
|
|
193
209
|
/**
|
|
210
|
+
* @public
|
|
194
211
|
* <p>Response from CreateEndpoint action.</p>
|
|
195
212
|
*/
|
|
196
213
|
export interface CreateEndpointResponse {
|
|
@@ -200,6 +217,7 @@ export interface CreateEndpointResponse {
|
|
|
200
217
|
EndpointArn?: string;
|
|
201
218
|
}
|
|
202
219
|
/**
|
|
220
|
+
* @public
|
|
203
221
|
* <p>Input for CreatePlatformEndpoint action.</p>
|
|
204
222
|
*/
|
|
205
223
|
export interface CreatePlatformEndpointInput {
|
|
@@ -226,6 +244,9 @@ export interface CreatePlatformEndpointInput {
|
|
|
226
244
|
*/
|
|
227
245
|
Attributes?: Record<string, string>;
|
|
228
246
|
}
|
|
247
|
+
/**
|
|
248
|
+
* @public
|
|
249
|
+
*/
|
|
229
250
|
export declare enum LanguageCodeString {
|
|
230
251
|
de_DE = "de-DE",
|
|
231
252
|
en_GB = "en-GB",
|
|
@@ -241,6 +262,9 @@ export declare enum LanguageCodeString {
|
|
|
241
262
|
zh_CN = "zh-CN",
|
|
242
263
|
zh_TW = "zh-TW"
|
|
243
264
|
}
|
|
265
|
+
/**
|
|
266
|
+
* @public
|
|
267
|
+
*/
|
|
244
268
|
export interface CreateSMSSandboxPhoneNumberInput {
|
|
245
269
|
/**
|
|
246
270
|
* <p>The destination phone number to verify. On verification, Amazon SNS adds this phone number
|
|
@@ -253,9 +277,13 @@ export interface CreateSMSSandboxPhoneNumberInput {
|
|
|
253
277
|
*/
|
|
254
278
|
LanguageCode?: LanguageCodeString | string;
|
|
255
279
|
}
|
|
280
|
+
/**
|
|
281
|
+
* @public
|
|
282
|
+
*/
|
|
256
283
|
export interface CreateSMSSandboxPhoneNumberResult {
|
|
257
284
|
}
|
|
258
285
|
/**
|
|
286
|
+
* @public
|
|
259
287
|
* <p>Indicates that the specified phone number opted out of receiving SMS messages from
|
|
260
288
|
* your Amazon Web Services account. You can't send SMS messages to phone numbers that opt out.</p>
|
|
261
289
|
*/
|
|
@@ -268,6 +296,7 @@ export declare class OptedOutException extends __BaseException {
|
|
|
268
296
|
constructor(opts: __ExceptionOptionType<OptedOutException, __BaseException>);
|
|
269
297
|
}
|
|
270
298
|
/**
|
|
299
|
+
* @public
|
|
271
300
|
* <p>Indicates that a request parameter does not comply with the associated
|
|
272
301
|
* constraints.</p>
|
|
273
302
|
*/
|
|
@@ -280,6 +309,7 @@ export declare class UserErrorException extends __BaseException {
|
|
|
280
309
|
constructor(opts: __ExceptionOptionType<UserErrorException, __BaseException>);
|
|
281
310
|
}
|
|
282
311
|
/**
|
|
312
|
+
* @public
|
|
283
313
|
* <p>Can't perform multiple operations on a tag simultaneously. Perform the operations
|
|
284
314
|
* sequentially.</p>
|
|
285
315
|
*/
|
|
@@ -292,6 +322,7 @@ export declare class ConcurrentAccessException extends __BaseException {
|
|
|
292
322
|
constructor(opts: __ExceptionOptionType<ConcurrentAccessException, __BaseException>);
|
|
293
323
|
}
|
|
294
324
|
/**
|
|
325
|
+
* @public
|
|
295
326
|
* <p>The list of tags to be added to the specified topic.</p>
|
|
296
327
|
*/
|
|
297
328
|
export interface Tag {
|
|
@@ -305,6 +336,7 @@ export interface Tag {
|
|
|
305
336
|
Value: string | undefined;
|
|
306
337
|
}
|
|
307
338
|
/**
|
|
339
|
+
* @public
|
|
308
340
|
* <p>Input for CreateTopic action.</p>
|
|
309
341
|
*/
|
|
310
342
|
export interface CreateTopicInput {
|
|
@@ -418,6 +450,7 @@ export interface CreateTopicInput {
|
|
|
418
450
|
DataProtectionPolicy?: string;
|
|
419
451
|
}
|
|
420
452
|
/**
|
|
453
|
+
* @public
|
|
421
454
|
* <p>Response from CreateTopic action.</p>
|
|
422
455
|
*/
|
|
423
456
|
export interface CreateTopicResponse {
|
|
@@ -427,6 +460,7 @@ export interface CreateTopicResponse {
|
|
|
427
460
|
TopicArn?: string;
|
|
428
461
|
}
|
|
429
462
|
/**
|
|
463
|
+
* @public
|
|
430
464
|
* <p>The credential signature isn't valid. You must use an HTTPS endpoint and sign your
|
|
431
465
|
* request using Signature Version 4.</p>
|
|
432
466
|
*/
|
|
@@ -439,6 +473,7 @@ export declare class InvalidSecurityException extends __BaseException {
|
|
|
439
473
|
constructor(opts: __ExceptionOptionType<InvalidSecurityException, __BaseException>);
|
|
440
474
|
}
|
|
441
475
|
/**
|
|
476
|
+
* @public
|
|
442
477
|
* <p>A tag has been added to a resource with the same ARN as a deleted resource. Wait a
|
|
443
478
|
* short while and then retry the operation.</p>
|
|
444
479
|
*/
|
|
@@ -451,6 +486,7 @@ export declare class StaleTagException extends __BaseException {
|
|
|
451
486
|
constructor(opts: __ExceptionOptionType<StaleTagException, __BaseException>);
|
|
452
487
|
}
|
|
453
488
|
/**
|
|
489
|
+
* @public
|
|
454
490
|
* <p>Can't add more than 50 tags to a topic.</p>
|
|
455
491
|
*/
|
|
456
492
|
export declare class TagLimitExceededException extends __BaseException {
|
|
@@ -462,6 +498,7 @@ export declare class TagLimitExceededException extends __BaseException {
|
|
|
462
498
|
constructor(opts: __ExceptionOptionType<TagLimitExceededException, __BaseException>);
|
|
463
499
|
}
|
|
464
500
|
/**
|
|
501
|
+
* @public
|
|
465
502
|
* <p>The request doesn't comply with the IAM tag policy. Correct your request and then
|
|
466
503
|
* retry it.</p>
|
|
467
504
|
*/
|
|
@@ -474,6 +511,7 @@ export declare class TagPolicyException extends __BaseException {
|
|
|
474
511
|
constructor(opts: __ExceptionOptionType<TagPolicyException, __BaseException>);
|
|
475
512
|
}
|
|
476
513
|
/**
|
|
514
|
+
* @public
|
|
477
515
|
* <p>Indicates that the customer already owns the maximum allowed number of topics.</p>
|
|
478
516
|
*/
|
|
479
517
|
export declare class TopicLimitExceededException extends __BaseException {
|
|
@@ -485,6 +523,7 @@ export declare class TopicLimitExceededException extends __BaseException {
|
|
|
485
523
|
constructor(opts: __ExceptionOptionType<TopicLimitExceededException, __BaseException>);
|
|
486
524
|
}
|
|
487
525
|
/**
|
|
526
|
+
* @public
|
|
488
527
|
* <p>Input for DeleteEndpoint action.</p>
|
|
489
528
|
*/
|
|
490
529
|
export interface DeleteEndpointInput {
|
|
@@ -494,6 +533,7 @@ export interface DeleteEndpointInput {
|
|
|
494
533
|
EndpointArn: string | undefined;
|
|
495
534
|
}
|
|
496
535
|
/**
|
|
536
|
+
* @public
|
|
497
537
|
* <p>Input for DeletePlatformApplication action.</p>
|
|
498
538
|
*/
|
|
499
539
|
export interface DeletePlatformApplicationInput {
|
|
@@ -502,15 +542,22 @@ export interface DeletePlatformApplicationInput {
|
|
|
502
542
|
*/
|
|
503
543
|
PlatformApplicationArn: string | undefined;
|
|
504
544
|
}
|
|
545
|
+
/**
|
|
546
|
+
* @public
|
|
547
|
+
*/
|
|
505
548
|
export interface DeleteSMSSandboxPhoneNumberInput {
|
|
506
549
|
/**
|
|
507
550
|
* <p>The destination phone number to delete.</p>
|
|
508
551
|
*/
|
|
509
552
|
PhoneNumber: string | undefined;
|
|
510
553
|
}
|
|
554
|
+
/**
|
|
555
|
+
* @public
|
|
556
|
+
*/
|
|
511
557
|
export interface DeleteSMSSandboxPhoneNumberResult {
|
|
512
558
|
}
|
|
513
559
|
/**
|
|
560
|
+
* @public
|
|
514
561
|
* <p>Can’t perform the action on the specified resource. Make sure that the resource
|
|
515
562
|
* exists.</p>
|
|
516
563
|
*/
|
|
@@ -522,12 +569,18 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
522
569
|
*/
|
|
523
570
|
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
524
571
|
}
|
|
572
|
+
/**
|
|
573
|
+
* @public
|
|
574
|
+
*/
|
|
525
575
|
export interface DeleteTopicInput {
|
|
526
576
|
/**
|
|
527
577
|
* <p>The ARN of the topic you want to delete.</p>
|
|
528
578
|
*/
|
|
529
579
|
TopicArn: string | undefined;
|
|
530
580
|
}
|
|
581
|
+
/**
|
|
582
|
+
* @public
|
|
583
|
+
*/
|
|
531
584
|
export interface GetDataProtectionPolicyInput {
|
|
532
585
|
/**
|
|
533
586
|
* <p>The ARN of the topic whose <code>DataProtectionPolicy</code> you want to get.</p>
|
|
@@ -536,6 +589,9 @@ export interface GetDataProtectionPolicyInput {
|
|
|
536
589
|
*/
|
|
537
590
|
ResourceArn: string | undefined;
|
|
538
591
|
}
|
|
592
|
+
/**
|
|
593
|
+
* @public
|
|
594
|
+
*/
|
|
539
595
|
export interface GetDataProtectionPolicyResponse {
|
|
540
596
|
/**
|
|
541
597
|
* <p>Retrieves the <code>DataProtectionPolicy</code> in JSON string format.</p>
|
|
@@ -543,6 +599,7 @@ export interface GetDataProtectionPolicyResponse {
|
|
|
543
599
|
DataProtectionPolicy?: string;
|
|
544
600
|
}
|
|
545
601
|
/**
|
|
602
|
+
* @public
|
|
546
603
|
* <p>Input for GetEndpointAttributes action.</p>
|
|
547
604
|
*/
|
|
548
605
|
export interface GetEndpointAttributesInput {
|
|
@@ -552,6 +609,7 @@ export interface GetEndpointAttributesInput {
|
|
|
552
609
|
EndpointArn: string | undefined;
|
|
553
610
|
}
|
|
554
611
|
/**
|
|
612
|
+
* @public
|
|
555
613
|
* <p>Response from GetEndpointAttributes of the EndpointArn.</p>
|
|
556
614
|
*/
|
|
557
615
|
export interface GetEndpointAttributesResponse {
|
|
@@ -586,6 +644,7 @@ export interface GetEndpointAttributesResponse {
|
|
|
586
644
|
Attributes?: Record<string, string>;
|
|
587
645
|
}
|
|
588
646
|
/**
|
|
647
|
+
* @public
|
|
589
648
|
* <p>Input for GetPlatformApplicationAttributes action.</p>
|
|
590
649
|
*/
|
|
591
650
|
export interface GetPlatformApplicationAttributesInput {
|
|
@@ -595,6 +654,7 @@ export interface GetPlatformApplicationAttributesInput {
|
|
|
595
654
|
PlatformApplicationArn: string | undefined;
|
|
596
655
|
}
|
|
597
656
|
/**
|
|
657
|
+
* @public
|
|
598
658
|
* <p>Response for GetPlatformApplicationAttributes action.</p>
|
|
599
659
|
*/
|
|
600
660
|
export interface GetPlatformApplicationAttributesResponse {
|
|
@@ -642,6 +702,7 @@ export interface GetPlatformApplicationAttributesResponse {
|
|
|
642
702
|
Attributes?: Record<string, string>;
|
|
643
703
|
}
|
|
644
704
|
/**
|
|
705
|
+
* @public
|
|
645
706
|
* <p>The input for the <code>GetSMSAttributes</code> request.</p>
|
|
646
707
|
*/
|
|
647
708
|
export interface GetSMSAttributesInput {
|
|
@@ -654,6 +715,7 @@ export interface GetSMSAttributesInput {
|
|
|
654
715
|
attributes?: string[];
|
|
655
716
|
}
|
|
656
717
|
/**
|
|
718
|
+
* @public
|
|
657
719
|
* <p>The response from the <code>GetSMSAttributes</code> request.</p>
|
|
658
720
|
*/
|
|
659
721
|
export interface GetSMSAttributesResponse {
|
|
@@ -662,8 +724,14 @@ export interface GetSMSAttributesResponse {
|
|
|
662
724
|
*/
|
|
663
725
|
attributes?: Record<string, string>;
|
|
664
726
|
}
|
|
727
|
+
/**
|
|
728
|
+
* @public
|
|
729
|
+
*/
|
|
665
730
|
export interface GetSMSSandboxAccountStatusInput {
|
|
666
731
|
}
|
|
732
|
+
/**
|
|
733
|
+
* @public
|
|
734
|
+
*/
|
|
667
735
|
export interface GetSMSSandboxAccountStatusResult {
|
|
668
736
|
/**
|
|
669
737
|
* <p>Indicates whether the calling Amazon Web Services account is in the SMS sandbox.</p>
|
|
@@ -671,6 +739,7 @@ export interface GetSMSSandboxAccountStatusResult {
|
|
|
671
739
|
IsInSandbox: boolean | undefined;
|
|
672
740
|
}
|
|
673
741
|
/**
|
|
742
|
+
* @public
|
|
674
743
|
* <p>Input for GetSubscriptionAttributes.</p>
|
|
675
744
|
*/
|
|
676
745
|
export interface GetSubscriptionAttributesInput {
|
|
@@ -680,6 +749,7 @@ export interface GetSubscriptionAttributesInput {
|
|
|
680
749
|
SubscriptionArn: string | undefined;
|
|
681
750
|
}
|
|
682
751
|
/**
|
|
752
|
+
* @public
|
|
683
753
|
* <p>Response for GetSubscriptionAttributes action.</p>
|
|
684
754
|
*/
|
|
685
755
|
export interface GetSubscriptionAttributesResponse {
|
|
@@ -782,6 +852,7 @@ export interface GetSubscriptionAttributesResponse {
|
|
|
782
852
|
Attributes?: Record<string, string>;
|
|
783
853
|
}
|
|
784
854
|
/**
|
|
855
|
+
* @public
|
|
785
856
|
* <p>Input for GetTopicAttributes action.</p>
|
|
786
857
|
*/
|
|
787
858
|
export interface GetTopicAttributesInput {
|
|
@@ -791,6 +862,7 @@ export interface GetTopicAttributesInput {
|
|
|
791
862
|
TopicArn: string | undefined;
|
|
792
863
|
}
|
|
793
864
|
/**
|
|
865
|
+
* @public
|
|
794
866
|
* <p>Response for GetTopicAttributes action.</p>
|
|
795
867
|
*/
|
|
796
868
|
export interface GetTopicAttributesResponse {
|
|
@@ -914,6 +986,7 @@ export interface GetTopicAttributesResponse {
|
|
|
914
986
|
Attributes?: Record<string, string>;
|
|
915
987
|
}
|
|
916
988
|
/**
|
|
989
|
+
* @public
|
|
917
990
|
* <p>Input for ListEndpointsByPlatformApplication action.</p>
|
|
918
991
|
*/
|
|
919
992
|
export interface ListEndpointsByPlatformApplicationInput {
|
|
@@ -928,6 +1001,7 @@ export interface ListEndpointsByPlatformApplicationInput {
|
|
|
928
1001
|
NextToken?: string;
|
|
929
1002
|
}
|
|
930
1003
|
/**
|
|
1004
|
+
* @public
|
|
931
1005
|
* <p>The endpoint for mobile app and device.</p>
|
|
932
1006
|
*/
|
|
933
1007
|
export interface Endpoint {
|
|
@@ -941,6 +1015,7 @@ export interface Endpoint {
|
|
|
941
1015
|
Attributes?: Record<string, string>;
|
|
942
1016
|
}
|
|
943
1017
|
/**
|
|
1018
|
+
* @public
|
|
944
1019
|
* <p>Response for ListEndpointsByPlatformApplication action.</p>
|
|
945
1020
|
*/
|
|
946
1021
|
export interface ListEndpointsByPlatformApplicationResponse {
|
|
@@ -954,6 +1029,9 @@ export interface ListEndpointsByPlatformApplicationResponse {
|
|
|
954
1029
|
*/
|
|
955
1030
|
NextToken?: string;
|
|
956
1031
|
}
|
|
1032
|
+
/**
|
|
1033
|
+
* @public
|
|
1034
|
+
*/
|
|
957
1035
|
export interface ListOriginationNumbersRequest {
|
|
958
1036
|
/**
|
|
959
1037
|
* <p>Token that the previous <code>ListOriginationNumbers</code> request returns.</p>
|
|
@@ -964,17 +1042,24 @@ export interface ListOriginationNumbersRequest {
|
|
|
964
1042
|
*/
|
|
965
1043
|
MaxResults?: number;
|
|
966
1044
|
}
|
|
1045
|
+
/**
|
|
1046
|
+
* @public
|
|
1047
|
+
*/
|
|
967
1048
|
export declare enum NumberCapability {
|
|
968
1049
|
MMS = "MMS",
|
|
969
1050
|
SMS = "SMS",
|
|
970
1051
|
VOICE = "VOICE"
|
|
971
1052
|
}
|
|
1053
|
+
/**
|
|
1054
|
+
* @public
|
|
1055
|
+
*/
|
|
972
1056
|
export declare enum RouteType {
|
|
973
1057
|
Premium = "Premium",
|
|
974
1058
|
Promotional = "Promotional",
|
|
975
1059
|
Transactional = "Transactional"
|
|
976
1060
|
}
|
|
977
1061
|
/**
|
|
1062
|
+
* @public
|
|
978
1063
|
* <p>A list of phone numbers and their metadata.</p>
|
|
979
1064
|
*/
|
|
980
1065
|
export interface PhoneNumberInformation {
|
|
@@ -1003,6 +1088,9 @@ export interface PhoneNumberInformation {
|
|
|
1003
1088
|
*/
|
|
1004
1089
|
NumberCapabilities?: (NumberCapability | string)[];
|
|
1005
1090
|
}
|
|
1091
|
+
/**
|
|
1092
|
+
* @public
|
|
1093
|
+
*/
|
|
1006
1094
|
export interface ListOriginationNumbersResult {
|
|
1007
1095
|
/**
|
|
1008
1096
|
* <p>A <code>NextToken</code> string is returned when you call the
|
|
@@ -1016,6 +1104,7 @@ export interface ListOriginationNumbersResult {
|
|
|
1016
1104
|
PhoneNumbers?: PhoneNumberInformation[];
|
|
1017
1105
|
}
|
|
1018
1106
|
/**
|
|
1107
|
+
* @public
|
|
1019
1108
|
* <p>Indicates that a parameter in the request is invalid.</p>
|
|
1020
1109
|
*/
|
|
1021
1110
|
export declare class ValidationException extends __BaseException {
|
|
@@ -1028,6 +1117,7 @@ export declare class ValidationException extends __BaseException {
|
|
|
1028
1117
|
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
1029
1118
|
}
|
|
1030
1119
|
/**
|
|
1120
|
+
* @public
|
|
1031
1121
|
* <p>The input for the <code>ListPhoneNumbersOptedOut</code> action.</p>
|
|
1032
1122
|
*/
|
|
1033
1123
|
export interface ListPhoneNumbersOptedOutInput {
|
|
@@ -1039,6 +1129,7 @@ export interface ListPhoneNumbersOptedOutInput {
|
|
|
1039
1129
|
nextToken?: string;
|
|
1040
1130
|
}
|
|
1041
1131
|
/**
|
|
1132
|
+
* @public
|
|
1042
1133
|
* <p>The response from the <code>ListPhoneNumbersOptedOut</code> action.</p>
|
|
1043
1134
|
*/
|
|
1044
1135
|
export interface ListPhoneNumbersOptedOutResponse {
|
|
@@ -1055,6 +1146,7 @@ export interface ListPhoneNumbersOptedOutResponse {
|
|
|
1055
1146
|
nextToken?: string;
|
|
1056
1147
|
}
|
|
1057
1148
|
/**
|
|
1149
|
+
* @public
|
|
1058
1150
|
* <p>Input for ListPlatformApplications action.</p>
|
|
1059
1151
|
*/
|
|
1060
1152
|
export interface ListPlatformApplicationsInput {
|
|
@@ -1065,6 +1157,7 @@ export interface ListPlatformApplicationsInput {
|
|
|
1065
1157
|
NextToken?: string;
|
|
1066
1158
|
}
|
|
1067
1159
|
/**
|
|
1160
|
+
* @public
|
|
1068
1161
|
* <p>Platform application object.</p>
|
|
1069
1162
|
*/
|
|
1070
1163
|
export interface PlatformApplication {
|
|
@@ -1078,6 +1171,7 @@ export interface PlatformApplication {
|
|
|
1078
1171
|
Attributes?: Record<string, string>;
|
|
1079
1172
|
}
|
|
1080
1173
|
/**
|
|
1174
|
+
* @public
|
|
1081
1175
|
* <p>Response for ListPlatformApplications action.</p>
|
|
1082
1176
|
*/
|
|
1083
1177
|
export interface ListPlatformApplicationsResponse {
|
|
@@ -1091,6 +1185,9 @@ export interface ListPlatformApplicationsResponse {
|
|
|
1091
1185
|
*/
|
|
1092
1186
|
NextToken?: string;
|
|
1093
1187
|
}
|
|
1188
|
+
/**
|
|
1189
|
+
* @public
|
|
1190
|
+
*/
|
|
1094
1191
|
export interface ListSMSSandboxPhoneNumbersInput {
|
|
1095
1192
|
/**
|
|
1096
1193
|
* <p>Token that the previous <code>ListSMSSandboxPhoneNumbersInput</code> request
|
|
@@ -1102,11 +1199,15 @@ export interface ListSMSSandboxPhoneNumbersInput {
|
|
|
1102
1199
|
*/
|
|
1103
1200
|
MaxResults?: number;
|
|
1104
1201
|
}
|
|
1202
|
+
/**
|
|
1203
|
+
* @public
|
|
1204
|
+
*/
|
|
1105
1205
|
export declare enum SMSSandboxPhoneNumberVerificationStatus {
|
|
1106
1206
|
Pending = "Pending",
|
|
1107
1207
|
Verified = "Verified"
|
|
1108
1208
|
}
|
|
1109
1209
|
/**
|
|
1210
|
+
* @public
|
|
1110
1211
|
* <p>A verified or pending destination phone number in the SMS sandbox.</p>
|
|
1111
1212
|
* <p>When you start using Amazon SNS to send SMS messages, your Amazon Web Services account is in the
|
|
1112
1213
|
* <i>SMS sandbox</i>. The SMS sandbox provides a safe environment for
|
|
@@ -1127,6 +1228,9 @@ export interface SMSSandboxPhoneNumber {
|
|
|
1127
1228
|
*/
|
|
1128
1229
|
Status?: SMSSandboxPhoneNumberVerificationStatus | string;
|
|
1129
1230
|
}
|
|
1231
|
+
/**
|
|
1232
|
+
* @public
|
|
1233
|
+
*/
|
|
1130
1234
|
export interface ListSMSSandboxPhoneNumbersResult {
|
|
1131
1235
|
/**
|
|
1132
1236
|
* <p>A list of the calling account's pending and verified phone numbers.</p>
|
|
@@ -1140,6 +1244,7 @@ export interface ListSMSSandboxPhoneNumbersResult {
|
|
|
1140
1244
|
NextToken?: string;
|
|
1141
1245
|
}
|
|
1142
1246
|
/**
|
|
1247
|
+
* @public
|
|
1143
1248
|
* <p>Input for ListSubscriptions action.</p>
|
|
1144
1249
|
*/
|
|
1145
1250
|
export interface ListSubscriptionsInput {
|
|
@@ -1149,6 +1254,7 @@ export interface ListSubscriptionsInput {
|
|
|
1149
1254
|
NextToken?: string;
|
|
1150
1255
|
}
|
|
1151
1256
|
/**
|
|
1257
|
+
* @public
|
|
1152
1258
|
* <p>A wrapper type for the attributes of an Amazon SNS subscription.</p>
|
|
1153
1259
|
*/
|
|
1154
1260
|
export interface Subscription {
|
|
@@ -1174,6 +1280,7 @@ export interface Subscription {
|
|
|
1174
1280
|
TopicArn?: string;
|
|
1175
1281
|
}
|
|
1176
1282
|
/**
|
|
1283
|
+
* @public
|
|
1177
1284
|
* <p>Response for ListSubscriptions action</p>
|
|
1178
1285
|
*/
|
|
1179
1286
|
export interface ListSubscriptionsResponse {
|
|
@@ -1188,6 +1295,7 @@ export interface ListSubscriptionsResponse {
|
|
|
1188
1295
|
NextToken?: string;
|
|
1189
1296
|
}
|
|
1190
1297
|
/**
|
|
1298
|
+
* @public
|
|
1191
1299
|
* <p>Input for ListSubscriptionsByTopic action.</p>
|
|
1192
1300
|
*/
|
|
1193
1301
|
export interface ListSubscriptionsByTopicInput {
|
|
@@ -1201,6 +1309,7 @@ export interface ListSubscriptionsByTopicInput {
|
|
|
1201
1309
|
NextToken?: string;
|
|
1202
1310
|
}
|
|
1203
1311
|
/**
|
|
1312
|
+
* @public
|
|
1204
1313
|
* <p>Response for ListSubscriptionsByTopic action.</p>
|
|
1205
1314
|
*/
|
|
1206
1315
|
export interface ListSubscriptionsByTopicResponse {
|
|
@@ -1214,18 +1323,27 @@ export interface ListSubscriptionsByTopicResponse {
|
|
|
1214
1323
|
*/
|
|
1215
1324
|
NextToken?: string;
|
|
1216
1325
|
}
|
|
1326
|
+
/**
|
|
1327
|
+
* @public
|
|
1328
|
+
*/
|
|
1217
1329
|
export interface ListTagsForResourceRequest {
|
|
1218
1330
|
/**
|
|
1219
1331
|
* <p>The ARN of the topic for which to list tags.</p>
|
|
1220
1332
|
*/
|
|
1221
1333
|
ResourceArn: string | undefined;
|
|
1222
1334
|
}
|
|
1335
|
+
/**
|
|
1336
|
+
* @public
|
|
1337
|
+
*/
|
|
1223
1338
|
export interface ListTagsForResourceResponse {
|
|
1224
1339
|
/**
|
|
1225
1340
|
* <p>The tags associated with the specified topic.</p>
|
|
1226
1341
|
*/
|
|
1227
1342
|
Tags?: Tag[];
|
|
1228
1343
|
}
|
|
1344
|
+
/**
|
|
1345
|
+
* @public
|
|
1346
|
+
*/
|
|
1229
1347
|
export interface ListTopicsInput {
|
|
1230
1348
|
/**
|
|
1231
1349
|
* <p>Token returned by the previous <code>ListTopics</code> request.</p>
|
|
@@ -1233,6 +1351,7 @@ export interface ListTopicsInput {
|
|
|
1233
1351
|
NextToken?: string;
|
|
1234
1352
|
}
|
|
1235
1353
|
/**
|
|
1354
|
+
* @public
|
|
1236
1355
|
* <p>A wrapper type for the topic's Amazon Resource Name (ARN). To retrieve a topic's
|
|
1237
1356
|
* attributes, use <code>GetTopicAttributes</code>.</p>
|
|
1238
1357
|
*/
|
|
@@ -1243,6 +1362,7 @@ export interface Topic {
|
|
|
1243
1362
|
TopicArn?: string;
|
|
1244
1363
|
}
|
|
1245
1364
|
/**
|
|
1365
|
+
* @public
|
|
1246
1366
|
* <p>Response for ListTopics action.</p>
|
|
1247
1367
|
*/
|
|
1248
1368
|
export interface ListTopicsResponse {
|
|
@@ -1257,6 +1377,7 @@ export interface ListTopicsResponse {
|
|
|
1257
1377
|
NextToken?: string;
|
|
1258
1378
|
}
|
|
1259
1379
|
/**
|
|
1380
|
+
* @public
|
|
1260
1381
|
* <p>Input for the OptInPhoneNumber action.</p>
|
|
1261
1382
|
*/
|
|
1262
1383
|
export interface OptInPhoneNumberInput {
|
|
@@ -1266,11 +1387,13 @@ export interface OptInPhoneNumberInput {
|
|
|
1266
1387
|
phoneNumber: string | undefined;
|
|
1267
1388
|
}
|
|
1268
1389
|
/**
|
|
1390
|
+
* @public
|
|
1269
1391
|
* <p>The response for the OptInPhoneNumber action.</p>
|
|
1270
1392
|
*/
|
|
1271
1393
|
export interface OptInPhoneNumberResponse {
|
|
1272
1394
|
}
|
|
1273
1395
|
/**
|
|
1396
|
+
* @public
|
|
1274
1397
|
* <p>Exception error indicating endpoint disabled.</p>
|
|
1275
1398
|
*/
|
|
1276
1399
|
export declare class EndpointDisabledException extends __BaseException {
|
|
@@ -1282,6 +1405,7 @@ export declare class EndpointDisabledException extends __BaseException {
|
|
|
1282
1405
|
constructor(opts: __ExceptionOptionType<EndpointDisabledException, __BaseException>);
|
|
1283
1406
|
}
|
|
1284
1407
|
/**
|
|
1408
|
+
* @public
|
|
1285
1409
|
* <p>Indicates that a request parameter does not comply with the associated constraints.</p>
|
|
1286
1410
|
*/
|
|
1287
1411
|
export declare class InvalidParameterValueException extends __BaseException {
|
|
@@ -1293,6 +1417,7 @@ export declare class InvalidParameterValueException extends __BaseException {
|
|
|
1293
1417
|
constructor(opts: __ExceptionOptionType<InvalidParameterValueException, __BaseException>);
|
|
1294
1418
|
}
|
|
1295
1419
|
/**
|
|
1420
|
+
* @public
|
|
1296
1421
|
* <p>The ciphertext references a key that doesn't exist or that you don't have access
|
|
1297
1422
|
* to.</p>
|
|
1298
1423
|
*/
|
|
@@ -1305,6 +1430,7 @@ export declare class KMSAccessDeniedException extends __BaseException {
|
|
|
1305
1430
|
constructor(opts: __ExceptionOptionType<KMSAccessDeniedException, __BaseException>);
|
|
1306
1431
|
}
|
|
1307
1432
|
/**
|
|
1433
|
+
* @public
|
|
1308
1434
|
* <p>The request was rejected because the specified customer master key (CMK) isn't
|
|
1309
1435
|
* enabled.</p>
|
|
1310
1436
|
*/
|
|
@@ -1317,6 +1443,7 @@ export declare class KMSDisabledException extends __BaseException {
|
|
|
1317
1443
|
constructor(opts: __ExceptionOptionType<KMSDisabledException, __BaseException>);
|
|
1318
1444
|
}
|
|
1319
1445
|
/**
|
|
1446
|
+
* @public
|
|
1320
1447
|
* <p>The request was rejected because the state of the specified resource isn't valid for
|
|
1321
1448
|
* this request. For more information, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html">How Key State Affects Use of a
|
|
1322
1449
|
* Customer Master Key</a> in the <i>Key Management Service Developer
|
|
@@ -1331,6 +1458,7 @@ export declare class KMSInvalidStateException extends __BaseException {
|
|
|
1331
1458
|
constructor(opts: __ExceptionOptionType<KMSInvalidStateException, __BaseException>);
|
|
1332
1459
|
}
|
|
1333
1460
|
/**
|
|
1461
|
+
* @public
|
|
1334
1462
|
* <p>The request was rejected because the specified entity or resource can't be
|
|
1335
1463
|
* found.</p>
|
|
1336
1464
|
*/
|
|
@@ -1343,6 +1471,7 @@ export declare class KMSNotFoundException extends __BaseException {
|
|
|
1343
1471
|
constructor(opts: __ExceptionOptionType<KMSNotFoundException, __BaseException>);
|
|
1344
1472
|
}
|
|
1345
1473
|
/**
|
|
1474
|
+
* @public
|
|
1346
1475
|
* <p>The Amazon Web Services access key ID needs a subscription for the service.</p>
|
|
1347
1476
|
*/
|
|
1348
1477
|
export declare class KMSOptInRequired extends __BaseException {
|
|
@@ -1354,6 +1483,7 @@ export declare class KMSOptInRequired extends __BaseException {
|
|
|
1354
1483
|
constructor(opts: __ExceptionOptionType<KMSOptInRequired, __BaseException>);
|
|
1355
1484
|
}
|
|
1356
1485
|
/**
|
|
1486
|
+
* @public
|
|
1357
1487
|
* <p>The request was denied due to request throttling. For more information about
|
|
1358
1488
|
* throttling, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/limits.html#requests-per-second">Limits</a> in
|
|
1359
1489
|
* the <i>Key Management Service Developer Guide.</i>
|
|
@@ -1368,6 +1498,7 @@ export declare class KMSThrottlingException extends __BaseException {
|
|
|
1368
1498
|
constructor(opts: __ExceptionOptionType<KMSThrottlingException, __BaseException>);
|
|
1369
1499
|
}
|
|
1370
1500
|
/**
|
|
1501
|
+
* @public
|
|
1371
1502
|
* <p>Exception error indicating platform application disabled.</p>
|
|
1372
1503
|
*/
|
|
1373
1504
|
export declare class PlatformApplicationDisabledException extends __BaseException {
|
|
@@ -1379,6 +1510,7 @@ export declare class PlatformApplicationDisabledException extends __BaseExceptio
|
|
|
1379
1510
|
constructor(opts: __ExceptionOptionType<PlatformApplicationDisabledException, __BaseException>);
|
|
1380
1511
|
}
|
|
1381
1512
|
/**
|
|
1513
|
+
* @public
|
|
1382
1514
|
* <p>The user-specified message attribute value. For string data types, the value attribute
|
|
1383
1515
|
* has the same restrictions on the content as the message body. For more information, see
|
|
1384
1516
|
* <a href="https://docs.aws.amazon.com/sns/latest/api/API_Publish.html">Publish</a>.</p>
|
|
@@ -1409,6 +1541,7 @@ export interface MessageAttributeValue {
|
|
|
1409
1541
|
BinaryValue?: Uint8Array;
|
|
1410
1542
|
}
|
|
1411
1543
|
/**
|
|
1544
|
+
* @public
|
|
1412
1545
|
* <p>Input for Publish action.</p>
|
|
1413
1546
|
*/
|
|
1414
1547
|
export interface PublishInput {
|
|
@@ -1533,7 +1666,7 @@ export interface PublishInput {
|
|
|
1533
1666
|
* <p>This parameter applies only to FIFO (first-in-first-out) topics. The
|
|
1534
1667
|
* <code>MessageDeduplicationId</code> can contain up to 128 alphanumeric characters
|
|
1535
1668
|
* <code>(a-z, A-Z, 0-9)</code> and punctuation
|
|
1536
|
-
* <code>(!"#$%&'()*+,-./:;<=>?@[\]^_
|
|
1669
|
+
* <code>(!"#$%&'()*+,-./:;<=>?@[\]^_`\{|\}~)</code>.</p>
|
|
1537
1670
|
* <p>Every message must have a unique <code>MessageDeduplicationId</code>, which is a token
|
|
1538
1671
|
* used for deduplication of sent messages. If a message with a particular
|
|
1539
1672
|
* <code>MessageDeduplicationId</code> is sent successfully, any message sent with the
|
|
@@ -1548,7 +1681,7 @@ export interface PublishInput {
|
|
|
1548
1681
|
* <p>This parameter applies only to FIFO (first-in-first-out) topics. The
|
|
1549
1682
|
* <code>MessageGroupId</code> can contain up to 128 alphanumeric characters
|
|
1550
1683
|
* <code>(a-z, A-Z, 0-9)</code> and punctuation
|
|
1551
|
-
* <code>(!"#$%&'()*+,-./:;<=>?@[\]^_
|
|
1684
|
+
* <code>(!"#$%&'()*+,-./:;<=>?@[\]^_`\{|\}~)</code>.</p>
|
|
1552
1685
|
* <p>The <code>MessageGroupId</code> is a tag that specifies that a message belongs to a
|
|
1553
1686
|
* specific message group. Messages that belong to the same message group are processed in
|
|
1554
1687
|
* a FIFO manner (however, messages in different message groups might be processed out of
|
|
@@ -1557,6 +1690,7 @@ export interface PublishInput {
|
|
|
1557
1690
|
MessageGroupId?: string;
|
|
1558
1691
|
}
|
|
1559
1692
|
/**
|
|
1693
|
+
* @public
|
|
1560
1694
|
* <p>Response for Publish action.</p>
|
|
1561
1695
|
*/
|
|
1562
1696
|
export interface PublishResponse {
|
|
@@ -1575,6 +1709,7 @@ export interface PublishResponse {
|
|
|
1575
1709
|
SequenceNumber?: string;
|
|
1576
1710
|
}
|
|
1577
1711
|
/**
|
|
1712
|
+
* @public
|
|
1578
1713
|
* <p>Two or more batch entries in the request have the same <code>Id</code>.</p>
|
|
1579
1714
|
*/
|
|
1580
1715
|
export declare class BatchEntryIdsNotDistinctException extends __BaseException {
|
|
@@ -1586,6 +1721,7 @@ export declare class BatchEntryIdsNotDistinctException extends __BaseException {
|
|
|
1586
1721
|
constructor(opts: __ExceptionOptionType<BatchEntryIdsNotDistinctException, __BaseException>);
|
|
1587
1722
|
}
|
|
1588
1723
|
/**
|
|
1724
|
+
* @public
|
|
1589
1725
|
* <p>The length of all the batch messages put together is more than the limit.</p>
|
|
1590
1726
|
*/
|
|
1591
1727
|
export declare class BatchRequestTooLongException extends __BaseException {
|
|
@@ -1597,6 +1733,7 @@ export declare class BatchRequestTooLongException extends __BaseException {
|
|
|
1597
1733
|
constructor(opts: __ExceptionOptionType<BatchRequestTooLongException, __BaseException>);
|
|
1598
1734
|
}
|
|
1599
1735
|
/**
|
|
1736
|
+
* @public
|
|
1600
1737
|
* <p>The batch request doesn't contain any entries.</p>
|
|
1601
1738
|
*/
|
|
1602
1739
|
export declare class EmptyBatchRequestException extends __BaseException {
|
|
@@ -1608,6 +1745,7 @@ export declare class EmptyBatchRequestException extends __BaseException {
|
|
|
1608
1745
|
constructor(opts: __ExceptionOptionType<EmptyBatchRequestException, __BaseException>);
|
|
1609
1746
|
}
|
|
1610
1747
|
/**
|
|
1748
|
+
* @public
|
|
1611
1749
|
* <p>The <code>Id</code> of a batch entry in a batch request doesn't abide by the specification. </p>
|
|
1612
1750
|
*/
|
|
1613
1751
|
export declare class InvalidBatchEntryIdException extends __BaseException {
|
|
@@ -1619,6 +1757,7 @@ export declare class InvalidBatchEntryIdException extends __BaseException {
|
|
|
1619
1757
|
constructor(opts: __ExceptionOptionType<InvalidBatchEntryIdException, __BaseException>);
|
|
1620
1758
|
}
|
|
1621
1759
|
/**
|
|
1760
|
+
* @public
|
|
1622
1761
|
* <p>Contains the details of a single Amazon SNS message along with an <code>Id</code> that
|
|
1623
1762
|
* identifies a message within the batch. </p>
|
|
1624
1763
|
*/
|
|
@@ -1724,7 +1863,7 @@ export interface PublishBatchRequestEntry {
|
|
|
1724
1863
|
* <p>
|
|
1725
1864
|
* <code>MessageDeduplicationId</code> can contain alphanumeric characters <code>(a-z,
|
|
1726
1865
|
* A-Z, 0-9)</code> and punctuation
|
|
1727
|
-
* <code>(!"#$%&'()*+,-./:;<=>?@[\]^_
|
|
1866
|
+
* <code>(!"#$%&'()*+,-./:;<=>?@[\]^_`\{|\}~)</code>.</p>
|
|
1728
1867
|
*/
|
|
1729
1868
|
MessageDeduplicationId?: string;
|
|
1730
1869
|
/**
|
|
@@ -1741,7 +1880,7 @@ export interface PublishBatchRequestEntry {
|
|
|
1741
1880
|
* <p>
|
|
1742
1881
|
* <code>MessageGroupId</code> can contain alphanumeric characters <code>(a-z, A-Z,
|
|
1743
1882
|
* 0-9)</code> and punctuation
|
|
1744
|
-
* <code>(!"#$%&'()*+,-./:;<=>?@[\]^_
|
|
1883
|
+
* <code>(!"#$%&'()*+,-./:;<=>?@[\]^_`\{|\}~)</code>.</p>
|
|
1745
1884
|
* <important>
|
|
1746
1885
|
* <p>
|
|
1747
1886
|
* <code>MessageGroupId</code> is required for FIFO topics. You can't use it for
|
|
@@ -1750,6 +1889,9 @@ export interface PublishBatchRequestEntry {
|
|
|
1750
1889
|
*/
|
|
1751
1890
|
MessageGroupId?: string;
|
|
1752
1891
|
}
|
|
1892
|
+
/**
|
|
1893
|
+
* @public
|
|
1894
|
+
*/
|
|
1753
1895
|
export interface PublishBatchInput {
|
|
1754
1896
|
/**
|
|
1755
1897
|
* <p>The Amazon resource name (ARN) of the topic you want to batch publish to.</p>
|
|
@@ -1762,6 +1904,7 @@ export interface PublishBatchInput {
|
|
|
1762
1904
|
PublishBatchRequestEntries: PublishBatchRequestEntry[] | undefined;
|
|
1763
1905
|
}
|
|
1764
1906
|
/**
|
|
1907
|
+
* @public
|
|
1765
1908
|
* <p>Gives a detailed description of failed messages in the batch.</p>
|
|
1766
1909
|
*/
|
|
1767
1910
|
export interface BatchResultErrorEntry {
|
|
@@ -1783,6 +1926,7 @@ export interface BatchResultErrorEntry {
|
|
|
1783
1926
|
SenderFault: boolean | undefined;
|
|
1784
1927
|
}
|
|
1785
1928
|
/**
|
|
1929
|
+
* @public
|
|
1786
1930
|
* <p>Encloses data related to a successful message in a batch request for topic.</p>
|
|
1787
1931
|
*/
|
|
1788
1932
|
export interface PublishBatchResultEntry {
|
|
@@ -1802,6 +1946,9 @@ export interface PublishBatchResultEntry {
|
|
|
1802
1946
|
*/
|
|
1803
1947
|
SequenceNumber?: string;
|
|
1804
1948
|
}
|
|
1949
|
+
/**
|
|
1950
|
+
* @public
|
|
1951
|
+
*/
|
|
1805
1952
|
export interface PublishBatchResponse {
|
|
1806
1953
|
/**
|
|
1807
1954
|
* <p>A list of successful <code>PublishBatch</code> responses.</p>
|
|
@@ -1813,6 +1960,7 @@ export interface PublishBatchResponse {
|
|
|
1813
1960
|
Failed?: BatchResultErrorEntry[];
|
|
1814
1961
|
}
|
|
1815
1962
|
/**
|
|
1963
|
+
* @public
|
|
1816
1964
|
* <p>The batch request contains more entries than permissible.</p>
|
|
1817
1965
|
*/
|
|
1818
1966
|
export declare class TooManyEntriesInBatchRequestException extends __BaseException {
|
|
@@ -1823,6 +1971,9 @@ export declare class TooManyEntriesInBatchRequestException extends __BaseExcepti
|
|
|
1823
1971
|
*/
|
|
1824
1972
|
constructor(opts: __ExceptionOptionType<TooManyEntriesInBatchRequestException, __BaseException>);
|
|
1825
1973
|
}
|
|
1974
|
+
/**
|
|
1975
|
+
* @public
|
|
1976
|
+
*/
|
|
1826
1977
|
export interface PutDataProtectionPolicyInput {
|
|
1827
1978
|
/**
|
|
1828
1979
|
* <p>The ARN of the topic whose <code>DataProtectionPolicy</code> you want to add or
|
|
@@ -1839,6 +1990,7 @@ export interface PutDataProtectionPolicyInput {
|
|
|
1839
1990
|
DataProtectionPolicy: string | undefined;
|
|
1840
1991
|
}
|
|
1841
1992
|
/**
|
|
1993
|
+
* @public
|
|
1842
1994
|
* <p>Input for RemovePermission action.</p>
|
|
1843
1995
|
*/
|
|
1844
1996
|
export interface RemovePermissionInput {
|
|
@@ -1852,6 +2004,7 @@ export interface RemovePermissionInput {
|
|
|
1852
2004
|
Label: string | undefined;
|
|
1853
2005
|
}
|
|
1854
2006
|
/**
|
|
2007
|
+
* @public
|
|
1855
2008
|
* <p>Input for SetEndpointAttributes action.</p>
|
|
1856
2009
|
*/
|
|
1857
2010
|
export interface SetEndpointAttributesInput {
|
|
@@ -1887,6 +2040,7 @@ export interface SetEndpointAttributesInput {
|
|
|
1887
2040
|
Attributes: Record<string, string> | undefined;
|
|
1888
2041
|
}
|
|
1889
2042
|
/**
|
|
2043
|
+
* @public
|
|
1890
2044
|
* <p>Input for SetPlatformApplicationAttributes action.</p>
|
|
1891
2045
|
*/
|
|
1892
2046
|
export interface SetPlatformApplicationAttributesInput {
|
|
@@ -2002,6 +2156,7 @@ export interface SetPlatformApplicationAttributesInput {
|
|
|
2002
2156
|
Attributes: Record<string, string> | undefined;
|
|
2003
2157
|
}
|
|
2004
2158
|
/**
|
|
2159
|
+
* @public
|
|
2005
2160
|
* <p>The input for the SetSMSAttributes action.</p>
|
|
2006
2161
|
*/
|
|
2007
2162
|
export interface SetSMSAttributesInput {
|
|
@@ -2096,11 +2251,13 @@ export interface SetSMSAttributesInput {
|
|
|
2096
2251
|
attributes: Record<string, string> | undefined;
|
|
2097
2252
|
}
|
|
2098
2253
|
/**
|
|
2254
|
+
* @public
|
|
2099
2255
|
* <p>The response for the SetSMSAttributes action.</p>
|
|
2100
2256
|
*/
|
|
2101
2257
|
export interface SetSMSAttributesResponse {
|
|
2102
2258
|
}
|
|
2103
2259
|
/**
|
|
2260
|
+
* @public
|
|
2104
2261
|
* <p>Input for SetSubscriptionAttributes action.</p>
|
|
2105
2262
|
*/
|
|
2106
2263
|
export interface SetSubscriptionAttributesInput {
|
|
@@ -2182,6 +2339,7 @@ export interface SetSubscriptionAttributesInput {
|
|
|
2182
2339
|
AttributeValue?: string;
|
|
2183
2340
|
}
|
|
2184
2341
|
/**
|
|
2342
|
+
* @public
|
|
2185
2343
|
* <p>Input for SetTopicAttributes action.</p>
|
|
2186
2344
|
*/
|
|
2187
2345
|
export interface SetTopicAttributesInput {
|
|
@@ -2406,6 +2564,7 @@ export interface SetTopicAttributesInput {
|
|
|
2406
2564
|
AttributeValue?: string;
|
|
2407
2565
|
}
|
|
2408
2566
|
/**
|
|
2567
|
+
* @public
|
|
2409
2568
|
* <p>Input for Subscribe action.</p>
|
|
2410
2569
|
*/
|
|
2411
2570
|
export interface SubscribeInput {
|
|
@@ -2587,6 +2746,7 @@ export interface SubscribeInput {
|
|
|
2587
2746
|
ReturnSubscriptionArn?: boolean;
|
|
2588
2747
|
}
|
|
2589
2748
|
/**
|
|
2749
|
+
* @public
|
|
2590
2750
|
* <p>Response for Subscribe action.</p>
|
|
2591
2751
|
*/
|
|
2592
2752
|
export interface SubscribeResponse {
|
|
@@ -2598,6 +2758,9 @@ export interface SubscribeResponse {
|
|
|
2598
2758
|
*/
|
|
2599
2759
|
SubscriptionArn?: string;
|
|
2600
2760
|
}
|
|
2761
|
+
/**
|
|
2762
|
+
* @public
|
|
2763
|
+
*/
|
|
2601
2764
|
export interface TagResourceRequest {
|
|
2602
2765
|
/**
|
|
2603
2766
|
* <p>The ARN of the topic to which to add tags.</p>
|
|
@@ -2609,9 +2772,13 @@ export interface TagResourceRequest {
|
|
|
2609
2772
|
*/
|
|
2610
2773
|
Tags: Tag[] | undefined;
|
|
2611
2774
|
}
|
|
2775
|
+
/**
|
|
2776
|
+
* @public
|
|
2777
|
+
*/
|
|
2612
2778
|
export interface TagResourceResponse {
|
|
2613
2779
|
}
|
|
2614
2780
|
/**
|
|
2781
|
+
* @public
|
|
2615
2782
|
* <p>Input for Unsubscribe action.</p>
|
|
2616
2783
|
*/
|
|
2617
2784
|
export interface UnsubscribeInput {
|
|
@@ -2620,6 +2787,9 @@ export interface UnsubscribeInput {
|
|
|
2620
2787
|
*/
|
|
2621
2788
|
SubscriptionArn: string | undefined;
|
|
2622
2789
|
}
|
|
2790
|
+
/**
|
|
2791
|
+
* @public
|
|
2792
|
+
*/
|
|
2623
2793
|
export interface UntagResourceRequest {
|
|
2624
2794
|
/**
|
|
2625
2795
|
* <p>The ARN of the topic from which to remove tags.</p>
|
|
@@ -2630,9 +2800,13 @@ export interface UntagResourceRequest {
|
|
|
2630
2800
|
*/
|
|
2631
2801
|
TagKeys: string[] | undefined;
|
|
2632
2802
|
}
|
|
2803
|
+
/**
|
|
2804
|
+
* @public
|
|
2805
|
+
*/
|
|
2633
2806
|
export interface UntagResourceResponse {
|
|
2634
2807
|
}
|
|
2635
2808
|
/**
|
|
2809
|
+
* @public
|
|
2636
2810
|
* <p>Indicates that the one-time password (OTP) used for verification is invalid.</p>
|
|
2637
2811
|
*/
|
|
2638
2812
|
export declare class VerificationException extends __BaseException {
|
|
@@ -2648,6 +2822,9 @@ export declare class VerificationException extends __BaseException {
|
|
|
2648
2822
|
*/
|
|
2649
2823
|
constructor(opts: __ExceptionOptionType<VerificationException, __BaseException>);
|
|
2650
2824
|
}
|
|
2825
|
+
/**
|
|
2826
|
+
* @public
|
|
2827
|
+
*/
|
|
2651
2828
|
export interface VerifySMSSandboxPhoneNumberInput {
|
|
2652
2829
|
/**
|
|
2653
2830
|
* <p>The destination phone number to verify.</p>
|
|
@@ -2660,6 +2837,7 @@ export interface VerifySMSSandboxPhoneNumberInput {
|
|
|
2660
2837
|
OneTimePassword: string | undefined;
|
|
2661
2838
|
}
|
|
2662
2839
|
/**
|
|
2840
|
+
* @public
|
|
2663
2841
|
* <p>The destination phone number's verification status.</p>
|
|
2664
2842
|
*/
|
|
2665
2843
|
export interface VerifySMSSandboxPhoneNumberResult {
|