@aws-sdk/client-sns 3.721.0 → 3.723.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 +404 -321
- package/dist-es/SNSClient.js +1 -0
- package/dist-es/models/models_0.js +71 -68
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +9 -7
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +20 -8
- package/package.json +43 -43
package/dist-es/SNSClient.js
CHANGED
|
@@ -14,6 +14,7 @@ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
|
14
14
|
import { resolveRuntimeExtensions } from "./runtimeExtensions";
|
|
15
15
|
export { __Client };
|
|
16
16
|
export class SNSClient extends __Client {
|
|
17
|
+
config;
|
|
17
18
|
constructor(...[configuration]) {
|
|
18
19
|
const _config_0 = __getRuntimeConfig(configuration || {});
|
|
19
20
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
@@ -1,98 +1,98 @@
|
|
|
1
1
|
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
2
|
import { SNSServiceException as __BaseException } from "./SNSServiceException";
|
|
3
3
|
export class AuthorizationErrorException extends __BaseException {
|
|
4
|
+
name = "AuthorizationErrorException";
|
|
5
|
+
$fault = "client";
|
|
4
6
|
constructor(opts) {
|
|
5
7
|
super({
|
|
6
8
|
name: "AuthorizationErrorException",
|
|
7
9
|
$fault: "client",
|
|
8
10
|
...opts,
|
|
9
11
|
});
|
|
10
|
-
this.name = "AuthorizationErrorException";
|
|
11
|
-
this.$fault = "client";
|
|
12
12
|
Object.setPrototypeOf(this, AuthorizationErrorException.prototype);
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
15
|
export class InternalErrorException extends __BaseException {
|
|
16
|
+
name = "InternalErrorException";
|
|
17
|
+
$fault = "server";
|
|
16
18
|
constructor(opts) {
|
|
17
19
|
super({
|
|
18
20
|
name: "InternalErrorException",
|
|
19
21
|
$fault: "server",
|
|
20
22
|
...opts,
|
|
21
23
|
});
|
|
22
|
-
this.name = "InternalErrorException";
|
|
23
|
-
this.$fault = "server";
|
|
24
24
|
Object.setPrototypeOf(this, InternalErrorException.prototype);
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
27
|
export class InvalidParameterException extends __BaseException {
|
|
28
|
+
name = "InvalidParameterException";
|
|
29
|
+
$fault = "client";
|
|
28
30
|
constructor(opts) {
|
|
29
31
|
super({
|
|
30
32
|
name: "InvalidParameterException",
|
|
31
33
|
$fault: "client",
|
|
32
34
|
...opts,
|
|
33
35
|
});
|
|
34
|
-
this.name = "InvalidParameterException";
|
|
35
|
-
this.$fault = "client";
|
|
36
36
|
Object.setPrototypeOf(this, InvalidParameterException.prototype);
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
39
|
export class NotFoundException extends __BaseException {
|
|
40
|
+
name = "NotFoundException";
|
|
41
|
+
$fault = "client";
|
|
40
42
|
constructor(opts) {
|
|
41
43
|
super({
|
|
42
44
|
name: "NotFoundException",
|
|
43
45
|
$fault: "client",
|
|
44
46
|
...opts,
|
|
45
47
|
});
|
|
46
|
-
this.name = "NotFoundException";
|
|
47
|
-
this.$fault = "client";
|
|
48
48
|
Object.setPrototypeOf(this, NotFoundException.prototype);
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
51
|
export class ThrottledException extends __BaseException {
|
|
52
|
+
name = "ThrottledException";
|
|
53
|
+
$fault = "client";
|
|
52
54
|
constructor(opts) {
|
|
53
55
|
super({
|
|
54
56
|
name: "ThrottledException",
|
|
55
57
|
$fault: "client",
|
|
56
58
|
...opts,
|
|
57
59
|
});
|
|
58
|
-
this.name = "ThrottledException";
|
|
59
|
-
this.$fault = "client";
|
|
60
60
|
Object.setPrototypeOf(this, ThrottledException.prototype);
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
63
|
export class FilterPolicyLimitExceededException extends __BaseException {
|
|
64
|
+
name = "FilterPolicyLimitExceededException";
|
|
65
|
+
$fault = "client";
|
|
64
66
|
constructor(opts) {
|
|
65
67
|
super({
|
|
66
68
|
name: "FilterPolicyLimitExceededException",
|
|
67
69
|
$fault: "client",
|
|
68
70
|
...opts,
|
|
69
71
|
});
|
|
70
|
-
this.name = "FilterPolicyLimitExceededException";
|
|
71
|
-
this.$fault = "client";
|
|
72
72
|
Object.setPrototypeOf(this, FilterPolicyLimitExceededException.prototype);
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
75
|
export class ReplayLimitExceededException extends __BaseException {
|
|
76
|
+
name = "ReplayLimitExceededException";
|
|
77
|
+
$fault = "client";
|
|
76
78
|
constructor(opts) {
|
|
77
79
|
super({
|
|
78
80
|
name: "ReplayLimitExceededException",
|
|
79
81
|
$fault: "client",
|
|
80
82
|
...opts,
|
|
81
83
|
});
|
|
82
|
-
this.name = "ReplayLimitExceededException";
|
|
83
|
-
this.$fault = "client";
|
|
84
84
|
Object.setPrototypeOf(this, ReplayLimitExceededException.prototype);
|
|
85
85
|
}
|
|
86
86
|
}
|
|
87
87
|
export class SubscriptionLimitExceededException extends __BaseException {
|
|
88
|
+
name = "SubscriptionLimitExceededException";
|
|
89
|
+
$fault = "client";
|
|
88
90
|
constructor(opts) {
|
|
89
91
|
super({
|
|
90
92
|
name: "SubscriptionLimitExceededException",
|
|
91
93
|
$fault: "client",
|
|
92
94
|
...opts,
|
|
93
95
|
});
|
|
94
|
-
this.name = "SubscriptionLimitExceededException";
|
|
95
|
-
this.$fault = "client";
|
|
96
96
|
Object.setPrototypeOf(this, SubscriptionLimitExceededException.prototype);
|
|
97
97
|
}
|
|
98
98
|
}
|
|
@@ -112,122 +112,122 @@ export const LanguageCodeString = {
|
|
|
112
112
|
zh_TW: "zh-TW",
|
|
113
113
|
};
|
|
114
114
|
export class OptedOutException extends __BaseException {
|
|
115
|
+
name = "OptedOutException";
|
|
116
|
+
$fault = "client";
|
|
115
117
|
constructor(opts) {
|
|
116
118
|
super({
|
|
117
119
|
name: "OptedOutException",
|
|
118
120
|
$fault: "client",
|
|
119
121
|
...opts,
|
|
120
122
|
});
|
|
121
|
-
this.name = "OptedOutException";
|
|
122
|
-
this.$fault = "client";
|
|
123
123
|
Object.setPrototypeOf(this, OptedOutException.prototype);
|
|
124
124
|
}
|
|
125
125
|
}
|
|
126
126
|
export class UserErrorException extends __BaseException {
|
|
127
|
+
name = "UserErrorException";
|
|
128
|
+
$fault = "client";
|
|
127
129
|
constructor(opts) {
|
|
128
130
|
super({
|
|
129
131
|
name: "UserErrorException",
|
|
130
132
|
$fault: "client",
|
|
131
133
|
...opts,
|
|
132
134
|
});
|
|
133
|
-
this.name = "UserErrorException";
|
|
134
|
-
this.$fault = "client";
|
|
135
135
|
Object.setPrototypeOf(this, UserErrorException.prototype);
|
|
136
136
|
}
|
|
137
137
|
}
|
|
138
138
|
export class ConcurrentAccessException extends __BaseException {
|
|
139
|
+
name = "ConcurrentAccessException";
|
|
140
|
+
$fault = "client";
|
|
139
141
|
constructor(opts) {
|
|
140
142
|
super({
|
|
141
143
|
name: "ConcurrentAccessException",
|
|
142
144
|
$fault: "client",
|
|
143
145
|
...opts,
|
|
144
146
|
});
|
|
145
|
-
this.name = "ConcurrentAccessException";
|
|
146
|
-
this.$fault = "client";
|
|
147
147
|
Object.setPrototypeOf(this, ConcurrentAccessException.prototype);
|
|
148
148
|
}
|
|
149
149
|
}
|
|
150
150
|
export class InvalidSecurityException extends __BaseException {
|
|
151
|
+
name = "InvalidSecurityException";
|
|
152
|
+
$fault = "client";
|
|
151
153
|
constructor(opts) {
|
|
152
154
|
super({
|
|
153
155
|
name: "InvalidSecurityException",
|
|
154
156
|
$fault: "client",
|
|
155
157
|
...opts,
|
|
156
158
|
});
|
|
157
|
-
this.name = "InvalidSecurityException";
|
|
158
|
-
this.$fault = "client";
|
|
159
159
|
Object.setPrototypeOf(this, InvalidSecurityException.prototype);
|
|
160
160
|
}
|
|
161
161
|
}
|
|
162
162
|
export class StaleTagException extends __BaseException {
|
|
163
|
+
name = "StaleTagException";
|
|
164
|
+
$fault = "client";
|
|
163
165
|
constructor(opts) {
|
|
164
166
|
super({
|
|
165
167
|
name: "StaleTagException",
|
|
166
168
|
$fault: "client",
|
|
167
169
|
...opts,
|
|
168
170
|
});
|
|
169
|
-
this.name = "StaleTagException";
|
|
170
|
-
this.$fault = "client";
|
|
171
171
|
Object.setPrototypeOf(this, StaleTagException.prototype);
|
|
172
172
|
}
|
|
173
173
|
}
|
|
174
174
|
export class TagLimitExceededException extends __BaseException {
|
|
175
|
+
name = "TagLimitExceededException";
|
|
176
|
+
$fault = "client";
|
|
175
177
|
constructor(opts) {
|
|
176
178
|
super({
|
|
177
179
|
name: "TagLimitExceededException",
|
|
178
180
|
$fault: "client",
|
|
179
181
|
...opts,
|
|
180
182
|
});
|
|
181
|
-
this.name = "TagLimitExceededException";
|
|
182
|
-
this.$fault = "client";
|
|
183
183
|
Object.setPrototypeOf(this, TagLimitExceededException.prototype);
|
|
184
184
|
}
|
|
185
185
|
}
|
|
186
186
|
export class TagPolicyException extends __BaseException {
|
|
187
|
+
name = "TagPolicyException";
|
|
188
|
+
$fault = "client";
|
|
187
189
|
constructor(opts) {
|
|
188
190
|
super({
|
|
189
191
|
name: "TagPolicyException",
|
|
190
192
|
$fault: "client",
|
|
191
193
|
...opts,
|
|
192
194
|
});
|
|
193
|
-
this.name = "TagPolicyException";
|
|
194
|
-
this.$fault = "client";
|
|
195
195
|
Object.setPrototypeOf(this, TagPolicyException.prototype);
|
|
196
196
|
}
|
|
197
197
|
}
|
|
198
198
|
export class TopicLimitExceededException extends __BaseException {
|
|
199
|
+
name = "TopicLimitExceededException";
|
|
200
|
+
$fault = "client";
|
|
199
201
|
constructor(opts) {
|
|
200
202
|
super({
|
|
201
203
|
name: "TopicLimitExceededException",
|
|
202
204
|
$fault: "client",
|
|
203
205
|
...opts,
|
|
204
206
|
});
|
|
205
|
-
this.name = "TopicLimitExceededException";
|
|
206
|
-
this.$fault = "client";
|
|
207
207
|
Object.setPrototypeOf(this, TopicLimitExceededException.prototype);
|
|
208
208
|
}
|
|
209
209
|
}
|
|
210
210
|
export class ResourceNotFoundException extends __BaseException {
|
|
211
|
+
name = "ResourceNotFoundException";
|
|
212
|
+
$fault = "client";
|
|
211
213
|
constructor(opts) {
|
|
212
214
|
super({
|
|
213
215
|
name: "ResourceNotFoundException",
|
|
214
216
|
$fault: "client",
|
|
215
217
|
...opts,
|
|
216
218
|
});
|
|
217
|
-
this.name = "ResourceNotFoundException";
|
|
218
|
-
this.$fault = "client";
|
|
219
219
|
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
220
220
|
}
|
|
221
221
|
}
|
|
222
222
|
export class InvalidStateException extends __BaseException {
|
|
223
|
+
name = "InvalidStateException";
|
|
224
|
+
$fault = "client";
|
|
223
225
|
constructor(opts) {
|
|
224
226
|
super({
|
|
225
227
|
name: "InvalidStateException",
|
|
226
228
|
$fault: "client",
|
|
227
229
|
...opts,
|
|
228
230
|
});
|
|
229
|
-
this.name = "InvalidStateException";
|
|
230
|
-
this.$fault = "client";
|
|
231
231
|
Object.setPrototypeOf(this, InvalidStateException.prototype);
|
|
232
232
|
}
|
|
233
233
|
}
|
|
@@ -242,14 +242,15 @@ export const RouteType = {
|
|
|
242
242
|
Transactional: "Transactional",
|
|
243
243
|
};
|
|
244
244
|
export class ValidationException extends __BaseException {
|
|
245
|
+
name = "ValidationException";
|
|
246
|
+
$fault = "client";
|
|
247
|
+
Message;
|
|
245
248
|
constructor(opts) {
|
|
246
249
|
super({
|
|
247
250
|
name: "ValidationException",
|
|
248
251
|
$fault: "client",
|
|
249
252
|
...opts,
|
|
250
253
|
});
|
|
251
|
-
this.name = "ValidationException";
|
|
252
|
-
this.$fault = "client";
|
|
253
254
|
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
254
255
|
this.Message = opts.Message;
|
|
255
256
|
}
|
|
@@ -259,182 +260,184 @@ export const SMSSandboxPhoneNumberVerificationStatus = {
|
|
|
259
260
|
Verified: "Verified",
|
|
260
261
|
};
|
|
261
262
|
export class EndpointDisabledException extends __BaseException {
|
|
263
|
+
name = "EndpointDisabledException";
|
|
264
|
+
$fault = "client";
|
|
262
265
|
constructor(opts) {
|
|
263
266
|
super({
|
|
264
267
|
name: "EndpointDisabledException",
|
|
265
268
|
$fault: "client",
|
|
266
269
|
...opts,
|
|
267
270
|
});
|
|
268
|
-
this.name = "EndpointDisabledException";
|
|
269
|
-
this.$fault = "client";
|
|
270
271
|
Object.setPrototypeOf(this, EndpointDisabledException.prototype);
|
|
271
272
|
}
|
|
272
273
|
}
|
|
273
274
|
export class InvalidParameterValueException extends __BaseException {
|
|
275
|
+
name = "InvalidParameterValueException";
|
|
276
|
+
$fault = "client";
|
|
274
277
|
constructor(opts) {
|
|
275
278
|
super({
|
|
276
279
|
name: "InvalidParameterValueException",
|
|
277
280
|
$fault: "client",
|
|
278
281
|
...opts,
|
|
279
282
|
});
|
|
280
|
-
this.name = "InvalidParameterValueException";
|
|
281
|
-
this.$fault = "client";
|
|
282
283
|
Object.setPrototypeOf(this, InvalidParameterValueException.prototype);
|
|
283
284
|
}
|
|
284
285
|
}
|
|
285
286
|
export class KMSAccessDeniedException extends __BaseException {
|
|
287
|
+
name = "KMSAccessDeniedException";
|
|
288
|
+
$fault = "client";
|
|
286
289
|
constructor(opts) {
|
|
287
290
|
super({
|
|
288
291
|
name: "KMSAccessDeniedException",
|
|
289
292
|
$fault: "client",
|
|
290
293
|
...opts,
|
|
291
294
|
});
|
|
292
|
-
this.name = "KMSAccessDeniedException";
|
|
293
|
-
this.$fault = "client";
|
|
294
295
|
Object.setPrototypeOf(this, KMSAccessDeniedException.prototype);
|
|
295
296
|
}
|
|
296
297
|
}
|
|
297
298
|
export class KMSDisabledException extends __BaseException {
|
|
299
|
+
name = "KMSDisabledException";
|
|
300
|
+
$fault = "client";
|
|
298
301
|
constructor(opts) {
|
|
299
302
|
super({
|
|
300
303
|
name: "KMSDisabledException",
|
|
301
304
|
$fault: "client",
|
|
302
305
|
...opts,
|
|
303
306
|
});
|
|
304
|
-
this.name = "KMSDisabledException";
|
|
305
|
-
this.$fault = "client";
|
|
306
307
|
Object.setPrototypeOf(this, KMSDisabledException.prototype);
|
|
307
308
|
}
|
|
308
309
|
}
|
|
309
310
|
export class KMSInvalidStateException extends __BaseException {
|
|
311
|
+
name = "KMSInvalidStateException";
|
|
312
|
+
$fault = "client";
|
|
310
313
|
constructor(opts) {
|
|
311
314
|
super({
|
|
312
315
|
name: "KMSInvalidStateException",
|
|
313
316
|
$fault: "client",
|
|
314
317
|
...opts,
|
|
315
318
|
});
|
|
316
|
-
this.name = "KMSInvalidStateException";
|
|
317
|
-
this.$fault = "client";
|
|
318
319
|
Object.setPrototypeOf(this, KMSInvalidStateException.prototype);
|
|
319
320
|
}
|
|
320
321
|
}
|
|
321
322
|
export class KMSNotFoundException extends __BaseException {
|
|
323
|
+
name = "KMSNotFoundException";
|
|
324
|
+
$fault = "client";
|
|
322
325
|
constructor(opts) {
|
|
323
326
|
super({
|
|
324
327
|
name: "KMSNotFoundException",
|
|
325
328
|
$fault: "client",
|
|
326
329
|
...opts,
|
|
327
330
|
});
|
|
328
|
-
this.name = "KMSNotFoundException";
|
|
329
|
-
this.$fault = "client";
|
|
330
331
|
Object.setPrototypeOf(this, KMSNotFoundException.prototype);
|
|
331
332
|
}
|
|
332
333
|
}
|
|
333
334
|
export class KMSOptInRequired extends __BaseException {
|
|
335
|
+
name = "KMSOptInRequired";
|
|
336
|
+
$fault = "client";
|
|
334
337
|
constructor(opts) {
|
|
335
338
|
super({
|
|
336
339
|
name: "KMSOptInRequired",
|
|
337
340
|
$fault: "client",
|
|
338
341
|
...opts,
|
|
339
342
|
});
|
|
340
|
-
this.name = "KMSOptInRequired";
|
|
341
|
-
this.$fault = "client";
|
|
342
343
|
Object.setPrototypeOf(this, KMSOptInRequired.prototype);
|
|
343
344
|
}
|
|
344
345
|
}
|
|
345
346
|
export class KMSThrottlingException extends __BaseException {
|
|
347
|
+
name = "KMSThrottlingException";
|
|
348
|
+
$fault = "client";
|
|
346
349
|
constructor(opts) {
|
|
347
350
|
super({
|
|
348
351
|
name: "KMSThrottlingException",
|
|
349
352
|
$fault: "client",
|
|
350
353
|
...opts,
|
|
351
354
|
});
|
|
352
|
-
this.name = "KMSThrottlingException";
|
|
353
|
-
this.$fault = "client";
|
|
354
355
|
Object.setPrototypeOf(this, KMSThrottlingException.prototype);
|
|
355
356
|
}
|
|
356
357
|
}
|
|
357
358
|
export class PlatformApplicationDisabledException extends __BaseException {
|
|
359
|
+
name = "PlatformApplicationDisabledException";
|
|
360
|
+
$fault = "client";
|
|
358
361
|
constructor(opts) {
|
|
359
362
|
super({
|
|
360
363
|
name: "PlatformApplicationDisabledException",
|
|
361
364
|
$fault: "client",
|
|
362
365
|
...opts,
|
|
363
366
|
});
|
|
364
|
-
this.name = "PlatformApplicationDisabledException";
|
|
365
|
-
this.$fault = "client";
|
|
366
367
|
Object.setPrototypeOf(this, PlatformApplicationDisabledException.prototype);
|
|
367
368
|
}
|
|
368
369
|
}
|
|
369
370
|
export class BatchEntryIdsNotDistinctException extends __BaseException {
|
|
371
|
+
name = "BatchEntryIdsNotDistinctException";
|
|
372
|
+
$fault = "client";
|
|
370
373
|
constructor(opts) {
|
|
371
374
|
super({
|
|
372
375
|
name: "BatchEntryIdsNotDistinctException",
|
|
373
376
|
$fault: "client",
|
|
374
377
|
...opts,
|
|
375
378
|
});
|
|
376
|
-
this.name = "BatchEntryIdsNotDistinctException";
|
|
377
|
-
this.$fault = "client";
|
|
378
379
|
Object.setPrototypeOf(this, BatchEntryIdsNotDistinctException.prototype);
|
|
379
380
|
}
|
|
380
381
|
}
|
|
381
382
|
export class BatchRequestTooLongException extends __BaseException {
|
|
383
|
+
name = "BatchRequestTooLongException";
|
|
384
|
+
$fault = "client";
|
|
382
385
|
constructor(opts) {
|
|
383
386
|
super({
|
|
384
387
|
name: "BatchRequestTooLongException",
|
|
385
388
|
$fault: "client",
|
|
386
389
|
...opts,
|
|
387
390
|
});
|
|
388
|
-
this.name = "BatchRequestTooLongException";
|
|
389
|
-
this.$fault = "client";
|
|
390
391
|
Object.setPrototypeOf(this, BatchRequestTooLongException.prototype);
|
|
391
392
|
}
|
|
392
393
|
}
|
|
393
394
|
export class EmptyBatchRequestException extends __BaseException {
|
|
395
|
+
name = "EmptyBatchRequestException";
|
|
396
|
+
$fault = "client";
|
|
394
397
|
constructor(opts) {
|
|
395
398
|
super({
|
|
396
399
|
name: "EmptyBatchRequestException",
|
|
397
400
|
$fault: "client",
|
|
398
401
|
...opts,
|
|
399
402
|
});
|
|
400
|
-
this.name = "EmptyBatchRequestException";
|
|
401
|
-
this.$fault = "client";
|
|
402
403
|
Object.setPrototypeOf(this, EmptyBatchRequestException.prototype);
|
|
403
404
|
}
|
|
404
405
|
}
|
|
405
406
|
export class InvalidBatchEntryIdException extends __BaseException {
|
|
407
|
+
name = "InvalidBatchEntryIdException";
|
|
408
|
+
$fault = "client";
|
|
406
409
|
constructor(opts) {
|
|
407
410
|
super({
|
|
408
411
|
name: "InvalidBatchEntryIdException",
|
|
409
412
|
$fault: "client",
|
|
410
413
|
...opts,
|
|
411
414
|
});
|
|
412
|
-
this.name = "InvalidBatchEntryIdException";
|
|
413
|
-
this.$fault = "client";
|
|
414
415
|
Object.setPrototypeOf(this, InvalidBatchEntryIdException.prototype);
|
|
415
416
|
}
|
|
416
417
|
}
|
|
417
418
|
export class TooManyEntriesInBatchRequestException extends __BaseException {
|
|
419
|
+
name = "TooManyEntriesInBatchRequestException";
|
|
420
|
+
$fault = "client";
|
|
418
421
|
constructor(opts) {
|
|
419
422
|
super({
|
|
420
423
|
name: "TooManyEntriesInBatchRequestException",
|
|
421
424
|
$fault: "client",
|
|
422
425
|
...opts,
|
|
423
426
|
});
|
|
424
|
-
this.name = "TooManyEntriesInBatchRequestException";
|
|
425
|
-
this.$fault = "client";
|
|
426
427
|
Object.setPrototypeOf(this, TooManyEntriesInBatchRequestException.prototype);
|
|
427
428
|
}
|
|
428
429
|
}
|
|
429
430
|
export class VerificationException extends __BaseException {
|
|
431
|
+
name = "VerificationException";
|
|
432
|
+
$fault = "client";
|
|
433
|
+
Message;
|
|
434
|
+
Status;
|
|
430
435
|
constructor(opts) {
|
|
431
436
|
super({
|
|
432
437
|
name: "VerificationException",
|
|
433
438
|
$fault: "client",
|
|
434
439
|
...opts,
|
|
435
440
|
});
|
|
436
|
-
this.name = "VerificationException";
|
|
437
|
-
this.$fault = "client";
|
|
438
441
|
Object.setPrototypeOf(this, VerificationException.prototype);
|
|
439
442
|
this.Message = opts.Message;
|
|
440
443
|
this.Status = opts.Status;
|
|
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: SNSClientConfig) => {
|
|
|
7
7
|
runtime: string;
|
|
8
8
|
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
|
-
credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
10
|
+
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
11
11
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
13
13
|
region: string | import("@smithy/types").Provider<any>;
|
|
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: SNSClientConfig) => {
|
|
|
7
7
|
runtime: string;
|
|
8
8
|
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
|
-
credentialDefaultProvider: (init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity
|
|
10
|
+
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>);
|
|
11
11
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
13
13
|
region: string | import("@smithy/types").Provider<string>;
|
|
@@ -22,7 +22,7 @@ export declare const getRuntimeConfig: (config: SNSClientConfig) => {
|
|
|
22
22
|
region: string | import("@smithy/types").Provider<any>;
|
|
23
23
|
profile?: string | undefined;
|
|
24
24
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
25
|
-
credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
25
|
+
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
26
26
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
27
27
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
28
28
|
logger: import("@smithy/types").Logger;
|
|
@@ -31,7 +31,7 @@ export declare const getRuntimeConfig: (config: SNSClientConfig) => {
|
|
|
31
31
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
32
32
|
userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
|
|
33
33
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
34
|
-
endpoint?: string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2> | undefined;
|
|
34
|
+
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
|
|
35
35
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
36
36
|
logger?: import("@smithy/types").Logger | undefined;
|
|
37
37
|
}) => import("@smithy/types").EndpointV2;
|
|
@@ -6,9 +6,11 @@ export declare const getRuntimeConfig: (config: SNSClientConfig) => {
|
|
|
6
6
|
import("@smithy/smithy-client").ResolvedDefaultsMode
|
|
7
7
|
>;
|
|
8
8
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
9
|
-
credentialDefaultProvider:
|
|
10
|
-
input: any
|
|
11
|
-
|
|
9
|
+
credentialDefaultProvider:
|
|
10
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
11
|
+
| ((
|
|
12
|
+
_: unknown
|
|
13
|
+
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
12
14
|
defaultUserAgentProvider: (
|
|
13
15
|
config?:
|
|
14
16
|
| import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
|
|
@@ -6,13 +6,15 @@ export declare const getRuntimeConfig: (config: SNSClientConfig) => {
|
|
|
6
6
|
import("@smithy/smithy-client").ResolvedDefaultsMode
|
|
7
7
|
>;
|
|
8
8
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
9
|
-
credentialDefaultProvider:
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
9
|
+
credentialDefaultProvider:
|
|
10
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
11
|
+
| ((
|
|
12
|
+
init?:
|
|
13
|
+
| import("@aws-sdk/credential-provider-node").DefaultProviderInit
|
|
14
|
+
| undefined
|
|
15
|
+
) => import("@smithy/types").MemoizedProvider<
|
|
16
|
+
import("@smithy/types").AwsCredentialIdentity
|
|
17
|
+
>);
|
|
16
18
|
defaultUserAgentProvider: (
|
|
17
19
|
config?:
|
|
18
20
|
| import("@aws-sdk/util-user-agent-node").PreviouslyResolved
|
|
@@ -28,9 +28,11 @@ export declare const getRuntimeConfig: (config: SNSClientConfig) => {
|
|
|
28
28
|
| import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
|
|
29
29
|
| undefined
|
|
30
30
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
31
|
-
credentialDefaultProvider:
|
|
32
|
-
input: any
|
|
33
|
-
|
|
31
|
+
credentialDefaultProvider:
|
|
32
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
33
|
+
| ((
|
|
34
|
+
_: unknown
|
|
35
|
+
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
34
36
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
35
37
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
36
38
|
logger: import("@smithy/types").Logger;
|
|
@@ -50,11 +52,21 @@ export declare const getRuntimeConfig: (config: SNSClientConfig) => {
|
|
|
50
52
|
| import("@smithy/types").RetryStrategyV2
|
|
51
53
|
| undefined;
|
|
52
54
|
endpoint?:
|
|
53
|
-
|
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
55
|
+
| ((
|
|
56
|
+
| string
|
|
57
|
+
| import("@smithy/types").Endpoint
|
|
58
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
59
|
+
| import("@smithy/types").EndpointV2
|
|
60
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
61
|
+
) &
|
|
62
|
+
(
|
|
63
|
+
| string
|
|
64
|
+
| import("@smithy/types").Provider<string>
|
|
65
|
+
| import("@smithy/types").Endpoint
|
|
66
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
67
|
+
| import("@smithy/types").EndpointV2
|
|
68
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
69
|
+
))
|
|
58
70
|
| undefined;
|
|
59
71
|
endpointProvider: (
|
|
60
72
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|