aws-sdk-sns 1.46.0 → 1.50.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 756ae37a5889108ac671a0e89253346d59cdce05a4d953c99c35707fa9985360
4
- data.tar.gz: 8eceb2ccbec4970c892b82ccdc9ac5108406a2594c4d42fa36ff9e28a62a77e9
3
+ metadata.gz: 5a5332be7b8a324ede9faf7cb32027222f861a7cc3381e3f790f83cd7f71a723
4
+ data.tar.gz: a0c814bbf770eb5e561089ee55f2887b03573200a1e9492d092678079ca6bda2
5
5
  SHA512:
6
- metadata.gz: '08c4aa5d0c329442b32f1bede3c2db18bde31b8c96698d40f5bdafec1101d1f6d4f924c24a28de6a79b110a84128664682c127ff64eb486f432b1b286b24fecf'
7
- data.tar.gz: 244e35483fbabc28fa9f56c5564073116f7ebadf0b6d01010661fe59659fd8b7d34b69e19e6071aef21572822aefbfdc34b8be1cac3f51a5b504544bc108ce5b
6
+ metadata.gz: 5673622c0f51c2e4d5fdda4667f60b4b9db6d525faea9e7acde83a5c5dba7a38291113e8714f0dca01a932eaa736b3d64c4fa85786acb70f9dc7b64be35c0c81
7
+ data.tar.gz: 5aa1e13fc171f56c57989b9d061232a482f6462b5ecaa09d683a8e80a875fe28becac7e7e4d80164a5957210fb9e21a9a77b14b324c21be81272499c19a661ef
data/CHANGELOG.md CHANGED
@@ -1,6 +1,26 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.50.0 (2021-12-21)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.49.0 (2021-11-30)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
14
+ 1.48.0 (2021-11-17)
15
+ ------------------
16
+
17
+ * Feature - Amazon SNS introduces the PublishBatch API, which enables customers to publish up to 10 messages per API request. The new API is valid for Standard and FIFO topics.
18
+
19
+ 1.47.0 (2021-11-04)
20
+ ------------------
21
+
22
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
23
+
4
24
  1.46.0 (2021-10-18)
5
25
  ------------------
6
26
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.46.0
1
+ 1.50.0
@@ -27,6 +27,7 @@ require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
27
27
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
28
28
  require 'aws-sdk-core/plugins/transfer_encoding.rb'
29
29
  require 'aws-sdk-core/plugins/http_checksum.rb'
30
+ require 'aws-sdk-core/plugins/defaults_mode.rb'
30
31
  require 'aws-sdk-core/plugins/signature_v4.rb'
31
32
  require 'aws-sdk-core/plugins/protocols/query.rb'
32
33
 
@@ -73,6 +74,7 @@ module Aws::SNS
73
74
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
74
75
  add_plugin(Aws::Plugins::TransferEncoding)
75
76
  add_plugin(Aws::Plugins::HttpChecksum)
77
+ add_plugin(Aws::Plugins::DefaultsMode)
76
78
  add_plugin(Aws::Plugins::SignatureV4)
77
79
  add_plugin(Aws::Plugins::Protocols::Query)
78
80
 
@@ -119,7 +121,9 @@ module Aws::SNS
119
121
  # * EC2/ECS IMDS instance profile - When used by default, the timeouts
120
122
  # are very aggressive. Construct and pass an instance of
121
123
  # `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
122
- # enable retries and extended timeouts.
124
+ # enable retries and extended timeouts. Instance profile credential
125
+ # fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
126
+ # to true.
123
127
  #
124
128
  # @option options [required, String] :region
125
129
  # The AWS region to connect to. The configured `:region` is
@@ -173,6 +177,10 @@ module Aws::SNS
173
177
  # Used only in `standard` and adaptive retry modes. Specifies whether to apply
174
178
  # a clock skew correction and retry requests with skewed client clocks.
175
179
  #
180
+ # @option options [String] :defaults_mode ("legacy")
181
+ # See {Aws::DefaultsModeConfiguration} for a list of the
182
+ # accepted modes and the configuration defaults that are included.
183
+ #
176
184
  # @option options [Boolean] :disable_host_prefix_injection (false)
177
185
  # Set to true to disable SDK automatically adding host prefix
178
186
  # to default service endpoint when available.
@@ -275,6 +283,15 @@ module Aws::SNS
275
283
  # ** Please note ** When response stubbing is enabled, no HTTP
276
284
  # requests are made, and retries are disabled.
277
285
  #
286
+ # @option options [Boolean] :use_dualstack_endpoint
287
+ # When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
288
+ # will be used if available.
289
+ #
290
+ # @option options [Boolean] :use_fips_endpoint
291
+ # When set to `true`, fips compatible endpoints will be used if available.
292
+ # When a `fips` region is used, the region is normalized and this config
293
+ # is set to `true`.
294
+ #
278
295
  # @option options [Boolean] :validate_params (true)
279
296
  # When `true`, request parameters are validated before
280
297
  # sending the request.
@@ -286,7 +303,7 @@ module Aws::SNS
286
303
  # seconds to wait when opening a HTTP session before raising a
287
304
  # `Timeout::Error`.
288
305
  #
289
- # @option options [Integer] :http_read_timeout (60) The default
306
+ # @option options [Float] :http_read_timeout (60) The default
290
307
  # number of seconds to wait for response data. This value can
291
308
  # safely be set per-request on the session.
292
309
  #
@@ -302,6 +319,9 @@ module Aws::SNS
302
319
  # disables this behaviour. This value can safely be set per
303
320
  # request on the session.
304
321
  #
322
+ # @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
323
+ # in seconds.
324
+ #
305
325
  # @option options [Boolean] :http_wire_trace (false) When `true`,
306
326
  # HTTP debug output will be sent to the `:logger`.
307
327
  #
@@ -328,7 +348,8 @@ module Aws::SNS
328
348
  # @!group API Operations
329
349
 
330
350
  # Adds a statement to a topic's access control policy, granting access
331
- # for the specified accounts to the specified actions.
351
+ # for the specified Amazon Web Services accounts to the specified
352
+ # actions.
332
353
  #
333
354
  # @option params [required, String] :topic_arn
334
355
  # The ARN of the topic whose access control policy you wish to modify.
@@ -337,9 +358,10 @@ module Aws::SNS
337
358
  # A unique identifier for the new policy statement.
338
359
  #
339
360
  # @option params [required, Array<String>] :aws_account_id
340
- # The account IDs of the users (principals) who will be given access to
341
- # the specified actions. The users must have account, but do not need to
342
- # be signed up for this service.
361
+ # The Amazon Web Services account IDs of the users (principals) who will
362
+ # be given access to the specified actions. The users must have Amazon
363
+ # Web Services account, but do not need to be signed up for this
364
+ # service.
343
365
  #
344
366
  # @option params [required, Array<String>] :action_name
345
367
  # The action you want to allow for the specified principal(s).
@@ -367,8 +389,8 @@ module Aws::SNS
367
389
  end
368
390
 
369
391
  # Accepts a phone number and indicates whether the phone holder has
370
- # opted out of receiving SMS messages from your account. You cannot send
371
- # SMS messages to a number that is opted out.
392
+ # opted out of receiving SMS messages from your Amazon Web Services
393
+ # account. You cannot send SMS messages to a number that is opted out.
372
394
  #
373
395
  # To resume sending messages, you can opt in the number by using the
374
396
  # `OptInPhoneNumber` action.
@@ -458,8 +480,13 @@ module Aws::SNS
458
480
  # * For `Baidu`, `PlatformPrincipal` is `API key` and
459
481
  # `PlatformCredential` is `secret key`.
460
482
  #
461
- # * For `APNS` and `APNS_SANDBOX`, `PlatformPrincipal` is `SSL
462
- # certificate` and `PlatformCredential` is `private key`.
483
+ # * For `APNS` and `APNS_SANDBOX` using certificate credentials,
484
+ # `PlatformPrincipal` is `SSL certificate` and `PlatformCredential` is
485
+ # `private key`.
486
+ #
487
+ # * For `APNS` and `APNS_SANDBOX` using token credentials,
488
+ # `PlatformPrincipal` is `signing key ID` and `PlatformCredential` is
489
+ # `signing key`.
463
490
  #
464
491
  # * For `GCM` (Firebase Cloud Messaging), there is no
465
492
  # `PlatformPrincipal` and the `PlatformCredential` is `API key`.
@@ -590,17 +617,19 @@ module Aws::SNS
590
617
  req.send_request(options)
591
618
  end
592
619
 
593
- # Adds a destination phone number to an account in the SMS sandbox and
594
- # sends a one-time password (OTP) to that phone number.
620
+ # Adds a destination phone number to an Amazon Web Services account in
621
+ # the SMS sandbox and sends a one-time password (OTP) to that phone
622
+ # number.
595
623
  #
596
- # When you start using Amazon SNS to send SMS messages, your account is
597
- # in the *SMS sandbox*. The SMS sandbox provides a safe environment for
598
- # you to try Amazon SNS features without risking your reputation as an
599
- # SMS sender. While your account is in the SMS sandbox, you can use all
600
- # of the features of Amazon SNS. However, you can send SMS messages only
601
- # to verified destination phone numbers. For more information, including
602
- # how to move out of the sandbox to send messages without restrictions,
603
- # see [SMS sandbox][1] in the *Amazon SNS Developer Guide*.
624
+ # When you start using Amazon SNS to send SMS messages, your Amazon Web
625
+ # Services account is in the *SMS sandbox*. The SMS sandbox provides a
626
+ # safe environment for you to try Amazon SNS features without risking
627
+ # your reputation as an SMS sender. While your Amazon Web Services
628
+ # account is in the SMS sandbox, you can use all of the features of
629
+ # Amazon SNS. However, you can send SMS messages only to verified
630
+ # destination phone numbers. For more information, including how to move
631
+ # out of the sandbox to send messages without restrictions, see [SMS
632
+ # sandbox][1] in the *Amazon SNS Developer Guide*.
604
633
  #
605
634
  #
606
635
  #
@@ -807,17 +836,18 @@ module Aws::SNS
807
836
  req.send_request(options)
808
837
  end
809
838
 
810
- # Deletes an account's verified or pending phone number from the SMS
811
- # sandbox.
839
+ # Deletes an Amazon Web Services account's verified or pending phone
840
+ # number from the SMS sandbox.
812
841
  #
813
- # When you start using Amazon SNS to send SMS messages, your account is
814
- # in the *SMS sandbox*. The SMS sandbox provides a safe environment for
815
- # you to try Amazon SNS features without risking your reputation as an
816
- # SMS sender. While your account is in the SMS sandbox, you can use all
817
- # of the features of Amazon SNS. However, you can send SMS messages only
818
- # to verified destination phone numbers. For more information, including
819
- # how to move out of the sandbox to send messages without restrictions,
820
- # see [SMS sandbox][1] in the *Amazon SNS Developer Guide*.
842
+ # When you start using Amazon SNS to send SMS messages, your Amazon Web
843
+ # Services account is in the *SMS sandbox*. The SMS sandbox provides a
844
+ # safe environment for you to try Amazon SNS features without risking
845
+ # your reputation as an SMS sender. While your Amazon Web Services
846
+ # account is in the SMS sandbox, you can use all of the features of
847
+ # Amazon SNS. However, you can send SMS messages only to verified
848
+ # destination phone numbers. For more information, including how to move
849
+ # out of the sandbox to send messages without restrictions, see [SMS
850
+ # sandbox][1] in the *Amazon SNS Developer Guide*.
821
851
  #
822
852
  #
823
853
  #
@@ -940,7 +970,8 @@ module Aws::SNS
940
970
  req.send_request(options)
941
971
  end
942
972
 
943
- # Returns the settings for sending SMS messages from your account.
973
+ # Returns the settings for sending SMS messages from your Amazon Web
974
+ # Services account.
944
975
  #
945
976
  # These settings are set with the `SetSMSAttributes` action.
946
977
  #
@@ -981,17 +1012,18 @@ module Aws::SNS
981
1012
  req.send_request(options)
982
1013
  end
983
1014
 
984
- # Retrieves the SMS sandbox status for the calling account in the target
985
- # Region.
1015
+ # Retrieves the SMS sandbox status for the calling Amazon Web Services
1016
+ # account in the target Amazon Web Services Region.
986
1017
  #
987
- # When you start using Amazon SNS to send SMS messages, your account is
988
- # in the *SMS sandbox*. The SMS sandbox provides a safe environment for
989
- # you to try Amazon SNS features without risking your reputation as an
990
- # SMS sender. While your account is in the SMS sandbox, you can use all
991
- # of the features of Amazon SNS. However, you can send SMS messages only
992
- # to verified destination phone numbers. For more information, including
993
- # how to move out of the sandbox to send messages without restrictions,
994
- # see [SMS sandbox][1] in the *Amazon SNS Developer Guide*.
1018
+ # When you start using Amazon SNS to send SMS messages, your Amazon Web
1019
+ # Services account is in the *SMS sandbox*. The SMS sandbox provides a
1020
+ # safe environment for you to try Amazon SNS features without risking
1021
+ # your reputation as an SMS sender. While your Amazon Web Services
1022
+ # account is in the SMS sandbox, you can use all of the features of
1023
+ # Amazon SNS. However, you can send SMS messages only to verified
1024
+ # destination phone numbers. For more information, including how to move
1025
+ # out of the sandbox to send messages without restrictions, see [SMS
1026
+ # sandbox][1] in the *Amazon SNS Developer Guide*.
995
1027
  #
996
1028
  #
997
1029
  #
@@ -1130,9 +1162,10 @@ module Aws::SNS
1130
1162
  req.send_request(options)
1131
1163
  end
1132
1164
 
1133
- # Lists the calling account's dedicated origination numbers and their
1134
- # metadata. For more information about origination numbers, see
1135
- # [Origination numbers][1] in the *Amazon SNS Developer Guide*.
1165
+ # Lists the calling Amazon Web Services account's dedicated origination
1166
+ # numbers and their metadata. For more information about origination
1167
+ # numbers, see [Origination numbers][1] in the *Amazon SNS Developer
1168
+ # Guide*.
1136
1169
  #
1137
1170
  #
1138
1171
  #
@@ -1275,17 +1308,18 @@ module Aws::SNS
1275
1308
  req.send_request(options)
1276
1309
  end
1277
1310
 
1278
- # Lists the calling account's current verified and pending destination
1279
- # phone numbers in the SMS sandbox.
1311
+ # Lists the calling Amazon Web Services account's current verified and
1312
+ # pending destination phone numbers in the SMS sandbox.
1280
1313
  #
1281
- # When you start using Amazon SNS to send SMS messages, your account is
1282
- # in the *SMS sandbox*. The SMS sandbox provides a safe environment for
1283
- # you to try Amazon SNS features without risking your reputation as an
1284
- # SMS sender. While your account is in the SMS sandbox, you can use all
1285
- # of the features of Amazon SNS. However, you can send SMS messages only
1286
- # to verified destination phone numbers. For more information, including
1287
- # how to move out of the sandbox to send messages without restrictions,
1288
- # see [SMS sandbox][1] in the *Amazon SNS Developer Guide*.
1314
+ # When you start using Amazon SNS to send SMS messages, your Amazon Web
1315
+ # Services account is in the *SMS sandbox*. The SMS sandbox provides a
1316
+ # safe environment for you to try Amazon SNS features without risking
1317
+ # your reputation as an SMS sender. While your Amazon Web Services
1318
+ # account is in the SMS sandbox, you can use all of the features of
1319
+ # Amazon SNS. However, you can send SMS messages only to verified
1320
+ # destination phone numbers. For more information, including how to move
1321
+ # out of the sandbox to send messages without restrictions, see [SMS
1322
+ # sandbox][1] in the *Amazon SNS Developer Guide*.
1289
1323
  #
1290
1324
  #
1291
1325
  #
@@ -1525,10 +1559,10 @@ module Aws::SNS
1525
1559
  # message depends on the notification protocol for each subscribed
1526
1560
  # endpoint.
1527
1561
  #
1528
- # When a `messageId` is returned, the message has been saved and Amazon
1529
- # SNS will attempt to deliver it shortly.
1562
+ # When a `messageId` is returned, the message is saved and Amazon SNS
1563
+ # immediately deliverers it to subscribers.
1530
1564
  #
1531
- # To use the `Publish` action for sending a message to a mobile
1565
+ # To use the `Publish` action for publishing a message to a mobile
1532
1566
  # endpoint, such as an app on a Kindle device or mobile phone, you must
1533
1567
  # specify the EndpointArn for the TargetArn parameter. The EndpointArn
1534
1568
  # is returned when making a call with the `CreatePlatformEndpoint`
@@ -1538,7 +1572,7 @@ module Aws::SNS
1538
1572
  # Platform-Specific Payloads in Messages to Mobile Devices][1].
1539
1573
  #
1540
1574
  # You can publish messages only to topics and endpoints in the same
1541
- # Region.
1575
+ # Amazon Web Services Region.
1542
1576
  #
1543
1577
  #
1544
1578
  #
@@ -1649,7 +1683,7 @@ module Aws::SNS
1649
1683
  # @option params [String] :message_deduplication_id
1650
1684
  # This parameter applies only to FIFO (first-in-first-out) topics. The
1651
1685
  # `MessageDeduplicationId` can contain up to 128 alphanumeric characters
1652
- # (a-z, A-Z, 0-9) and punctuation ``
1686
+ # `(a-z, A-Z, 0-9)` and punctuation ``
1653
1687
  # (!"#$%&'()*+,-./:;<=>?@[\]^_`\{|\}~) ``.
1654
1688
  #
1655
1689
  # Every message must have a unique `MessageDeduplicationId`, which is a
@@ -1664,8 +1698,8 @@ module Aws::SNS
1664
1698
  #
1665
1699
  # @option params [String] :message_group_id
1666
1700
  # This parameter applies only to FIFO (first-in-first-out) topics. The
1667
- # `MessageGroupId` can contain up to 128 alphanumeric characters (a-z,
1668
- # A-Z, 0-9) and punctuation `` (!"#$%&'()*+,-./:;<=>?@[\]^_`\{|\}~) ``.
1701
+ # `MessageGroupId` can contain up to 128 alphanumeric characters `(a-z,
1702
+ # A-Z, 0-9)` and punctuation `` (!"#$%&'()*+,-./:;<=>?@[\]^_`\{|\}~) ``.
1669
1703
  #
1670
1704
  # The `MessageGroupId` is a tag that specifies that a message belongs to
1671
1705
  # a specific message group. Messages that belong to the same message
@@ -1712,6 +1746,92 @@ module Aws::SNS
1712
1746
  req.send_request(options)
1713
1747
  end
1714
1748
 
1749
+ # Publishes up to ten messages to the specified topic. This is a batch
1750
+ # version of `Publish`. For FIFO topics, multiple messages within a
1751
+ # single batch are published in the order they are sent, and messages
1752
+ # are deduplicated within the batch and across batches for 5 minutes.
1753
+ #
1754
+ # The result of publishing each message is reported individually in the
1755
+ # response. Because the batch request can result in a combination of
1756
+ # successful and unsuccessful actions, you should check for batch errors
1757
+ # even when the call returns an HTTP status code of `200`.
1758
+ #
1759
+ # The maximum allowed individual message size and the maximum total
1760
+ # payload size (the sum of the individual lengths of all of the batched
1761
+ # messages) are both 256 KB (262,144 bytes).
1762
+ #
1763
+ # Some actions take lists of parameters. These lists are specified using
1764
+ # the `param.n` notation. Values of `n` are integers starting from 1.
1765
+ # For example, a parameter list with two elements looks like this:
1766
+ #
1767
+ # &amp;AttributeName.1=first
1768
+ #
1769
+ # &amp;AttributeName.2=second
1770
+ #
1771
+ # If you send a batch message to a topic, Amazon SNS publishes the batch
1772
+ # message to each endpoint that is subscribed to the topic. The format
1773
+ # of the batch message depends on the notification protocol for each
1774
+ # subscribed endpoint.
1775
+ #
1776
+ # When a `messageId` is returned, the batch message is saved and Amazon
1777
+ # SNS immediately delivers the message to subscribers.
1778
+ #
1779
+ # @option params [required, String] :topic_arn
1780
+ # The Amazon resource name (ARN) of the topic you want to batch publish
1781
+ # to.
1782
+ #
1783
+ # @option params [required, Array<Types::PublishBatchRequestEntry>] :publish_batch_request_entries
1784
+ # A list of `PublishBatch` request entries to be sent to the SNS topic.
1785
+ #
1786
+ # @return [Types::PublishBatchResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1787
+ #
1788
+ # * {Types::PublishBatchResponse#successful #successful} => Array&lt;Types::PublishBatchResultEntry&gt;
1789
+ # * {Types::PublishBatchResponse#failed #failed} => Array&lt;Types::BatchResultErrorEntry&gt;
1790
+ #
1791
+ # @example Request syntax with placeholder values
1792
+ #
1793
+ # resp = client.publish_batch({
1794
+ # topic_arn: "topicARN", # required
1795
+ # publish_batch_request_entries: [ # required
1796
+ # {
1797
+ # id: "String", # required
1798
+ # message: "message", # required
1799
+ # subject: "subject",
1800
+ # message_structure: "messageStructure",
1801
+ # message_attributes: {
1802
+ # "String" => {
1803
+ # data_type: "String", # required
1804
+ # string_value: "String",
1805
+ # binary_value: "data",
1806
+ # },
1807
+ # },
1808
+ # message_deduplication_id: "String",
1809
+ # message_group_id: "String",
1810
+ # },
1811
+ # ],
1812
+ # })
1813
+ #
1814
+ # @example Response structure
1815
+ #
1816
+ # resp.successful #=> Array
1817
+ # resp.successful[0].id #=> String
1818
+ # resp.successful[0].message_id #=> String
1819
+ # resp.successful[0].sequence_number #=> String
1820
+ # resp.failed #=> Array
1821
+ # resp.failed[0].id #=> String
1822
+ # resp.failed[0].code #=> String
1823
+ # resp.failed[0].message #=> String
1824
+ # resp.failed[0].sender_fault #=> Boolean
1825
+ #
1826
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/PublishBatch AWS API Documentation
1827
+ #
1828
+ # @overload publish_batch(params = {})
1829
+ # @param [Hash] params ({})
1830
+ def publish_batch(params = {}, options = {})
1831
+ req = build_request(:publish_batch, params)
1832
+ req.send_request(options)
1833
+ end
1834
+
1715
1835
  # Removes a statement from a topic's access control policy.
1716
1836
  #
1717
1837
  # @option params [required, String] :topic_arn
@@ -1808,15 +1928,34 @@ module Aws::SNS
1808
1928
  # include the following:
1809
1929
  #
1810
1930
  # * `PlatformCredential` – The credential received from the notification
1811
- # service. For `APNS` and `APNS_SANDBOX`, `PlatformCredential` is
1812
- # `private key`. For `GCM` (Firebase Cloud Messaging),
1813
- # `PlatformCredential` is `API key`. For `ADM`, `PlatformCredential`
1814
- # is `client secret`.
1931
+ # service.
1932
+ #
1933
+ # * For ADM, `PlatformCredential`is client secret.
1934
+ #
1935
+ # * For Apple Services using certificate credentials,
1936
+ # `PlatformCredential` is private key.
1937
+ #
1938
+ # * For Apple Services using token credentials, `PlatformCredential`
1939
+ # is signing key.
1940
+ #
1941
+ # * For GCM (Firebase Cloud Messaging), `PlatformCredential` is API
1942
+ # key.
1943
+ # ^
1815
1944
  #
1816
1945
  # * `PlatformPrincipal` – The principal received from the notification
1817
- # service. For `APNS` and `APNS_SANDBOX`, `PlatformPrincipal` is `SSL
1818
- # certificate`. For `GCM` (Firebase Cloud Messaging), there is no
1819
- # `PlatformPrincipal`. For `ADM`, `PlatformPrincipal` is `client id`.
1946
+ # service.
1947
+ #
1948
+ # * For ADM, `PlatformPrincipal`is client id.
1949
+ #
1950
+ # * For Apple Services using certificate credentials,
1951
+ # `PlatformPrincipal` is SSL certificate.
1952
+ #
1953
+ # * For Apple Services using token credentials, `PlatformPrincipal` is
1954
+ # signing key ID.
1955
+ #
1956
+ # * For GCM (Firebase Cloud Messaging), there is no
1957
+ # `PlatformPrincipal`.
1958
+ # ^
1820
1959
  #
1821
1960
  # * `EventEndpointCreated` – Topic ARN to which `EndpointCreated` event
1822
1961
  # notifications are sent.
@@ -1840,6 +1979,15 @@ module Aws::SNS
1840
1979
  # * `SuccessFeedbackSampleRate` – Sample rate percentage (0-100) of
1841
1980
  # successfully delivered messages.
1842
1981
  #
1982
+ # The following attributes only apply to `APNs` token-based
1983
+ # authentication:
1984
+ #
1985
+ # * `ApplePlatformTeamID` – The identifier that's assigned to your
1986
+ # Apple developer account team.
1987
+ #
1988
+ # * `ApplePlatformBundleID` – The bundle identifier that's assigned to
1989
+ # your iOS app.
1990
+ #
1843
1991
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1844
1992
  #
1845
1993
  # @example Request syntax with placeholder values
@@ -1879,8 +2027,9 @@ module Aws::SNS
1879
2027
  # [1]: https://docs.aws.amazon.com/sns/latest/dg/sms_publish-to-phone.html
1880
2028
  #
1881
2029
  # @option params [required, Hash<String,String>] :attributes
1882
- # The default settings for sending SMS messages from your account. You
1883
- # can set values for the following attribute names:
2030
+ # The default settings for sending SMS messages from your Amazon Web
2031
+ # Services account. You can set values for the following attribute
2032
+ # names:
1884
2033
  #
1885
2034
  # `MonthlySpendLimit` – The maximum amount in USD that you are willing
1886
2035
  # to spend each month to send SMS messages. When Amazon SNS determines
@@ -1931,7 +2080,7 @@ module Aws::SNS
1931
2080
  # daily SMS usage reports from Amazon SNS. Each day, Amazon SNS will
1932
2081
  # deliver a usage report as a CSV file to the bucket. The report
1933
2082
  # includes the following information for each SMS message that was
1934
- # successfully delivered by your account:
2083
+ # successfully delivered by your Amazon Web Services account:
1935
2084
  #
1936
2085
  # * Time that the message was published (in UTC)
1937
2086
  #
@@ -2132,8 +2281,8 @@ module Aws::SNS
2132
2281
 
2133
2282
  # Subscribes an endpoint to an Amazon SNS topic. If the endpoint type is
2134
2283
  # HTTP/S or email, or if the endpoint and the topic are not in the same
2135
- # account, the endpoint owner must run the `ConfirmSubscription` action
2136
- # to confirm the subscription.
2284
+ # Amazon Web Services account, the endpoint owner must run the
2285
+ # `ConfirmSubscription` action to confirm the subscription.
2137
2286
  #
2138
2287
  # You call the `ConfirmSubscription` action with the token from the
2139
2288
  # subscription response. Confirmation tokens are valid for three days.
@@ -2298,9 +2447,9 @@ module Aws::SNS
2298
2447
  # * A new tag with a key identical to that of an existing tag overwrites
2299
2448
  # the existing tag.
2300
2449
  #
2301
- # * Tagging actions are limited to 10 TPS per account, per Region. If
2302
- # your application requires a higher throughput, file a [technical
2303
- # support request][2].
2450
+ # * Tagging actions are limited to 10 TPS per Amazon Web Services
2451
+ # account, per Amazon Web Services Region. If your application
2452
+ # requires a higher throughput, file a [technical support request][2].
2304
2453
  #
2305
2454
  #
2306
2455
  #
@@ -2399,16 +2548,17 @@ module Aws::SNS
2399
2548
  end
2400
2549
 
2401
2550
  # Verifies a destination phone number with a one-time password (OTP) for
2402
- # the calling account.
2551
+ # the calling Amazon Web Services account.
2403
2552
  #
2404
- # When you start using Amazon SNS to send SMS messages, your account is
2405
- # in the *SMS sandbox*. The SMS sandbox provides a safe environment for
2406
- # you to try Amazon SNS features without risking your reputation as an
2407
- # SMS sender. While your account is in the SMS sandbox, you can use all
2408
- # of the features of Amazon SNS. However, you can send SMS messages only
2409
- # to verified destination phone numbers. For more information, including
2410
- # how to move out of the sandbox to send messages without restrictions,
2411
- # see [SMS sandbox][1] in the *Amazon SNS Developer Guide*.
2553
+ # When you start using Amazon SNS to send SMS messages, your Amazon Web
2554
+ # Services account is in the *SMS sandbox*. The SMS sandbox provides a
2555
+ # safe environment for you to try Amazon SNS features without risking
2556
+ # your reputation as an SMS sender. While your Amazon Web Services
2557
+ # account is in the SMS sandbox, you can use all of the features of
2558
+ # Amazon SNS. However, you can send SMS messages only to verified
2559
+ # destination phone numbers. For more information, including how to move
2560
+ # out of the sandbox to send messages without restrictions, see [SMS
2561
+ # sandbox][1] in the *Amazon SNS Developer Guide*.
2412
2562
  #
2413
2563
  #
2414
2564
  #
@@ -2452,7 +2602,7 @@ module Aws::SNS
2452
2602
  params: params,
2453
2603
  config: config)
2454
2604
  context[:gem_name] = 'aws-sdk-sns'
2455
- context[:gem_version] = '1.46.0'
2605
+ context[:gem_version] = '1.50.0'
2456
2606
  Seahorse::Client::Request.new(handlers, context)
2457
2607
  end
2458
2608