aws-sdk-sns 1.24.0 → 1.29.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-sns.rb +3 -1
- data/lib/aws-sdk-sns/client.rb +119 -93
- data/lib/aws-sdk-sns/client_api.rb +2 -0
- data/lib/aws-sdk-sns/customizations.rb +2 -0
- data/lib/aws-sdk-sns/errors.rb +2 -0
- data/lib/aws-sdk-sns/message_verifier.rb +2 -0
- data/lib/aws-sdk-sns/platform_application.rb +19 -16
- data/lib/aws-sdk-sns/platform_endpoint.rb +2 -0
- data/lib/aws-sdk-sns/resource.rb +3 -1
- data/lib/aws-sdk-sns/subscription.rb +8 -1
- data/lib/aws-sdk-sns/topic.rb +16 -13
- data/lib/aws-sdk-sns/types.rb +122 -33
- metadata +4 -4
data/lib/aws-sdk-sns/resource.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -49,7 +51,7 @@ module Aws::SNS
|
|
49
51
|
# between 1 and 256 characters long.
|
50
52
|
# @option options [required, String] :platform
|
51
53
|
# The following platforms are supported: ADM (Amazon Device Messaging),
|
52
|
-
# APNS (Apple Push Notification Service), APNS\_SANDBOX, and
|
54
|
+
# APNS (Apple Push Notification Service), APNS\_SANDBOX, and GCM
|
53
55
|
# (Firebase Cloud Messaging).
|
54
56
|
# @option options [required, Hash<String,String>] :attributes
|
55
57
|
# For a list of attributes, see [SetPlatformApplicationAttributes][1]
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -46,7 +48,8 @@ module Aws::SNS
|
|
46
48
|
# and account system defaults.
|
47
49
|
#
|
48
50
|
# * `FilterPolicy` – The filter policy JSON that is assigned to the
|
49
|
-
# subscription.
|
51
|
+
# subscription. For more information, see [Amazon SNS Message
|
52
|
+
# Filtering][1] in the *Amazon SNS Developer Guide*.
|
50
53
|
#
|
51
54
|
# * `Owner` – The AWS account ID of the subscription's owner.
|
52
55
|
#
|
@@ -68,6 +71,10 @@ module Aws::SNS
|
|
68
71
|
# * `SubscriptionArn` – The subscription's ARN.
|
69
72
|
#
|
70
73
|
# * `TopicArn` – The topic ARN that the subscription is associated with.
|
74
|
+
#
|
75
|
+
#
|
76
|
+
#
|
77
|
+
# [1]: https://docs.aws.amazon.com/sns/latest/dg/sns-message-filtering.html
|
71
78
|
# @return [Hash<String,String>]
|
72
79
|
def attributes
|
73
80
|
data[:attributes]
|
data/lib/aws-sdk-sns/topic.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -57,7 +59,7 @@ module Aws::SNS
|
|
57
59
|
#
|
58
60
|
# * `TopicArn` – The topic's ARN.
|
59
61
|
#
|
60
|
-
# * `EffectiveDeliveryPolicy` –
|
62
|
+
# * `EffectiveDeliveryPolicy` – The JSON serialization of the effective
|
61
63
|
# delivery policy, taking system defaults into account.
|
62
64
|
#
|
63
65
|
# The following attribute applies only to [server-side-encryption][1]\:
|
@@ -386,11 +388,11 @@ module Aws::SNS
|
|
386
388
|
# The endpoint that you want to receive notifications. Endpoints vary by
|
387
389
|
# protocol:
|
388
390
|
#
|
389
|
-
# * For the `http` protocol, the endpoint is
|
390
|
-
# `http://`
|
391
|
+
# * For the `http` protocol, the (public) endpoint is a URL beginning
|
392
|
+
# with `http://`
|
391
393
|
#
|
392
|
-
# * For the `https` protocol, the endpoint is a URL beginning
|
393
|
-
# `https://`
|
394
|
+
# * For the `https` protocol, the (public) endpoint is a URL beginning
|
395
|
+
# with `https://`
|
394
396
|
#
|
395
397
|
# * For the `email` protocol, the endpoint is an email address
|
396
398
|
#
|
@@ -435,16 +437,17 @@ module Aws::SNS
|
|
435
437
|
# Sets whether the response from the `Subscribe` request includes the
|
436
438
|
# subscription ARN, even if the subscription is not yet confirmed.
|
437
439
|
#
|
438
|
-
# * If you
|
439
|
-
#
|
440
|
+
# * If you set this parameter to `true`, the response includes the ARN
|
441
|
+
# in all cases, even if the subscription is not yet confirmed. In
|
442
|
+
# addition to the ARN for confirmed subscriptions, the response also
|
443
|
+
# includes the `pending subscription` ARN value for subscriptions that
|
444
|
+
# aren't yet confirmed. A subscription becomes confirmed when the
|
445
|
+
# subscriber calls the `ConfirmSubscription` action with a
|
446
|
+
# confirmation token.
|
447
|
+
#
|
448
|
+
# ^
|
440
449
|
#
|
441
|
-
# * If you don't have the subscription ARN returned, in addition to the
|
442
|
-
# ARN for confirmed subscriptions, the response also includes the
|
443
|
-
# `pending subscription` ARN value for subscriptions that aren't yet
|
444
|
-
# confirmed. A subscription becomes confirmed when the subscriber
|
445
|
-
# calls the `ConfirmSubscription` action with a confirmation token.
|
446
450
|
#
|
447
|
-
# If you set this parameter to `true`, .
|
448
451
|
#
|
449
452
|
# The default value is `false`.
|
450
453
|
# @return [Subscription]
|
data/lib/aws-sdk-sns/types.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -45,6 +47,7 @@ module Aws::SNS
|
|
45
47
|
:label,
|
46
48
|
:aws_account_id,
|
47
49
|
:action_name)
|
50
|
+
SENSITIVE = []
|
48
51
|
include Aws::Structure
|
49
52
|
end
|
50
53
|
|
@@ -58,6 +61,7 @@ module Aws::SNS
|
|
58
61
|
#
|
59
62
|
class AuthorizationErrorException < Struct.new(
|
60
63
|
:message)
|
64
|
+
SENSITIVE = []
|
61
65
|
include Aws::Structure
|
62
66
|
end
|
63
67
|
|
@@ -78,6 +82,7 @@ module Aws::SNS
|
|
78
82
|
#
|
79
83
|
class CheckIfPhoneNumberIsOptedOutInput < Struct.new(
|
80
84
|
:phone_number)
|
85
|
+
SENSITIVE = []
|
81
86
|
include Aws::Structure
|
82
87
|
end
|
83
88
|
|
@@ -97,6 +102,7 @@ module Aws::SNS
|
|
97
102
|
#
|
98
103
|
class CheckIfPhoneNumberIsOptedOutResponse < Struct.new(
|
99
104
|
:is_opted_out)
|
105
|
+
SENSITIVE = []
|
100
106
|
include Aws::Structure
|
101
107
|
end
|
102
108
|
|
@@ -110,6 +116,7 @@ module Aws::SNS
|
|
110
116
|
#
|
111
117
|
class ConcurrentAccessException < Struct.new(
|
112
118
|
:message)
|
119
|
+
SENSITIVE = []
|
113
120
|
include Aws::Structure
|
114
121
|
end
|
115
122
|
|
@@ -146,6 +153,7 @@ module Aws::SNS
|
|
146
153
|
:topic_arn,
|
147
154
|
:token,
|
148
155
|
:authenticate_on_unsubscribe)
|
156
|
+
SENSITIVE = []
|
149
157
|
include Aws::Structure
|
150
158
|
end
|
151
159
|
|
@@ -159,6 +167,7 @@ module Aws::SNS
|
|
159
167
|
#
|
160
168
|
class ConfirmSubscriptionResponse < Struct.new(
|
161
169
|
:subscription_arn)
|
170
|
+
SENSITIVE = []
|
162
171
|
include Aws::Structure
|
163
172
|
end
|
164
173
|
|
@@ -172,6 +181,7 @@ module Aws::SNS
|
|
172
181
|
#
|
173
182
|
class CreateEndpointResponse < Struct.new(
|
174
183
|
:endpoint_arn)
|
184
|
+
SENSITIVE = []
|
175
185
|
include Aws::Structure
|
176
186
|
end
|
177
187
|
|
@@ -197,7 +207,7 @@ module Aws::SNS
|
|
197
207
|
# @!attribute [rw] platform
|
198
208
|
# The following platforms are supported: ADM (Amazon Device
|
199
209
|
# Messaging), APNS (Apple Push Notification Service), APNS\_SANDBOX,
|
200
|
-
# and
|
210
|
+
# and GCM (Firebase Cloud Messaging).
|
201
211
|
# @return [String]
|
202
212
|
#
|
203
213
|
# @!attribute [rw] attributes
|
@@ -214,6 +224,7 @@ module Aws::SNS
|
|
214
224
|
:name,
|
215
225
|
:platform,
|
216
226
|
:attributes)
|
227
|
+
SENSITIVE = []
|
217
228
|
include Aws::Structure
|
218
229
|
end
|
219
230
|
|
@@ -227,6 +238,7 @@ module Aws::SNS
|
|
227
238
|
#
|
228
239
|
class CreatePlatformApplicationResponse < Struct.new(
|
229
240
|
:platform_application_arn)
|
241
|
+
SENSITIVE = []
|
230
242
|
include Aws::Structure
|
231
243
|
end
|
232
244
|
|
@@ -254,8 +266,8 @@ module Aws::SNS
|
|
254
266
|
# a device. The specific name for Token will vary, depending on which
|
255
267
|
# notification service is being used. For example, when using APNS as
|
256
268
|
# the notification service, you need the device token. Alternatively,
|
257
|
-
# when using
|
258
|
-
# registration ID.
|
269
|
+
# when using GCM (Firebase Cloud Messaging) or ADM, the device token
|
270
|
+
# equivalent is called the registration ID.
|
259
271
|
# @return [String]
|
260
272
|
#
|
261
273
|
# @!attribute [rw] custom_user_data
|
@@ -279,6 +291,7 @@ module Aws::SNS
|
|
279
291
|
:token,
|
280
292
|
:custom_user_data,
|
281
293
|
:attributes)
|
294
|
+
SENSITIVE = []
|
282
295
|
include Aws::Structure
|
283
296
|
end
|
284
297
|
|
@@ -356,6 +369,7 @@ module Aws::SNS
|
|
356
369
|
:name,
|
357
370
|
:attributes,
|
358
371
|
:tags)
|
372
|
+
SENSITIVE = []
|
359
373
|
include Aws::Structure
|
360
374
|
end
|
361
375
|
|
@@ -369,6 +383,7 @@ module Aws::SNS
|
|
369
383
|
#
|
370
384
|
class CreateTopicResponse < Struct.new(
|
371
385
|
:topic_arn)
|
386
|
+
SENSITIVE = []
|
372
387
|
include Aws::Structure
|
373
388
|
end
|
374
389
|
|
@@ -389,6 +404,7 @@ module Aws::SNS
|
|
389
404
|
#
|
390
405
|
class DeleteEndpointInput < Struct.new(
|
391
406
|
:endpoint_arn)
|
407
|
+
SENSITIVE = []
|
392
408
|
include Aws::Structure
|
393
409
|
end
|
394
410
|
|
@@ -409,6 +425,7 @@ module Aws::SNS
|
|
409
425
|
#
|
410
426
|
class DeletePlatformApplicationInput < Struct.new(
|
411
427
|
:platform_application_arn)
|
428
|
+
SENSITIVE = []
|
412
429
|
include Aws::Structure
|
413
430
|
end
|
414
431
|
|
@@ -427,6 +444,7 @@ module Aws::SNS
|
|
427
444
|
#
|
428
445
|
class DeleteTopicInput < Struct.new(
|
429
446
|
:topic_arn)
|
447
|
+
SENSITIVE = []
|
430
448
|
include Aws::Structure
|
431
449
|
end
|
432
450
|
|
@@ -445,6 +463,7 @@ module Aws::SNS
|
|
445
463
|
class Endpoint < Struct.new(
|
446
464
|
:endpoint_arn,
|
447
465
|
:attributes)
|
466
|
+
SENSITIVE = []
|
448
467
|
include Aws::Structure
|
449
468
|
end
|
450
469
|
|
@@ -458,6 +477,7 @@ module Aws::SNS
|
|
458
477
|
#
|
459
478
|
class EndpointDisabledException < Struct.new(
|
460
479
|
:message)
|
480
|
+
SENSITIVE = []
|
461
481
|
include Aws::Structure
|
462
482
|
end
|
463
483
|
|
@@ -472,6 +492,7 @@ module Aws::SNS
|
|
472
492
|
#
|
473
493
|
class FilterPolicyLimitExceededException < Struct.new(
|
474
494
|
:message)
|
495
|
+
SENSITIVE = []
|
475
496
|
include Aws::Structure
|
476
497
|
end
|
477
498
|
|
@@ -492,6 +513,7 @@ module Aws::SNS
|
|
492
513
|
#
|
493
514
|
class GetEndpointAttributesInput < Struct.new(
|
494
515
|
:endpoint_arn)
|
516
|
+
SENSITIVE = []
|
495
517
|
include Aws::Structure
|
496
518
|
end
|
497
519
|
|
@@ -523,6 +545,7 @@ module Aws::SNS
|
|
523
545
|
#
|
524
546
|
class GetEndpointAttributesResponse < Struct.new(
|
525
547
|
:attributes)
|
548
|
+
SENSITIVE = []
|
526
549
|
include Aws::Structure
|
527
550
|
end
|
528
551
|
|
@@ -543,6 +566,7 @@ module Aws::SNS
|
|
543
566
|
#
|
544
567
|
class GetPlatformApplicationAttributesInput < Struct.new(
|
545
568
|
:platform_application_arn)
|
569
|
+
SENSITIVE = []
|
546
570
|
include Aws::Structure
|
547
571
|
end
|
548
572
|
|
@@ -569,6 +593,7 @@ module Aws::SNS
|
|
569
593
|
#
|
570
594
|
class GetPlatformApplicationAttributesResponse < Struct.new(
|
571
595
|
:attributes)
|
596
|
+
SENSITIVE = []
|
572
597
|
include Aws::Structure
|
573
598
|
end
|
574
599
|
|
@@ -599,6 +624,7 @@ module Aws::SNS
|
|
599
624
|
#
|
600
625
|
class GetSMSAttributesInput < Struct.new(
|
601
626
|
:attributes)
|
627
|
+
SENSITIVE = []
|
602
628
|
include Aws::Structure
|
603
629
|
end
|
604
630
|
|
@@ -612,6 +638,7 @@ module Aws::SNS
|
|
612
638
|
#
|
613
639
|
class GetSMSAttributesResponse < Struct.new(
|
614
640
|
:attributes)
|
641
|
+
SENSITIVE = []
|
615
642
|
include Aws::Structure
|
616
643
|
end
|
617
644
|
|
@@ -632,6 +659,7 @@ module Aws::SNS
|
|
632
659
|
#
|
633
660
|
class GetSubscriptionAttributesInput < Struct.new(
|
634
661
|
:subscription_arn)
|
662
|
+
SENSITIVE = []
|
635
663
|
include Aws::Structure
|
636
664
|
end
|
637
665
|
|
@@ -652,7 +680,8 @@ module Aws::SNS
|
|
652
680
|
# delivery policy and account system defaults.
|
653
681
|
#
|
654
682
|
# * `FilterPolicy` – The filter policy JSON that is assigned to the
|
655
|
-
# subscription.
|
683
|
+
# subscription. For more information, see [Amazon SNS Message
|
684
|
+
# Filtering][1] in the *Amazon SNS Developer Guide*.
|
656
685
|
#
|
657
686
|
# * `Owner` – The AWS account ID of the subscription's owner.
|
658
687
|
#
|
@@ -676,12 +705,17 @@ module Aws::SNS
|
|
676
705
|
#
|
677
706
|
# * `TopicArn` – The topic ARN that the subscription is associated
|
678
707
|
# with.
|
708
|
+
#
|
709
|
+
#
|
710
|
+
#
|
711
|
+
# [1]: https://docs.aws.amazon.com/sns/latest/dg/sns-message-filtering.html
|
679
712
|
# @return [Hash<String,String>]
|
680
713
|
#
|
681
714
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/GetSubscriptionAttributesResponse AWS API Documentation
|
682
715
|
#
|
683
716
|
class GetSubscriptionAttributesResponse < Struct.new(
|
684
717
|
:attributes)
|
718
|
+
SENSITIVE = []
|
685
719
|
include Aws::Structure
|
686
720
|
end
|
687
721
|
|
@@ -702,6 +736,7 @@ module Aws::SNS
|
|
702
736
|
#
|
703
737
|
class GetTopicAttributesInput < Struct.new(
|
704
738
|
:topic_arn)
|
739
|
+
SENSITIVE = []
|
705
740
|
include Aws::Structure
|
706
741
|
end
|
707
742
|
|
@@ -733,7 +768,7 @@ module Aws::SNS
|
|
733
768
|
#
|
734
769
|
# * `TopicArn` – The topic's ARN.
|
735
770
|
#
|
736
|
-
# * `EffectiveDeliveryPolicy` –
|
771
|
+
# * `EffectiveDeliveryPolicy` – The JSON serialization of the
|
737
772
|
# effective delivery policy, taking system defaults into account.
|
738
773
|
#
|
739
774
|
# The following attribute applies only to
|
@@ -757,6 +792,7 @@ module Aws::SNS
|
|
757
792
|
#
|
758
793
|
class GetTopicAttributesResponse < Struct.new(
|
759
794
|
:attributes)
|
795
|
+
SENSITIVE = []
|
760
796
|
include Aws::Structure
|
761
797
|
end
|
762
798
|
|
@@ -769,6 +805,7 @@ module Aws::SNS
|
|
769
805
|
#
|
770
806
|
class InternalErrorException < Struct.new(
|
771
807
|
:message)
|
808
|
+
SENSITIVE = []
|
772
809
|
include Aws::Structure
|
773
810
|
end
|
774
811
|
|
@@ -782,6 +819,7 @@ module Aws::SNS
|
|
782
819
|
#
|
783
820
|
class InvalidParameterException < Struct.new(
|
784
821
|
:message)
|
822
|
+
SENSITIVE = []
|
785
823
|
include Aws::Structure
|
786
824
|
end
|
787
825
|
|
@@ -796,6 +834,7 @@ module Aws::SNS
|
|
796
834
|
#
|
797
835
|
class InvalidParameterValueException < Struct.new(
|
798
836
|
:message)
|
837
|
+
SENSITIVE = []
|
799
838
|
include Aws::Structure
|
800
839
|
end
|
801
840
|
|
@@ -809,6 +848,7 @@ module Aws::SNS
|
|
809
848
|
#
|
810
849
|
class InvalidSecurityException < Struct.new(
|
811
850
|
:message)
|
851
|
+
SENSITIVE = []
|
812
852
|
include Aws::Structure
|
813
853
|
end
|
814
854
|
|
@@ -822,6 +862,7 @@ module Aws::SNS
|
|
822
862
|
#
|
823
863
|
class KMSAccessDeniedException < Struct.new(
|
824
864
|
:message)
|
865
|
+
SENSITIVE = []
|
825
866
|
include Aws::Structure
|
826
867
|
end
|
827
868
|
|
@@ -835,6 +876,7 @@ module Aws::SNS
|
|
835
876
|
#
|
836
877
|
class KMSDisabledException < Struct.new(
|
837
878
|
:message)
|
879
|
+
SENSITIVE = []
|
838
880
|
include Aws::Structure
|
839
881
|
end
|
840
882
|
|
@@ -854,6 +896,7 @@ module Aws::SNS
|
|
854
896
|
#
|
855
897
|
class KMSInvalidStateException < Struct.new(
|
856
898
|
:message)
|
899
|
+
SENSITIVE = []
|
857
900
|
include Aws::Structure
|
858
901
|
end
|
859
902
|
|
@@ -867,6 +910,7 @@ module Aws::SNS
|
|
867
910
|
#
|
868
911
|
class KMSNotFoundException < Struct.new(
|
869
912
|
:message)
|
913
|
+
SENSITIVE = []
|
870
914
|
include Aws::Structure
|
871
915
|
end
|
872
916
|
|
@@ -879,6 +923,7 @@ module Aws::SNS
|
|
879
923
|
#
|
880
924
|
class KMSOptInRequired < Struct.new(
|
881
925
|
:message)
|
926
|
+
SENSITIVE = []
|
882
927
|
include Aws::Structure
|
883
928
|
end
|
884
929
|
|
@@ -897,6 +942,7 @@ module Aws::SNS
|
|
897
942
|
#
|
898
943
|
class KMSThrottlingException < Struct.new(
|
899
944
|
:message)
|
945
|
+
SENSITIVE = []
|
900
946
|
include Aws::Structure
|
901
947
|
end
|
902
948
|
|
@@ -926,6 +972,7 @@ module Aws::SNS
|
|
926
972
|
class ListEndpointsByPlatformApplicationInput < Struct.new(
|
927
973
|
:platform_application_arn,
|
928
974
|
:next_token)
|
975
|
+
SENSITIVE = []
|
929
976
|
include Aws::Structure
|
930
977
|
end
|
931
978
|
|
@@ -946,6 +993,7 @@ module Aws::SNS
|
|
946
993
|
class ListEndpointsByPlatformApplicationResponse < Struct.new(
|
947
994
|
:endpoints,
|
948
995
|
:next_token)
|
996
|
+
SENSITIVE = []
|
949
997
|
include Aws::Structure
|
950
998
|
end
|
951
999
|
|
@@ -968,6 +1016,7 @@ module Aws::SNS
|
|
968
1016
|
#
|
969
1017
|
class ListPhoneNumbersOptedOutInput < Struct.new(
|
970
1018
|
:next_token)
|
1019
|
+
SENSITIVE = []
|
971
1020
|
include Aws::Structure
|
972
1021
|
end
|
973
1022
|
|
@@ -990,6 +1039,7 @@ module Aws::SNS
|
|
990
1039
|
class ListPhoneNumbersOptedOutResponse < Struct.new(
|
991
1040
|
:phone_numbers,
|
992
1041
|
:next_token)
|
1042
|
+
SENSITIVE = []
|
993
1043
|
include Aws::Structure
|
994
1044
|
end
|
995
1045
|
|
@@ -1012,6 +1062,7 @@ module Aws::SNS
|
|
1012
1062
|
#
|
1013
1063
|
class ListPlatformApplicationsInput < Struct.new(
|
1014
1064
|
:next_token)
|
1065
|
+
SENSITIVE = []
|
1015
1066
|
include Aws::Structure
|
1016
1067
|
end
|
1017
1068
|
|
@@ -1033,6 +1084,7 @@ module Aws::SNS
|
|
1033
1084
|
class ListPlatformApplicationsResponse < Struct.new(
|
1034
1085
|
:platform_applications,
|
1035
1086
|
:next_token)
|
1087
|
+
SENSITIVE = []
|
1036
1088
|
include Aws::Structure
|
1037
1089
|
end
|
1038
1090
|
|
@@ -1059,6 +1111,7 @@ module Aws::SNS
|
|
1059
1111
|
class ListSubscriptionsByTopicInput < Struct.new(
|
1060
1112
|
:topic_arn,
|
1061
1113
|
:next_token)
|
1114
|
+
SENSITIVE = []
|
1062
1115
|
include Aws::Structure
|
1063
1116
|
end
|
1064
1117
|
|
@@ -1079,6 +1132,7 @@ module Aws::SNS
|
|
1079
1132
|
class ListSubscriptionsByTopicResponse < Struct.new(
|
1080
1133
|
:subscriptions,
|
1081
1134
|
:next_token)
|
1135
|
+
SENSITIVE = []
|
1082
1136
|
include Aws::Structure
|
1083
1137
|
end
|
1084
1138
|
|
@@ -1099,6 +1153,7 @@ module Aws::SNS
|
|
1099
1153
|
#
|
1100
1154
|
class ListSubscriptionsInput < Struct.new(
|
1101
1155
|
:next_token)
|
1156
|
+
SENSITIVE = []
|
1102
1157
|
include Aws::Structure
|
1103
1158
|
end
|
1104
1159
|
|
@@ -1118,6 +1173,7 @@ module Aws::SNS
|
|
1118
1173
|
class ListSubscriptionsResponse < Struct.new(
|
1119
1174
|
:subscriptions,
|
1120
1175
|
:next_token)
|
1176
|
+
SENSITIVE = []
|
1121
1177
|
include Aws::Structure
|
1122
1178
|
end
|
1123
1179
|
|
@@ -1136,6 +1192,7 @@ module Aws::SNS
|
|
1136
1192
|
#
|
1137
1193
|
class ListTagsForResourceRequest < Struct.new(
|
1138
1194
|
:resource_arn)
|
1195
|
+
SENSITIVE = []
|
1139
1196
|
include Aws::Structure
|
1140
1197
|
end
|
1141
1198
|
|
@@ -1147,6 +1204,7 @@ module Aws::SNS
|
|
1147
1204
|
#
|
1148
1205
|
class ListTagsForResourceResponse < Struct.new(
|
1149
1206
|
:tags)
|
1207
|
+
SENSITIVE = []
|
1150
1208
|
include Aws::Structure
|
1151
1209
|
end
|
1152
1210
|
|
@@ -1165,6 +1223,7 @@ module Aws::SNS
|
|
1165
1223
|
#
|
1166
1224
|
class ListTopicsInput < Struct.new(
|
1167
1225
|
:next_token)
|
1226
|
+
SENSITIVE = []
|
1168
1227
|
include Aws::Structure
|
1169
1228
|
end
|
1170
1229
|
|
@@ -1184,6 +1243,7 @@ module Aws::SNS
|
|
1184
1243
|
class ListTopicsResponse < Struct.new(
|
1185
1244
|
:topics,
|
1186
1245
|
:next_token)
|
1246
|
+
SENSITIVE = []
|
1187
1247
|
include Aws::Structure
|
1188
1248
|
end
|
1189
1249
|
|
@@ -1241,6 +1301,7 @@ module Aws::SNS
|
|
1241
1301
|
:data_type,
|
1242
1302
|
:string_value,
|
1243
1303
|
:binary_value)
|
1304
|
+
SENSITIVE = []
|
1244
1305
|
include Aws::Structure
|
1245
1306
|
end
|
1246
1307
|
|
@@ -1253,6 +1314,7 @@ module Aws::SNS
|
|
1253
1314
|
#
|
1254
1315
|
class NotFoundException < Struct.new(
|
1255
1316
|
:message)
|
1317
|
+
SENSITIVE = []
|
1256
1318
|
include Aws::Structure
|
1257
1319
|
end
|
1258
1320
|
|
@@ -1273,6 +1335,7 @@ module Aws::SNS
|
|
1273
1335
|
#
|
1274
1336
|
class OptInPhoneNumberInput < Struct.new(
|
1275
1337
|
:phone_number)
|
1338
|
+
SENSITIVE = []
|
1276
1339
|
include Aws::Structure
|
1277
1340
|
end
|
1278
1341
|
|
@@ -1297,6 +1360,7 @@ module Aws::SNS
|
|
1297
1360
|
class PlatformApplication < Struct.new(
|
1298
1361
|
:platform_application_arn,
|
1299
1362
|
:attributes)
|
1363
|
+
SENSITIVE = []
|
1300
1364
|
include Aws::Structure
|
1301
1365
|
end
|
1302
1366
|
|
@@ -1310,6 +1374,7 @@ module Aws::SNS
|
|
1310
1374
|
#
|
1311
1375
|
class PlatformApplicationDisabledException < Struct.new(
|
1312
1376
|
:message)
|
1377
|
+
SENSITIVE = []
|
1313
1378
|
include Aws::Structure
|
1314
1379
|
end
|
1315
1380
|
|
@@ -1456,6 +1521,7 @@ module Aws::SNS
|
|
1456
1521
|
:subject,
|
1457
1522
|
:message_structure,
|
1458
1523
|
:message_attributes)
|
1524
|
+
SENSITIVE = []
|
1459
1525
|
include Aws::Structure
|
1460
1526
|
end
|
1461
1527
|
|
@@ -1471,6 +1537,7 @@ module Aws::SNS
|
|
1471
1537
|
#
|
1472
1538
|
class PublishResponse < Struct.new(
|
1473
1539
|
:message_id)
|
1540
|
+
SENSITIVE = []
|
1474
1541
|
include Aws::Structure
|
1475
1542
|
end
|
1476
1543
|
|
@@ -1497,6 +1564,7 @@ module Aws::SNS
|
|
1497
1564
|
class RemovePermissionInput < Struct.new(
|
1498
1565
|
:topic_arn,
|
1499
1566
|
:label)
|
1567
|
+
SENSITIVE = []
|
1500
1568
|
include Aws::Structure
|
1501
1569
|
end
|
1502
1570
|
|
@@ -1509,6 +1577,7 @@ module Aws::SNS
|
|
1509
1577
|
#
|
1510
1578
|
class ResourceNotFoundException < Struct.new(
|
1511
1579
|
:message)
|
1580
|
+
SENSITIVE = []
|
1512
1581
|
include Aws::Structure
|
1513
1582
|
end
|
1514
1583
|
|
@@ -1552,6 +1621,7 @@ module Aws::SNS
|
|
1552
1621
|
class SetEndpointAttributesInput < Struct.new(
|
1553
1622
|
:endpoint_arn,
|
1554
1623
|
:attributes)
|
1624
|
+
SENSITIVE = []
|
1555
1625
|
include Aws::Structure
|
1556
1626
|
end
|
1557
1627
|
|
@@ -1576,26 +1646,28 @@ module Aws::SNS
|
|
1576
1646
|
# include the following:
|
1577
1647
|
#
|
1578
1648
|
# * `PlatformCredential` – The credential received from the
|
1579
|
-
# notification service. For APNS
|
1580
|
-
# is private key
|
1581
|
-
#
|
1649
|
+
# notification service. For `APNS` and `APNS_SANDBOX`,
|
1650
|
+
# `PlatformCredential` is `private key`. For `GCM` (Firebase Cloud
|
1651
|
+
# Messaging), `PlatformCredential` is `API key`. For `ADM`,
|
1652
|
+
# `PlatformCredential` is `client secret`.
|
1582
1653
|
#
|
1583
1654
|
# * `PlatformPrincipal` – The principal received from the notification
|
1584
|
-
# service. For APNS
|
1585
|
-
# certificate
|
1586
|
-
# ADM
|
1655
|
+
# service. For `APNS` and `APNS_SANDBOX`, `PlatformPrincipal` is
|
1656
|
+
# `SSL certificate`. For `GCM` (Firebase Cloud Messaging), there is
|
1657
|
+
# no `PlatformPrincipal`. For `ADM`, `PlatformPrincipal` is `client
|
1658
|
+
# id`.
|
1587
1659
|
#
|
1588
|
-
# * `EventEndpointCreated` – Topic ARN to which EndpointCreated
|
1589
|
-
# notifications
|
1660
|
+
# * `EventEndpointCreated` – Topic ARN to which `EndpointCreated`
|
1661
|
+
# event notifications are sent.
|
1590
1662
|
#
|
1591
|
-
# * `EventEndpointDeleted` – Topic ARN to which EndpointDeleted
|
1592
|
-
# notifications
|
1663
|
+
# * `EventEndpointDeleted` – Topic ARN to which `EndpointDeleted`
|
1664
|
+
# event notifications are sent.
|
1593
1665
|
#
|
1594
|
-
# * `EventEndpointUpdated` – Topic ARN to which EndpointUpdate event
|
1595
|
-
# notifications
|
1666
|
+
# * `EventEndpointUpdated` – Topic ARN to which `EndpointUpdate` event
|
1667
|
+
# notifications are sent.
|
1596
1668
|
#
|
1597
|
-
# * `EventDeliveryFailure` – Topic ARN to which DeliveryFailure
|
1598
|
-
# notifications
|
1669
|
+
# * `EventDeliveryFailure` – Topic ARN to which `DeliveryFailure`
|
1670
|
+
# event notifications are sent upon Direct Publish delivery failure
|
1599
1671
|
# (permanent) to one of the application's endpoints.
|
1600
1672
|
#
|
1601
1673
|
# * `SuccessFeedbackRoleArn` – IAM role ARN used to give Amazon SNS
|
@@ -1613,6 +1685,7 @@ module Aws::SNS
|
|
1613
1685
|
class SetPlatformApplicationAttributesInput < Struct.new(
|
1614
1686
|
:platform_application_arn,
|
1615
1687
|
:attributes)
|
1688
|
+
SENSITIVE = []
|
1616
1689
|
include Aws::Structure
|
1617
1690
|
end
|
1618
1691
|
|
@@ -1716,6 +1789,7 @@ module Aws::SNS
|
|
1716
1789
|
#
|
1717
1790
|
class SetSMSAttributesInput < Struct.new(
|
1718
1791
|
:attributes)
|
1792
|
+
SENSITIVE = []
|
1719
1793
|
include Aws::Structure
|
1720
1794
|
end
|
1721
1795
|
|
@@ -1778,6 +1852,7 @@ module Aws::SNS
|
|
1778
1852
|
:subscription_arn,
|
1779
1853
|
:attribute_name,
|
1780
1854
|
:attribute_value)
|
1855
|
+
SENSITIVE = []
|
1781
1856
|
include Aws::Structure
|
1782
1857
|
end
|
1783
1858
|
|
@@ -1840,6 +1915,7 @@ module Aws::SNS
|
|
1840
1915
|
:topic_arn,
|
1841
1916
|
:attribute_name,
|
1842
1917
|
:attribute_value)
|
1918
|
+
SENSITIVE = []
|
1843
1919
|
include Aws::Structure
|
1844
1920
|
end
|
1845
1921
|
|
@@ -1853,6 +1929,7 @@ module Aws::SNS
|
|
1853
1929
|
#
|
1854
1930
|
class StaleTagException < Struct.new(
|
1855
1931
|
:message)
|
1932
|
+
SENSITIVE = []
|
1856
1933
|
include Aws::Structure
|
1857
1934
|
end
|
1858
1935
|
|
@@ -1901,11 +1978,11 @@ module Aws::SNS
|
|
1901
1978
|
# The endpoint that you want to receive notifications. Endpoints vary
|
1902
1979
|
# by protocol:
|
1903
1980
|
#
|
1904
|
-
# * For the `http` protocol, the endpoint is
|
1905
|
-
# `http://`
|
1981
|
+
# * For the `http` protocol, the (public) endpoint is a URL beginning
|
1982
|
+
# with `http://`
|
1906
1983
|
#
|
1907
|
-
# * For the `https` protocol, the endpoint is a URL beginning
|
1908
|
-
# `https://`
|
1984
|
+
# * For the `https` protocol, the (public) endpoint is a URL beginning
|
1985
|
+
# with `https://`
|
1909
1986
|
#
|
1910
1987
|
# * For the `email` protocol, the endpoint is an email address
|
1911
1988
|
#
|
@@ -1956,18 +2033,17 @@ module Aws::SNS
|
|
1956
2033
|
# Sets whether the response from the `Subscribe` request includes the
|
1957
2034
|
# subscription ARN, even if the subscription is not yet confirmed.
|
1958
2035
|
#
|
1959
|
-
# * If you
|
1960
|
-
#
|
1961
|
-
# confirmed
|
1962
|
-
#
|
1963
|
-
#
|
1964
|
-
# the
|
1965
|
-
# the `pending subscription` ARN value for subscriptions that
|
1966
|
-
# aren't yet confirmed. A subscription becomes confirmed when the
|
1967
|
-
# subscriber calls the `ConfirmSubscription` action with a
|
2036
|
+
# * If you set this parameter to `true`, the response includes the ARN
|
2037
|
+
# in all cases, even if the subscription is not yet confirmed. In
|
2038
|
+
# addition to the ARN for confirmed subscriptions, the response also
|
2039
|
+
# includes the `pending subscription` ARN value for subscriptions
|
2040
|
+
# that aren't yet confirmed. A subscription becomes confirmed when
|
2041
|
+
# the subscriber calls the `ConfirmSubscription` action with a
|
1968
2042
|
# confirmation token.
|
1969
2043
|
#
|
1970
|
-
#
|
2044
|
+
# ^
|
2045
|
+
#
|
2046
|
+
#
|
1971
2047
|
#
|
1972
2048
|
# The default value is `false`.
|
1973
2049
|
# @return [Boolean]
|
@@ -1980,6 +2056,7 @@ module Aws::SNS
|
|
1980
2056
|
:endpoint,
|
1981
2057
|
:attributes,
|
1982
2058
|
:return_subscription_arn)
|
2059
|
+
SENSITIVE = []
|
1983
2060
|
include Aws::Structure
|
1984
2061
|
end
|
1985
2062
|
|
@@ -1997,6 +2074,7 @@ module Aws::SNS
|
|
1997
2074
|
#
|
1998
2075
|
class SubscribeResponse < Struct.new(
|
1999
2076
|
:subscription_arn)
|
2077
|
+
SENSITIVE = []
|
2000
2078
|
include Aws::Structure
|
2001
2079
|
end
|
2002
2080
|
|
@@ -2030,6 +2108,7 @@ module Aws::SNS
|
|
2030
2108
|
:protocol,
|
2031
2109
|
:endpoint,
|
2032
2110
|
:topic_arn)
|
2111
|
+
SENSITIVE = []
|
2033
2112
|
include Aws::Structure
|
2034
2113
|
end
|
2035
2114
|
|
@@ -2043,6 +2122,7 @@ module Aws::SNS
|
|
2043
2122
|
#
|
2044
2123
|
class SubscriptionLimitExceededException < Struct.new(
|
2045
2124
|
:message)
|
2125
|
+
SENSITIVE = []
|
2046
2126
|
include Aws::Structure
|
2047
2127
|
end
|
2048
2128
|
|
@@ -2069,6 +2149,7 @@ module Aws::SNS
|
|
2069
2149
|
class Tag < Struct.new(
|
2070
2150
|
:key,
|
2071
2151
|
:value)
|
2152
|
+
SENSITIVE = []
|
2072
2153
|
include Aws::Structure
|
2073
2154
|
end
|
2074
2155
|
|
@@ -2081,6 +2162,7 @@ module Aws::SNS
|
|
2081
2162
|
#
|
2082
2163
|
class TagLimitExceededException < Struct.new(
|
2083
2164
|
:message)
|
2165
|
+
SENSITIVE = []
|
2084
2166
|
include Aws::Structure
|
2085
2167
|
end
|
2086
2168
|
|
@@ -2094,6 +2176,7 @@ module Aws::SNS
|
|
2094
2176
|
#
|
2095
2177
|
class TagPolicyException < Struct.new(
|
2096
2178
|
:message)
|
2179
|
+
SENSITIVE = []
|
2097
2180
|
include Aws::Structure
|
2098
2181
|
end
|
2099
2182
|
|
@@ -2124,6 +2207,7 @@ module Aws::SNS
|
|
2124
2207
|
class TagResourceRequest < Struct.new(
|
2125
2208
|
:resource_arn,
|
2126
2209
|
:tags)
|
2210
|
+
SENSITIVE = []
|
2127
2211
|
include Aws::Structure
|
2128
2212
|
end
|
2129
2213
|
|
@@ -2142,6 +2226,7 @@ module Aws::SNS
|
|
2142
2226
|
#
|
2143
2227
|
class ThrottledException < Struct.new(
|
2144
2228
|
:message)
|
2229
|
+
SENSITIVE = []
|
2145
2230
|
include Aws::Structure
|
2146
2231
|
end
|
2147
2232
|
|
@@ -2156,6 +2241,7 @@ module Aws::SNS
|
|
2156
2241
|
#
|
2157
2242
|
class Topic < Struct.new(
|
2158
2243
|
:topic_arn)
|
2244
|
+
SENSITIVE = []
|
2159
2245
|
include Aws::Structure
|
2160
2246
|
end
|
2161
2247
|
|
@@ -2169,6 +2255,7 @@ module Aws::SNS
|
|
2169
2255
|
#
|
2170
2256
|
class TopicLimitExceededException < Struct.new(
|
2171
2257
|
:message)
|
2258
|
+
SENSITIVE = []
|
2172
2259
|
include Aws::Structure
|
2173
2260
|
end
|
2174
2261
|
|
@@ -2189,6 +2276,7 @@ module Aws::SNS
|
|
2189
2276
|
#
|
2190
2277
|
class UnsubscribeInput < Struct.new(
|
2191
2278
|
:subscription_arn)
|
2279
|
+
SENSITIVE = []
|
2192
2280
|
include Aws::Structure
|
2193
2281
|
end
|
2194
2282
|
|
@@ -2213,6 +2301,7 @@ module Aws::SNS
|
|
2213
2301
|
class UntagResourceRequest < Struct.new(
|
2214
2302
|
:resource_arn,
|
2215
2303
|
:tag_keys)
|
2304
|
+
SENSITIVE = []
|
2216
2305
|
include Aws::Structure
|
2217
2306
|
end
|
2218
2307
|
|