aws-sdk-sns 1.67.0 → 1.92.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +125 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-sns/client.rb +210 -114
- data/lib/aws-sdk-sns/client_api.rb +48 -33
- data/lib/aws-sdk-sns/customizations.rb +5 -1
- data/lib/aws-sdk-sns/endpoint_parameters.rb +9 -6
- data/lib/aws-sdk-sns/endpoint_provider.rb +1 -1
- data/lib/aws-sdk-sns/endpoints.rb +2 -586
- data/lib/aws-sdk-sns/errors.rb +32 -0
- data/lib/aws-sdk-sns/platform_application.rb +23 -8
- data/lib/aws-sdk-sns/platform_endpoint.rb +9 -10
- data/lib/aws-sdk-sns/plugins/endpoints.rb +23 -98
- data/lib/aws-sdk-sns/resource.rb +10 -8
- data/lib/aws-sdk-sns/subscription.rb +15 -21
- data/lib/aws-sdk-sns/topic.rb +52 -29
- data/lib/aws-sdk-sns/types.rb +162 -93
- data/lib/aws-sdk-sns.rb +19 -15
- data/sig/client.rbs +528 -0
- data/sig/errors.rbs +119 -0
- data/sig/platform_application.rbs +64 -0
- data/sig/platform_endpoint.rbs +68 -0
- data/sig/resource.rbs +131 -0
- data/sig/subscription.rbs +52 -0
- data/sig/topic.rbs +104 -0
- data/sig/types.rbs +664 -0
- data/sig/waiters.rbs +13 -0
- metadata +20 -11
data/lib/aws-sdk-sns/types.rb
CHANGED
@@ -123,7 +123,7 @@ module Aws::SNS
|
|
123
123
|
#
|
124
124
|
class CheckIfPhoneNumberIsOptedOutInput < Struct.new(
|
125
125
|
:phone_number)
|
126
|
-
SENSITIVE = []
|
126
|
+
SENSITIVE = [:phone_number]
|
127
127
|
include Aws::Structure
|
128
128
|
end
|
129
129
|
|
@@ -232,7 +232,8 @@ module Aws::SNS
|
|
232
232
|
# @return [String]
|
233
233
|
#
|
234
234
|
# @!attribute [rw] attributes
|
235
|
-
# For a list of attributes, see [SetPlatformApplicationAttributes
|
235
|
+
# For a list of attributes, see [ `SetPlatformApplicationAttributes`
|
236
|
+
# ][1].
|
236
237
|
#
|
237
238
|
#
|
238
239
|
#
|
@@ -252,7 +253,7 @@ module Aws::SNS
|
|
252
253
|
# Response from CreatePlatformApplication action.
|
253
254
|
#
|
254
255
|
# @!attribute [rw] platform_application_arn
|
255
|
-
# PlatformApplicationArn is returned.
|
256
|
+
# `PlatformApplicationArn` is returned.
|
256
257
|
# @return [String]
|
257
258
|
#
|
258
259
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/CreatePlatformApplicationResponse AWS API Documentation
|
@@ -266,7 +267,7 @@ module Aws::SNS
|
|
266
267
|
# Input for CreatePlatformEndpoint action.
|
267
268
|
#
|
268
269
|
# @!attribute [rw] platform_application_arn
|
269
|
-
# PlatformApplicationArn returned from CreatePlatformApplication is
|
270
|
+
# `PlatformApplicationArn` returned from CreatePlatformApplication is
|
270
271
|
# used to create a an endpoint.
|
271
272
|
# @return [String]
|
272
273
|
#
|
@@ -286,7 +287,7 @@ module Aws::SNS
|
|
286
287
|
# @return [String]
|
287
288
|
#
|
288
289
|
# @!attribute [rw] attributes
|
289
|
-
# For a list of attributes, see [SetEndpointAttributes][1].
|
290
|
+
# For a list of attributes, see [ `SetEndpointAttributes` ][1].
|
290
291
|
#
|
291
292
|
#
|
292
293
|
#
|
@@ -320,7 +321,7 @@ module Aws::SNS
|
|
320
321
|
class CreateSMSSandboxPhoneNumberInput < Struct.new(
|
321
322
|
:phone_number,
|
322
323
|
:language_code)
|
323
|
-
SENSITIVE = []
|
324
|
+
SENSITIVE = [:phone_number]
|
324
325
|
include Aws::Structure
|
325
326
|
end
|
326
327
|
|
@@ -344,8 +345,8 @@ module Aws::SNS
|
|
344
345
|
# @!attribute [rw] attributes
|
345
346
|
# A map of attributes with their corresponding values.
|
346
347
|
#
|
347
|
-
# The following lists
|
348
|
-
#
|
348
|
+
# The following lists names, descriptions, and values of the special
|
349
|
+
# request parameters that the `CreateTopic` action uses:
|
349
350
|
#
|
350
351
|
# * `DeliveryPolicy` – The policy that defines how Amazon SNS retries
|
351
352
|
# failed deliveries to HTTP/S endpoints.
|
@@ -384,7 +385,9 @@ module Aws::SNS
|
|
384
385
|
#
|
385
386
|
# The following attributes apply only to [FIFO topics][4]:
|
386
387
|
#
|
387
|
-
# * `
|
388
|
+
# * `ArchivePolicy` – The policy that sets the retention period for
|
389
|
+
# messages stored in the message archive of an Amazon SNS FIFO
|
390
|
+
# topic.
|
388
391
|
#
|
389
392
|
# * `ContentBasedDeduplication` – Enables content-based deduplication
|
390
393
|
# for FIFO topics.
|
@@ -456,10 +459,10 @@ module Aws::SNS
|
|
456
459
|
include Aws::Structure
|
457
460
|
end
|
458
461
|
|
459
|
-
# Input for DeleteEndpoint action.
|
462
|
+
# Input for `DeleteEndpoint` action.
|
460
463
|
#
|
461
464
|
# @!attribute [rw] endpoint_arn
|
462
|
-
# EndpointArn of endpoint to delete.
|
465
|
+
# `EndpointArn` of endpoint to delete.
|
463
466
|
# @return [String]
|
464
467
|
#
|
465
468
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/DeleteEndpointInput AWS API Documentation
|
@@ -470,10 +473,10 @@ module Aws::SNS
|
|
470
473
|
include Aws::Structure
|
471
474
|
end
|
472
475
|
|
473
|
-
# Input for DeletePlatformApplication action.
|
476
|
+
# Input for `DeletePlatformApplication` action.
|
474
477
|
#
|
475
478
|
# @!attribute [rw] platform_application_arn
|
476
|
-
# PlatformApplicationArn of platform application object to delete.
|
479
|
+
# `PlatformApplicationArn` of platform application object to delete.
|
477
480
|
# @return [String]
|
478
481
|
#
|
479
482
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/DeletePlatformApplicationInput AWS API Documentation
|
@@ -492,7 +495,7 @@ module Aws::SNS
|
|
492
495
|
#
|
493
496
|
class DeleteSMSSandboxPhoneNumberInput < Struct.new(
|
494
497
|
:phone_number)
|
495
|
-
SENSITIVE = []
|
498
|
+
SENSITIVE = [:phone_number]
|
496
499
|
include Aws::Structure
|
497
500
|
end
|
498
501
|
|
@@ -605,10 +608,10 @@ module Aws::SNS
|
|
605
608
|
include Aws::Structure
|
606
609
|
end
|
607
610
|
|
608
|
-
# Input for GetEndpointAttributes action.
|
611
|
+
# Input for `GetEndpointAttributes` action.
|
609
612
|
#
|
610
613
|
# @!attribute [rw] endpoint_arn
|
611
|
-
# EndpointArn for GetEndpointAttributes input.
|
614
|
+
# `EndpointArn` for `GetEndpointAttributes` input.
|
612
615
|
# @return [String]
|
613
616
|
#
|
614
617
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/GetEndpointAttributesInput AWS API Documentation
|
@@ -619,7 +622,7 @@ module Aws::SNS
|
|
619
622
|
include Aws::Structure
|
620
623
|
end
|
621
624
|
|
622
|
-
# Response from GetEndpointAttributes of the EndpointArn
|
625
|
+
# Response from `GetEndpointAttributes` of the `EndpointArn`.
|
623
626
|
#
|
624
627
|
# @!attribute [rw] attributes
|
625
628
|
# Attributes include the following:
|
@@ -651,10 +654,10 @@ module Aws::SNS
|
|
651
654
|
include Aws::Structure
|
652
655
|
end
|
653
656
|
|
654
|
-
# Input for GetPlatformApplicationAttributes action.
|
657
|
+
# Input for `GetPlatformApplicationAttributes` action.
|
655
658
|
#
|
656
659
|
# @!attribute [rw] platform_application_arn
|
657
|
-
# PlatformApplicationArn for GetPlatformApplicationAttributesInput.
|
660
|
+
# `PlatformApplicationArn` for GetPlatformApplicationAttributesInput.
|
658
661
|
# @return [String]
|
659
662
|
#
|
660
663
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/GetPlatformApplicationAttributesInput AWS API Documentation
|
@@ -665,7 +668,7 @@ module Aws::SNS
|
|
665
668
|
include Aws::Structure
|
666
669
|
end
|
667
670
|
|
668
|
-
# Response for GetPlatformApplicationAttributes action.
|
671
|
+
# Response for `GetPlatformApplicationAttributes` action.
|
669
672
|
#
|
670
673
|
# @!attribute [rw] attributes
|
671
674
|
# Attributes include the following:
|
@@ -679,6 +682,13 @@ module Aws::SNS
|
|
679
682
|
# * `ApplePlatformBundleID` – The app identifier used to configure
|
680
683
|
# token-based authentication.
|
681
684
|
#
|
685
|
+
# * `AuthenticationMethod` – Returns the credential type used when
|
686
|
+
# sending push notifications from application to APNS/APNS\_Sandbox,
|
687
|
+
# or application to GCM.
|
688
|
+
#
|
689
|
+
# * APNS – Returns the token or certificate.
|
690
|
+
#
|
691
|
+
# * GCM – Returns the token or key.
|
682
692
|
# * `EventEndpointCreated` – Topic ARN to which EndpointCreated event
|
683
693
|
# notifications should be sent.
|
684
694
|
#
|
@@ -799,7 +809,6 @@ module Aws::SNS
|
|
799
809
|
# message attributes.
|
800
810
|
#
|
801
811
|
# * `MessageBody` – The filter is applied on the message body.
|
802
|
-
#
|
803
812
|
# * `Owner` – The Amazon Web Services account ID of the
|
804
813
|
# subscription's owner.
|
805
814
|
#
|
@@ -824,20 +833,19 @@ module Aws::SNS
|
|
824
833
|
# * `TopicArn` – The topic ARN that the subscription is associated
|
825
834
|
# with.
|
826
835
|
#
|
827
|
-
# The following attribute applies only to Amazon
|
836
|
+
# The following attribute applies only to Amazon Data Firehose
|
828
837
|
# delivery stream subscriptions:
|
829
838
|
#
|
830
839
|
# * `SubscriptionRoleArn` – The ARN of the IAM role that has the
|
831
840
|
# following:
|
832
841
|
#
|
833
|
-
# * Permission to write to the
|
842
|
+
# * Permission to write to the Firehose delivery stream
|
834
843
|
#
|
835
844
|
# * Amazon SNS listed as a trusted entity
|
836
|
-
#
|
837
|
-
#
|
838
|
-
#
|
839
|
-
#
|
840
|
-
# *Amazon SNS Developer Guide*.
|
845
|
+
# Specifying a valid ARN for this attribute is required for Firehose
|
846
|
+
# delivery stream subscriptions. For more information, see [Fanout
|
847
|
+
# to Firehose delivery streams][2] in the *Amazon SNS Developer
|
848
|
+
# Guide*.
|
841
849
|
#
|
842
850
|
#
|
843
851
|
#
|
@@ -904,7 +912,6 @@ module Aws::SNS
|
|
904
912
|
# has value **1**.
|
905
913
|
#
|
906
914
|
# </note>
|
907
|
-
#
|
908
915
|
# * `SubscriptionsConfirmed` – The number of confirmed subscriptions
|
909
916
|
# for the topic.
|
910
917
|
#
|
@@ -935,7 +942,14 @@ module Aws::SNS
|
|
935
942
|
#
|
936
943
|
# The following attributes apply only to [FIFO topics][4]:
|
937
944
|
#
|
938
|
-
# * `
|
945
|
+
# * `ArchivePolicy` – The policy that sets the retention period for
|
946
|
+
# messages stored in the message archive of an Amazon SNS FIFO
|
947
|
+
# topic.
|
948
|
+
#
|
949
|
+
# * `BeginningArchiveTime` – The earliest starting point at which a
|
950
|
+
# message in the topic’s archive can be replayed from. This point in
|
951
|
+
# time is based on the configured message retention period set by
|
952
|
+
# the topic’s message archiving policy.
|
939
953
|
#
|
940
954
|
# * `ContentBasedDeduplication` – Enables content-based deduplication
|
941
955
|
# for FIFO topics.
|
@@ -953,6 +967,7 @@ module Aws::SNS
|
|
953
967
|
# (Optional) To override the generated value, you can specify a
|
954
968
|
# value for the `MessageDeduplicationId` parameter for the
|
955
969
|
# `Publish` action.
|
970
|
+
# * `FifoTopic` – When this is set to `true`, a FIFO topic is created.
|
956
971
|
#
|
957
972
|
#
|
958
973
|
#
|
@@ -1042,6 +1057,20 @@ module Aws::SNS
|
|
1042
1057
|
include Aws::Structure
|
1043
1058
|
end
|
1044
1059
|
|
1060
|
+
# Indicates that the specified state is not a valid state for an event
|
1061
|
+
# source.
|
1062
|
+
#
|
1063
|
+
# @!attribute [rw] message
|
1064
|
+
# @return [String]
|
1065
|
+
#
|
1066
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/InvalidStateException AWS API Documentation
|
1067
|
+
#
|
1068
|
+
class InvalidStateException < Struct.new(
|
1069
|
+
:message)
|
1070
|
+
SENSITIVE = []
|
1071
|
+
include Aws::Structure
|
1072
|
+
end
|
1073
|
+
|
1045
1074
|
# The ciphertext references a key that doesn't exist or that you don't
|
1046
1075
|
# have access to.
|
1047
1076
|
#
|
@@ -1056,8 +1085,8 @@ module Aws::SNS
|
|
1056
1085
|
include Aws::Structure
|
1057
1086
|
end
|
1058
1087
|
|
1059
|
-
# The request was rejected because the specified
|
1060
|
-
#
|
1088
|
+
# The request was rejected because the specified Amazon Web Services KMS
|
1089
|
+
# key isn't enabled.
|
1061
1090
|
#
|
1062
1091
|
# @!attribute [rw] message
|
1063
1092
|
# @return [String]
|
@@ -1071,9 +1100,9 @@ module Aws::SNS
|
|
1071
1100
|
end
|
1072
1101
|
|
1073
1102
|
# The request was rejected because the state of the specified resource
|
1074
|
-
# isn't valid for this request. For more information, see [
|
1075
|
-
#
|
1076
|
-
#
|
1103
|
+
# isn't valid for this request. For more information, see [Key states
|
1104
|
+
# of Amazon Web Services KMS keys][1] in the *Key Management Service
|
1105
|
+
# Developer Guide*.
|
1077
1106
|
#
|
1078
1107
|
#
|
1079
1108
|
#
|
@@ -1137,16 +1166,16 @@ module Aws::SNS
|
|
1137
1166
|
include Aws::Structure
|
1138
1167
|
end
|
1139
1168
|
|
1140
|
-
# Input for ListEndpointsByPlatformApplication action.
|
1169
|
+
# Input for `ListEndpointsByPlatformApplication` action.
|
1141
1170
|
#
|
1142
1171
|
# @!attribute [rw] platform_application_arn
|
1143
|
-
# PlatformApplicationArn for
|
1144
|
-
# action.
|
1172
|
+
# `PlatformApplicationArn` for
|
1173
|
+
# `ListEndpointsByPlatformApplicationInput` action.
|
1145
1174
|
# @return [String]
|
1146
1175
|
#
|
1147
1176
|
# @!attribute [rw] next_token
|
1148
|
-
# NextToken string is used when calling
|
1149
|
-
# ListEndpointsByPlatformApplication action to retrieve additional
|
1177
|
+
# `NextToken` string is used when calling
|
1178
|
+
# `ListEndpointsByPlatformApplication` action to retrieve additional
|
1150
1179
|
# records that are available after the first page results.
|
1151
1180
|
# @return [String]
|
1152
1181
|
#
|
@@ -1159,16 +1188,16 @@ module Aws::SNS
|
|
1159
1188
|
include Aws::Structure
|
1160
1189
|
end
|
1161
1190
|
|
1162
|
-
# Response for ListEndpointsByPlatformApplication action.
|
1191
|
+
# Response for `ListEndpointsByPlatformApplication` action.
|
1163
1192
|
#
|
1164
1193
|
# @!attribute [rw] endpoints
|
1165
|
-
# Endpoints returned for ListEndpointsByPlatformApplication action.
|
1194
|
+
# Endpoints returned for `ListEndpointsByPlatformApplication` action.
|
1166
1195
|
# @return [Array<Types::Endpoint>]
|
1167
1196
|
#
|
1168
1197
|
# @!attribute [rw] next_token
|
1169
|
-
# NextToken string is returned when calling
|
1170
|
-
# ListEndpointsByPlatformApplication action if additional records
|
1171
|
-
# available after the first page results.
|
1198
|
+
# `NextToken` string is returned when calling
|
1199
|
+
# `ListEndpointsByPlatformApplication` action if additional records
|
1200
|
+
# are available after the first page results.
|
1172
1201
|
# @return [String]
|
1173
1202
|
#
|
1174
1203
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ListEndpointsByPlatformApplicationResponse AWS API Documentation
|
@@ -1252,14 +1281,14 @@ module Aws::SNS
|
|
1252
1281
|
class ListPhoneNumbersOptedOutResponse < Struct.new(
|
1253
1282
|
:phone_numbers,
|
1254
1283
|
:next_token)
|
1255
|
-
SENSITIVE = []
|
1284
|
+
SENSITIVE = [:phone_numbers]
|
1256
1285
|
include Aws::Structure
|
1257
1286
|
end
|
1258
1287
|
|
1259
|
-
# Input for ListPlatformApplications action.
|
1288
|
+
# Input for `ListPlatformApplications` action.
|
1260
1289
|
#
|
1261
1290
|
# @!attribute [rw] next_token
|
1262
|
-
# NextToken string is used when calling ListPlatformApplications
|
1291
|
+
# `NextToken` string is used when calling `ListPlatformApplications`
|
1263
1292
|
# action to retrieve additional records that are available after the
|
1264
1293
|
# first page results.
|
1265
1294
|
# @return [String]
|
@@ -1272,17 +1301,17 @@ module Aws::SNS
|
|
1272
1301
|
include Aws::Structure
|
1273
1302
|
end
|
1274
1303
|
|
1275
|
-
# Response for ListPlatformApplications action.
|
1304
|
+
# Response for `ListPlatformApplications` action.
|
1276
1305
|
#
|
1277
1306
|
# @!attribute [rw] platform_applications
|
1278
|
-
# Platform applications returned when calling
|
1279
|
-
# action.
|
1307
|
+
# Platform applications returned when calling
|
1308
|
+
# `ListPlatformApplications` action.
|
1280
1309
|
# @return [Array<Types::PlatformApplication>]
|
1281
1310
|
#
|
1282
1311
|
# @!attribute [rw] next_token
|
1283
|
-
# NextToken string is returned when calling
|
1284
|
-
# action if additional records are
|
1285
|
-
# results.
|
1312
|
+
# `NextToken` string is returned when calling
|
1313
|
+
# `ListPlatformApplications` action if additional records are
|
1314
|
+
# available after the first page results.
|
1286
1315
|
# @return [String]
|
1287
1316
|
#
|
1288
1317
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ListPlatformApplicationsResponse AWS API Documentation
|
@@ -1535,7 +1564,7 @@ module Aws::SNS
|
|
1535
1564
|
#
|
1536
1565
|
class OptInPhoneNumberInput < Struct.new(
|
1537
1566
|
:phone_number)
|
1538
|
-
SENSITIVE = []
|
1567
|
+
SENSITIVE = [:phone_number]
|
1539
1568
|
include Aws::Structure
|
1540
1569
|
end
|
1541
1570
|
|
@@ -1596,7 +1625,7 @@ module Aws::SNS
|
|
1596
1625
|
:iso_2_country_code,
|
1597
1626
|
:route_type,
|
1598
1627
|
:number_capabilities)
|
1599
|
-
SENSITIVE = []
|
1628
|
+
SENSITIVE = [:phone_number]
|
1600
1629
|
include Aws::Structure
|
1601
1630
|
end
|
1602
1631
|
|
@@ -1726,7 +1755,6 @@ module Aws::SNS
|
|
1726
1755
|
#
|
1727
1756
|
# * If the topic has a `ContentBasedDeduplication` set, your
|
1728
1757
|
# `MessageDeduplicationId` overrides the generated one.
|
1729
|
-
#
|
1730
1758
|
# * When `ContentBasedDeduplication` is in effect, messages with
|
1731
1759
|
# identical content sent within the deduplication interval are
|
1732
1760
|
# treated as duplicates and only one copy of the message is
|
@@ -1754,8 +1782,7 @@ module Aws::SNS
|
|
1754
1782
|
# The length of `MessageDeduplicationId` is 128 characters.
|
1755
1783
|
#
|
1756
1784
|
# `MessageDeduplicationId` can contain alphanumeric characters `(a-z,
|
1757
|
-
# A-Z, 0-9)` and punctuation `` (!"#$%&'()*+,-./:;<=>?@[\]^_
|
1758
|
-
# ``.
|
1785
|
+
# A-Z, 0-9)` and punctuation `` (!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~) ``.
|
1759
1786
|
# @return [String]
|
1760
1787
|
#
|
1761
1788
|
# @!attribute [rw] message_group_id
|
@@ -1776,7 +1803,7 @@ module Aws::SNS
|
|
1776
1803
|
# The length of `MessageGroupId` is 128 characters.
|
1777
1804
|
#
|
1778
1805
|
# `MessageGroupId` can contain alphanumeric characters `(a-z, A-Z,
|
1779
|
-
# 0-9)` and punctuation `` (!"#$%&'()*+,-./:;<=>?@[\]^_
|
1806
|
+
# 0-9)` and punctuation `` (!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~) ``.
|
1780
1807
|
#
|
1781
1808
|
# `MessageGroupId` is required for FIFO topics. You can't use it for
|
1782
1809
|
# standard topics.
|
@@ -1931,9 +1958,8 @@ module Aws::SNS
|
|
1931
1958
|
# included, if present, in the standard JSON messages delivered to
|
1932
1959
|
# other endpoints.
|
1933
1960
|
#
|
1934
|
-
# Constraints: Subjects must be
|
1935
|
-
#
|
1936
|
-
# characters; and must be less than 100 characters long.
|
1961
|
+
# Constraints: Subjects must be UTF-8 text with no line breaks or
|
1962
|
+
# control characters, and less than 100 characters long.
|
1937
1963
|
# @return [String]
|
1938
1964
|
#
|
1939
1965
|
# @!attribute [rw] message_structure
|
@@ -1962,7 +1988,7 @@ module Aws::SNS
|
|
1962
1988
|
# This parameter applies only to FIFO (first-in-first-out) topics. The
|
1963
1989
|
# `MessageDeduplicationId` can contain up to 128 alphanumeric
|
1964
1990
|
# characters `(a-z, A-Z, 0-9)` and punctuation ``
|
1965
|
-
# (!"#$%&'()*+,-./:;<=>?@[\]^_
|
1991
|
+
# (!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~) ``.
|
1966
1992
|
#
|
1967
1993
|
# Every message must have a unique `MessageDeduplicationId`, which is
|
1968
1994
|
# a token used for deduplication of sent messages. If a message with a
|
@@ -1979,7 +2005,7 @@ module Aws::SNS
|
|
1979
2005
|
# This parameter applies only to FIFO (first-in-first-out) topics. The
|
1980
2006
|
# `MessageGroupId` can contain up to 128 alphanumeric characters
|
1981
2007
|
# `(a-z, A-Z, 0-9)` and punctuation ``
|
1982
|
-
# (!"#$%&'()*+,-./:;<=>?@[\]^_
|
2008
|
+
# (!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~) ``.
|
1983
2009
|
#
|
1984
2010
|
# The `MessageGroupId` is a tag that specifies that a message belongs
|
1985
2011
|
# to a specific message group. Messages that belong to the same
|
@@ -2000,7 +2026,7 @@ module Aws::SNS
|
|
2000
2026
|
:message_attributes,
|
2001
2027
|
:message_deduplication_id,
|
2002
2028
|
:message_group_id)
|
2003
|
-
SENSITIVE = []
|
2029
|
+
SENSITIVE = [:phone_number]
|
2004
2030
|
include Aws::Structure
|
2005
2031
|
end
|
2006
2032
|
|
@@ -2079,6 +2105,20 @@ module Aws::SNS
|
|
2079
2105
|
include Aws::Structure
|
2080
2106
|
end
|
2081
2107
|
|
2108
|
+
# Indicates that the request parameter has exceeded the maximum number
|
2109
|
+
# of concurrent message replays.
|
2110
|
+
#
|
2111
|
+
# @!attribute [rw] message
|
2112
|
+
# @return [String]
|
2113
|
+
#
|
2114
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ReplayLimitExceededException AWS API Documentation
|
2115
|
+
#
|
2116
|
+
class ReplayLimitExceededException < Struct.new(
|
2117
|
+
:message)
|
2118
|
+
SENSITIVE = []
|
2119
|
+
include Aws::Structure
|
2120
|
+
end
|
2121
|
+
|
2082
2122
|
# Can’t perform the action on the specified resource. Make sure that the
|
2083
2123
|
# resource exists.
|
2084
2124
|
#
|
@@ -2122,14 +2162,14 @@ module Aws::SNS
|
|
2122
2162
|
class SMSSandboxPhoneNumber < Struct.new(
|
2123
2163
|
:phone_number,
|
2124
2164
|
:status)
|
2125
|
-
SENSITIVE = []
|
2165
|
+
SENSITIVE = [:phone_number]
|
2126
2166
|
include Aws::Structure
|
2127
2167
|
end
|
2128
2168
|
|
2129
|
-
# Input for SetEndpointAttributes action.
|
2169
|
+
# Input for `SetEndpointAttributes` action.
|
2130
2170
|
#
|
2131
2171
|
# @!attribute [rw] endpoint_arn
|
2132
|
-
# EndpointArn used for SetEndpointAttributes action.
|
2172
|
+
# EndpointArn used for `SetEndpointAttributes` action.
|
2133
2173
|
# @return [String]
|
2134
2174
|
#
|
2135
2175
|
# @!attribute [rw] attributes
|
@@ -2160,10 +2200,11 @@ module Aws::SNS
|
|
2160
2200
|
include Aws::Structure
|
2161
2201
|
end
|
2162
2202
|
|
2163
|
-
# Input for SetPlatformApplicationAttributes action.
|
2203
|
+
# Input for `SetPlatformApplicationAttributes` action.
|
2164
2204
|
#
|
2165
2205
|
# @!attribute [rw] platform_application_arn
|
2166
|
-
# PlatformApplicationArn for SetPlatformApplicationAttributes
|
2206
|
+
# `PlatformApplicationArn` for `SetPlatformApplicationAttributes`
|
2207
|
+
# action.
|
2167
2208
|
# @return [String]
|
2168
2209
|
#
|
2169
2210
|
# @!attribute [rw] attributes
|
@@ -2181,8 +2222,17 @@ module Aws::SNS
|
|
2181
2222
|
# * For Apple Services using token credentials, `PlatformCredential`
|
2182
2223
|
# is signing key.
|
2183
2224
|
#
|
2184
|
-
# * For GCM (Firebase Cloud Messaging)
|
2185
|
-
#
|
2225
|
+
# * For GCM (Firebase Cloud Messaging) using key credentials, there
|
2226
|
+
# is no `PlatformPrincipal`. The `PlatformCredential` is `API
|
2227
|
+
# key`.
|
2228
|
+
#
|
2229
|
+
# * For GCM (Firebase Cloud Messaging) using token credentials,
|
2230
|
+
# there is no `PlatformPrincipal`. The `PlatformCredential` is a
|
2231
|
+
# JSON formatted private key file. When using the Amazon Web
|
2232
|
+
# Services CLI, the file must be in string format and special
|
2233
|
+
# characters must be ignored. To format the file correctly, Amazon
|
2234
|
+
# SNS recommends using the following command: `` SERVICE_JSON=`jq
|
2235
|
+
# @json <<< cat service.json` ``.
|
2186
2236
|
# ^
|
2187
2237
|
#
|
2188
2238
|
# * `PlatformPrincipal` – The principal received from the notification
|
@@ -2369,7 +2419,6 @@ module Aws::SNS
|
|
2369
2419
|
# message attributes.
|
2370
2420
|
#
|
2371
2421
|
# * `MessageBody` – The filter is applied on the message body.
|
2372
|
-
#
|
2373
2422
|
# * `RawMessageDelivery` – When set to `true`, enables raw message
|
2374
2423
|
# delivery to Amazon SQS or HTTP/S endpoints. This eliminates the
|
2375
2424
|
# need for the endpoints to process JSON formatting, which is
|
@@ -2383,20 +2432,19 @@ module Aws::SNS
|
|
2383
2432
|
# unavailable) are held in the dead-letter queue for further
|
2384
2433
|
# analysis or reprocessing.
|
2385
2434
|
#
|
2386
|
-
# The following attribute applies only to Amazon
|
2435
|
+
# The following attribute applies only to Amazon Data Firehose
|
2387
2436
|
# delivery stream subscriptions:
|
2388
2437
|
#
|
2389
2438
|
# * `SubscriptionRoleArn` – The ARN of the IAM role that has the
|
2390
2439
|
# following:
|
2391
2440
|
#
|
2392
|
-
# * Permission to write to the
|
2441
|
+
# * Permission to write to the Firehose delivery stream
|
2393
2442
|
#
|
2394
2443
|
# * Amazon SNS listed as a trusted entity
|
2395
|
-
#
|
2396
|
-
#
|
2397
|
-
#
|
2398
|
-
#
|
2399
|
-
# *Amazon SNS Developer Guide*.
|
2444
|
+
# Specifying a valid ARN for this attribute is required for Firehose
|
2445
|
+
# delivery stream subscriptions. For more information, see [Fanout
|
2446
|
+
# to Firehose delivery streams][1] in the *Amazon SNS Developer
|
2447
|
+
# Guide*.
|
2400
2448
|
#
|
2401
2449
|
#
|
2402
2450
|
#
|
@@ -2465,7 +2513,6 @@ module Aws::SNS
|
|
2465
2513
|
# * `HTTPFailureFeedbackRoleArn` – Indicates failed message delivery
|
2466
2514
|
# status for an Amazon SNS topic that is subscribed to an HTTP
|
2467
2515
|
# endpoint.
|
2468
|
-
#
|
2469
2516
|
# * Amazon Kinesis Data Firehose
|
2470
2517
|
#
|
2471
2518
|
# * `FirehoseSuccessFeedbackRoleArn` – Indicates successful message
|
@@ -2479,7 +2526,6 @@ module Aws::SNS
|
|
2479
2526
|
# * `FirehoseFailureFeedbackRoleArn` – Indicates failed message
|
2480
2527
|
# delivery status for an Amazon SNS topic that is subscribed to an
|
2481
2528
|
# Amazon Kinesis Data Firehose endpoint.
|
2482
|
-
#
|
2483
2529
|
# * Lambda
|
2484
2530
|
#
|
2485
2531
|
# * `LambdaSuccessFeedbackRoleArn` – Indicates successful message
|
@@ -2493,7 +2539,6 @@ module Aws::SNS
|
|
2493
2539
|
# * `LambdaFailureFeedbackRoleArn` – Indicates failed message
|
2494
2540
|
# delivery status for an Amazon SNS topic that is subscribed to an
|
2495
2541
|
# Lambda endpoint.
|
2496
|
-
#
|
2497
2542
|
# * Platform application endpoint
|
2498
2543
|
#
|
2499
2544
|
# * `ApplicationSuccessFeedbackRoleArn` – Indicates successful
|
@@ -2507,7 +2552,6 @@ module Aws::SNS
|
|
2507
2552
|
# * `ApplicationFailureFeedbackRoleArn` – Indicates failed message
|
2508
2553
|
# delivery status for an Amazon SNS topic that is subscribed to an
|
2509
2554
|
# Amazon Web Services application endpoint.
|
2510
|
-
#
|
2511
2555
|
# <note markdown="1"> In addition to being able to configure topic attributes for
|
2512
2556
|
# message delivery status of notification messages sent to Amazon
|
2513
2557
|
# SNS application endpoints, you can also configure application
|
@@ -2559,6 +2603,10 @@ module Aws::SNS
|
|
2559
2603
|
#
|
2560
2604
|
# The following attribute applies only to [FIFO topics][5]:
|
2561
2605
|
#
|
2606
|
+
# * `ArchivePolicy` – The policy that sets the retention period for
|
2607
|
+
# messages stored in the message archive of an Amazon SNS FIFO
|
2608
|
+
# topic.
|
2609
|
+
#
|
2562
2610
|
# * `ContentBasedDeduplication` – Enables content-based deduplication
|
2563
2611
|
# for FIFO topics.
|
2564
2612
|
#
|
@@ -2694,7 +2742,6 @@ module Aws::SNS
|
|
2694
2742
|
# message attributes.
|
2695
2743
|
#
|
2696
2744
|
# * `MessageBody` – The filter is applied on the message body.
|
2697
|
-
#
|
2698
2745
|
# * `RawMessageDelivery` – When set to `true`, enables raw message
|
2699
2746
|
# delivery to Amazon SQS or HTTP/S endpoints. This eliminates the
|
2700
2747
|
# need for the endpoints to process JSON formatting, which is
|
@@ -2708,24 +2755,45 @@ module Aws::SNS
|
|
2708
2755
|
# unavailable) are held in the dead-letter queue for further
|
2709
2756
|
# analysis or reprocessing.
|
2710
2757
|
#
|
2711
|
-
# The following attribute applies only to Amazon
|
2758
|
+
# The following attribute applies only to Amazon Data Firehose
|
2712
2759
|
# delivery stream subscriptions:
|
2713
2760
|
#
|
2714
2761
|
# * `SubscriptionRoleArn` – The ARN of the IAM role that has the
|
2715
2762
|
# following:
|
2716
2763
|
#
|
2717
|
-
# * Permission to write to the
|
2764
|
+
# * Permission to write to the Firehose delivery stream
|
2718
2765
|
#
|
2719
2766
|
# * Amazon SNS listed as a trusted entity
|
2767
|
+
# Specifying a valid ARN for this attribute is required for Firehose
|
2768
|
+
# delivery stream subscriptions. For more information, see [Fanout
|
2769
|
+
# to Firehose delivery streams][1] in the *Amazon SNS Developer
|
2770
|
+
# Guide*.
|
2771
|
+
#
|
2772
|
+
# The following attributes apply only to [FIFO topics][2]:
|
2720
2773
|
#
|
2721
|
-
#
|
2722
|
-
#
|
2723
|
-
#
|
2724
|
-
#
|
2774
|
+
# * `ReplayPolicy` – Adds or updates an inline policy document for a
|
2775
|
+
# subscription to replay messages stored in the specified Amazon SNS
|
2776
|
+
# topic.
|
2777
|
+
#
|
2778
|
+
# * `ReplayStatus` – Retrieves the status of the subscription message
|
2779
|
+
# replay, which can be one of the following:
|
2780
|
+
#
|
2781
|
+
# * `Completed` – The replay has successfully redelivered all
|
2782
|
+
# messages, and is now delivering newly published messages. If an
|
2783
|
+
# ending point was specified in the `ReplayPolicy` then the
|
2784
|
+
# subscription will no longer receive newly published messages.
|
2785
|
+
#
|
2786
|
+
# * `In progress` – The replay is currently replaying the selected
|
2787
|
+
# messages.
|
2788
|
+
#
|
2789
|
+
# * `Failed` – The replay was unable to complete.
|
2790
|
+
#
|
2791
|
+
# * `Pending` – The default state while the replay initiates.
|
2725
2792
|
#
|
2726
2793
|
#
|
2727
2794
|
#
|
2728
2795
|
# [1]: https://docs.aws.amazon.com/sns/latest/dg/sns-firehose-as-subscriber.html
|
2796
|
+
# [2]: https://docs.aws.amazon.com/sns/latest/dg/sns-fifo-topics.html
|
2729
2797
|
# @return [Hash<String,String>]
|
2730
2798
|
#
|
2731
2799
|
# @!attribute [rw] return_subscription_arn
|
@@ -3043,7 +3111,7 @@ module Aws::SNS
|
|
3043
3111
|
class VerifySMSSandboxPhoneNumberInput < Struct.new(
|
3044
3112
|
:phone_number,
|
3045
3113
|
:one_time_password)
|
3046
|
-
SENSITIVE = []
|
3114
|
+
SENSITIVE = [:phone_number]
|
3047
3115
|
include Aws::Structure
|
3048
3116
|
end
|
3049
3117
|
|
@@ -3055,3 +3123,4 @@ module Aws::SNS
|
|
3055
3123
|
|
3056
3124
|
end
|
3057
3125
|
end
|
3126
|
+
|