@aws-sdk/client-sns 3.934.0 → 3.936.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/index.js +30 -29
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +29 -0
- package/dist-es/models/errors.js +415 -0
- package/dist-es/models/models_0.js +1 -444
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +61 -0
- package/dist-types/models/errors.d.ts +436 -0
- package/dist-types/models/models_0.d.ts +1 -497
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +36 -0
- package/dist-types/ts3.4/models/errors.d.ts +244 -0
- package/dist-types/ts3.4/models/models_0.d.ts +6 -280
- package/package.json +19 -19
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { SNSServiceException as __BaseException } from "./SNSServiceException";
|
|
1
|
+
import { LanguageCodeString, NumberCapability, RouteType, SMSSandboxPhoneNumberVerificationStatus } from "./enums";
|
|
3
2
|
/**
|
|
4
3
|
* @public
|
|
5
4
|
*/
|
|
@@ -28,55 +27,6 @@ export interface AddPermissionInput {
|
|
|
28
27
|
*/
|
|
29
28
|
ActionName: string[] | undefined;
|
|
30
29
|
}
|
|
31
|
-
/**
|
|
32
|
-
* <p>Indicates that the user has been denied access to the requested resource.</p>
|
|
33
|
-
* @public
|
|
34
|
-
*/
|
|
35
|
-
export declare class AuthorizationErrorException extends __BaseException {
|
|
36
|
-
readonly name: "AuthorizationErrorException";
|
|
37
|
-
readonly $fault: "client";
|
|
38
|
-
/**
|
|
39
|
-
* @internal
|
|
40
|
-
*/
|
|
41
|
-
constructor(opts: __ExceptionOptionType<AuthorizationErrorException, __BaseException>);
|
|
42
|
-
}
|
|
43
|
-
/**
|
|
44
|
-
* <p>Indicates an internal service error.</p>
|
|
45
|
-
* @public
|
|
46
|
-
*/
|
|
47
|
-
export declare class InternalErrorException extends __BaseException {
|
|
48
|
-
readonly name: "InternalErrorException";
|
|
49
|
-
readonly $fault: "server";
|
|
50
|
-
/**
|
|
51
|
-
* @internal
|
|
52
|
-
*/
|
|
53
|
-
constructor(opts: __ExceptionOptionType<InternalErrorException, __BaseException>);
|
|
54
|
-
}
|
|
55
|
-
/**
|
|
56
|
-
* <p>Indicates that a request parameter does not comply with the associated
|
|
57
|
-
* constraints.</p>
|
|
58
|
-
* @public
|
|
59
|
-
*/
|
|
60
|
-
export declare class InvalidParameterException extends __BaseException {
|
|
61
|
-
readonly name: "InvalidParameterException";
|
|
62
|
-
readonly $fault: "client";
|
|
63
|
-
/**
|
|
64
|
-
* @internal
|
|
65
|
-
*/
|
|
66
|
-
constructor(opts: __ExceptionOptionType<InvalidParameterException, __BaseException>);
|
|
67
|
-
}
|
|
68
|
-
/**
|
|
69
|
-
* <p>Indicates that the requested resource does not exist.</p>
|
|
70
|
-
* @public
|
|
71
|
-
*/
|
|
72
|
-
export declare class NotFoundException extends __BaseException {
|
|
73
|
-
readonly name: "NotFoundException";
|
|
74
|
-
readonly $fault: "client";
|
|
75
|
-
/**
|
|
76
|
-
* @internal
|
|
77
|
-
*/
|
|
78
|
-
constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
|
|
79
|
-
}
|
|
80
30
|
/**
|
|
81
31
|
* <p>The input for the <code>CheckIfPhoneNumberIsOptedOut</code> action.</p>
|
|
82
32
|
* @public
|
|
@@ -111,18 +61,6 @@ export interface CheckIfPhoneNumberIsOptedOutResponse {
|
|
|
111
61
|
*/
|
|
112
62
|
isOptedOut?: boolean | undefined;
|
|
113
63
|
}
|
|
114
|
-
/**
|
|
115
|
-
* <p>Indicates that the rate at which requests have been submitted for this action exceeds the limit for your Amazon Web Services account.</p>
|
|
116
|
-
* @public
|
|
117
|
-
*/
|
|
118
|
-
export declare class ThrottledException extends __BaseException {
|
|
119
|
-
readonly name: "ThrottledException";
|
|
120
|
-
readonly $fault: "client";
|
|
121
|
-
/**
|
|
122
|
-
* @internal
|
|
123
|
-
*/
|
|
124
|
-
constructor(opts: __ExceptionOptionType<ThrottledException, __BaseException>);
|
|
125
|
-
}
|
|
126
64
|
/**
|
|
127
65
|
* <p>Input for ConfirmSubscription action.</p>
|
|
128
66
|
* @public
|
|
@@ -158,45 +96,6 @@ export interface ConfirmSubscriptionResponse {
|
|
|
158
96
|
*/
|
|
159
97
|
SubscriptionArn?: string | undefined;
|
|
160
98
|
}
|
|
161
|
-
/**
|
|
162
|
-
* <p>Indicates that the number of filter polices in your Amazon Web Services account exceeds the limit. To
|
|
163
|
-
* add more filter polices, submit an Amazon SNS Limit Increase case in the Amazon Web ServicesSupport
|
|
164
|
-
* Center.</p>
|
|
165
|
-
* @public
|
|
166
|
-
*/
|
|
167
|
-
export declare class FilterPolicyLimitExceededException extends __BaseException {
|
|
168
|
-
readonly name: "FilterPolicyLimitExceededException";
|
|
169
|
-
readonly $fault: "client";
|
|
170
|
-
/**
|
|
171
|
-
* @internal
|
|
172
|
-
*/
|
|
173
|
-
constructor(opts: __ExceptionOptionType<FilterPolicyLimitExceededException, __BaseException>);
|
|
174
|
-
}
|
|
175
|
-
/**
|
|
176
|
-
* <p>Indicates that the request parameter has exceeded the maximum number of concurrent message replays.</p>
|
|
177
|
-
* @public
|
|
178
|
-
*/
|
|
179
|
-
export declare class ReplayLimitExceededException extends __BaseException {
|
|
180
|
-
readonly name: "ReplayLimitExceededException";
|
|
181
|
-
readonly $fault: "client";
|
|
182
|
-
/**
|
|
183
|
-
* @internal
|
|
184
|
-
*/
|
|
185
|
-
constructor(opts: __ExceptionOptionType<ReplayLimitExceededException, __BaseException>);
|
|
186
|
-
}
|
|
187
|
-
/**
|
|
188
|
-
* <p>Indicates that the customer already owns the maximum allowed number of
|
|
189
|
-
* subscriptions.</p>
|
|
190
|
-
* @public
|
|
191
|
-
*/
|
|
192
|
-
export declare class SubscriptionLimitExceededException extends __BaseException {
|
|
193
|
-
readonly name: "SubscriptionLimitExceededException";
|
|
194
|
-
readonly $fault: "client";
|
|
195
|
-
/**
|
|
196
|
-
* @internal
|
|
197
|
-
*/
|
|
198
|
-
constructor(opts: __ExceptionOptionType<SubscriptionLimitExceededException, __BaseException>);
|
|
199
|
-
}
|
|
200
99
|
/**
|
|
201
100
|
* <p>Input for CreatePlatformApplication action.</p>
|
|
202
101
|
* @public
|
|
@@ -281,29 +180,6 @@ export interface CreatePlatformEndpointInput {
|
|
|
281
180
|
*/
|
|
282
181
|
Attributes?: Record<string, string> | undefined;
|
|
283
182
|
}
|
|
284
|
-
/**
|
|
285
|
-
* @public
|
|
286
|
-
* @enum
|
|
287
|
-
*/
|
|
288
|
-
export declare const LanguageCodeString: {
|
|
289
|
-
readonly de_DE: "de-DE";
|
|
290
|
-
readonly en_GB: "en-GB";
|
|
291
|
-
readonly en_US: "en-US";
|
|
292
|
-
readonly es_419: "es-419";
|
|
293
|
-
readonly es_ES: "es-ES";
|
|
294
|
-
readonly fr_CA: "fr-CA";
|
|
295
|
-
readonly fr_FR: "fr-FR";
|
|
296
|
-
readonly it_IT: "it-IT";
|
|
297
|
-
readonly jp_JP: "ja-JP";
|
|
298
|
-
readonly kr_KR: "kr-KR";
|
|
299
|
-
readonly pt_BR: "pt-BR";
|
|
300
|
-
readonly zh_CN: "zh-CN";
|
|
301
|
-
readonly zh_TW: "zh-TW";
|
|
302
|
-
};
|
|
303
|
-
/**
|
|
304
|
-
* @public
|
|
305
|
-
*/
|
|
306
|
-
export type LanguageCodeString = (typeof LanguageCodeString)[keyof typeof LanguageCodeString];
|
|
307
183
|
/**
|
|
308
184
|
* @public
|
|
309
185
|
*/
|
|
@@ -326,45 +202,6 @@ export interface CreateSMSSandboxPhoneNumberInput {
|
|
|
326
202
|
*/
|
|
327
203
|
export interface CreateSMSSandboxPhoneNumberResult {
|
|
328
204
|
}
|
|
329
|
-
/**
|
|
330
|
-
* <p>Indicates that the specified phone number opted out of receiving SMS messages from
|
|
331
|
-
* your Amazon Web Services account. You can't send SMS messages to phone numbers that opt out.</p>
|
|
332
|
-
* @public
|
|
333
|
-
*/
|
|
334
|
-
export declare class OptedOutException extends __BaseException {
|
|
335
|
-
readonly name: "OptedOutException";
|
|
336
|
-
readonly $fault: "client";
|
|
337
|
-
/**
|
|
338
|
-
* @internal
|
|
339
|
-
*/
|
|
340
|
-
constructor(opts: __ExceptionOptionType<OptedOutException, __BaseException>);
|
|
341
|
-
}
|
|
342
|
-
/**
|
|
343
|
-
* <p>Indicates that a request parameter does not comply with the associated
|
|
344
|
-
* constraints.</p>
|
|
345
|
-
* @public
|
|
346
|
-
*/
|
|
347
|
-
export declare class UserErrorException extends __BaseException {
|
|
348
|
-
readonly name: "UserErrorException";
|
|
349
|
-
readonly $fault: "client";
|
|
350
|
-
/**
|
|
351
|
-
* @internal
|
|
352
|
-
*/
|
|
353
|
-
constructor(opts: __ExceptionOptionType<UserErrorException, __BaseException>);
|
|
354
|
-
}
|
|
355
|
-
/**
|
|
356
|
-
* <p>Can't perform multiple operations on a tag simultaneously. Perform the operations
|
|
357
|
-
* sequentially.</p>
|
|
358
|
-
* @public
|
|
359
|
-
*/
|
|
360
|
-
export declare class ConcurrentAccessException extends __BaseException {
|
|
361
|
-
readonly name: "ConcurrentAccessException";
|
|
362
|
-
readonly $fault: "client";
|
|
363
|
-
/**
|
|
364
|
-
* @internal
|
|
365
|
-
*/
|
|
366
|
-
constructor(opts: __ExceptionOptionType<ConcurrentAccessException, __BaseException>);
|
|
367
|
-
}
|
|
368
205
|
/**
|
|
369
206
|
* <p>The list of tags to be added to the specified topic.</p>
|
|
370
207
|
* @public
|
|
@@ -649,69 +486,6 @@ export interface CreateTopicResponse {
|
|
|
649
486
|
*/
|
|
650
487
|
TopicArn?: string | undefined;
|
|
651
488
|
}
|
|
652
|
-
/**
|
|
653
|
-
* <p>The credential signature isn't valid. You must use an HTTPS endpoint and sign your
|
|
654
|
-
* request using Signature Version 4.</p>
|
|
655
|
-
* @public
|
|
656
|
-
*/
|
|
657
|
-
export declare class InvalidSecurityException extends __BaseException {
|
|
658
|
-
readonly name: "InvalidSecurityException";
|
|
659
|
-
readonly $fault: "client";
|
|
660
|
-
/**
|
|
661
|
-
* @internal
|
|
662
|
-
*/
|
|
663
|
-
constructor(opts: __ExceptionOptionType<InvalidSecurityException, __BaseException>);
|
|
664
|
-
}
|
|
665
|
-
/**
|
|
666
|
-
* <p>A tag has been added to a resource with the same ARN as a deleted resource. Wait a
|
|
667
|
-
* short while and then retry the operation.</p>
|
|
668
|
-
* @public
|
|
669
|
-
*/
|
|
670
|
-
export declare class StaleTagException extends __BaseException {
|
|
671
|
-
readonly name: "StaleTagException";
|
|
672
|
-
readonly $fault: "client";
|
|
673
|
-
/**
|
|
674
|
-
* @internal
|
|
675
|
-
*/
|
|
676
|
-
constructor(opts: __ExceptionOptionType<StaleTagException, __BaseException>);
|
|
677
|
-
}
|
|
678
|
-
/**
|
|
679
|
-
* <p>Can't add more than 50 tags to a topic.</p>
|
|
680
|
-
* @public
|
|
681
|
-
*/
|
|
682
|
-
export declare class TagLimitExceededException extends __BaseException {
|
|
683
|
-
readonly name: "TagLimitExceededException";
|
|
684
|
-
readonly $fault: "client";
|
|
685
|
-
/**
|
|
686
|
-
* @internal
|
|
687
|
-
*/
|
|
688
|
-
constructor(opts: __ExceptionOptionType<TagLimitExceededException, __BaseException>);
|
|
689
|
-
}
|
|
690
|
-
/**
|
|
691
|
-
* <p>The request doesn't comply with the IAM tag policy. Correct your request and then
|
|
692
|
-
* retry it.</p>
|
|
693
|
-
* @public
|
|
694
|
-
*/
|
|
695
|
-
export declare class TagPolicyException extends __BaseException {
|
|
696
|
-
readonly name: "TagPolicyException";
|
|
697
|
-
readonly $fault: "client";
|
|
698
|
-
/**
|
|
699
|
-
* @internal
|
|
700
|
-
*/
|
|
701
|
-
constructor(opts: __ExceptionOptionType<TagPolicyException, __BaseException>);
|
|
702
|
-
}
|
|
703
|
-
/**
|
|
704
|
-
* <p>Indicates that the customer already owns the maximum allowed number of topics.</p>
|
|
705
|
-
* @public
|
|
706
|
-
*/
|
|
707
|
-
export declare class TopicLimitExceededException extends __BaseException {
|
|
708
|
-
readonly name: "TopicLimitExceededException";
|
|
709
|
-
readonly $fault: "client";
|
|
710
|
-
/**
|
|
711
|
-
* @internal
|
|
712
|
-
*/
|
|
713
|
-
constructor(opts: __ExceptionOptionType<TopicLimitExceededException, __BaseException>);
|
|
714
|
-
}
|
|
715
489
|
/**
|
|
716
490
|
* <p>Input for <code>DeleteEndpoint</code> action.</p>
|
|
717
491
|
* @public
|
|
@@ -751,19 +525,6 @@ export interface DeleteSMSSandboxPhoneNumberInput {
|
|
|
751
525
|
*/
|
|
752
526
|
export interface DeleteSMSSandboxPhoneNumberResult {
|
|
753
527
|
}
|
|
754
|
-
/**
|
|
755
|
-
* <p>Can’t perform the action on the specified resource. Make sure that the resource
|
|
756
|
-
* exists.</p>
|
|
757
|
-
* @public
|
|
758
|
-
*/
|
|
759
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
760
|
-
readonly name: "ResourceNotFoundException";
|
|
761
|
-
readonly $fault: "client";
|
|
762
|
-
/**
|
|
763
|
-
* @internal
|
|
764
|
-
*/
|
|
765
|
-
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
766
|
-
}
|
|
767
528
|
/**
|
|
768
529
|
* @public
|
|
769
530
|
*/
|
|
@@ -774,18 +535,6 @@ export interface DeleteTopicInput {
|
|
|
774
535
|
*/
|
|
775
536
|
TopicArn: string | undefined;
|
|
776
537
|
}
|
|
777
|
-
/**
|
|
778
|
-
* <p>Indicates that the specified state is not a valid state for an event source.</p>
|
|
779
|
-
* @public
|
|
780
|
-
*/
|
|
781
|
-
export declare class InvalidStateException extends __BaseException {
|
|
782
|
-
readonly name: "InvalidStateException";
|
|
783
|
-
readonly $fault: "client";
|
|
784
|
-
/**
|
|
785
|
-
* @internal
|
|
786
|
-
*/
|
|
787
|
-
constructor(opts: __ExceptionOptionType<InvalidStateException, __BaseException>);
|
|
788
|
-
}
|
|
789
538
|
/**
|
|
790
539
|
* @public
|
|
791
540
|
*/
|
|
@@ -1308,32 +1057,6 @@ export interface ListOriginationNumbersRequest {
|
|
|
1308
1057
|
*/
|
|
1309
1058
|
MaxResults?: number | undefined;
|
|
1310
1059
|
}
|
|
1311
|
-
/**
|
|
1312
|
-
* @public
|
|
1313
|
-
* @enum
|
|
1314
|
-
*/
|
|
1315
|
-
export declare const NumberCapability: {
|
|
1316
|
-
readonly MMS: "MMS";
|
|
1317
|
-
readonly SMS: "SMS";
|
|
1318
|
-
readonly VOICE: "VOICE";
|
|
1319
|
-
};
|
|
1320
|
-
/**
|
|
1321
|
-
* @public
|
|
1322
|
-
*/
|
|
1323
|
-
export type NumberCapability = (typeof NumberCapability)[keyof typeof NumberCapability];
|
|
1324
|
-
/**
|
|
1325
|
-
* @public
|
|
1326
|
-
* @enum
|
|
1327
|
-
*/
|
|
1328
|
-
export declare const RouteType: {
|
|
1329
|
-
readonly Premium: "Premium";
|
|
1330
|
-
readonly Promotional: "Promotional";
|
|
1331
|
-
readonly Transactional: "Transactional";
|
|
1332
|
-
};
|
|
1333
|
-
/**
|
|
1334
|
-
* @public
|
|
1335
|
-
*/
|
|
1336
|
-
export type RouteType = (typeof RouteType)[keyof typeof RouteType];
|
|
1337
1060
|
/**
|
|
1338
1061
|
* <p>A list of phone numbers and their metadata.</p>
|
|
1339
1062
|
* @public
|
|
@@ -1387,19 +1110,6 @@ export interface ListOriginationNumbersResult {
|
|
|
1387
1110
|
*/
|
|
1388
1111
|
PhoneNumbers?: PhoneNumberInformation[] | undefined;
|
|
1389
1112
|
}
|
|
1390
|
-
/**
|
|
1391
|
-
* <p>Indicates that a parameter in the request is invalid.</p>
|
|
1392
|
-
* @public
|
|
1393
|
-
*/
|
|
1394
|
-
export declare class ValidationException extends __BaseException {
|
|
1395
|
-
readonly name: "ValidationException";
|
|
1396
|
-
readonly $fault: "client";
|
|
1397
|
-
Message: string | undefined;
|
|
1398
|
-
/**
|
|
1399
|
-
* @internal
|
|
1400
|
-
*/
|
|
1401
|
-
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
1402
|
-
}
|
|
1403
1113
|
/**
|
|
1404
1114
|
* <p>The input for the <code>ListPhoneNumbersOptedOut</code> action.</p>
|
|
1405
1115
|
* @public
|
|
@@ -1498,18 +1208,6 @@ export interface ListSMSSandboxPhoneNumbersInput {
|
|
|
1498
1208
|
*/
|
|
1499
1209
|
MaxResults?: number | undefined;
|
|
1500
1210
|
}
|
|
1501
|
-
/**
|
|
1502
|
-
* @public
|
|
1503
|
-
* @enum
|
|
1504
|
-
*/
|
|
1505
|
-
export declare const SMSSandboxPhoneNumberVerificationStatus: {
|
|
1506
|
-
readonly Pending: "Pending";
|
|
1507
|
-
readonly Verified: "Verified";
|
|
1508
|
-
};
|
|
1509
|
-
/**
|
|
1510
|
-
* @public
|
|
1511
|
-
*/
|
|
1512
|
-
export type SMSSandboxPhoneNumberVerificationStatus = (typeof SMSSandboxPhoneNumberVerificationStatus)[keyof typeof SMSSandboxPhoneNumberVerificationStatus];
|
|
1513
1211
|
/**
|
|
1514
1212
|
* <p>A verified or pending destination phone number in the SMS sandbox.</p>
|
|
1515
1213
|
* <p>When you start using Amazon SNS to send SMS messages, your Amazon Web Services account is in the
|
|
@@ -1719,122 +1417,6 @@ export interface OptInPhoneNumberInput {
|
|
|
1719
1417
|
*/
|
|
1720
1418
|
export interface OptInPhoneNumberResponse {
|
|
1721
1419
|
}
|
|
1722
|
-
/**
|
|
1723
|
-
* <p>Exception error indicating endpoint disabled.</p>
|
|
1724
|
-
* @public
|
|
1725
|
-
*/
|
|
1726
|
-
export declare class EndpointDisabledException extends __BaseException {
|
|
1727
|
-
readonly name: "EndpointDisabledException";
|
|
1728
|
-
readonly $fault: "client";
|
|
1729
|
-
/**
|
|
1730
|
-
* @internal
|
|
1731
|
-
*/
|
|
1732
|
-
constructor(opts: __ExceptionOptionType<EndpointDisabledException, __BaseException>);
|
|
1733
|
-
}
|
|
1734
|
-
/**
|
|
1735
|
-
* <p>Indicates that a request parameter does not comply with the associated constraints.</p>
|
|
1736
|
-
* @public
|
|
1737
|
-
*/
|
|
1738
|
-
export declare class InvalidParameterValueException extends __BaseException {
|
|
1739
|
-
readonly name: "InvalidParameterValueException";
|
|
1740
|
-
readonly $fault: "client";
|
|
1741
|
-
/**
|
|
1742
|
-
* @internal
|
|
1743
|
-
*/
|
|
1744
|
-
constructor(opts: __ExceptionOptionType<InvalidParameterValueException, __BaseException>);
|
|
1745
|
-
}
|
|
1746
|
-
/**
|
|
1747
|
-
* <p>The ciphertext references a key that doesn't exist or that you don't have access
|
|
1748
|
-
* to.</p>
|
|
1749
|
-
* @public
|
|
1750
|
-
*/
|
|
1751
|
-
export declare class KMSAccessDeniedException extends __BaseException {
|
|
1752
|
-
readonly name: "KMSAccessDeniedException";
|
|
1753
|
-
readonly $fault: "client";
|
|
1754
|
-
/**
|
|
1755
|
-
* @internal
|
|
1756
|
-
*/
|
|
1757
|
-
constructor(opts: __ExceptionOptionType<KMSAccessDeniedException, __BaseException>);
|
|
1758
|
-
}
|
|
1759
|
-
/**
|
|
1760
|
-
* <p>The request was rejected because the specified Amazon Web Services KMS key isn't
|
|
1761
|
-
* enabled.</p>
|
|
1762
|
-
* @public
|
|
1763
|
-
*/
|
|
1764
|
-
export declare class KMSDisabledException extends __BaseException {
|
|
1765
|
-
readonly name: "KMSDisabledException";
|
|
1766
|
-
readonly $fault: "client";
|
|
1767
|
-
/**
|
|
1768
|
-
* @internal
|
|
1769
|
-
*/
|
|
1770
|
-
constructor(opts: __ExceptionOptionType<KMSDisabledException, __BaseException>);
|
|
1771
|
-
}
|
|
1772
|
-
/**
|
|
1773
|
-
* <p>The request was rejected because the state of the specified resource isn't valid for
|
|
1774
|
-
* this request. For more information, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html">Key states of Amazon Web Services KMS keys</a> in the <i>Key Management Service Developer
|
|
1775
|
-
* Guide</i>.</p>
|
|
1776
|
-
* @public
|
|
1777
|
-
*/
|
|
1778
|
-
export declare class KMSInvalidStateException extends __BaseException {
|
|
1779
|
-
readonly name: "KMSInvalidStateException";
|
|
1780
|
-
readonly $fault: "client";
|
|
1781
|
-
/**
|
|
1782
|
-
* @internal
|
|
1783
|
-
*/
|
|
1784
|
-
constructor(opts: __ExceptionOptionType<KMSInvalidStateException, __BaseException>);
|
|
1785
|
-
}
|
|
1786
|
-
/**
|
|
1787
|
-
* <p>The request was rejected because the specified entity or resource can't be
|
|
1788
|
-
* found.</p>
|
|
1789
|
-
* @public
|
|
1790
|
-
*/
|
|
1791
|
-
export declare class KMSNotFoundException extends __BaseException {
|
|
1792
|
-
readonly name: "KMSNotFoundException";
|
|
1793
|
-
readonly $fault: "client";
|
|
1794
|
-
/**
|
|
1795
|
-
* @internal
|
|
1796
|
-
*/
|
|
1797
|
-
constructor(opts: __ExceptionOptionType<KMSNotFoundException, __BaseException>);
|
|
1798
|
-
}
|
|
1799
|
-
/**
|
|
1800
|
-
* <p>The Amazon Web Services access key ID needs a subscription for the service.</p>
|
|
1801
|
-
* @public
|
|
1802
|
-
*/
|
|
1803
|
-
export declare class KMSOptInRequired extends __BaseException {
|
|
1804
|
-
readonly name: "KMSOptInRequired";
|
|
1805
|
-
readonly $fault: "client";
|
|
1806
|
-
/**
|
|
1807
|
-
* @internal
|
|
1808
|
-
*/
|
|
1809
|
-
constructor(opts: __ExceptionOptionType<KMSOptInRequired, __BaseException>);
|
|
1810
|
-
}
|
|
1811
|
-
/**
|
|
1812
|
-
* <p>The request was denied due to request throttling. For more information about
|
|
1813
|
-
* throttling, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/limits.html#requests-per-second">Limits</a> in
|
|
1814
|
-
* the <i>Key Management Service Developer Guide.</i>
|
|
1815
|
-
* </p>
|
|
1816
|
-
* @public
|
|
1817
|
-
*/
|
|
1818
|
-
export declare class KMSThrottlingException extends __BaseException {
|
|
1819
|
-
readonly name: "KMSThrottlingException";
|
|
1820
|
-
readonly $fault: "client";
|
|
1821
|
-
/**
|
|
1822
|
-
* @internal
|
|
1823
|
-
*/
|
|
1824
|
-
constructor(opts: __ExceptionOptionType<KMSThrottlingException, __BaseException>);
|
|
1825
|
-
}
|
|
1826
|
-
/**
|
|
1827
|
-
* <p>Exception error indicating platform application disabled.</p>
|
|
1828
|
-
* @public
|
|
1829
|
-
*/
|
|
1830
|
-
export declare class PlatformApplicationDisabledException extends __BaseException {
|
|
1831
|
-
readonly name: "PlatformApplicationDisabledException";
|
|
1832
|
-
readonly $fault: "client";
|
|
1833
|
-
/**
|
|
1834
|
-
* @internal
|
|
1835
|
-
*/
|
|
1836
|
-
constructor(opts: __ExceptionOptionType<PlatformApplicationDisabledException, __BaseException>);
|
|
1837
|
-
}
|
|
1838
1420
|
/**
|
|
1839
1421
|
* <p>The user-specified message attribute value. For string data types, the value attribute
|
|
1840
1422
|
* has the same restrictions on the content as the message body. For more information, see
|
|
@@ -2106,54 +1688,6 @@ export interface PublishResponse {
|
|
|
2106
1688
|
*/
|
|
2107
1689
|
SequenceNumber?: string | undefined;
|
|
2108
1690
|
}
|
|
2109
|
-
/**
|
|
2110
|
-
* <p>Two or more batch entries in the request have the same <code>Id</code>.</p>
|
|
2111
|
-
* @public
|
|
2112
|
-
*/
|
|
2113
|
-
export declare class BatchEntryIdsNotDistinctException extends __BaseException {
|
|
2114
|
-
readonly name: "BatchEntryIdsNotDistinctException";
|
|
2115
|
-
readonly $fault: "client";
|
|
2116
|
-
/**
|
|
2117
|
-
* @internal
|
|
2118
|
-
*/
|
|
2119
|
-
constructor(opts: __ExceptionOptionType<BatchEntryIdsNotDistinctException, __BaseException>);
|
|
2120
|
-
}
|
|
2121
|
-
/**
|
|
2122
|
-
* <p>The length of all the batch messages put together is more than the limit.</p>
|
|
2123
|
-
* @public
|
|
2124
|
-
*/
|
|
2125
|
-
export declare class BatchRequestTooLongException extends __BaseException {
|
|
2126
|
-
readonly name: "BatchRequestTooLongException";
|
|
2127
|
-
readonly $fault: "client";
|
|
2128
|
-
/**
|
|
2129
|
-
* @internal
|
|
2130
|
-
*/
|
|
2131
|
-
constructor(opts: __ExceptionOptionType<BatchRequestTooLongException, __BaseException>);
|
|
2132
|
-
}
|
|
2133
|
-
/**
|
|
2134
|
-
* <p>The batch request doesn't contain any entries.</p>
|
|
2135
|
-
* @public
|
|
2136
|
-
*/
|
|
2137
|
-
export declare class EmptyBatchRequestException extends __BaseException {
|
|
2138
|
-
readonly name: "EmptyBatchRequestException";
|
|
2139
|
-
readonly $fault: "client";
|
|
2140
|
-
/**
|
|
2141
|
-
* @internal
|
|
2142
|
-
*/
|
|
2143
|
-
constructor(opts: __ExceptionOptionType<EmptyBatchRequestException, __BaseException>);
|
|
2144
|
-
}
|
|
2145
|
-
/**
|
|
2146
|
-
* <p>The <code>Id</code> of a batch entry in a batch request doesn't abide by the specification. </p>
|
|
2147
|
-
* @public
|
|
2148
|
-
*/
|
|
2149
|
-
export declare class InvalidBatchEntryIdException extends __BaseException {
|
|
2150
|
-
readonly name: "InvalidBatchEntryIdException";
|
|
2151
|
-
readonly $fault: "client";
|
|
2152
|
-
/**
|
|
2153
|
-
* @internal
|
|
2154
|
-
*/
|
|
2155
|
-
constructor(opts: __ExceptionOptionType<InvalidBatchEntryIdException, __BaseException>);
|
|
2156
|
-
}
|
|
2157
1691
|
/**
|
|
2158
1692
|
* <p>Contains the details of a single Amazon SNS message along with an <code>Id</code> that
|
|
2159
1693
|
* identifies a message within the batch. </p>
|
|
@@ -2387,18 +1921,6 @@ export interface PublishBatchResponse {
|
|
|
2387
1921
|
*/
|
|
2388
1922
|
Failed?: BatchResultErrorEntry[] | undefined;
|
|
2389
1923
|
}
|
|
2390
|
-
/**
|
|
2391
|
-
* <p> The batch request contains more entries than permissible (more than 10).</p>
|
|
2392
|
-
* @public
|
|
2393
|
-
*/
|
|
2394
|
-
export declare class TooManyEntriesInBatchRequestException extends __BaseException {
|
|
2395
|
-
readonly name: "TooManyEntriesInBatchRequestException";
|
|
2396
|
-
readonly $fault: "client";
|
|
2397
|
-
/**
|
|
2398
|
-
* @internal
|
|
2399
|
-
*/
|
|
2400
|
-
constructor(opts: __ExceptionOptionType<TooManyEntriesInBatchRequestException, __BaseException>);
|
|
2401
|
-
}
|
|
2402
1924
|
/**
|
|
2403
1925
|
* @public
|
|
2404
1926
|
*/
|
|
@@ -3326,24 +2848,6 @@ export interface UntagResourceRequest {
|
|
|
3326
2848
|
*/
|
|
3327
2849
|
export interface UntagResourceResponse {
|
|
3328
2850
|
}
|
|
3329
|
-
/**
|
|
3330
|
-
* <p>Indicates that the one-time password (OTP) used for verification is invalid.</p>
|
|
3331
|
-
* @public
|
|
3332
|
-
*/
|
|
3333
|
-
export declare class VerificationException extends __BaseException {
|
|
3334
|
-
readonly name: "VerificationException";
|
|
3335
|
-
readonly $fault: "client";
|
|
3336
|
-
Message: string | undefined;
|
|
3337
|
-
/**
|
|
3338
|
-
* <p>The status of the verification error.</p>
|
|
3339
|
-
* @public
|
|
3340
|
-
*/
|
|
3341
|
-
Status: string | undefined;
|
|
3342
|
-
/**
|
|
3343
|
-
* @internal
|
|
3344
|
-
*/
|
|
3345
|
-
constructor(opts: __ExceptionOptionType<VerificationException, __BaseException>);
|
|
3346
|
-
}
|
|
3347
2851
|
/**
|
|
3348
2852
|
* @public
|
|
3349
2853
|
*/
|
|
@@ -5,5 +5,7 @@ export { RuntimeExtension } from "./runtimeExtensions";
|
|
|
5
5
|
export { SNSExtensionConfiguration } from "./extensionConfiguration";
|
|
6
6
|
export * from "./commands";
|
|
7
7
|
export * from "./pagination";
|
|
8
|
-
export * from "./models";
|
|
8
|
+
export * from "./models/enums";
|
|
9
|
+
export * from "./models/errors";
|
|
10
|
+
export * from "./models/models_0";
|
|
9
11
|
export { SNSServiceException } from "./models/SNSServiceException";
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
export declare const LanguageCodeString: {
|
|
2
|
+
readonly de_DE: "de-DE";
|
|
3
|
+
readonly en_GB: "en-GB";
|
|
4
|
+
readonly en_US: "en-US";
|
|
5
|
+
readonly es_419: "es-419";
|
|
6
|
+
readonly es_ES: "es-ES";
|
|
7
|
+
readonly fr_CA: "fr-CA";
|
|
8
|
+
readonly fr_FR: "fr-FR";
|
|
9
|
+
readonly it_IT: "it-IT";
|
|
10
|
+
readonly jp_JP: "ja-JP";
|
|
11
|
+
readonly kr_KR: "kr-KR";
|
|
12
|
+
readonly pt_BR: "pt-BR";
|
|
13
|
+
readonly zh_CN: "zh-CN";
|
|
14
|
+
readonly zh_TW: "zh-TW";
|
|
15
|
+
};
|
|
16
|
+
export type LanguageCodeString =
|
|
17
|
+
(typeof LanguageCodeString)[keyof typeof LanguageCodeString];
|
|
18
|
+
export declare const NumberCapability: {
|
|
19
|
+
readonly MMS: "MMS";
|
|
20
|
+
readonly SMS: "SMS";
|
|
21
|
+
readonly VOICE: "VOICE";
|
|
22
|
+
};
|
|
23
|
+
export type NumberCapability =
|
|
24
|
+
(typeof NumberCapability)[keyof typeof NumberCapability];
|
|
25
|
+
export declare const RouteType: {
|
|
26
|
+
readonly Premium: "Premium";
|
|
27
|
+
readonly Promotional: "Promotional";
|
|
28
|
+
readonly Transactional: "Transactional";
|
|
29
|
+
};
|
|
30
|
+
export type RouteType = (typeof RouteType)[keyof typeof RouteType];
|
|
31
|
+
export declare const SMSSandboxPhoneNumberVerificationStatus: {
|
|
32
|
+
readonly Pending: "Pending";
|
|
33
|
+
readonly Verified: "Verified";
|
|
34
|
+
};
|
|
35
|
+
export type SMSSandboxPhoneNumberVerificationStatus =
|
|
36
|
+
(typeof SMSSandboxPhoneNumberVerificationStatus)[keyof typeof SMSSandboxPhoneNumberVerificationStatus];
|