aws-sdk-sns 1.66.0 → 1.75.0

Sign up to get free protection for your applications and to get access to all the features.
data/sig/types.rbs ADDED
@@ -0,0 +1,664 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws::SNS
9
+ module Types
10
+
11
+ class AddPermissionInput
12
+ attr_accessor topic_arn: ::String
13
+ attr_accessor label: ::String
14
+ attr_accessor aws_account_id: ::Array[::String]
15
+ attr_accessor action_name: ::Array[::String]
16
+ SENSITIVE: []
17
+ end
18
+
19
+ class AuthorizationErrorException
20
+ attr_accessor message: ::String
21
+ SENSITIVE: []
22
+ end
23
+
24
+ class BatchEntryIdsNotDistinctException
25
+ attr_accessor message: ::String
26
+ SENSITIVE: []
27
+ end
28
+
29
+ class BatchRequestTooLongException
30
+ attr_accessor message: ::String
31
+ SENSITIVE: []
32
+ end
33
+
34
+ class BatchResultErrorEntry
35
+ attr_accessor id: ::String
36
+ attr_accessor code: ::String
37
+ attr_accessor message: ::String
38
+ attr_accessor sender_fault: bool
39
+ SENSITIVE: []
40
+ end
41
+
42
+ class CheckIfPhoneNumberIsOptedOutInput
43
+ attr_accessor phone_number: ::String
44
+ SENSITIVE: [:phone_number]
45
+ end
46
+
47
+ class CheckIfPhoneNumberIsOptedOutResponse
48
+ attr_accessor is_opted_out: bool
49
+ SENSITIVE: []
50
+ end
51
+
52
+ class ConcurrentAccessException
53
+ attr_accessor message: ::String
54
+ SENSITIVE: []
55
+ end
56
+
57
+ class ConfirmSubscriptionInput
58
+ attr_accessor topic_arn: ::String
59
+ attr_accessor token: ::String
60
+ attr_accessor authenticate_on_unsubscribe: ::String
61
+ SENSITIVE: []
62
+ end
63
+
64
+ class ConfirmSubscriptionResponse
65
+ attr_accessor subscription_arn: ::String
66
+ SENSITIVE: []
67
+ end
68
+
69
+ class CreateEndpointResponse
70
+ attr_accessor endpoint_arn: ::String
71
+ SENSITIVE: []
72
+ end
73
+
74
+ class CreatePlatformApplicationInput
75
+ attr_accessor name: ::String
76
+ attr_accessor platform: ::String
77
+ attr_accessor attributes: ::Hash[::String, ::String]
78
+ SENSITIVE: []
79
+ end
80
+
81
+ class CreatePlatformApplicationResponse
82
+ attr_accessor platform_application_arn: ::String
83
+ SENSITIVE: []
84
+ end
85
+
86
+ class CreatePlatformEndpointInput
87
+ attr_accessor platform_application_arn: ::String
88
+ attr_accessor token: ::String
89
+ attr_accessor custom_user_data: ::String
90
+ attr_accessor attributes: ::Hash[::String, ::String]
91
+ SENSITIVE: []
92
+ end
93
+
94
+ class CreateSMSSandboxPhoneNumberInput
95
+ attr_accessor phone_number: ::String
96
+ attr_accessor language_code: ("en-US" | "en-GB" | "es-419" | "es-ES" | "de-DE" | "fr-CA" | "fr-FR" | "it-IT" | "ja-JP" | "pt-BR" | "kr-KR" | "zh-CN" | "zh-TW")
97
+ SENSITIVE: [:phone_number]
98
+ end
99
+
100
+ class CreateSMSSandboxPhoneNumberResult < Aws::EmptyStructure
101
+ end
102
+
103
+ class CreateTopicInput
104
+ attr_accessor name: ::String
105
+ attr_accessor attributes: ::Hash[::String, ::String]
106
+ attr_accessor tags: ::Array[Types::Tag]
107
+ attr_accessor data_protection_policy: ::String
108
+ SENSITIVE: []
109
+ end
110
+
111
+ class CreateTopicResponse
112
+ attr_accessor topic_arn: ::String
113
+ SENSITIVE: []
114
+ end
115
+
116
+ class DeleteEndpointInput
117
+ attr_accessor endpoint_arn: ::String
118
+ SENSITIVE: []
119
+ end
120
+
121
+ class DeletePlatformApplicationInput
122
+ attr_accessor platform_application_arn: ::String
123
+ SENSITIVE: []
124
+ end
125
+
126
+ class DeleteSMSSandboxPhoneNumberInput
127
+ attr_accessor phone_number: ::String
128
+ SENSITIVE: [:phone_number]
129
+ end
130
+
131
+ class DeleteSMSSandboxPhoneNumberResult < Aws::EmptyStructure
132
+ end
133
+
134
+ class DeleteTopicInput
135
+ attr_accessor topic_arn: ::String
136
+ SENSITIVE: []
137
+ end
138
+
139
+ class EmptyBatchRequestException
140
+ attr_accessor message: ::String
141
+ SENSITIVE: []
142
+ end
143
+
144
+ class Endpoint
145
+ attr_accessor endpoint_arn: ::String
146
+ attr_accessor attributes: ::Hash[::String, ::String]
147
+ SENSITIVE: []
148
+ end
149
+
150
+ class EndpointDisabledException
151
+ attr_accessor message: ::String
152
+ SENSITIVE: []
153
+ end
154
+
155
+ class FilterPolicyLimitExceededException
156
+ attr_accessor message: ::String
157
+ SENSITIVE: []
158
+ end
159
+
160
+ class GetDataProtectionPolicyInput
161
+ attr_accessor resource_arn: ::String
162
+ SENSITIVE: []
163
+ end
164
+
165
+ class GetDataProtectionPolicyResponse
166
+ attr_accessor data_protection_policy: ::String
167
+ SENSITIVE: []
168
+ end
169
+
170
+ class GetEndpointAttributesInput
171
+ attr_accessor endpoint_arn: ::String
172
+ SENSITIVE: []
173
+ end
174
+
175
+ class GetEndpointAttributesResponse
176
+ attr_accessor attributes: ::Hash[::String, ::String]
177
+ SENSITIVE: []
178
+ end
179
+
180
+ class GetPlatformApplicationAttributesInput
181
+ attr_accessor platform_application_arn: ::String
182
+ SENSITIVE: []
183
+ end
184
+
185
+ class GetPlatformApplicationAttributesResponse
186
+ attr_accessor attributes: ::Hash[::String, ::String]
187
+ SENSITIVE: []
188
+ end
189
+
190
+ class GetSMSAttributesInput
191
+ attr_accessor attributes: ::Array[::String]
192
+ SENSITIVE: []
193
+ end
194
+
195
+ class GetSMSAttributesResponse
196
+ attr_accessor attributes: ::Hash[::String, ::String]
197
+ SENSITIVE: []
198
+ end
199
+
200
+ class GetSMSSandboxAccountStatusInput < Aws::EmptyStructure
201
+ end
202
+
203
+ class GetSMSSandboxAccountStatusResult
204
+ attr_accessor is_in_sandbox: bool
205
+ SENSITIVE: []
206
+ end
207
+
208
+ class GetSubscriptionAttributesInput
209
+ attr_accessor subscription_arn: ::String
210
+ SENSITIVE: []
211
+ end
212
+
213
+ class GetSubscriptionAttributesResponse
214
+ attr_accessor attributes: ::Hash[::String, ::String]
215
+ SENSITIVE: []
216
+ end
217
+
218
+ class GetTopicAttributesInput
219
+ attr_accessor topic_arn: ::String
220
+ SENSITIVE: []
221
+ end
222
+
223
+ class GetTopicAttributesResponse
224
+ attr_accessor attributes: ::Hash[::String, ::String]
225
+ SENSITIVE: []
226
+ end
227
+
228
+ class InternalErrorException
229
+ attr_accessor message: ::String
230
+ SENSITIVE: []
231
+ end
232
+
233
+ class InvalidBatchEntryIdException
234
+ attr_accessor message: ::String
235
+ SENSITIVE: []
236
+ end
237
+
238
+ class InvalidParameterException
239
+ attr_accessor message: ::String
240
+ SENSITIVE: []
241
+ end
242
+
243
+ class InvalidParameterValueException
244
+ attr_accessor message: ::String
245
+ SENSITIVE: []
246
+ end
247
+
248
+ class InvalidSecurityException
249
+ attr_accessor message: ::String
250
+ SENSITIVE: []
251
+ end
252
+
253
+ class InvalidStateException
254
+ attr_accessor message: ::String
255
+ SENSITIVE: []
256
+ end
257
+
258
+ class KMSAccessDeniedException
259
+ attr_accessor message: ::String
260
+ SENSITIVE: []
261
+ end
262
+
263
+ class KMSDisabledException
264
+ attr_accessor message: ::String
265
+ SENSITIVE: []
266
+ end
267
+
268
+ class KMSInvalidStateException
269
+ attr_accessor message: ::String
270
+ SENSITIVE: []
271
+ end
272
+
273
+ class KMSNotFoundException
274
+ attr_accessor message: ::String
275
+ SENSITIVE: []
276
+ end
277
+
278
+ class KMSOptInRequired
279
+ attr_accessor message: ::String
280
+ SENSITIVE: []
281
+ end
282
+
283
+ class KMSThrottlingException
284
+ attr_accessor message: ::String
285
+ SENSITIVE: []
286
+ end
287
+
288
+ class ListEndpointsByPlatformApplicationInput
289
+ attr_accessor platform_application_arn: ::String
290
+ attr_accessor next_token: ::String
291
+ SENSITIVE: []
292
+ end
293
+
294
+ class ListEndpointsByPlatformApplicationResponse
295
+ attr_accessor endpoints: ::Array[Types::Endpoint]
296
+ attr_accessor next_token: ::String
297
+ SENSITIVE: []
298
+ end
299
+
300
+ class ListOriginationNumbersRequest
301
+ attr_accessor next_token: ::String
302
+ attr_accessor max_results: ::Integer
303
+ SENSITIVE: []
304
+ end
305
+
306
+ class ListOriginationNumbersResult
307
+ attr_accessor next_token: ::String
308
+ attr_accessor phone_numbers: ::Array[Types::PhoneNumberInformation]
309
+ SENSITIVE: []
310
+ end
311
+
312
+ class ListPhoneNumbersOptedOutInput
313
+ attr_accessor next_token: ::String
314
+ SENSITIVE: []
315
+ end
316
+
317
+ class ListPhoneNumbersOptedOutResponse
318
+ attr_accessor phone_numbers: ::Array[::String]
319
+ attr_accessor next_token: ::String
320
+ SENSITIVE: []
321
+ end
322
+
323
+ class ListPlatformApplicationsInput
324
+ attr_accessor next_token: ::String
325
+ SENSITIVE: []
326
+ end
327
+
328
+ class ListPlatformApplicationsResponse
329
+ attr_accessor platform_applications: ::Array[Types::PlatformApplication]
330
+ attr_accessor next_token: ::String
331
+ SENSITIVE: []
332
+ end
333
+
334
+ class ListSMSSandboxPhoneNumbersInput
335
+ attr_accessor next_token: ::String
336
+ attr_accessor max_results: ::Integer
337
+ SENSITIVE: []
338
+ end
339
+
340
+ class ListSMSSandboxPhoneNumbersResult
341
+ attr_accessor phone_numbers: ::Array[Types::SMSSandboxPhoneNumber]
342
+ attr_accessor next_token: ::String
343
+ SENSITIVE: []
344
+ end
345
+
346
+ class ListSubscriptionsByTopicInput
347
+ attr_accessor topic_arn: ::String
348
+ attr_accessor next_token: ::String
349
+ SENSITIVE: []
350
+ end
351
+
352
+ class ListSubscriptionsByTopicResponse
353
+ attr_accessor subscriptions: ::Array[Types::Subscription]
354
+ attr_accessor next_token: ::String
355
+ SENSITIVE: []
356
+ end
357
+
358
+ class ListSubscriptionsInput
359
+ attr_accessor next_token: ::String
360
+ SENSITIVE: []
361
+ end
362
+
363
+ class ListSubscriptionsResponse
364
+ attr_accessor subscriptions: ::Array[Types::Subscription]
365
+ attr_accessor next_token: ::String
366
+ SENSITIVE: []
367
+ end
368
+
369
+ class ListTagsForResourceRequest
370
+ attr_accessor resource_arn: ::String
371
+ SENSITIVE: []
372
+ end
373
+
374
+ class ListTagsForResourceResponse
375
+ attr_accessor tags: ::Array[Types::Tag]
376
+ SENSITIVE: []
377
+ end
378
+
379
+ class ListTopicsInput
380
+ attr_accessor next_token: ::String
381
+ SENSITIVE: []
382
+ end
383
+
384
+ class ListTopicsResponse
385
+ attr_accessor topics: ::Array[Types::Topic]
386
+ attr_accessor next_token: ::String
387
+ SENSITIVE: []
388
+ end
389
+
390
+ class MessageAttributeValue
391
+ attr_accessor data_type: ::String
392
+ attr_accessor string_value: ::String
393
+ attr_accessor binary_value: ::String
394
+ SENSITIVE: []
395
+ end
396
+
397
+ class NotFoundException
398
+ attr_accessor message: ::String
399
+ SENSITIVE: []
400
+ end
401
+
402
+ class OptInPhoneNumberInput
403
+ attr_accessor phone_number: ::String
404
+ SENSITIVE: [:phone_number]
405
+ end
406
+
407
+ class OptInPhoneNumberResponse < Aws::EmptyStructure
408
+ end
409
+
410
+ class OptedOutException
411
+ attr_accessor message: ::String
412
+ SENSITIVE: []
413
+ end
414
+
415
+ class PhoneNumberInformation
416
+ attr_accessor created_at: ::Time
417
+ attr_accessor phone_number: ::String
418
+ attr_accessor status: ::String
419
+ attr_accessor iso_2_country_code: ::String
420
+ attr_accessor route_type: ("Transactional" | "Promotional" | "Premium")
421
+ attr_accessor number_capabilities: ::Array[("SMS" | "MMS" | "VOICE")]
422
+ SENSITIVE: [:phone_number]
423
+ end
424
+
425
+ class PlatformApplication
426
+ attr_accessor platform_application_arn: ::String
427
+ attr_accessor attributes: ::Hash[::String, ::String]
428
+ SENSITIVE: []
429
+ end
430
+
431
+ class PlatformApplicationDisabledException
432
+ attr_accessor message: ::String
433
+ SENSITIVE: []
434
+ end
435
+
436
+ class PublishBatchInput
437
+ attr_accessor topic_arn: ::String
438
+ attr_accessor publish_batch_request_entries: ::Array[Types::PublishBatchRequestEntry]
439
+ SENSITIVE: []
440
+ end
441
+
442
+ class PublishBatchRequestEntry
443
+ attr_accessor id: ::String
444
+ attr_accessor message: ::String
445
+ attr_accessor subject: ::String
446
+ attr_accessor message_structure: ::String
447
+ attr_accessor message_attributes: ::Hash[::String, Types::MessageAttributeValue]
448
+ attr_accessor message_deduplication_id: ::String
449
+ attr_accessor message_group_id: ::String
450
+ SENSITIVE: []
451
+ end
452
+
453
+ class PublishBatchResponse
454
+ attr_accessor successful: ::Array[Types::PublishBatchResultEntry]
455
+ attr_accessor failed: ::Array[Types::BatchResultErrorEntry]
456
+ SENSITIVE: []
457
+ end
458
+
459
+ class PublishBatchResultEntry
460
+ attr_accessor id: ::String
461
+ attr_accessor message_id: ::String
462
+ attr_accessor sequence_number: ::String
463
+ SENSITIVE: []
464
+ end
465
+
466
+ class PublishInput
467
+ attr_accessor topic_arn: ::String
468
+ attr_accessor target_arn: ::String
469
+ attr_accessor phone_number: ::String
470
+ attr_accessor message: ::String
471
+ attr_accessor subject: ::String
472
+ attr_accessor message_structure: ::String
473
+ attr_accessor message_attributes: ::Hash[::String, Types::MessageAttributeValue]
474
+ attr_accessor message_deduplication_id: ::String
475
+ attr_accessor message_group_id: ::String
476
+ SENSITIVE: [:phone_number]
477
+ end
478
+
479
+ class PublishResponse
480
+ attr_accessor message_id: ::String
481
+ attr_accessor sequence_number: ::String
482
+ SENSITIVE: []
483
+ end
484
+
485
+ class PutDataProtectionPolicyInput
486
+ attr_accessor resource_arn: ::String
487
+ attr_accessor data_protection_policy: ::String
488
+ SENSITIVE: []
489
+ end
490
+
491
+ class RemovePermissionInput
492
+ attr_accessor topic_arn: ::String
493
+ attr_accessor label: ::String
494
+ SENSITIVE: []
495
+ end
496
+
497
+ class ReplayLimitExceededException
498
+ attr_accessor message: ::String
499
+ SENSITIVE: []
500
+ end
501
+
502
+ class ResourceNotFoundException
503
+ attr_accessor message: ::String
504
+ SENSITIVE: []
505
+ end
506
+
507
+ class SMSSandboxPhoneNumber
508
+ attr_accessor phone_number: ::String
509
+ attr_accessor status: ("Pending" | "Verified")
510
+ SENSITIVE: [:phone_number]
511
+ end
512
+
513
+ class SetEndpointAttributesInput
514
+ attr_accessor endpoint_arn: ::String
515
+ attr_accessor attributes: ::Hash[::String, ::String]
516
+ SENSITIVE: []
517
+ end
518
+
519
+ class SetPlatformApplicationAttributesInput
520
+ attr_accessor platform_application_arn: ::String
521
+ attr_accessor attributes: ::Hash[::String, ::String]
522
+ SENSITIVE: []
523
+ end
524
+
525
+ class SetSMSAttributesInput
526
+ attr_accessor attributes: ::Hash[::String, ::String]
527
+ SENSITIVE: []
528
+ end
529
+
530
+ class SetSMSAttributesResponse < Aws::EmptyStructure
531
+ end
532
+
533
+ class SetSubscriptionAttributesInput
534
+ attr_accessor subscription_arn: ::String
535
+ attr_accessor attribute_name: ::String
536
+ attr_accessor attribute_value: ::String
537
+ SENSITIVE: []
538
+ end
539
+
540
+ class SetTopicAttributesInput
541
+ attr_accessor topic_arn: ::String
542
+ attr_accessor attribute_name: ::String
543
+ attr_accessor attribute_value: ::String
544
+ SENSITIVE: []
545
+ end
546
+
547
+ class StaleTagException
548
+ attr_accessor message: ::String
549
+ SENSITIVE: []
550
+ end
551
+
552
+ class SubscribeInput
553
+ attr_accessor topic_arn: ::String
554
+ attr_accessor protocol: ::String
555
+ attr_accessor endpoint: ::String
556
+ attr_accessor attributes: ::Hash[::String, ::String]
557
+ attr_accessor return_subscription_arn: bool
558
+ SENSITIVE: []
559
+ end
560
+
561
+ class SubscribeResponse
562
+ attr_accessor subscription_arn: ::String
563
+ SENSITIVE: []
564
+ end
565
+
566
+ class Subscription
567
+ attr_accessor subscription_arn: ::String
568
+ attr_accessor owner: ::String
569
+ attr_accessor protocol: ::String
570
+ attr_accessor endpoint: ::String
571
+ attr_accessor topic_arn: ::String
572
+ SENSITIVE: []
573
+ end
574
+
575
+ class SubscriptionLimitExceededException
576
+ attr_accessor message: ::String
577
+ SENSITIVE: []
578
+ end
579
+
580
+ class Tag
581
+ attr_accessor key: ::String
582
+ attr_accessor value: ::String
583
+ SENSITIVE: []
584
+ end
585
+
586
+ class TagLimitExceededException
587
+ attr_accessor message: ::String
588
+ SENSITIVE: []
589
+ end
590
+
591
+ class TagPolicyException
592
+ attr_accessor message: ::String
593
+ SENSITIVE: []
594
+ end
595
+
596
+ class TagResourceRequest
597
+ attr_accessor resource_arn: ::String
598
+ attr_accessor tags: ::Array[Types::Tag]
599
+ SENSITIVE: []
600
+ end
601
+
602
+ class TagResourceResponse < Aws::EmptyStructure
603
+ end
604
+
605
+ class ThrottledException
606
+ attr_accessor message: ::String
607
+ SENSITIVE: []
608
+ end
609
+
610
+ class TooManyEntriesInBatchRequestException
611
+ attr_accessor message: ::String
612
+ SENSITIVE: []
613
+ end
614
+
615
+ class Topic
616
+ attr_accessor topic_arn: ::String
617
+ SENSITIVE: []
618
+ end
619
+
620
+ class TopicLimitExceededException
621
+ attr_accessor message: ::String
622
+ SENSITIVE: []
623
+ end
624
+
625
+ class UnsubscribeInput
626
+ attr_accessor subscription_arn: ::String
627
+ SENSITIVE: []
628
+ end
629
+
630
+ class UntagResourceRequest
631
+ attr_accessor resource_arn: ::String
632
+ attr_accessor tag_keys: ::Array[::String]
633
+ SENSITIVE: []
634
+ end
635
+
636
+ class UntagResourceResponse < Aws::EmptyStructure
637
+ end
638
+
639
+ class UserErrorException
640
+ attr_accessor message: ::String
641
+ SENSITIVE: []
642
+ end
643
+
644
+ class ValidationException
645
+ attr_accessor message: ::String
646
+ SENSITIVE: []
647
+ end
648
+
649
+ class VerificationException
650
+ attr_accessor message: ::String
651
+ attr_accessor status: ::String
652
+ SENSITIVE: []
653
+ end
654
+
655
+ class VerifySMSSandboxPhoneNumberInput
656
+ attr_accessor phone_number: ::String
657
+ attr_accessor one_time_password: ::String
658
+ SENSITIVE: [:phone_number]
659
+ end
660
+
661
+ class VerifySMSSandboxPhoneNumberResult < Aws::EmptyStructure
662
+ end
663
+ end
664
+ end
data/sig/waiters.rbs ADDED
@@ -0,0 +1,13 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module SNS
10
+ module Waiters
11
+ end
12
+ end
13
+ end