aws-sdk-sns 1.47.0 → 1.48.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -29,9 +29,10 @@ module Aws::SNS
29
29
  # @return [String]
30
30
  #
31
31
  # @!attribute [rw] aws_account_id
32
- # The account IDs of the users (principals) who will be given access
33
- # to the specified actions. The users must have account, but do not
34
- # need to be signed up for this service.
32
+ # The Amazon Web Services account IDs of the users (principals) who
33
+ # will be given access to the specified actions. The users must have
34
+ # Amazon Web Services account, but do not need to be signed up for
35
+ # this service.
35
36
  # @return [Array<String>]
36
37
  #
37
38
  # @!attribute [rw] action_name
@@ -65,6 +66,63 @@ module Aws::SNS
65
66
  include Aws::Structure
66
67
  end
67
68
 
69
+ # Two or more batch entries in the request have the same `Id`.
70
+ #
71
+ # @!attribute [rw] message
72
+ # @return [String]
73
+ #
74
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/BatchEntryIdsNotDistinctException AWS API Documentation
75
+ #
76
+ class BatchEntryIdsNotDistinctException < Struct.new(
77
+ :message)
78
+ SENSITIVE = []
79
+ include Aws::Structure
80
+ end
81
+
82
+ # The length of all the batch messages put together is more than the
83
+ # limit.
84
+ #
85
+ # @!attribute [rw] message
86
+ # @return [String]
87
+ #
88
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/BatchRequestTooLongException AWS API Documentation
89
+ #
90
+ class BatchRequestTooLongException < Struct.new(
91
+ :message)
92
+ SENSITIVE = []
93
+ include Aws::Structure
94
+ end
95
+
96
+ # Gives a detailed description of failed messages in the batch.
97
+ #
98
+ # @!attribute [rw] id
99
+ # The `Id` of an entry in a batch request
100
+ # @return [String]
101
+ #
102
+ # @!attribute [rw] code
103
+ # An error code representing why the action failed on this entry.
104
+ # @return [String]
105
+ #
106
+ # @!attribute [rw] message
107
+ # A message explaining why the action failed on this entry.
108
+ # @return [String]
109
+ #
110
+ # @!attribute [rw] sender_fault
111
+ # Specifies whether the error happened due to the caller of the batch
112
+ # API action.
113
+ # @return [Boolean]
114
+ #
115
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/BatchResultErrorEntry AWS API Documentation
116
+ #
117
+ class BatchResultErrorEntry < Struct.new(
118
+ :id,
119
+ :code,
120
+ :message,
121
+ :sender_fault)
122
+ SENSITIVE = []
123
+ include Aws::Structure
124
+ end
125
+
68
126
  # The input for the `CheckIfPhoneNumberIsOptedOut` action.
69
127
  #
70
128
  # @note When making an API call, you may pass CheckIfPhoneNumberIsOptedOutInput
@@ -531,10 +589,23 @@ module Aws::SNS
531
589
  include Aws::Structure
532
590
  end
533
591
 
534
- # Endpoint for mobile app and device.
592
+ # The batch request doesn't contain any entries.
593
+ #
594
+ # @!attribute [rw] message
595
+ # @return [String]
596
+ #
597
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/EmptyBatchRequestException AWS API Documentation
598
+ #
599
+ class EmptyBatchRequestException < Struct.new(
600
+ :message)
601
+ SENSITIVE = []
602
+ include Aws::Structure
603
+ end
604
+
605
+ # The endpoint for mobile app and device.
535
606
  #
536
607
  # @!attribute [rw] endpoint_arn
537
- # EndpointArn for mobile app and device.
608
+ # The `EndpointArn` for mobile app and device.
538
609
  # @return [String]
539
610
  #
540
611
  # @!attribute [rw] attributes
@@ -564,9 +635,10 @@ module Aws::SNS
564
635
  include Aws::Structure
565
636
  end
566
637
 
567
- # Indicates that the number of filter polices in your account exceeds
568
- # the limit. To add more filter polices, submit an SNS Limit Increase
569
- # case in the Amazon Web Services Support Center.
638
+ # Indicates that the number of filter polices in your Amazon Web
639
+ # Services account exceeds the limit. To add more filter polices, submit
640
+ # an Amazon SNS Limit Increase case in the Amazon Web Services Support
641
+ # Center.
570
642
  #
571
643
  # @!attribute [rw] message
572
644
  # @return [String]
@@ -658,6 +730,15 @@ module Aws::SNS
658
730
  # @!attribute [rw] attributes
659
731
  # Attributes include the following:
660
732
  #
733
+ # * `AppleCertificateExpiryDate` – The expiry date of the SSL
734
+ # certificate used to configure certificate-based authentication.
735
+ #
736
+ # * `ApplePlatformTeamID` – The Apple developer account ID used to
737
+ # configure token-based authentication.
738
+ #
739
+ # * `ApplePlatformBundleID` – The app identifier used to configure
740
+ # token-based authentication.
741
+ #
661
742
  # * `EventEndpointCreated` – Topic ARN to which EndpointCreated event
662
743
  # notifications should be sent.
663
744
  #
@@ -732,7 +813,8 @@ module Aws::SNS
732
813
  class GetSMSSandboxAccountStatusInput < Aws::EmptyStructure; end
733
814
 
734
815
  # @!attribute [rw] is_in_sandbox
735
- # Indicates whether the calling account is in the SMS sandbox.
816
+ # Indicates whether the calling Amazon Web Services account is in the
817
+ # SMS sandbox.
736
818
  # @return [Boolean]
737
819
  #
738
820
  # @see http://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/GetSMSSandboxAccountStatusResult AWS API Documentation
@@ -784,7 +866,8 @@ module Aws::SNS
784
866
  # subscription. For more information, see [Amazon SNS Message
785
867
  # Filtering][1] in the *Amazon SNS Developer Guide*.
786
868
  #
787
- # * `Owner` – The account ID of the subscription's owner.
869
+ # * `Owner` – The Amazon Web Services account ID of the
870
+ # subscription's owner.
788
871
  #
789
872
  # * `PendingConfirmation` – `true` if the subscription hasn't been
790
873
  # confirmed. To confirm a pending subscription, call the
@@ -869,7 +952,8 @@ module Aws::SNS
869
952
  # * `DisplayName` – The human-readable name used in the `From` field
870
953
  # for notifications to `email` and `email-json` endpoints.
871
954
  #
872
- # * `Owner` – The account ID of the topic's owner.
955
+ # * `Owner` – The Amazon Web Services account ID of the topic's
956
+ # owner.
873
957
  #
874
958
  # * `Policy` – The JSON serialization of the topic's access control
875
959
  # policy.
@@ -949,6 +1033,20 @@ module Aws::SNS
949
1033
  include Aws::Structure
950
1034
  end
951
1035
 
1036
+ # The `Id` of a batch entry in a batch request doesn't abide by the
1037
+ # specification.
1038
+ #
1039
+ # @!attribute [rw] message
1040
+ # @return [String]
1041
+ #
1042
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/InvalidBatchEntryIdException AWS API Documentation
1043
+ #
1044
+ class InvalidBatchEntryIdException < Struct.new(
1045
+ :message)
1046
+ SENSITIVE = []
1047
+ include Aws::Structure
1048
+ end
1049
+
952
1050
  # Indicates that a request parameter does not comply with the associated
953
1051
  # constraints.
954
1052
  #
@@ -967,7 +1065,8 @@ module Aws::SNS
967
1065
  # constraints.
968
1066
  #
969
1067
  # @!attribute [rw] message
970
- # The parameter value is invalid.
1068
+ # The parameter of an entry in a request doesn't abide by the
1069
+ # specification.
971
1070
  # @return [String]
972
1071
  #
973
1072
  # @see http://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/InvalidParameterValueException AWS API Documentation
@@ -1579,8 +1678,8 @@ module Aws::SNS
1579
1678
  class OptInPhoneNumberResponse < Aws::EmptyStructure; end
1580
1679
 
1581
1680
  # Indicates that the specified phone number opted out of receiving SMS
1582
- # messages from your account. You can't send SMS messages to phone
1583
- # numbers that opt out.
1681
+ # messages from your Amazon Web Services account. You can't send SMS
1682
+ # messages to phone numbers that opt out.
1584
1683
  #
1585
1684
  # @!attribute [rw] message
1586
1685
  # @return [String]
@@ -1666,6 +1765,260 @@ module Aws::SNS
1666
1765
  include Aws::Structure
1667
1766
  end
1668
1767
 
1768
+ # @note When making an API call, you may pass PublishBatchInput
1769
+ # data as a hash:
1770
+ #
1771
+ # {
1772
+ # topic_arn: "topicARN", # required
1773
+ # publish_batch_request_entries: [ # required
1774
+ # {
1775
+ # id: "String", # required
1776
+ # message: "message", # required
1777
+ # subject: "subject",
1778
+ # message_structure: "messageStructure",
1779
+ # message_attributes: {
1780
+ # "String" => {
1781
+ # data_type: "String", # required
1782
+ # string_value: "String",
1783
+ # binary_value: "data",
1784
+ # },
1785
+ # },
1786
+ # message_deduplication_id: "String",
1787
+ # message_group_id: "String",
1788
+ # },
1789
+ # ],
1790
+ # }
1791
+ #
1792
+ # @!attribute [rw] topic_arn
1793
+ # The Amazon resource name (ARN) of the topic you want to batch
1794
+ # publish to.
1795
+ # @return [String]
1796
+ #
1797
+ # @!attribute [rw] publish_batch_request_entries
1798
+ # A list of `PublishBatch` request entries to be sent to the SNS
1799
+ # topic.
1800
+ # @return [Array<Types::PublishBatchRequestEntry>]
1801
+ #
1802
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/PublishBatchInput AWS API Documentation
1803
+ #
1804
+ class PublishBatchInput < Struct.new(
1805
+ :topic_arn,
1806
+ :publish_batch_request_entries)
1807
+ SENSITIVE = []
1808
+ include Aws::Structure
1809
+ end
1810
+
1811
+ # Contains the details of a single Amazon SNS message along with an `Id`
1812
+ # that identifies a message within the batch.
1813
+ #
1814
+ # @note When making an API call, you may pass PublishBatchRequestEntry
1815
+ # data as a hash:
1816
+ #
1817
+ # {
1818
+ # id: "String", # required
1819
+ # message: "message", # required
1820
+ # subject: "subject",
1821
+ # message_structure: "messageStructure",
1822
+ # message_attributes: {
1823
+ # "String" => {
1824
+ # data_type: "String", # required
1825
+ # string_value: "String",
1826
+ # binary_value: "data",
1827
+ # },
1828
+ # },
1829
+ # message_deduplication_id: "String",
1830
+ # message_group_id: "String",
1831
+ # }
1832
+ #
1833
+ # @!attribute [rw] id
1834
+ # An identifier for the message in this batch.
1835
+ #
1836
+ # <note markdown="1"> The `Ids` of a batch request must be unique within a request.
1837
+ #
1838
+ # This identifier can have up to 80 characters. The following
1839
+ # characters are accepted: alphanumeric characters, hyphens(-), and
1840
+ # underscores (\_).
1841
+ #
1842
+ # </note>
1843
+ # @return [String]
1844
+ #
1845
+ # @!attribute [rw] message
1846
+ # The body of the message.
1847
+ # @return [String]
1848
+ #
1849
+ # @!attribute [rw] subject
1850
+ # The subject of the batch message.
1851
+ # @return [String]
1852
+ #
1853
+ # @!attribute [rw] message_structure
1854
+ # Set `MessageStructure` to `json` if you want to send a different
1855
+ # message for each protocol. For example, using one publish action,
1856
+ # you can send a short message to your SMS subscribers and a longer
1857
+ # message to your email subscribers. If you set `MessageStructure` to
1858
+ # `json`, the value of the `Message` parameter must:
1859
+ #
1860
+ # * be a syntactically valid JSON object; and
1861
+ #
1862
+ # * contain at least a top-level JSON key of "default" with a value
1863
+ # that is a string.
1864
+ #
1865
+ # You can define other top-level keys that define the message you want
1866
+ # to send to a specific transport protocol (e.g. http).
1867
+ # @return [String]
1868
+ #
1869
+ # @!attribute [rw] message_attributes
1870
+ # Each message attribute consists of a `Name`, `Type`, and `Value`.
1871
+ # For more information, see [Amazon SNS message attributes][1] in the
1872
+ # Amazon SNS Developer Guide.
1873
+ #
1874
+ #
1875
+ #
1876
+ # [1]: https://docs.aws.amazon.com/sns/latest/dg/sns-message-attributes.html
1877
+ # @return [Hash<String,Types::MessageAttributeValue>]
1878
+ #
1879
+ # @!attribute [rw] message_deduplication_id
1880
+ # This parameter applies only to FIFO (first-in-first-out) topics.
1881
+ #
1882
+ # The token used for deduplication of messages within a 5-minute
1883
+ # minimum deduplication interval. If a message with a particular
1884
+ # `MessageDeduplicationId` is sent successfully, subsequent messages
1885
+ # with the same `MessageDeduplicationId` are accepted successfully but
1886
+ # aren't delivered.
1887
+ #
1888
+ # * Every message must have a unique `MessageDeduplicationId`.
1889
+ #
1890
+ # * You may provide a `MessageDeduplicationId` explicitly.
1891
+ #
1892
+ # * If you aren't able to provide a `MessageDeduplicationId` and
1893
+ # you enable `ContentBasedDeduplication` for your topic, Amazon
1894
+ # SNS uses a SHA-256 hash to generate the `MessageDeduplicationId`
1895
+ # using the body of the message (but not the attributes of the
1896
+ # message).
1897
+ #
1898
+ # * If you don't provide a `MessageDeduplicationId` and the topic
1899
+ # doesn't have `ContentBasedDeduplication` set, the action fails
1900
+ # with an error.
1901
+ #
1902
+ # * If the topic has a `ContentBasedDeduplication` set, your
1903
+ # `MessageDeduplicationId` overrides the generated one.
1904
+ #
1905
+ # * When `ContentBasedDeduplication` is in effect, messages with
1906
+ # identical content sent within the deduplication interval are
1907
+ # treated as duplicates and only one copy of the message is
1908
+ # delivered.
1909
+ #
1910
+ # * If you send one message with `ContentBasedDeduplication` enabled,
1911
+ # and then another message with a `MessageDeduplicationId` that is
1912
+ # the same as the one generated for the first
1913
+ # `MessageDeduplicationId`, the two messages are treated as
1914
+ # duplicates and only one copy of the message is delivered.
1915
+ #
1916
+ # <note markdown="1"> The `MessageDeduplicationId` is available to the consumer of the
1917
+ # message (this can be useful for troubleshooting delivery issues).
1918
+ #
1919
+ # If a message is sent successfully but the acknowledgement is lost
1920
+ # and the message is resent with the same `MessageDeduplicationId`
1921
+ # after the deduplication interval, Amazon SNS can't detect duplicate
1922
+ # messages.
1923
+ #
1924
+ # Amazon SNS continues to keep track of the message deduplication ID
1925
+ # even after the message is received and deleted.
1926
+ #
1927
+ # </note>
1928
+ #
1929
+ # The length of `MessageDeduplicationId` is 128 characters.
1930
+ #
1931
+ # `MessageDeduplicationId` can contain alphanumeric characters `(a-z,
1932
+ # A-Z, 0-9)` and punctuation `` (!"#$%&'()*+,-./:;<=>?@[\]^_`\{|\}~)
1933
+ # ``.
1934
+ # @return [String]
1935
+ #
1936
+ # @!attribute [rw] message_group_id
1937
+ # This parameter applies only to FIFO (first-in-first-out) topics.
1938
+ #
1939
+ # The tag that specifies that a message belongs to a specific message
1940
+ # group. Messages that belong to the same message group are processed
1941
+ # in a FIFO manner (however, messages in different message groups
1942
+ # might be processed out of order). To interleave multiple ordered
1943
+ # streams within a single topic, use `MessageGroupId` values (for
1944
+ # example, session data for multiple users). In this scenario,
1945
+ # multiple consumers can process the topic, but the session data of
1946
+ # each user is processed in a FIFO fashion.
1947
+ #
1948
+ # You must associate a non-empty `MessageGroupId` with a message. If
1949
+ # you don't provide a `MessageGroupId`, the action fails.
1950
+ #
1951
+ # The length of `MessageGroupId` is 128 characters.
1952
+ #
1953
+ # `MessageGroupId` can contain alphanumeric characters `(a-z, A-Z,
1954
+ # 0-9)` and punctuation `` (!"#$%&'()*+,-./:;<=>?@[\]^_`\{|\}~) ``.
1955
+ #
1956
+ # `MessageGroupId` is required for FIFO topics. You can't use it for
1957
+ # standard topics.
1958
+ # @return [String]
1959
+ #
1960
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/PublishBatchRequestEntry AWS API Documentation
1961
+ #
1962
+ class PublishBatchRequestEntry < Struct.new(
1963
+ :id,
1964
+ :message,
1965
+ :subject,
1966
+ :message_structure,
1967
+ :message_attributes,
1968
+ :message_deduplication_id,
1969
+ :message_group_id)
1970
+ SENSITIVE = []
1971
+ include Aws::Structure
1972
+ end
1973
+
1974
+ # @!attribute [rw] successful
1975
+ # A list of successful `PublishBatch` responses.
1976
+ # @return [Array<Types::PublishBatchResultEntry>]
1977
+ #
1978
+ # @!attribute [rw] failed
1979
+ # A list of failed `PublishBatch` responses.
1980
+ # @return [Array<Types::BatchResultErrorEntry>]
1981
+ #
1982
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/PublishBatchResponse AWS API Documentation
1983
+ #
1984
+ class PublishBatchResponse < Struct.new(
1985
+ :successful,
1986
+ :failed)
1987
+ SENSITIVE = []
1988
+ include Aws::Structure
1989
+ end
1990
+
1991
+ # Encloses data related to a successful message in a batch request for
1992
+ # topic.
1993
+ #
1994
+ # @!attribute [rw] id
1995
+ # The `Id` of an entry in a batch request.
1996
+ # @return [String]
1997
+ #
1998
+ # @!attribute [rw] message_id
1999
+ # An identifier for the message.
2000
+ # @return [String]
2001
+ #
2002
+ # @!attribute [rw] sequence_number
2003
+ # This parameter applies only to FIFO (first-in-first-out) topics.
2004
+ #
2005
+ # The large, non-consecutive number that Amazon SNS assigns to each
2006
+ # message.
2007
+ #
2008
+ # The length of `SequenceNumber` is 128 bits. `SequenceNumber`
2009
+ # continues to increase for a particular `MessageGroupId`.
2010
+ # @return [String]
2011
+ #
2012
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/PublishBatchResultEntry AWS API Documentation
2013
+ #
2014
+ class PublishBatchResultEntry < Struct.new(
2015
+ :id,
2016
+ :message_id,
2017
+ :sequence_number)
2018
+ SENSITIVE = []
2019
+ include Aws::Structure
2020
+ end
2021
+
1669
2022
  # Input for Publish action.
1670
2023
  #
1671
2024
  # @note When making an API call, you may pass PublishInput
@@ -1804,7 +2157,7 @@ module Aws::SNS
1804
2157
  # @!attribute [rw] message_deduplication_id
1805
2158
  # This parameter applies only to FIFO (first-in-first-out) topics. The
1806
2159
  # `MessageDeduplicationId` can contain up to 128 alphanumeric
1807
- # characters (a-z, A-Z, 0-9) and punctuation ``
2160
+ # characters `(a-z, A-Z, 0-9)` and punctuation ``
1808
2161
  # (!"#$%&'()*+,-./:;<=>?@[\]^_`\{|\}~) ``.
1809
2162
  #
1810
2163
  # Every message must have a unique `MessageDeduplicationId`, which is
@@ -1820,9 +2173,9 @@ module Aws::SNS
1820
2173
  #
1821
2174
  # @!attribute [rw] message_group_id
1822
2175
  # This parameter applies only to FIFO (first-in-first-out) topics. The
1823
- # `MessageGroupId` can contain up to 128 alphanumeric characters (a-z,
1824
- # A-Z, 0-9) and punctuation `` (!"#$%&'()*+,-./:;<=>?@[\]^_`\{|\}~)
1825
- # ``.
2176
+ # `MessageGroupId` can contain up to 128 alphanumeric characters
2177
+ # `(a-z, A-Z, 0-9)` and punctuation ``
2178
+ # (!"#$%&'()*+,-./:;<=>?@[\]^_`\{|\}~) ``.
1826
2179
  #
1827
2180
  # The `MessageGroupId` is a tag that specifies that a message belongs
1828
2181
  # to a specific message group. Messages that belong to the same
@@ -1917,14 +2270,15 @@ module Aws::SNS
1917
2270
 
1918
2271
  # A verified or pending destination phone number in the SMS sandbox.
1919
2272
  #
1920
- # When you start using Amazon SNS to send SMS messages, your account is
1921
- # in the *SMS sandbox*. The SMS sandbox provides a safe environment for
1922
- # you to try Amazon SNS features without risking your reputation as an
1923
- # SMS sender. While your account is in the SMS sandbox, you can use all
1924
- # of the features of Amazon SNS. However, you can send SMS messages only
1925
- # to verified destination phone numbers. For more information, including
1926
- # how to move out of the sandbox to send messages without restrictions,
1927
- # see [SMS sandbox][1] in the *Amazon SNS Developer Guide*.
2273
+ # When you start using Amazon SNS to send SMS messages, your Amazon Web
2274
+ # Services account is in the *SMS sandbox*. The SMS sandbox provides a
2275
+ # safe environment for you to try Amazon SNS features without risking
2276
+ # your reputation as an SMS sender. While your Amazon Web Services
2277
+ # account is in the SMS sandbox, you can use all of the features of
2278
+ # Amazon SNS. However, you can send SMS messages only to verified
2279
+ # destination phone numbers. For more information, including how to move
2280
+ # out of the sandbox to send messages without restrictions, see [SMS
2281
+ # sandbox][1] in the *Amazon SNS Developer Guide*.
1928
2282
  #
1929
2283
  #
1930
2284
  #
@@ -2012,16 +2366,34 @@ module Aws::SNS
2012
2366
  # include the following:
2013
2367
  #
2014
2368
  # * `PlatformCredential` – The credential received from the
2015
- # notification service. For `APNS` and `APNS_SANDBOX`,
2016
- # `PlatformCredential` is `private key`. For `GCM` (Firebase Cloud
2017
- # Messaging), `PlatformCredential` is `API key`. For `ADM`,
2018
- # `PlatformCredential` is `client secret`.
2369
+ # notification service.
2370
+ #
2371
+ # * For ADM, `PlatformCredential`is client secret.
2372
+ #
2373
+ # * For Apple Services using certificate credentials,
2374
+ # `PlatformCredential` is private key.
2375
+ #
2376
+ # * For Apple Services using token credentials, `PlatformCredential`
2377
+ # is signing key.
2378
+ #
2379
+ # * For GCM (Firebase Cloud Messaging), `PlatformCredential` is API
2380
+ # key.
2381
+ # ^
2019
2382
  #
2020
2383
  # * `PlatformPrincipal` – The principal received from the notification
2021
- # service. For `APNS` and `APNS_SANDBOX`, `PlatformPrincipal` is
2022
- # `SSL certificate`. For `GCM` (Firebase Cloud Messaging), there is
2023
- # no `PlatformPrincipal`. For `ADM`, `PlatformPrincipal` is `client
2024
- # id`.
2384
+ # service.
2385
+ #
2386
+ # * For ADM, `PlatformPrincipal`is client id.
2387
+ #
2388
+ # * For Apple Services using certificate credentials,
2389
+ # `PlatformPrincipal` is SSL certificate.
2390
+ #
2391
+ # * For Apple Services using token credentials, `PlatformPrincipal`
2392
+ # is signing key ID.
2393
+ #
2394
+ # * For GCM (Firebase Cloud Messaging), there is no
2395
+ # `PlatformPrincipal`.
2396
+ # ^
2025
2397
  #
2026
2398
  # * `EventEndpointCreated` – Topic ARN to which `EndpointCreated`
2027
2399
  # event notifications are sent.
@@ -2044,6 +2416,15 @@ module Aws::SNS
2044
2416
  #
2045
2417
  # * `SuccessFeedbackSampleRate` – Sample rate percentage (0-100) of
2046
2418
  # successfully delivered messages.
2419
+ #
2420
+ # The following attributes only apply to `APNs` token-based
2421
+ # authentication:
2422
+ #
2423
+ # * `ApplePlatformTeamID` – The identifier that's assigned to your
2424
+ # Apple developer account team.
2425
+ #
2426
+ # * `ApplePlatformBundleID` – The bundle identifier that's assigned
2427
+ # to your iOS app.
2047
2428
  # @return [Hash<String,String>]
2048
2429
  #
2049
2430
  # @see http://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/SetPlatformApplicationAttributesInput AWS API Documentation
@@ -2067,8 +2448,9 @@ module Aws::SNS
2067
2448
  # }
2068
2449
  #
2069
2450
  # @!attribute [rw] attributes
2070
- # The default settings for sending SMS messages from your account. You
2071
- # can set values for the following attribute names:
2451
+ # The default settings for sending SMS messages from your Amazon Web
2452
+ # Services account. You can set values for the following attribute
2453
+ # names:
2072
2454
  #
2073
2455
  # `MonthlySpendLimit` – The maximum amount in USD that you are willing
2074
2456
  # to spend each month to send SMS messages. When Amazon SNS determines
@@ -2119,7 +2501,7 @@ module Aws::SNS
2119
2501
  # daily SMS usage reports from Amazon SNS. Each day, Amazon SNS will
2120
2502
  # deliver a usage report as a CSV file to the bucket. The report
2121
2503
  # includes the following information for each SMS message that was
2122
- # successfully delivered by your account:
2504
+ # successfully delivered by your Amazon Web Services account:
2123
2505
  #
2124
2506
  # * Time that the message was published (in UTC)
2125
2507
  #
@@ -2642,7 +3024,7 @@ module Aws::SNS
2642
3024
  class TagResourceResponse < Aws::EmptyStructure; end
2643
3025
 
2644
3026
  # Indicates that the rate at which requests have been submitted for this
2645
- # action exceeds the limit for your account.
3027
+ # action exceeds the limit for your Amazon Web Services account.
2646
3028
  #
2647
3029
  # @!attribute [rw] message
2648
3030
  # Throttled request.
@@ -2656,6 +3038,19 @@ module Aws::SNS
2656
3038
  include Aws::Structure
2657
3039
  end
2658
3040
 
3041
+ # The batch request contains more entries than permissible.
3042
+ #
3043
+ # @!attribute [rw] message
3044
+ # @return [String]
3045
+ #
3046
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/TooManyEntriesInBatchRequestException AWS API Documentation
3047
+ #
3048
+ class TooManyEntriesInBatchRequestException < Struct.new(
3049
+ :message)
3050
+ SENSITIVE = []
3051
+ include Aws::Structure
3052
+ end
3053
+
2659
3054
  # A wrapper type for the topic's Amazon Resource Name (ARN). To
2660
3055
  # retrieve a topic's attributes, use `GetTopicAttributes`.
2661
3056
  #
data/lib/aws-sdk-sns.rb CHANGED
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-sns/customizations'
52
52
  # @!group service
53
53
  module Aws::SNS
54
54
 
55
- GEM_VERSION = '1.47.0'
55
+ GEM_VERSION = '1.48.0'
56
56
 
57
57
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-sns
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.47.0
4
+ version: 1.48.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-11-04 00:00:00.000000000 Z
11
+ date: 2021-11-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core