@aws-sdk/client-sns 3.490.0 → 3.495.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.
Files changed (64) hide show
  1. package/dist-cjs/SNS.js +1 -95
  2. package/dist-cjs/SNSClient.js +1 -43
  3. package/dist-cjs/commands/AddPermissionCommand.js +1 -28
  4. package/dist-cjs/commands/CheckIfPhoneNumberIsOptedOutCommand.js +1 -28
  5. package/dist-cjs/commands/ConfirmSubscriptionCommand.js +1 -28
  6. package/dist-cjs/commands/CreatePlatformApplicationCommand.js +1 -28
  7. package/dist-cjs/commands/CreatePlatformEndpointCommand.js +1 -28
  8. package/dist-cjs/commands/CreateSMSSandboxPhoneNumberCommand.js +1 -28
  9. package/dist-cjs/commands/CreateTopicCommand.js +1 -28
  10. package/dist-cjs/commands/DeleteEndpointCommand.js +1 -28
  11. package/dist-cjs/commands/DeletePlatformApplicationCommand.js +1 -28
  12. package/dist-cjs/commands/DeleteSMSSandboxPhoneNumberCommand.js +1 -28
  13. package/dist-cjs/commands/DeleteTopicCommand.js +1 -28
  14. package/dist-cjs/commands/GetDataProtectionPolicyCommand.js +1 -28
  15. package/dist-cjs/commands/GetEndpointAttributesCommand.js +1 -28
  16. package/dist-cjs/commands/GetPlatformApplicationAttributesCommand.js +1 -28
  17. package/dist-cjs/commands/GetSMSAttributesCommand.js +1 -28
  18. package/dist-cjs/commands/GetSMSSandboxAccountStatusCommand.js +1 -28
  19. package/dist-cjs/commands/GetSubscriptionAttributesCommand.js +1 -28
  20. package/dist-cjs/commands/GetTopicAttributesCommand.js +1 -28
  21. package/dist-cjs/commands/ListEndpointsByPlatformApplicationCommand.js +1 -28
  22. package/dist-cjs/commands/ListOriginationNumbersCommand.js +1 -28
  23. package/dist-cjs/commands/ListPhoneNumbersOptedOutCommand.js +1 -28
  24. package/dist-cjs/commands/ListPlatformApplicationsCommand.js +1 -28
  25. package/dist-cjs/commands/ListSMSSandboxPhoneNumbersCommand.js +1 -28
  26. package/dist-cjs/commands/ListSubscriptionsByTopicCommand.js +1 -28
  27. package/dist-cjs/commands/ListSubscriptionsCommand.js +1 -28
  28. package/dist-cjs/commands/ListTagsForResourceCommand.js +1 -28
  29. package/dist-cjs/commands/ListTopicsCommand.js +1 -28
  30. package/dist-cjs/commands/OptInPhoneNumberCommand.js +1 -28
  31. package/dist-cjs/commands/PublishBatchCommand.js +1 -28
  32. package/dist-cjs/commands/PublishCommand.js +1 -28
  33. package/dist-cjs/commands/PutDataProtectionPolicyCommand.js +1 -28
  34. package/dist-cjs/commands/RemovePermissionCommand.js +1 -28
  35. package/dist-cjs/commands/SetEndpointAttributesCommand.js +1 -28
  36. package/dist-cjs/commands/SetPlatformApplicationAttributesCommand.js +1 -28
  37. package/dist-cjs/commands/SetSMSAttributesCommand.js +1 -28
  38. package/dist-cjs/commands/SetSubscriptionAttributesCommand.js +1 -28
  39. package/dist-cjs/commands/SetTopicAttributesCommand.js +1 -28
  40. package/dist-cjs/commands/SubscribeCommand.js +1 -28
  41. package/dist-cjs/commands/TagResourceCommand.js +1 -28
  42. package/dist-cjs/commands/UnsubscribeCommand.js +1 -28
  43. package/dist-cjs/commands/UntagResourceCommand.js +1 -28
  44. package/dist-cjs/commands/VerifySMSSandboxPhoneNumberCommand.js +1 -28
  45. package/dist-cjs/commands/index.js +1 -45
  46. package/dist-cjs/endpoint/EndpointParameters.js +1 -18
  47. package/dist-cjs/extensionConfiguration.js +1 -2
  48. package/dist-cjs/index.js +5887 -11
  49. package/dist-cjs/models/SNSServiceException.js +1 -12
  50. package/dist-cjs/models/index.js +1 -4
  51. package/dist-cjs/models/models_0.js +1 -478
  52. package/dist-cjs/pagination/Interfaces.js +1 -2
  53. package/dist-cjs/pagination/ListEndpointsByPlatformApplicationPaginator.js +1 -7
  54. package/dist-cjs/pagination/ListOriginationNumbersPaginator.js +1 -7
  55. package/dist-cjs/pagination/ListPhoneNumbersOptedOutPaginator.js +1 -7
  56. package/dist-cjs/pagination/ListPlatformApplicationsPaginator.js +1 -7
  57. package/dist-cjs/pagination/ListSMSSandboxPhoneNumbersPaginator.js +1 -7
  58. package/dist-cjs/pagination/ListSubscriptionsByTopicPaginator.js +1 -7
  59. package/dist-cjs/pagination/ListSubscriptionsPaginator.js +1 -7
  60. package/dist-cjs/pagination/ListTopicsPaginator.js +1 -7
  61. package/dist-cjs/pagination/index.js +1 -12
  62. package/dist-cjs/protocols/Aws_query.js +1 -4290
  63. package/dist-cjs/runtimeExtensions.js +1 -22
  64. package/package.json +40 -40
@@ -1,12 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SNSServiceException = exports.__ServiceException = void 0;
4
- const smithy_client_1 = require("@smithy/smithy-client");
5
- Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
6
- class SNSServiceException extends smithy_client_1.ServiceException {
7
- constructor(options) {
8
- super(options);
9
- Object.setPrototypeOf(this, SNSServiceException.prototype);
10
- }
11
- }
12
- exports.SNSServiceException = SNSServiceException;
1
+ module.exports = require("../index.js");
@@ -1,4 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./models_0"), exports);
1
+ module.exports = require("../index.js");
@@ -1,478 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.VerificationException = exports.TooManyEntriesInBatchRequestException = exports.InvalidBatchEntryIdException = exports.EmptyBatchRequestException = exports.BatchRequestTooLongException = exports.BatchEntryIdsNotDistinctException = exports.PlatformApplicationDisabledException = exports.KMSThrottlingException = exports.KMSOptInRequired = exports.KMSNotFoundException = exports.KMSInvalidStateException = exports.KMSDisabledException = exports.KMSAccessDeniedException = exports.InvalidParameterValueException = exports.EndpointDisabledException = exports.SMSSandboxPhoneNumberVerificationStatus = exports.ValidationException = exports.RouteType = exports.NumberCapability = exports.InvalidStateException = exports.ResourceNotFoundException = exports.TopicLimitExceededException = exports.TagPolicyException = exports.TagLimitExceededException = exports.StaleTagException = exports.InvalidSecurityException = exports.ConcurrentAccessException = exports.UserErrorException = exports.OptedOutException = exports.LanguageCodeString = exports.SubscriptionLimitExceededException = exports.ReplayLimitExceededException = exports.FilterPolicyLimitExceededException = exports.ThrottledException = exports.NotFoundException = exports.InvalidParameterException = exports.InternalErrorException = exports.AuthorizationErrorException = void 0;
4
- const SNSServiceException_1 = require("./SNSServiceException");
5
- class AuthorizationErrorException extends SNSServiceException_1.SNSServiceException {
6
- constructor(opts) {
7
- super({
8
- name: "AuthorizationErrorException",
9
- $fault: "client",
10
- ...opts,
11
- });
12
- this.name = "AuthorizationErrorException";
13
- this.$fault = "client";
14
- Object.setPrototypeOf(this, AuthorizationErrorException.prototype);
15
- }
16
- }
17
- exports.AuthorizationErrorException = AuthorizationErrorException;
18
- class InternalErrorException extends SNSServiceException_1.SNSServiceException {
19
- constructor(opts) {
20
- super({
21
- name: "InternalErrorException",
22
- $fault: "server",
23
- ...opts,
24
- });
25
- this.name = "InternalErrorException";
26
- this.$fault = "server";
27
- Object.setPrototypeOf(this, InternalErrorException.prototype);
28
- }
29
- }
30
- exports.InternalErrorException = InternalErrorException;
31
- class InvalidParameterException extends SNSServiceException_1.SNSServiceException {
32
- constructor(opts) {
33
- super({
34
- name: "InvalidParameterException",
35
- $fault: "client",
36
- ...opts,
37
- });
38
- this.name = "InvalidParameterException";
39
- this.$fault = "client";
40
- Object.setPrototypeOf(this, InvalidParameterException.prototype);
41
- }
42
- }
43
- exports.InvalidParameterException = InvalidParameterException;
44
- class NotFoundException extends SNSServiceException_1.SNSServiceException {
45
- constructor(opts) {
46
- super({
47
- name: "NotFoundException",
48
- $fault: "client",
49
- ...opts,
50
- });
51
- this.name = "NotFoundException";
52
- this.$fault = "client";
53
- Object.setPrototypeOf(this, NotFoundException.prototype);
54
- }
55
- }
56
- exports.NotFoundException = NotFoundException;
57
- class ThrottledException extends SNSServiceException_1.SNSServiceException {
58
- constructor(opts) {
59
- super({
60
- name: "ThrottledException",
61
- $fault: "client",
62
- ...opts,
63
- });
64
- this.name = "ThrottledException";
65
- this.$fault = "client";
66
- Object.setPrototypeOf(this, ThrottledException.prototype);
67
- }
68
- }
69
- exports.ThrottledException = ThrottledException;
70
- class FilterPolicyLimitExceededException extends SNSServiceException_1.SNSServiceException {
71
- constructor(opts) {
72
- super({
73
- name: "FilterPolicyLimitExceededException",
74
- $fault: "client",
75
- ...opts,
76
- });
77
- this.name = "FilterPolicyLimitExceededException";
78
- this.$fault = "client";
79
- Object.setPrototypeOf(this, FilterPolicyLimitExceededException.prototype);
80
- }
81
- }
82
- exports.FilterPolicyLimitExceededException = FilterPolicyLimitExceededException;
83
- class ReplayLimitExceededException extends SNSServiceException_1.SNSServiceException {
84
- constructor(opts) {
85
- super({
86
- name: "ReplayLimitExceededException",
87
- $fault: "client",
88
- ...opts,
89
- });
90
- this.name = "ReplayLimitExceededException";
91
- this.$fault = "client";
92
- Object.setPrototypeOf(this, ReplayLimitExceededException.prototype);
93
- }
94
- }
95
- exports.ReplayLimitExceededException = ReplayLimitExceededException;
96
- class SubscriptionLimitExceededException extends SNSServiceException_1.SNSServiceException {
97
- constructor(opts) {
98
- super({
99
- name: "SubscriptionLimitExceededException",
100
- $fault: "client",
101
- ...opts,
102
- });
103
- this.name = "SubscriptionLimitExceededException";
104
- this.$fault = "client";
105
- Object.setPrototypeOf(this, SubscriptionLimitExceededException.prototype);
106
- }
107
- }
108
- exports.SubscriptionLimitExceededException = SubscriptionLimitExceededException;
109
- exports.LanguageCodeString = {
110
- de_DE: "de-DE",
111
- en_GB: "en-GB",
112
- en_US: "en-US",
113
- es_419: "es-419",
114
- es_ES: "es-ES",
115
- fr_CA: "fr-CA",
116
- fr_FR: "fr-FR",
117
- it_IT: "it-IT",
118
- jp_JP: "ja-JP",
119
- kr_KR: "kr-KR",
120
- pt_BR: "pt-BR",
121
- zh_CN: "zh-CN",
122
- zh_TW: "zh-TW",
123
- };
124
- class OptedOutException extends SNSServiceException_1.SNSServiceException {
125
- constructor(opts) {
126
- super({
127
- name: "OptedOutException",
128
- $fault: "client",
129
- ...opts,
130
- });
131
- this.name = "OptedOutException";
132
- this.$fault = "client";
133
- Object.setPrototypeOf(this, OptedOutException.prototype);
134
- }
135
- }
136
- exports.OptedOutException = OptedOutException;
137
- class UserErrorException extends SNSServiceException_1.SNSServiceException {
138
- constructor(opts) {
139
- super({
140
- name: "UserErrorException",
141
- $fault: "client",
142
- ...opts,
143
- });
144
- this.name = "UserErrorException";
145
- this.$fault = "client";
146
- Object.setPrototypeOf(this, UserErrorException.prototype);
147
- }
148
- }
149
- exports.UserErrorException = UserErrorException;
150
- class ConcurrentAccessException extends SNSServiceException_1.SNSServiceException {
151
- constructor(opts) {
152
- super({
153
- name: "ConcurrentAccessException",
154
- $fault: "client",
155
- ...opts,
156
- });
157
- this.name = "ConcurrentAccessException";
158
- this.$fault = "client";
159
- Object.setPrototypeOf(this, ConcurrentAccessException.prototype);
160
- }
161
- }
162
- exports.ConcurrentAccessException = ConcurrentAccessException;
163
- class InvalidSecurityException extends SNSServiceException_1.SNSServiceException {
164
- constructor(opts) {
165
- super({
166
- name: "InvalidSecurityException",
167
- $fault: "client",
168
- ...opts,
169
- });
170
- this.name = "InvalidSecurityException";
171
- this.$fault = "client";
172
- Object.setPrototypeOf(this, InvalidSecurityException.prototype);
173
- }
174
- }
175
- exports.InvalidSecurityException = InvalidSecurityException;
176
- class StaleTagException extends SNSServiceException_1.SNSServiceException {
177
- constructor(opts) {
178
- super({
179
- name: "StaleTagException",
180
- $fault: "client",
181
- ...opts,
182
- });
183
- this.name = "StaleTagException";
184
- this.$fault = "client";
185
- Object.setPrototypeOf(this, StaleTagException.prototype);
186
- }
187
- }
188
- exports.StaleTagException = StaleTagException;
189
- class TagLimitExceededException extends SNSServiceException_1.SNSServiceException {
190
- constructor(opts) {
191
- super({
192
- name: "TagLimitExceededException",
193
- $fault: "client",
194
- ...opts,
195
- });
196
- this.name = "TagLimitExceededException";
197
- this.$fault = "client";
198
- Object.setPrototypeOf(this, TagLimitExceededException.prototype);
199
- }
200
- }
201
- exports.TagLimitExceededException = TagLimitExceededException;
202
- class TagPolicyException extends SNSServiceException_1.SNSServiceException {
203
- constructor(opts) {
204
- super({
205
- name: "TagPolicyException",
206
- $fault: "client",
207
- ...opts,
208
- });
209
- this.name = "TagPolicyException";
210
- this.$fault = "client";
211
- Object.setPrototypeOf(this, TagPolicyException.prototype);
212
- }
213
- }
214
- exports.TagPolicyException = TagPolicyException;
215
- class TopicLimitExceededException extends SNSServiceException_1.SNSServiceException {
216
- constructor(opts) {
217
- super({
218
- name: "TopicLimitExceededException",
219
- $fault: "client",
220
- ...opts,
221
- });
222
- this.name = "TopicLimitExceededException";
223
- this.$fault = "client";
224
- Object.setPrototypeOf(this, TopicLimitExceededException.prototype);
225
- }
226
- }
227
- exports.TopicLimitExceededException = TopicLimitExceededException;
228
- class ResourceNotFoundException extends SNSServiceException_1.SNSServiceException {
229
- constructor(opts) {
230
- super({
231
- name: "ResourceNotFoundException",
232
- $fault: "client",
233
- ...opts,
234
- });
235
- this.name = "ResourceNotFoundException";
236
- this.$fault = "client";
237
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
238
- }
239
- }
240
- exports.ResourceNotFoundException = ResourceNotFoundException;
241
- class InvalidStateException extends SNSServiceException_1.SNSServiceException {
242
- constructor(opts) {
243
- super({
244
- name: "InvalidStateException",
245
- $fault: "client",
246
- ...opts,
247
- });
248
- this.name = "InvalidStateException";
249
- this.$fault = "client";
250
- Object.setPrototypeOf(this, InvalidStateException.prototype);
251
- }
252
- }
253
- exports.InvalidStateException = InvalidStateException;
254
- exports.NumberCapability = {
255
- MMS: "MMS",
256
- SMS: "SMS",
257
- VOICE: "VOICE",
258
- };
259
- exports.RouteType = {
260
- Premium: "Premium",
261
- Promotional: "Promotional",
262
- Transactional: "Transactional",
263
- };
264
- class ValidationException extends SNSServiceException_1.SNSServiceException {
265
- constructor(opts) {
266
- super({
267
- name: "ValidationException",
268
- $fault: "client",
269
- ...opts,
270
- });
271
- this.name = "ValidationException";
272
- this.$fault = "client";
273
- Object.setPrototypeOf(this, ValidationException.prototype);
274
- this.Message = opts.Message;
275
- }
276
- }
277
- exports.ValidationException = ValidationException;
278
- exports.SMSSandboxPhoneNumberVerificationStatus = {
279
- Pending: "Pending",
280
- Verified: "Verified",
281
- };
282
- class EndpointDisabledException extends SNSServiceException_1.SNSServiceException {
283
- constructor(opts) {
284
- super({
285
- name: "EndpointDisabledException",
286
- $fault: "client",
287
- ...opts,
288
- });
289
- this.name = "EndpointDisabledException";
290
- this.$fault = "client";
291
- Object.setPrototypeOf(this, EndpointDisabledException.prototype);
292
- }
293
- }
294
- exports.EndpointDisabledException = EndpointDisabledException;
295
- class InvalidParameterValueException extends SNSServiceException_1.SNSServiceException {
296
- constructor(opts) {
297
- super({
298
- name: "InvalidParameterValueException",
299
- $fault: "client",
300
- ...opts,
301
- });
302
- this.name = "InvalidParameterValueException";
303
- this.$fault = "client";
304
- Object.setPrototypeOf(this, InvalidParameterValueException.prototype);
305
- }
306
- }
307
- exports.InvalidParameterValueException = InvalidParameterValueException;
308
- class KMSAccessDeniedException extends SNSServiceException_1.SNSServiceException {
309
- constructor(opts) {
310
- super({
311
- name: "KMSAccessDeniedException",
312
- $fault: "client",
313
- ...opts,
314
- });
315
- this.name = "KMSAccessDeniedException";
316
- this.$fault = "client";
317
- Object.setPrototypeOf(this, KMSAccessDeniedException.prototype);
318
- }
319
- }
320
- exports.KMSAccessDeniedException = KMSAccessDeniedException;
321
- class KMSDisabledException extends SNSServiceException_1.SNSServiceException {
322
- constructor(opts) {
323
- super({
324
- name: "KMSDisabledException",
325
- $fault: "client",
326
- ...opts,
327
- });
328
- this.name = "KMSDisabledException";
329
- this.$fault = "client";
330
- Object.setPrototypeOf(this, KMSDisabledException.prototype);
331
- }
332
- }
333
- exports.KMSDisabledException = KMSDisabledException;
334
- class KMSInvalidStateException extends SNSServiceException_1.SNSServiceException {
335
- constructor(opts) {
336
- super({
337
- name: "KMSInvalidStateException",
338
- $fault: "client",
339
- ...opts,
340
- });
341
- this.name = "KMSInvalidStateException";
342
- this.$fault = "client";
343
- Object.setPrototypeOf(this, KMSInvalidStateException.prototype);
344
- }
345
- }
346
- exports.KMSInvalidStateException = KMSInvalidStateException;
347
- class KMSNotFoundException extends SNSServiceException_1.SNSServiceException {
348
- constructor(opts) {
349
- super({
350
- name: "KMSNotFoundException",
351
- $fault: "client",
352
- ...opts,
353
- });
354
- this.name = "KMSNotFoundException";
355
- this.$fault = "client";
356
- Object.setPrototypeOf(this, KMSNotFoundException.prototype);
357
- }
358
- }
359
- exports.KMSNotFoundException = KMSNotFoundException;
360
- class KMSOptInRequired extends SNSServiceException_1.SNSServiceException {
361
- constructor(opts) {
362
- super({
363
- name: "KMSOptInRequired",
364
- $fault: "client",
365
- ...opts,
366
- });
367
- this.name = "KMSOptInRequired";
368
- this.$fault = "client";
369
- Object.setPrototypeOf(this, KMSOptInRequired.prototype);
370
- }
371
- }
372
- exports.KMSOptInRequired = KMSOptInRequired;
373
- class KMSThrottlingException extends SNSServiceException_1.SNSServiceException {
374
- constructor(opts) {
375
- super({
376
- name: "KMSThrottlingException",
377
- $fault: "client",
378
- ...opts,
379
- });
380
- this.name = "KMSThrottlingException";
381
- this.$fault = "client";
382
- Object.setPrototypeOf(this, KMSThrottlingException.prototype);
383
- }
384
- }
385
- exports.KMSThrottlingException = KMSThrottlingException;
386
- class PlatformApplicationDisabledException extends SNSServiceException_1.SNSServiceException {
387
- constructor(opts) {
388
- super({
389
- name: "PlatformApplicationDisabledException",
390
- $fault: "client",
391
- ...opts,
392
- });
393
- this.name = "PlatformApplicationDisabledException";
394
- this.$fault = "client";
395
- Object.setPrototypeOf(this, PlatformApplicationDisabledException.prototype);
396
- }
397
- }
398
- exports.PlatformApplicationDisabledException = PlatformApplicationDisabledException;
399
- class BatchEntryIdsNotDistinctException extends SNSServiceException_1.SNSServiceException {
400
- constructor(opts) {
401
- super({
402
- name: "BatchEntryIdsNotDistinctException",
403
- $fault: "client",
404
- ...opts,
405
- });
406
- this.name = "BatchEntryIdsNotDistinctException";
407
- this.$fault = "client";
408
- Object.setPrototypeOf(this, BatchEntryIdsNotDistinctException.prototype);
409
- }
410
- }
411
- exports.BatchEntryIdsNotDistinctException = BatchEntryIdsNotDistinctException;
412
- class BatchRequestTooLongException extends SNSServiceException_1.SNSServiceException {
413
- constructor(opts) {
414
- super({
415
- name: "BatchRequestTooLongException",
416
- $fault: "client",
417
- ...opts,
418
- });
419
- this.name = "BatchRequestTooLongException";
420
- this.$fault = "client";
421
- Object.setPrototypeOf(this, BatchRequestTooLongException.prototype);
422
- }
423
- }
424
- exports.BatchRequestTooLongException = BatchRequestTooLongException;
425
- class EmptyBatchRequestException extends SNSServiceException_1.SNSServiceException {
426
- constructor(opts) {
427
- super({
428
- name: "EmptyBatchRequestException",
429
- $fault: "client",
430
- ...opts,
431
- });
432
- this.name = "EmptyBatchRequestException";
433
- this.$fault = "client";
434
- Object.setPrototypeOf(this, EmptyBatchRequestException.prototype);
435
- }
436
- }
437
- exports.EmptyBatchRequestException = EmptyBatchRequestException;
438
- class InvalidBatchEntryIdException extends SNSServiceException_1.SNSServiceException {
439
- constructor(opts) {
440
- super({
441
- name: "InvalidBatchEntryIdException",
442
- $fault: "client",
443
- ...opts,
444
- });
445
- this.name = "InvalidBatchEntryIdException";
446
- this.$fault = "client";
447
- Object.setPrototypeOf(this, InvalidBatchEntryIdException.prototype);
448
- }
449
- }
450
- exports.InvalidBatchEntryIdException = InvalidBatchEntryIdException;
451
- class TooManyEntriesInBatchRequestException extends SNSServiceException_1.SNSServiceException {
452
- constructor(opts) {
453
- super({
454
- name: "TooManyEntriesInBatchRequestException",
455
- $fault: "client",
456
- ...opts,
457
- });
458
- this.name = "TooManyEntriesInBatchRequestException";
459
- this.$fault = "client";
460
- Object.setPrototypeOf(this, TooManyEntriesInBatchRequestException.prototype);
461
- }
462
- }
463
- exports.TooManyEntriesInBatchRequestException = TooManyEntriesInBatchRequestException;
464
- class VerificationException extends SNSServiceException_1.SNSServiceException {
465
- constructor(opts) {
466
- super({
467
- name: "VerificationException",
468
- $fault: "client",
469
- ...opts,
470
- });
471
- this.name = "VerificationException";
472
- this.$fault = "client";
473
- Object.setPrototypeOf(this, VerificationException.prototype);
474
- this.Message = opts.Message;
475
- this.Status = opts.Status;
476
- }
477
- }
478
- exports.VerificationException = VerificationException;
1
+ module.exports = require("../index.js");
@@ -1,2 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListEndpointsByPlatformApplication = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListEndpointsByPlatformApplicationCommand_1 = require("../commands/ListEndpointsByPlatformApplicationCommand");
6
- const SNSClient_1 = require("../SNSClient");
7
- exports.paginateListEndpointsByPlatformApplication = (0, core_1.createPaginator)(SNSClient_1.SNSClient, ListEndpointsByPlatformApplicationCommand_1.ListEndpointsByPlatformApplicationCommand, "NextToken", "NextToken", "");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListOriginationNumbers = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListOriginationNumbersCommand_1 = require("../commands/ListOriginationNumbersCommand");
6
- const SNSClient_1 = require("../SNSClient");
7
- exports.paginateListOriginationNumbers = (0, core_1.createPaginator)(SNSClient_1.SNSClient, ListOriginationNumbersCommand_1.ListOriginationNumbersCommand, "NextToken", "NextToken", "MaxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListPhoneNumbersOptedOut = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListPhoneNumbersOptedOutCommand_1 = require("../commands/ListPhoneNumbersOptedOutCommand");
6
- const SNSClient_1 = require("../SNSClient");
7
- exports.paginateListPhoneNumbersOptedOut = (0, core_1.createPaginator)(SNSClient_1.SNSClient, ListPhoneNumbersOptedOutCommand_1.ListPhoneNumbersOptedOutCommand, "nextToken", "nextToken", "");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListPlatformApplications = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListPlatformApplicationsCommand_1 = require("../commands/ListPlatformApplicationsCommand");
6
- const SNSClient_1 = require("../SNSClient");
7
- exports.paginateListPlatformApplications = (0, core_1.createPaginator)(SNSClient_1.SNSClient, ListPlatformApplicationsCommand_1.ListPlatformApplicationsCommand, "NextToken", "NextToken", "");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListSMSSandboxPhoneNumbers = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListSMSSandboxPhoneNumbersCommand_1 = require("../commands/ListSMSSandboxPhoneNumbersCommand");
6
- const SNSClient_1 = require("../SNSClient");
7
- exports.paginateListSMSSandboxPhoneNumbers = (0, core_1.createPaginator)(SNSClient_1.SNSClient, ListSMSSandboxPhoneNumbersCommand_1.ListSMSSandboxPhoneNumbersCommand, "NextToken", "NextToken", "MaxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListSubscriptionsByTopic = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListSubscriptionsByTopicCommand_1 = require("../commands/ListSubscriptionsByTopicCommand");
6
- const SNSClient_1 = require("../SNSClient");
7
- exports.paginateListSubscriptionsByTopic = (0, core_1.createPaginator)(SNSClient_1.SNSClient, ListSubscriptionsByTopicCommand_1.ListSubscriptionsByTopicCommand, "NextToken", "NextToken", "");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListSubscriptions = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListSubscriptionsCommand_1 = require("../commands/ListSubscriptionsCommand");
6
- const SNSClient_1 = require("../SNSClient");
7
- exports.paginateListSubscriptions = (0, core_1.createPaginator)(SNSClient_1.SNSClient, ListSubscriptionsCommand_1.ListSubscriptionsCommand, "NextToken", "NextToken", "");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListTopics = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListTopicsCommand_1 = require("../commands/ListTopicsCommand");
6
- const SNSClient_1 = require("../SNSClient");
7
- exports.paginateListTopics = (0, core_1.createPaginator)(SNSClient_1.SNSClient, ListTopicsCommand_1.ListTopicsCommand, "NextToken", "NextToken", "");
1
+ module.exports = require("../index.js");
@@ -1,12 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./Interfaces"), exports);
5
- tslib_1.__exportStar(require("./ListEndpointsByPlatformApplicationPaginator"), exports);
6
- tslib_1.__exportStar(require("./ListOriginationNumbersPaginator"), exports);
7
- tslib_1.__exportStar(require("./ListPhoneNumbersOptedOutPaginator"), exports);
8
- tslib_1.__exportStar(require("./ListPlatformApplicationsPaginator"), exports);
9
- tslib_1.__exportStar(require("./ListSMSSandboxPhoneNumbersPaginator"), exports);
10
- tslib_1.__exportStar(require("./ListSubscriptionsByTopicPaginator"), exports);
11
- tslib_1.__exportStar(require("./ListSubscriptionsPaginator"), exports);
12
- tslib_1.__exportStar(require("./ListTopicsPaginator"), exports);
1
+ module.exports = require("../index.js");