@aws-sdk/client-sns 3.934.0 → 3.935.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 +12 -12
- 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,436 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { SNSServiceException as __BaseException } from "./SNSServiceException";
|
|
3
|
+
/**
|
|
4
|
+
* <p>Indicates that the user has been denied access to the requested resource.</p>
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare class AuthorizationErrorException extends __BaseException {
|
|
8
|
+
readonly name: "AuthorizationErrorException";
|
|
9
|
+
readonly $fault: "client";
|
|
10
|
+
/**
|
|
11
|
+
* @internal
|
|
12
|
+
*/
|
|
13
|
+
constructor(opts: __ExceptionOptionType<AuthorizationErrorException, __BaseException>);
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* <p>Indicates an internal service error.</p>
|
|
17
|
+
* @public
|
|
18
|
+
*/
|
|
19
|
+
export declare class InternalErrorException extends __BaseException {
|
|
20
|
+
readonly name: "InternalErrorException";
|
|
21
|
+
readonly $fault: "server";
|
|
22
|
+
/**
|
|
23
|
+
* @internal
|
|
24
|
+
*/
|
|
25
|
+
constructor(opts: __ExceptionOptionType<InternalErrorException, __BaseException>);
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* <p>Indicates that a request parameter does not comply with the associated
|
|
29
|
+
* constraints.</p>
|
|
30
|
+
* @public
|
|
31
|
+
*/
|
|
32
|
+
export declare class InvalidParameterException extends __BaseException {
|
|
33
|
+
readonly name: "InvalidParameterException";
|
|
34
|
+
readonly $fault: "client";
|
|
35
|
+
/**
|
|
36
|
+
* @internal
|
|
37
|
+
*/
|
|
38
|
+
constructor(opts: __ExceptionOptionType<InvalidParameterException, __BaseException>);
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* <p>Indicates that the requested resource does not exist.</p>
|
|
42
|
+
* @public
|
|
43
|
+
*/
|
|
44
|
+
export declare class NotFoundException extends __BaseException {
|
|
45
|
+
readonly name: "NotFoundException";
|
|
46
|
+
readonly $fault: "client";
|
|
47
|
+
/**
|
|
48
|
+
* @internal
|
|
49
|
+
*/
|
|
50
|
+
constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* <p>Indicates that the rate at which requests have been submitted for this action exceeds the limit for your Amazon Web Services account.</p>
|
|
54
|
+
* @public
|
|
55
|
+
*/
|
|
56
|
+
export declare class ThrottledException extends __BaseException {
|
|
57
|
+
readonly name: "ThrottledException";
|
|
58
|
+
readonly $fault: "client";
|
|
59
|
+
/**
|
|
60
|
+
* @internal
|
|
61
|
+
*/
|
|
62
|
+
constructor(opts: __ExceptionOptionType<ThrottledException, __BaseException>);
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* <p>Indicates that the number of filter polices in your Amazon Web Services account exceeds the limit. To
|
|
66
|
+
* add more filter polices, submit an Amazon SNS Limit Increase case in the Amazon Web ServicesSupport
|
|
67
|
+
* Center.</p>
|
|
68
|
+
* @public
|
|
69
|
+
*/
|
|
70
|
+
export declare class FilterPolicyLimitExceededException extends __BaseException {
|
|
71
|
+
readonly name: "FilterPolicyLimitExceededException";
|
|
72
|
+
readonly $fault: "client";
|
|
73
|
+
/**
|
|
74
|
+
* @internal
|
|
75
|
+
*/
|
|
76
|
+
constructor(opts: __ExceptionOptionType<FilterPolicyLimitExceededException, __BaseException>);
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* <p>Indicates that the request parameter has exceeded the maximum number of concurrent message replays.</p>
|
|
80
|
+
* @public
|
|
81
|
+
*/
|
|
82
|
+
export declare class ReplayLimitExceededException extends __BaseException {
|
|
83
|
+
readonly name: "ReplayLimitExceededException";
|
|
84
|
+
readonly $fault: "client";
|
|
85
|
+
/**
|
|
86
|
+
* @internal
|
|
87
|
+
*/
|
|
88
|
+
constructor(opts: __ExceptionOptionType<ReplayLimitExceededException, __BaseException>);
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* <p>Indicates that the customer already owns the maximum allowed number of
|
|
92
|
+
* subscriptions.</p>
|
|
93
|
+
* @public
|
|
94
|
+
*/
|
|
95
|
+
export declare class SubscriptionLimitExceededException extends __BaseException {
|
|
96
|
+
readonly name: "SubscriptionLimitExceededException";
|
|
97
|
+
readonly $fault: "client";
|
|
98
|
+
/**
|
|
99
|
+
* @internal
|
|
100
|
+
*/
|
|
101
|
+
constructor(opts: __ExceptionOptionType<SubscriptionLimitExceededException, __BaseException>);
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* <p>Indicates that the specified phone number opted out of receiving SMS messages from
|
|
105
|
+
* your Amazon Web Services account. You can't send SMS messages to phone numbers that opt out.</p>
|
|
106
|
+
* @public
|
|
107
|
+
*/
|
|
108
|
+
export declare class OptedOutException extends __BaseException {
|
|
109
|
+
readonly name: "OptedOutException";
|
|
110
|
+
readonly $fault: "client";
|
|
111
|
+
/**
|
|
112
|
+
* @internal
|
|
113
|
+
*/
|
|
114
|
+
constructor(opts: __ExceptionOptionType<OptedOutException, __BaseException>);
|
|
115
|
+
}
|
|
116
|
+
/**
|
|
117
|
+
* <p>Indicates that a request parameter does not comply with the associated
|
|
118
|
+
* constraints.</p>
|
|
119
|
+
* @public
|
|
120
|
+
*/
|
|
121
|
+
export declare class UserErrorException extends __BaseException {
|
|
122
|
+
readonly name: "UserErrorException";
|
|
123
|
+
readonly $fault: "client";
|
|
124
|
+
/**
|
|
125
|
+
* @internal
|
|
126
|
+
*/
|
|
127
|
+
constructor(opts: __ExceptionOptionType<UserErrorException, __BaseException>);
|
|
128
|
+
}
|
|
129
|
+
/**
|
|
130
|
+
* <p>Can't perform multiple operations on a tag simultaneously. Perform the operations
|
|
131
|
+
* sequentially.</p>
|
|
132
|
+
* @public
|
|
133
|
+
*/
|
|
134
|
+
export declare class ConcurrentAccessException extends __BaseException {
|
|
135
|
+
readonly name: "ConcurrentAccessException";
|
|
136
|
+
readonly $fault: "client";
|
|
137
|
+
/**
|
|
138
|
+
* @internal
|
|
139
|
+
*/
|
|
140
|
+
constructor(opts: __ExceptionOptionType<ConcurrentAccessException, __BaseException>);
|
|
141
|
+
}
|
|
142
|
+
/**
|
|
143
|
+
* <p>The credential signature isn't valid. You must use an HTTPS endpoint and sign your
|
|
144
|
+
* request using Signature Version 4.</p>
|
|
145
|
+
* @public
|
|
146
|
+
*/
|
|
147
|
+
export declare class InvalidSecurityException extends __BaseException {
|
|
148
|
+
readonly name: "InvalidSecurityException";
|
|
149
|
+
readonly $fault: "client";
|
|
150
|
+
/**
|
|
151
|
+
* @internal
|
|
152
|
+
*/
|
|
153
|
+
constructor(opts: __ExceptionOptionType<InvalidSecurityException, __BaseException>);
|
|
154
|
+
}
|
|
155
|
+
/**
|
|
156
|
+
* <p>A tag has been added to a resource with the same ARN as a deleted resource. Wait a
|
|
157
|
+
* short while and then retry the operation.</p>
|
|
158
|
+
* @public
|
|
159
|
+
*/
|
|
160
|
+
export declare class StaleTagException extends __BaseException {
|
|
161
|
+
readonly name: "StaleTagException";
|
|
162
|
+
readonly $fault: "client";
|
|
163
|
+
/**
|
|
164
|
+
* @internal
|
|
165
|
+
*/
|
|
166
|
+
constructor(opts: __ExceptionOptionType<StaleTagException, __BaseException>);
|
|
167
|
+
}
|
|
168
|
+
/**
|
|
169
|
+
* <p>Can't add more than 50 tags to a topic.</p>
|
|
170
|
+
* @public
|
|
171
|
+
*/
|
|
172
|
+
export declare class TagLimitExceededException extends __BaseException {
|
|
173
|
+
readonly name: "TagLimitExceededException";
|
|
174
|
+
readonly $fault: "client";
|
|
175
|
+
/**
|
|
176
|
+
* @internal
|
|
177
|
+
*/
|
|
178
|
+
constructor(opts: __ExceptionOptionType<TagLimitExceededException, __BaseException>);
|
|
179
|
+
}
|
|
180
|
+
/**
|
|
181
|
+
* <p>The request doesn't comply with the IAM tag policy. Correct your request and then
|
|
182
|
+
* retry it.</p>
|
|
183
|
+
* @public
|
|
184
|
+
*/
|
|
185
|
+
export declare class TagPolicyException extends __BaseException {
|
|
186
|
+
readonly name: "TagPolicyException";
|
|
187
|
+
readonly $fault: "client";
|
|
188
|
+
/**
|
|
189
|
+
* @internal
|
|
190
|
+
*/
|
|
191
|
+
constructor(opts: __ExceptionOptionType<TagPolicyException, __BaseException>);
|
|
192
|
+
}
|
|
193
|
+
/**
|
|
194
|
+
* <p>Indicates that the customer already owns the maximum allowed number of topics.</p>
|
|
195
|
+
* @public
|
|
196
|
+
*/
|
|
197
|
+
export declare class TopicLimitExceededException extends __BaseException {
|
|
198
|
+
readonly name: "TopicLimitExceededException";
|
|
199
|
+
readonly $fault: "client";
|
|
200
|
+
/**
|
|
201
|
+
* @internal
|
|
202
|
+
*/
|
|
203
|
+
constructor(opts: __ExceptionOptionType<TopicLimitExceededException, __BaseException>);
|
|
204
|
+
}
|
|
205
|
+
/**
|
|
206
|
+
* <p>Can’t perform the action on the specified resource. Make sure that the resource
|
|
207
|
+
* exists.</p>
|
|
208
|
+
* @public
|
|
209
|
+
*/
|
|
210
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
211
|
+
readonly name: "ResourceNotFoundException";
|
|
212
|
+
readonly $fault: "client";
|
|
213
|
+
/**
|
|
214
|
+
* @internal
|
|
215
|
+
*/
|
|
216
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
217
|
+
}
|
|
218
|
+
/**
|
|
219
|
+
* <p>Indicates that the specified state is not a valid state for an event source.</p>
|
|
220
|
+
* @public
|
|
221
|
+
*/
|
|
222
|
+
export declare class InvalidStateException extends __BaseException {
|
|
223
|
+
readonly name: "InvalidStateException";
|
|
224
|
+
readonly $fault: "client";
|
|
225
|
+
/**
|
|
226
|
+
* @internal
|
|
227
|
+
*/
|
|
228
|
+
constructor(opts: __ExceptionOptionType<InvalidStateException, __BaseException>);
|
|
229
|
+
}
|
|
230
|
+
/**
|
|
231
|
+
* <p>Indicates that a parameter in the request is invalid.</p>
|
|
232
|
+
* @public
|
|
233
|
+
*/
|
|
234
|
+
export declare class ValidationException extends __BaseException {
|
|
235
|
+
readonly name: "ValidationException";
|
|
236
|
+
readonly $fault: "client";
|
|
237
|
+
Message: string | undefined;
|
|
238
|
+
/**
|
|
239
|
+
* @internal
|
|
240
|
+
*/
|
|
241
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
242
|
+
}
|
|
243
|
+
/**
|
|
244
|
+
* <p>Exception error indicating endpoint disabled.</p>
|
|
245
|
+
* @public
|
|
246
|
+
*/
|
|
247
|
+
export declare class EndpointDisabledException extends __BaseException {
|
|
248
|
+
readonly name: "EndpointDisabledException";
|
|
249
|
+
readonly $fault: "client";
|
|
250
|
+
/**
|
|
251
|
+
* @internal
|
|
252
|
+
*/
|
|
253
|
+
constructor(opts: __ExceptionOptionType<EndpointDisabledException, __BaseException>);
|
|
254
|
+
}
|
|
255
|
+
/**
|
|
256
|
+
* <p>Indicates that a request parameter does not comply with the associated constraints.</p>
|
|
257
|
+
* @public
|
|
258
|
+
*/
|
|
259
|
+
export declare class InvalidParameterValueException extends __BaseException {
|
|
260
|
+
readonly name: "InvalidParameterValueException";
|
|
261
|
+
readonly $fault: "client";
|
|
262
|
+
/**
|
|
263
|
+
* @internal
|
|
264
|
+
*/
|
|
265
|
+
constructor(opts: __ExceptionOptionType<InvalidParameterValueException, __BaseException>);
|
|
266
|
+
}
|
|
267
|
+
/**
|
|
268
|
+
* <p>The ciphertext references a key that doesn't exist or that you don't have access
|
|
269
|
+
* to.</p>
|
|
270
|
+
* @public
|
|
271
|
+
*/
|
|
272
|
+
export declare class KMSAccessDeniedException extends __BaseException {
|
|
273
|
+
readonly name: "KMSAccessDeniedException";
|
|
274
|
+
readonly $fault: "client";
|
|
275
|
+
/**
|
|
276
|
+
* @internal
|
|
277
|
+
*/
|
|
278
|
+
constructor(opts: __ExceptionOptionType<KMSAccessDeniedException, __BaseException>);
|
|
279
|
+
}
|
|
280
|
+
/**
|
|
281
|
+
* <p>The request was rejected because the specified Amazon Web Services KMS key isn't
|
|
282
|
+
* enabled.</p>
|
|
283
|
+
* @public
|
|
284
|
+
*/
|
|
285
|
+
export declare class KMSDisabledException extends __BaseException {
|
|
286
|
+
readonly name: "KMSDisabledException";
|
|
287
|
+
readonly $fault: "client";
|
|
288
|
+
/**
|
|
289
|
+
* @internal
|
|
290
|
+
*/
|
|
291
|
+
constructor(opts: __ExceptionOptionType<KMSDisabledException, __BaseException>);
|
|
292
|
+
}
|
|
293
|
+
/**
|
|
294
|
+
* <p>The request was rejected because the state of the specified resource isn't valid for
|
|
295
|
+
* 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
|
|
296
|
+
* Guide</i>.</p>
|
|
297
|
+
* @public
|
|
298
|
+
*/
|
|
299
|
+
export declare class KMSInvalidStateException extends __BaseException {
|
|
300
|
+
readonly name: "KMSInvalidStateException";
|
|
301
|
+
readonly $fault: "client";
|
|
302
|
+
/**
|
|
303
|
+
* @internal
|
|
304
|
+
*/
|
|
305
|
+
constructor(opts: __ExceptionOptionType<KMSInvalidStateException, __BaseException>);
|
|
306
|
+
}
|
|
307
|
+
/**
|
|
308
|
+
* <p>The request was rejected because the specified entity or resource can't be
|
|
309
|
+
* found.</p>
|
|
310
|
+
* @public
|
|
311
|
+
*/
|
|
312
|
+
export declare class KMSNotFoundException extends __BaseException {
|
|
313
|
+
readonly name: "KMSNotFoundException";
|
|
314
|
+
readonly $fault: "client";
|
|
315
|
+
/**
|
|
316
|
+
* @internal
|
|
317
|
+
*/
|
|
318
|
+
constructor(opts: __ExceptionOptionType<KMSNotFoundException, __BaseException>);
|
|
319
|
+
}
|
|
320
|
+
/**
|
|
321
|
+
* <p>The Amazon Web Services access key ID needs a subscription for the service.</p>
|
|
322
|
+
* @public
|
|
323
|
+
*/
|
|
324
|
+
export declare class KMSOptInRequired extends __BaseException {
|
|
325
|
+
readonly name: "KMSOptInRequired";
|
|
326
|
+
readonly $fault: "client";
|
|
327
|
+
/**
|
|
328
|
+
* @internal
|
|
329
|
+
*/
|
|
330
|
+
constructor(opts: __ExceptionOptionType<KMSOptInRequired, __BaseException>);
|
|
331
|
+
}
|
|
332
|
+
/**
|
|
333
|
+
* <p>The request was denied due to request throttling. For more information about
|
|
334
|
+
* throttling, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/limits.html#requests-per-second">Limits</a> in
|
|
335
|
+
* the <i>Key Management Service Developer Guide.</i>
|
|
336
|
+
* </p>
|
|
337
|
+
* @public
|
|
338
|
+
*/
|
|
339
|
+
export declare class KMSThrottlingException extends __BaseException {
|
|
340
|
+
readonly name: "KMSThrottlingException";
|
|
341
|
+
readonly $fault: "client";
|
|
342
|
+
/**
|
|
343
|
+
* @internal
|
|
344
|
+
*/
|
|
345
|
+
constructor(opts: __ExceptionOptionType<KMSThrottlingException, __BaseException>);
|
|
346
|
+
}
|
|
347
|
+
/**
|
|
348
|
+
* <p>Exception error indicating platform application disabled.</p>
|
|
349
|
+
* @public
|
|
350
|
+
*/
|
|
351
|
+
export declare class PlatformApplicationDisabledException extends __BaseException {
|
|
352
|
+
readonly name: "PlatformApplicationDisabledException";
|
|
353
|
+
readonly $fault: "client";
|
|
354
|
+
/**
|
|
355
|
+
* @internal
|
|
356
|
+
*/
|
|
357
|
+
constructor(opts: __ExceptionOptionType<PlatformApplicationDisabledException, __BaseException>);
|
|
358
|
+
}
|
|
359
|
+
/**
|
|
360
|
+
* <p>Two or more batch entries in the request have the same <code>Id</code>.</p>
|
|
361
|
+
* @public
|
|
362
|
+
*/
|
|
363
|
+
export declare class BatchEntryIdsNotDistinctException extends __BaseException {
|
|
364
|
+
readonly name: "BatchEntryIdsNotDistinctException";
|
|
365
|
+
readonly $fault: "client";
|
|
366
|
+
/**
|
|
367
|
+
* @internal
|
|
368
|
+
*/
|
|
369
|
+
constructor(opts: __ExceptionOptionType<BatchEntryIdsNotDistinctException, __BaseException>);
|
|
370
|
+
}
|
|
371
|
+
/**
|
|
372
|
+
* <p>The length of all the batch messages put together is more than the limit.</p>
|
|
373
|
+
* @public
|
|
374
|
+
*/
|
|
375
|
+
export declare class BatchRequestTooLongException extends __BaseException {
|
|
376
|
+
readonly name: "BatchRequestTooLongException";
|
|
377
|
+
readonly $fault: "client";
|
|
378
|
+
/**
|
|
379
|
+
* @internal
|
|
380
|
+
*/
|
|
381
|
+
constructor(opts: __ExceptionOptionType<BatchRequestTooLongException, __BaseException>);
|
|
382
|
+
}
|
|
383
|
+
/**
|
|
384
|
+
* <p>The batch request doesn't contain any entries.</p>
|
|
385
|
+
* @public
|
|
386
|
+
*/
|
|
387
|
+
export declare class EmptyBatchRequestException extends __BaseException {
|
|
388
|
+
readonly name: "EmptyBatchRequestException";
|
|
389
|
+
readonly $fault: "client";
|
|
390
|
+
/**
|
|
391
|
+
* @internal
|
|
392
|
+
*/
|
|
393
|
+
constructor(opts: __ExceptionOptionType<EmptyBatchRequestException, __BaseException>);
|
|
394
|
+
}
|
|
395
|
+
/**
|
|
396
|
+
* <p>The <code>Id</code> of a batch entry in a batch request doesn't abide by the specification. </p>
|
|
397
|
+
* @public
|
|
398
|
+
*/
|
|
399
|
+
export declare class InvalidBatchEntryIdException extends __BaseException {
|
|
400
|
+
readonly name: "InvalidBatchEntryIdException";
|
|
401
|
+
readonly $fault: "client";
|
|
402
|
+
/**
|
|
403
|
+
* @internal
|
|
404
|
+
*/
|
|
405
|
+
constructor(opts: __ExceptionOptionType<InvalidBatchEntryIdException, __BaseException>);
|
|
406
|
+
}
|
|
407
|
+
/**
|
|
408
|
+
* <p> The batch request contains more entries than permissible (more than 10).</p>
|
|
409
|
+
* @public
|
|
410
|
+
*/
|
|
411
|
+
export declare class TooManyEntriesInBatchRequestException extends __BaseException {
|
|
412
|
+
readonly name: "TooManyEntriesInBatchRequestException";
|
|
413
|
+
readonly $fault: "client";
|
|
414
|
+
/**
|
|
415
|
+
* @internal
|
|
416
|
+
*/
|
|
417
|
+
constructor(opts: __ExceptionOptionType<TooManyEntriesInBatchRequestException, __BaseException>);
|
|
418
|
+
}
|
|
419
|
+
/**
|
|
420
|
+
* <p>Indicates that the one-time password (OTP) used for verification is invalid.</p>
|
|
421
|
+
* @public
|
|
422
|
+
*/
|
|
423
|
+
export declare class VerificationException extends __BaseException {
|
|
424
|
+
readonly name: "VerificationException";
|
|
425
|
+
readonly $fault: "client";
|
|
426
|
+
Message: string | undefined;
|
|
427
|
+
/**
|
|
428
|
+
* <p>The status of the verification error.</p>
|
|
429
|
+
* @public
|
|
430
|
+
*/
|
|
431
|
+
Status: string | undefined;
|
|
432
|
+
/**
|
|
433
|
+
* @internal
|
|
434
|
+
*/
|
|
435
|
+
constructor(opts: __ExceptionOptionType<VerificationException, __BaseException>);
|
|
436
|
+
}
|