@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
|
@@ -0,0 +1,244 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { SNSServiceException as __BaseException } from "./SNSServiceException";
|
|
3
|
+
export declare class AuthorizationErrorException extends __BaseException {
|
|
4
|
+
readonly name: "AuthorizationErrorException";
|
|
5
|
+
readonly $fault: "client";
|
|
6
|
+
constructor(
|
|
7
|
+
opts: __ExceptionOptionType<AuthorizationErrorException, __BaseException>
|
|
8
|
+
);
|
|
9
|
+
}
|
|
10
|
+
export declare class InternalErrorException extends __BaseException {
|
|
11
|
+
readonly name: "InternalErrorException";
|
|
12
|
+
readonly $fault: "server";
|
|
13
|
+
constructor(
|
|
14
|
+
opts: __ExceptionOptionType<InternalErrorException, __BaseException>
|
|
15
|
+
);
|
|
16
|
+
}
|
|
17
|
+
export declare class InvalidParameterException extends __BaseException {
|
|
18
|
+
readonly name: "InvalidParameterException";
|
|
19
|
+
readonly $fault: "client";
|
|
20
|
+
constructor(
|
|
21
|
+
opts: __ExceptionOptionType<InvalidParameterException, __BaseException>
|
|
22
|
+
);
|
|
23
|
+
}
|
|
24
|
+
export declare class NotFoundException extends __BaseException {
|
|
25
|
+
readonly name: "NotFoundException";
|
|
26
|
+
readonly $fault: "client";
|
|
27
|
+
constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
|
|
28
|
+
}
|
|
29
|
+
export declare class ThrottledException extends __BaseException {
|
|
30
|
+
readonly name: "ThrottledException";
|
|
31
|
+
readonly $fault: "client";
|
|
32
|
+
constructor(opts: __ExceptionOptionType<ThrottledException, __BaseException>);
|
|
33
|
+
}
|
|
34
|
+
export declare class FilterPolicyLimitExceededException extends __BaseException {
|
|
35
|
+
readonly name: "FilterPolicyLimitExceededException";
|
|
36
|
+
readonly $fault: "client";
|
|
37
|
+
constructor(
|
|
38
|
+
opts: __ExceptionOptionType<
|
|
39
|
+
FilterPolicyLimitExceededException,
|
|
40
|
+
__BaseException
|
|
41
|
+
>
|
|
42
|
+
);
|
|
43
|
+
}
|
|
44
|
+
export declare class ReplayLimitExceededException extends __BaseException {
|
|
45
|
+
readonly name: "ReplayLimitExceededException";
|
|
46
|
+
readonly $fault: "client";
|
|
47
|
+
constructor(
|
|
48
|
+
opts: __ExceptionOptionType<ReplayLimitExceededException, __BaseException>
|
|
49
|
+
);
|
|
50
|
+
}
|
|
51
|
+
export declare class SubscriptionLimitExceededException extends __BaseException {
|
|
52
|
+
readonly name: "SubscriptionLimitExceededException";
|
|
53
|
+
readonly $fault: "client";
|
|
54
|
+
constructor(
|
|
55
|
+
opts: __ExceptionOptionType<
|
|
56
|
+
SubscriptionLimitExceededException,
|
|
57
|
+
__BaseException
|
|
58
|
+
>
|
|
59
|
+
);
|
|
60
|
+
}
|
|
61
|
+
export declare class OptedOutException extends __BaseException {
|
|
62
|
+
readonly name: "OptedOutException";
|
|
63
|
+
readonly $fault: "client";
|
|
64
|
+
constructor(opts: __ExceptionOptionType<OptedOutException, __BaseException>);
|
|
65
|
+
}
|
|
66
|
+
export declare class UserErrorException extends __BaseException {
|
|
67
|
+
readonly name: "UserErrorException";
|
|
68
|
+
readonly $fault: "client";
|
|
69
|
+
constructor(opts: __ExceptionOptionType<UserErrorException, __BaseException>);
|
|
70
|
+
}
|
|
71
|
+
export declare class ConcurrentAccessException extends __BaseException {
|
|
72
|
+
readonly name: "ConcurrentAccessException";
|
|
73
|
+
readonly $fault: "client";
|
|
74
|
+
constructor(
|
|
75
|
+
opts: __ExceptionOptionType<ConcurrentAccessException, __BaseException>
|
|
76
|
+
);
|
|
77
|
+
}
|
|
78
|
+
export declare class InvalidSecurityException extends __BaseException {
|
|
79
|
+
readonly name: "InvalidSecurityException";
|
|
80
|
+
readonly $fault: "client";
|
|
81
|
+
constructor(
|
|
82
|
+
opts: __ExceptionOptionType<InvalidSecurityException, __BaseException>
|
|
83
|
+
);
|
|
84
|
+
}
|
|
85
|
+
export declare class StaleTagException extends __BaseException {
|
|
86
|
+
readonly name: "StaleTagException";
|
|
87
|
+
readonly $fault: "client";
|
|
88
|
+
constructor(opts: __ExceptionOptionType<StaleTagException, __BaseException>);
|
|
89
|
+
}
|
|
90
|
+
export declare class TagLimitExceededException extends __BaseException {
|
|
91
|
+
readonly name: "TagLimitExceededException";
|
|
92
|
+
readonly $fault: "client";
|
|
93
|
+
constructor(
|
|
94
|
+
opts: __ExceptionOptionType<TagLimitExceededException, __BaseException>
|
|
95
|
+
);
|
|
96
|
+
}
|
|
97
|
+
export declare class TagPolicyException extends __BaseException {
|
|
98
|
+
readonly name: "TagPolicyException";
|
|
99
|
+
readonly $fault: "client";
|
|
100
|
+
constructor(opts: __ExceptionOptionType<TagPolicyException, __BaseException>);
|
|
101
|
+
}
|
|
102
|
+
export declare class TopicLimitExceededException extends __BaseException {
|
|
103
|
+
readonly name: "TopicLimitExceededException";
|
|
104
|
+
readonly $fault: "client";
|
|
105
|
+
constructor(
|
|
106
|
+
opts: __ExceptionOptionType<TopicLimitExceededException, __BaseException>
|
|
107
|
+
);
|
|
108
|
+
}
|
|
109
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
110
|
+
readonly name: "ResourceNotFoundException";
|
|
111
|
+
readonly $fault: "client";
|
|
112
|
+
constructor(
|
|
113
|
+
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
114
|
+
);
|
|
115
|
+
}
|
|
116
|
+
export declare class InvalidStateException extends __BaseException {
|
|
117
|
+
readonly name: "InvalidStateException";
|
|
118
|
+
readonly $fault: "client";
|
|
119
|
+
constructor(
|
|
120
|
+
opts: __ExceptionOptionType<InvalidStateException, __BaseException>
|
|
121
|
+
);
|
|
122
|
+
}
|
|
123
|
+
export declare class ValidationException extends __BaseException {
|
|
124
|
+
readonly name: "ValidationException";
|
|
125
|
+
readonly $fault: "client";
|
|
126
|
+
Message: string | undefined;
|
|
127
|
+
constructor(
|
|
128
|
+
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
129
|
+
);
|
|
130
|
+
}
|
|
131
|
+
export declare class EndpointDisabledException extends __BaseException {
|
|
132
|
+
readonly name: "EndpointDisabledException";
|
|
133
|
+
readonly $fault: "client";
|
|
134
|
+
constructor(
|
|
135
|
+
opts: __ExceptionOptionType<EndpointDisabledException, __BaseException>
|
|
136
|
+
);
|
|
137
|
+
}
|
|
138
|
+
export declare class InvalidParameterValueException extends __BaseException {
|
|
139
|
+
readonly name: "InvalidParameterValueException";
|
|
140
|
+
readonly $fault: "client";
|
|
141
|
+
constructor(
|
|
142
|
+
opts: __ExceptionOptionType<InvalidParameterValueException, __BaseException>
|
|
143
|
+
);
|
|
144
|
+
}
|
|
145
|
+
export declare class KMSAccessDeniedException extends __BaseException {
|
|
146
|
+
readonly name: "KMSAccessDeniedException";
|
|
147
|
+
readonly $fault: "client";
|
|
148
|
+
constructor(
|
|
149
|
+
opts: __ExceptionOptionType<KMSAccessDeniedException, __BaseException>
|
|
150
|
+
);
|
|
151
|
+
}
|
|
152
|
+
export declare class KMSDisabledException extends __BaseException {
|
|
153
|
+
readonly name: "KMSDisabledException";
|
|
154
|
+
readonly $fault: "client";
|
|
155
|
+
constructor(
|
|
156
|
+
opts: __ExceptionOptionType<KMSDisabledException, __BaseException>
|
|
157
|
+
);
|
|
158
|
+
}
|
|
159
|
+
export declare class KMSInvalidStateException extends __BaseException {
|
|
160
|
+
readonly name: "KMSInvalidStateException";
|
|
161
|
+
readonly $fault: "client";
|
|
162
|
+
constructor(
|
|
163
|
+
opts: __ExceptionOptionType<KMSInvalidStateException, __BaseException>
|
|
164
|
+
);
|
|
165
|
+
}
|
|
166
|
+
export declare class KMSNotFoundException extends __BaseException {
|
|
167
|
+
readonly name: "KMSNotFoundException";
|
|
168
|
+
readonly $fault: "client";
|
|
169
|
+
constructor(
|
|
170
|
+
opts: __ExceptionOptionType<KMSNotFoundException, __BaseException>
|
|
171
|
+
);
|
|
172
|
+
}
|
|
173
|
+
export declare class KMSOptInRequired extends __BaseException {
|
|
174
|
+
readonly name: "KMSOptInRequired";
|
|
175
|
+
readonly $fault: "client";
|
|
176
|
+
constructor(opts: __ExceptionOptionType<KMSOptInRequired, __BaseException>);
|
|
177
|
+
}
|
|
178
|
+
export declare class KMSThrottlingException extends __BaseException {
|
|
179
|
+
readonly name: "KMSThrottlingException";
|
|
180
|
+
readonly $fault: "client";
|
|
181
|
+
constructor(
|
|
182
|
+
opts: __ExceptionOptionType<KMSThrottlingException, __BaseException>
|
|
183
|
+
);
|
|
184
|
+
}
|
|
185
|
+
export declare class PlatformApplicationDisabledException extends __BaseException {
|
|
186
|
+
readonly name: "PlatformApplicationDisabledException";
|
|
187
|
+
readonly $fault: "client";
|
|
188
|
+
constructor(
|
|
189
|
+
opts: __ExceptionOptionType<
|
|
190
|
+
PlatformApplicationDisabledException,
|
|
191
|
+
__BaseException
|
|
192
|
+
>
|
|
193
|
+
);
|
|
194
|
+
}
|
|
195
|
+
export declare class BatchEntryIdsNotDistinctException extends __BaseException {
|
|
196
|
+
readonly name: "BatchEntryIdsNotDistinctException";
|
|
197
|
+
readonly $fault: "client";
|
|
198
|
+
constructor(
|
|
199
|
+
opts: __ExceptionOptionType<
|
|
200
|
+
BatchEntryIdsNotDistinctException,
|
|
201
|
+
__BaseException
|
|
202
|
+
>
|
|
203
|
+
);
|
|
204
|
+
}
|
|
205
|
+
export declare class BatchRequestTooLongException extends __BaseException {
|
|
206
|
+
readonly name: "BatchRequestTooLongException";
|
|
207
|
+
readonly $fault: "client";
|
|
208
|
+
constructor(
|
|
209
|
+
opts: __ExceptionOptionType<BatchRequestTooLongException, __BaseException>
|
|
210
|
+
);
|
|
211
|
+
}
|
|
212
|
+
export declare class EmptyBatchRequestException extends __BaseException {
|
|
213
|
+
readonly name: "EmptyBatchRequestException";
|
|
214
|
+
readonly $fault: "client";
|
|
215
|
+
constructor(
|
|
216
|
+
opts: __ExceptionOptionType<EmptyBatchRequestException, __BaseException>
|
|
217
|
+
);
|
|
218
|
+
}
|
|
219
|
+
export declare class InvalidBatchEntryIdException extends __BaseException {
|
|
220
|
+
readonly name: "InvalidBatchEntryIdException";
|
|
221
|
+
readonly $fault: "client";
|
|
222
|
+
constructor(
|
|
223
|
+
opts: __ExceptionOptionType<InvalidBatchEntryIdException, __BaseException>
|
|
224
|
+
);
|
|
225
|
+
}
|
|
226
|
+
export declare class TooManyEntriesInBatchRequestException extends __BaseException {
|
|
227
|
+
readonly name: "TooManyEntriesInBatchRequestException";
|
|
228
|
+
readonly $fault: "client";
|
|
229
|
+
constructor(
|
|
230
|
+
opts: __ExceptionOptionType<
|
|
231
|
+
TooManyEntriesInBatchRequestException,
|
|
232
|
+
__BaseException
|
|
233
|
+
>
|
|
234
|
+
);
|
|
235
|
+
}
|
|
236
|
+
export declare class VerificationException extends __BaseException {
|
|
237
|
+
readonly name: "VerificationException";
|
|
238
|
+
readonly $fault: "client";
|
|
239
|
+
Message: string | undefined;
|
|
240
|
+
Status: string | undefined;
|
|
241
|
+
constructor(
|
|
242
|
+
opts: __ExceptionOptionType<VerificationException, __BaseException>
|
|
243
|
+
);
|
|
244
|
+
}
|
|
@@ -1,48 +1,21 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import {
|
|
2
|
+
LanguageCodeString,
|
|
3
|
+
NumberCapability,
|
|
4
|
+
RouteType,
|
|
5
|
+
SMSSandboxPhoneNumberVerificationStatus,
|
|
6
|
+
} from "./enums";
|
|
3
7
|
export interface AddPermissionInput {
|
|
4
8
|
TopicArn: string | undefined;
|
|
5
9
|
Label: string | undefined;
|
|
6
10
|
AWSAccountId: string[] | undefined;
|
|
7
11
|
ActionName: string[] | undefined;
|
|
8
12
|
}
|
|
9
|
-
export declare class AuthorizationErrorException extends __BaseException {
|
|
10
|
-
readonly name: "AuthorizationErrorException";
|
|
11
|
-
readonly $fault: "client";
|
|
12
|
-
constructor(
|
|
13
|
-
opts: __ExceptionOptionType<AuthorizationErrorException, __BaseException>
|
|
14
|
-
);
|
|
15
|
-
}
|
|
16
|
-
export declare class InternalErrorException extends __BaseException {
|
|
17
|
-
readonly name: "InternalErrorException";
|
|
18
|
-
readonly $fault: "server";
|
|
19
|
-
constructor(
|
|
20
|
-
opts: __ExceptionOptionType<InternalErrorException, __BaseException>
|
|
21
|
-
);
|
|
22
|
-
}
|
|
23
|
-
export declare class InvalidParameterException extends __BaseException {
|
|
24
|
-
readonly name: "InvalidParameterException";
|
|
25
|
-
readonly $fault: "client";
|
|
26
|
-
constructor(
|
|
27
|
-
opts: __ExceptionOptionType<InvalidParameterException, __BaseException>
|
|
28
|
-
);
|
|
29
|
-
}
|
|
30
|
-
export declare class NotFoundException extends __BaseException {
|
|
31
|
-
readonly name: "NotFoundException";
|
|
32
|
-
readonly $fault: "client";
|
|
33
|
-
constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
|
|
34
|
-
}
|
|
35
13
|
export interface CheckIfPhoneNumberIsOptedOutInput {
|
|
36
14
|
phoneNumber: string | undefined;
|
|
37
15
|
}
|
|
38
16
|
export interface CheckIfPhoneNumberIsOptedOutResponse {
|
|
39
17
|
isOptedOut?: boolean | undefined;
|
|
40
18
|
}
|
|
41
|
-
export declare class ThrottledException extends __BaseException {
|
|
42
|
-
readonly name: "ThrottledException";
|
|
43
|
-
readonly $fault: "client";
|
|
44
|
-
constructor(opts: __ExceptionOptionType<ThrottledException, __BaseException>);
|
|
45
|
-
}
|
|
46
19
|
export interface ConfirmSubscriptionInput {
|
|
47
20
|
TopicArn: string | undefined;
|
|
48
21
|
Token: string | undefined;
|
|
@@ -51,33 +24,6 @@ export interface ConfirmSubscriptionInput {
|
|
|
51
24
|
export interface ConfirmSubscriptionResponse {
|
|
52
25
|
SubscriptionArn?: string | undefined;
|
|
53
26
|
}
|
|
54
|
-
export declare class FilterPolicyLimitExceededException extends __BaseException {
|
|
55
|
-
readonly name: "FilterPolicyLimitExceededException";
|
|
56
|
-
readonly $fault: "client";
|
|
57
|
-
constructor(
|
|
58
|
-
opts: __ExceptionOptionType<
|
|
59
|
-
FilterPolicyLimitExceededException,
|
|
60
|
-
__BaseException
|
|
61
|
-
>
|
|
62
|
-
);
|
|
63
|
-
}
|
|
64
|
-
export declare class ReplayLimitExceededException extends __BaseException {
|
|
65
|
-
readonly name: "ReplayLimitExceededException";
|
|
66
|
-
readonly $fault: "client";
|
|
67
|
-
constructor(
|
|
68
|
-
opts: __ExceptionOptionType<ReplayLimitExceededException, __BaseException>
|
|
69
|
-
);
|
|
70
|
-
}
|
|
71
|
-
export declare class SubscriptionLimitExceededException extends __BaseException {
|
|
72
|
-
readonly name: "SubscriptionLimitExceededException";
|
|
73
|
-
readonly $fault: "client";
|
|
74
|
-
constructor(
|
|
75
|
-
opts: __ExceptionOptionType<
|
|
76
|
-
SubscriptionLimitExceededException,
|
|
77
|
-
__BaseException
|
|
78
|
-
>
|
|
79
|
-
);
|
|
80
|
-
}
|
|
81
27
|
export interface CreatePlatformApplicationInput {
|
|
82
28
|
Name: string | undefined;
|
|
83
29
|
Platform: string | undefined;
|
|
@@ -95,45 +41,11 @@ export interface CreatePlatformEndpointInput {
|
|
|
95
41
|
CustomUserData?: string | undefined;
|
|
96
42
|
Attributes?: Record<string, string> | undefined;
|
|
97
43
|
}
|
|
98
|
-
export declare const LanguageCodeString: {
|
|
99
|
-
readonly de_DE: "de-DE";
|
|
100
|
-
readonly en_GB: "en-GB";
|
|
101
|
-
readonly en_US: "en-US";
|
|
102
|
-
readonly es_419: "es-419";
|
|
103
|
-
readonly es_ES: "es-ES";
|
|
104
|
-
readonly fr_CA: "fr-CA";
|
|
105
|
-
readonly fr_FR: "fr-FR";
|
|
106
|
-
readonly it_IT: "it-IT";
|
|
107
|
-
readonly jp_JP: "ja-JP";
|
|
108
|
-
readonly kr_KR: "kr-KR";
|
|
109
|
-
readonly pt_BR: "pt-BR";
|
|
110
|
-
readonly zh_CN: "zh-CN";
|
|
111
|
-
readonly zh_TW: "zh-TW";
|
|
112
|
-
};
|
|
113
|
-
export type LanguageCodeString =
|
|
114
|
-
(typeof LanguageCodeString)[keyof typeof LanguageCodeString];
|
|
115
44
|
export interface CreateSMSSandboxPhoneNumberInput {
|
|
116
45
|
PhoneNumber: string | undefined;
|
|
117
46
|
LanguageCode?: LanguageCodeString | undefined;
|
|
118
47
|
}
|
|
119
48
|
export interface CreateSMSSandboxPhoneNumberResult {}
|
|
120
|
-
export declare class OptedOutException extends __BaseException {
|
|
121
|
-
readonly name: "OptedOutException";
|
|
122
|
-
readonly $fault: "client";
|
|
123
|
-
constructor(opts: __ExceptionOptionType<OptedOutException, __BaseException>);
|
|
124
|
-
}
|
|
125
|
-
export declare class UserErrorException extends __BaseException {
|
|
126
|
-
readonly name: "UserErrorException";
|
|
127
|
-
readonly $fault: "client";
|
|
128
|
-
constructor(opts: __ExceptionOptionType<UserErrorException, __BaseException>);
|
|
129
|
-
}
|
|
130
|
-
export declare class ConcurrentAccessException extends __BaseException {
|
|
131
|
-
readonly name: "ConcurrentAccessException";
|
|
132
|
-
readonly $fault: "client";
|
|
133
|
-
constructor(
|
|
134
|
-
opts: __ExceptionOptionType<ConcurrentAccessException, __BaseException>
|
|
135
|
-
);
|
|
136
|
-
}
|
|
137
49
|
export interface Tag {
|
|
138
50
|
Key: string | undefined;
|
|
139
51
|
Value: string | undefined;
|
|
@@ -147,37 +59,6 @@ export interface CreateTopicInput {
|
|
|
147
59
|
export interface CreateTopicResponse {
|
|
148
60
|
TopicArn?: string | undefined;
|
|
149
61
|
}
|
|
150
|
-
export declare class InvalidSecurityException extends __BaseException {
|
|
151
|
-
readonly name: "InvalidSecurityException";
|
|
152
|
-
readonly $fault: "client";
|
|
153
|
-
constructor(
|
|
154
|
-
opts: __ExceptionOptionType<InvalidSecurityException, __BaseException>
|
|
155
|
-
);
|
|
156
|
-
}
|
|
157
|
-
export declare class StaleTagException extends __BaseException {
|
|
158
|
-
readonly name: "StaleTagException";
|
|
159
|
-
readonly $fault: "client";
|
|
160
|
-
constructor(opts: __ExceptionOptionType<StaleTagException, __BaseException>);
|
|
161
|
-
}
|
|
162
|
-
export declare class TagLimitExceededException extends __BaseException {
|
|
163
|
-
readonly name: "TagLimitExceededException";
|
|
164
|
-
readonly $fault: "client";
|
|
165
|
-
constructor(
|
|
166
|
-
opts: __ExceptionOptionType<TagLimitExceededException, __BaseException>
|
|
167
|
-
);
|
|
168
|
-
}
|
|
169
|
-
export declare class TagPolicyException extends __BaseException {
|
|
170
|
-
readonly name: "TagPolicyException";
|
|
171
|
-
readonly $fault: "client";
|
|
172
|
-
constructor(opts: __ExceptionOptionType<TagPolicyException, __BaseException>);
|
|
173
|
-
}
|
|
174
|
-
export declare class TopicLimitExceededException extends __BaseException {
|
|
175
|
-
readonly name: "TopicLimitExceededException";
|
|
176
|
-
readonly $fault: "client";
|
|
177
|
-
constructor(
|
|
178
|
-
opts: __ExceptionOptionType<TopicLimitExceededException, __BaseException>
|
|
179
|
-
);
|
|
180
|
-
}
|
|
181
62
|
export interface DeleteEndpointInput {
|
|
182
63
|
EndpointArn: string | undefined;
|
|
183
64
|
}
|
|
@@ -188,23 +69,9 @@ export interface DeleteSMSSandboxPhoneNumberInput {
|
|
|
188
69
|
PhoneNumber: string | undefined;
|
|
189
70
|
}
|
|
190
71
|
export interface DeleteSMSSandboxPhoneNumberResult {}
|
|
191
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
192
|
-
readonly name: "ResourceNotFoundException";
|
|
193
|
-
readonly $fault: "client";
|
|
194
|
-
constructor(
|
|
195
|
-
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
196
|
-
);
|
|
197
|
-
}
|
|
198
72
|
export interface DeleteTopicInput {
|
|
199
73
|
TopicArn: string | undefined;
|
|
200
74
|
}
|
|
201
|
-
export declare class InvalidStateException extends __BaseException {
|
|
202
|
-
readonly name: "InvalidStateException";
|
|
203
|
-
readonly $fault: "client";
|
|
204
|
-
constructor(
|
|
205
|
-
opts: __ExceptionOptionType<InvalidStateException, __BaseException>
|
|
206
|
-
);
|
|
207
|
-
}
|
|
208
75
|
export interface GetDataProtectionPolicyInput {
|
|
209
76
|
ResourceArn: string | undefined;
|
|
210
77
|
}
|
|
@@ -261,19 +128,6 @@ export interface ListOriginationNumbersRequest {
|
|
|
261
128
|
NextToken?: string | undefined;
|
|
262
129
|
MaxResults?: number | undefined;
|
|
263
130
|
}
|
|
264
|
-
export declare const NumberCapability: {
|
|
265
|
-
readonly MMS: "MMS";
|
|
266
|
-
readonly SMS: "SMS";
|
|
267
|
-
readonly VOICE: "VOICE";
|
|
268
|
-
};
|
|
269
|
-
export type NumberCapability =
|
|
270
|
-
(typeof NumberCapability)[keyof typeof NumberCapability];
|
|
271
|
-
export declare const RouteType: {
|
|
272
|
-
readonly Premium: "Premium";
|
|
273
|
-
readonly Promotional: "Promotional";
|
|
274
|
-
readonly Transactional: "Transactional";
|
|
275
|
-
};
|
|
276
|
-
export type RouteType = (typeof RouteType)[keyof typeof RouteType];
|
|
277
131
|
export interface PhoneNumberInformation {
|
|
278
132
|
CreatedAt?: Date | undefined;
|
|
279
133
|
PhoneNumber?: string | undefined;
|
|
@@ -286,14 +140,6 @@ export interface ListOriginationNumbersResult {
|
|
|
286
140
|
NextToken?: string | undefined;
|
|
287
141
|
PhoneNumbers?: PhoneNumberInformation[] | undefined;
|
|
288
142
|
}
|
|
289
|
-
export declare class ValidationException extends __BaseException {
|
|
290
|
-
readonly name: "ValidationException";
|
|
291
|
-
readonly $fault: "client";
|
|
292
|
-
Message: string | undefined;
|
|
293
|
-
constructor(
|
|
294
|
-
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
295
|
-
);
|
|
296
|
-
}
|
|
297
143
|
export interface ListPhoneNumbersOptedOutInput {
|
|
298
144
|
nextToken?: string | undefined;
|
|
299
145
|
}
|
|
@@ -316,12 +162,6 @@ export interface ListSMSSandboxPhoneNumbersInput {
|
|
|
316
162
|
NextToken?: string | undefined;
|
|
317
163
|
MaxResults?: number | undefined;
|
|
318
164
|
}
|
|
319
|
-
export declare const SMSSandboxPhoneNumberVerificationStatus: {
|
|
320
|
-
readonly Pending: "Pending";
|
|
321
|
-
readonly Verified: "Verified";
|
|
322
|
-
};
|
|
323
|
-
export type SMSSandboxPhoneNumberVerificationStatus =
|
|
324
|
-
(typeof SMSSandboxPhoneNumberVerificationStatus)[keyof typeof SMSSandboxPhoneNumberVerificationStatus];
|
|
325
165
|
export interface SMSSandboxPhoneNumber {
|
|
326
166
|
PhoneNumber?: string | undefined;
|
|
327
167
|
Status?: SMSSandboxPhoneNumberVerificationStatus | undefined;
|
|
@@ -372,70 +212,6 @@ export interface OptInPhoneNumberInput {
|
|
|
372
212
|
phoneNumber: string | undefined;
|
|
373
213
|
}
|
|
374
214
|
export interface OptInPhoneNumberResponse {}
|
|
375
|
-
export declare class EndpointDisabledException extends __BaseException {
|
|
376
|
-
readonly name: "EndpointDisabledException";
|
|
377
|
-
readonly $fault: "client";
|
|
378
|
-
constructor(
|
|
379
|
-
opts: __ExceptionOptionType<EndpointDisabledException, __BaseException>
|
|
380
|
-
);
|
|
381
|
-
}
|
|
382
|
-
export declare class InvalidParameterValueException extends __BaseException {
|
|
383
|
-
readonly name: "InvalidParameterValueException";
|
|
384
|
-
readonly $fault: "client";
|
|
385
|
-
constructor(
|
|
386
|
-
opts: __ExceptionOptionType<InvalidParameterValueException, __BaseException>
|
|
387
|
-
);
|
|
388
|
-
}
|
|
389
|
-
export declare class KMSAccessDeniedException extends __BaseException {
|
|
390
|
-
readonly name: "KMSAccessDeniedException";
|
|
391
|
-
readonly $fault: "client";
|
|
392
|
-
constructor(
|
|
393
|
-
opts: __ExceptionOptionType<KMSAccessDeniedException, __BaseException>
|
|
394
|
-
);
|
|
395
|
-
}
|
|
396
|
-
export declare class KMSDisabledException extends __BaseException {
|
|
397
|
-
readonly name: "KMSDisabledException";
|
|
398
|
-
readonly $fault: "client";
|
|
399
|
-
constructor(
|
|
400
|
-
opts: __ExceptionOptionType<KMSDisabledException, __BaseException>
|
|
401
|
-
);
|
|
402
|
-
}
|
|
403
|
-
export declare class KMSInvalidStateException extends __BaseException {
|
|
404
|
-
readonly name: "KMSInvalidStateException";
|
|
405
|
-
readonly $fault: "client";
|
|
406
|
-
constructor(
|
|
407
|
-
opts: __ExceptionOptionType<KMSInvalidStateException, __BaseException>
|
|
408
|
-
);
|
|
409
|
-
}
|
|
410
|
-
export declare class KMSNotFoundException extends __BaseException {
|
|
411
|
-
readonly name: "KMSNotFoundException";
|
|
412
|
-
readonly $fault: "client";
|
|
413
|
-
constructor(
|
|
414
|
-
opts: __ExceptionOptionType<KMSNotFoundException, __BaseException>
|
|
415
|
-
);
|
|
416
|
-
}
|
|
417
|
-
export declare class KMSOptInRequired extends __BaseException {
|
|
418
|
-
readonly name: "KMSOptInRequired";
|
|
419
|
-
readonly $fault: "client";
|
|
420
|
-
constructor(opts: __ExceptionOptionType<KMSOptInRequired, __BaseException>);
|
|
421
|
-
}
|
|
422
|
-
export declare class KMSThrottlingException extends __BaseException {
|
|
423
|
-
readonly name: "KMSThrottlingException";
|
|
424
|
-
readonly $fault: "client";
|
|
425
|
-
constructor(
|
|
426
|
-
opts: __ExceptionOptionType<KMSThrottlingException, __BaseException>
|
|
427
|
-
);
|
|
428
|
-
}
|
|
429
|
-
export declare class PlatformApplicationDisabledException extends __BaseException {
|
|
430
|
-
readonly name: "PlatformApplicationDisabledException";
|
|
431
|
-
readonly $fault: "client";
|
|
432
|
-
constructor(
|
|
433
|
-
opts: __ExceptionOptionType<
|
|
434
|
-
PlatformApplicationDisabledException,
|
|
435
|
-
__BaseException
|
|
436
|
-
>
|
|
437
|
-
);
|
|
438
|
-
}
|
|
439
215
|
export interface MessageAttributeValue {
|
|
440
216
|
DataType: string | undefined;
|
|
441
217
|
StringValue?: string | undefined;
|
|
@@ -456,37 +232,6 @@ export interface PublishResponse {
|
|
|
456
232
|
MessageId?: string | undefined;
|
|
457
233
|
SequenceNumber?: string | undefined;
|
|
458
234
|
}
|
|
459
|
-
export declare class BatchEntryIdsNotDistinctException extends __BaseException {
|
|
460
|
-
readonly name: "BatchEntryIdsNotDistinctException";
|
|
461
|
-
readonly $fault: "client";
|
|
462
|
-
constructor(
|
|
463
|
-
opts: __ExceptionOptionType<
|
|
464
|
-
BatchEntryIdsNotDistinctException,
|
|
465
|
-
__BaseException
|
|
466
|
-
>
|
|
467
|
-
);
|
|
468
|
-
}
|
|
469
|
-
export declare class BatchRequestTooLongException extends __BaseException {
|
|
470
|
-
readonly name: "BatchRequestTooLongException";
|
|
471
|
-
readonly $fault: "client";
|
|
472
|
-
constructor(
|
|
473
|
-
opts: __ExceptionOptionType<BatchRequestTooLongException, __BaseException>
|
|
474
|
-
);
|
|
475
|
-
}
|
|
476
|
-
export declare class EmptyBatchRequestException extends __BaseException {
|
|
477
|
-
readonly name: "EmptyBatchRequestException";
|
|
478
|
-
readonly $fault: "client";
|
|
479
|
-
constructor(
|
|
480
|
-
opts: __ExceptionOptionType<EmptyBatchRequestException, __BaseException>
|
|
481
|
-
);
|
|
482
|
-
}
|
|
483
|
-
export declare class InvalidBatchEntryIdException extends __BaseException {
|
|
484
|
-
readonly name: "InvalidBatchEntryIdException";
|
|
485
|
-
readonly $fault: "client";
|
|
486
|
-
constructor(
|
|
487
|
-
opts: __ExceptionOptionType<InvalidBatchEntryIdException, __BaseException>
|
|
488
|
-
);
|
|
489
|
-
}
|
|
490
235
|
export interface PublishBatchRequestEntry {
|
|
491
236
|
Id: string | undefined;
|
|
492
237
|
Message: string | undefined;
|
|
@@ -515,16 +260,6 @@ export interface PublishBatchResponse {
|
|
|
515
260
|
Successful?: PublishBatchResultEntry[] | undefined;
|
|
516
261
|
Failed?: BatchResultErrorEntry[] | undefined;
|
|
517
262
|
}
|
|
518
|
-
export declare class TooManyEntriesInBatchRequestException extends __BaseException {
|
|
519
|
-
readonly name: "TooManyEntriesInBatchRequestException";
|
|
520
|
-
readonly $fault: "client";
|
|
521
|
-
constructor(
|
|
522
|
-
opts: __ExceptionOptionType<
|
|
523
|
-
TooManyEntriesInBatchRequestException,
|
|
524
|
-
__BaseException
|
|
525
|
-
>
|
|
526
|
-
);
|
|
527
|
-
}
|
|
528
263
|
export interface PutDataProtectionPolicyInput {
|
|
529
264
|
ResourceArn: string | undefined;
|
|
530
265
|
DataProtectionPolicy: string | undefined;
|
|
@@ -578,15 +313,6 @@ export interface UntagResourceRequest {
|
|
|
578
313
|
TagKeys: string[] | undefined;
|
|
579
314
|
}
|
|
580
315
|
export interface UntagResourceResponse {}
|
|
581
|
-
export declare class VerificationException extends __BaseException {
|
|
582
|
-
readonly name: "VerificationException";
|
|
583
|
-
readonly $fault: "client";
|
|
584
|
-
Message: string | undefined;
|
|
585
|
-
Status: string | undefined;
|
|
586
|
-
constructor(
|
|
587
|
-
opts: __ExceptionOptionType<VerificationException, __BaseException>
|
|
588
|
-
);
|
|
589
|
-
}
|
|
590
316
|
export interface VerifySMSSandboxPhoneNumberInput {
|
|
591
317
|
PhoneNumber: string | undefined;
|
|
592
318
|
OneTimePassword: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-sns",
|
|
3
3
|
"description": "AWS SDK for JavaScript Sns Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.936.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-sns",
|
|
@@ -20,38 +20,38 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
26
|
-
"@aws-sdk/middleware-logger": "3.
|
|
27
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
29
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
30
|
-
"@aws-sdk/types": "3.
|
|
31
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.936.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.936.0",
|
|
25
|
+
"@aws-sdk/middleware-host-header": "3.936.0",
|
|
26
|
+
"@aws-sdk/middleware-logger": "3.936.0",
|
|
27
|
+
"@aws-sdk/middleware-recursion-detection": "3.936.0",
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.936.0",
|
|
29
|
+
"@aws-sdk/region-config-resolver": "3.936.0",
|
|
30
|
+
"@aws-sdk/types": "3.936.0",
|
|
31
|
+
"@aws-sdk/util-endpoints": "3.936.0",
|
|
32
|
+
"@aws-sdk/util-user-agent-browser": "3.936.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.936.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.4.3",
|
|
35
|
-
"@smithy/core": "^3.18.
|
|
35
|
+
"@smithy/core": "^3.18.5",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.3.6",
|
|
37
37
|
"@smithy/hash-node": "^4.2.5",
|
|
38
38
|
"@smithy/invalid-dependency": "^4.2.5",
|
|
39
39
|
"@smithy/middleware-content-length": "^4.2.5",
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.3.
|
|
41
|
-
"@smithy/middleware-retry": "^4.4.
|
|
42
|
-
"@smithy/middleware-serde": "^4.2.
|
|
40
|
+
"@smithy/middleware-endpoint": "^4.3.12",
|
|
41
|
+
"@smithy/middleware-retry": "^4.4.12",
|
|
42
|
+
"@smithy/middleware-serde": "^4.2.6",
|
|
43
43
|
"@smithy/middleware-stack": "^4.2.5",
|
|
44
44
|
"@smithy/node-config-provider": "^4.3.5",
|
|
45
45
|
"@smithy/node-http-handler": "^4.4.5",
|
|
46
46
|
"@smithy/protocol-http": "^5.3.5",
|
|
47
|
-
"@smithy/smithy-client": "^4.9.
|
|
47
|
+
"@smithy/smithy-client": "^4.9.8",
|
|
48
48
|
"@smithy/types": "^4.9.0",
|
|
49
49
|
"@smithy/url-parser": "^4.2.5",
|
|
50
50
|
"@smithy/util-base64": "^4.3.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.3.11",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.2.14",
|
|
55
55
|
"@smithy/util-endpoints": "^3.2.5",
|
|
56
56
|
"@smithy/util-middleware": "^4.2.5",
|
|
57
57
|
"@smithy/util-retry": "^4.2.5",
|
package/dist-es/models/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|