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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-sns/client.rb +214 -84
- data/lib/aws-sdk-sns/client_api.rb +89 -0
- data/lib/aws-sdk-sns/errors.rb +80 -0
- data/lib/aws-sdk-sns/platform_application.rb +44 -7
- data/lib/aws-sdk-sns/platform_endpoint.rb +3 -3
- data/lib/aws-sdk-sns/subscription.rb +2 -1
- data/lib/aws-sdk-sns/topic.rb +8 -7
- data/lib/aws-sdk-sns/types.rb +433 -38
- data/lib/aws-sdk-sns.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ccf051223e64ac51e8693e66a70a9734d34c6693c1edd05aa6775c5778340b19
|
4
|
+
data.tar.gz: 7d140b3c31dcd00f28b707ba494260dfca7ef999b1cc0ae537c44c41570bbee8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a0535b9a3e81a8f0b051f62cfdd4a4cd068357960239fbf918cf4712d4777353a41f8ca5fd41db992473729bed17e55af27034c64b4c6cc398800da554a7113c
|
7
|
+
data.tar.gz: bbcdc2e540bf171df3da5a045a049c120088299f8c59364179291360e741cc4fab4af05709c18063066f8f5f16d7737c409ee92a7d8757307bf092ae15a590be
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.48.0 (2021-11-17)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* 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.
|
8
|
+
|
4
9
|
1.47.0 (2021-11-04)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.48.0
|
data/lib/aws-sdk-sns/client.rb
CHANGED
@@ -337,7 +337,8 @@ module Aws::SNS
|
|
337
337
|
# @!group API Operations
|
338
338
|
|
339
339
|
# Adds a statement to a topic's access control policy, granting access
|
340
|
-
# for the specified accounts to the specified
|
340
|
+
# for the specified Amazon Web Services accounts to the specified
|
341
|
+
# actions.
|
341
342
|
#
|
342
343
|
# @option params [required, String] :topic_arn
|
343
344
|
# The ARN of the topic whose access control policy you wish to modify.
|
@@ -346,9 +347,10 @@ module Aws::SNS
|
|
346
347
|
# A unique identifier for the new policy statement.
|
347
348
|
#
|
348
349
|
# @option params [required, Array<String>] :aws_account_id
|
349
|
-
# The account IDs of the users (principals) who will
|
350
|
-
# the specified actions. The users must have
|
351
|
-
# be signed up for this
|
350
|
+
# The Amazon Web Services account IDs of the users (principals) who will
|
351
|
+
# be given access to the specified actions. The users must have Amazon
|
352
|
+
# Web Services account, but do not need to be signed up for this
|
353
|
+
# service.
|
352
354
|
#
|
353
355
|
# @option params [required, Array<String>] :action_name
|
354
356
|
# The action you want to allow for the specified principal(s).
|
@@ -376,8 +378,8 @@ module Aws::SNS
|
|
376
378
|
end
|
377
379
|
|
378
380
|
# Accepts a phone number and indicates whether the phone holder has
|
379
|
-
# opted out of receiving SMS messages from your
|
380
|
-
# SMS messages to a number that is opted out.
|
381
|
+
# opted out of receiving SMS messages from your Amazon Web Services
|
382
|
+
# account. You cannot send SMS messages to a number that is opted out.
|
381
383
|
#
|
382
384
|
# To resume sending messages, you can opt in the number by using the
|
383
385
|
# `OptInPhoneNumber` action.
|
@@ -467,8 +469,13 @@ module Aws::SNS
|
|
467
469
|
# * For `Baidu`, `PlatformPrincipal` is `API key` and
|
468
470
|
# `PlatformCredential` is `secret key`.
|
469
471
|
#
|
470
|
-
# * For `APNS` and `APNS_SANDBOX
|
471
|
-
# certificate` and `PlatformCredential` is
|
472
|
+
# * For `APNS` and `APNS_SANDBOX` using certificate credentials,
|
473
|
+
# `PlatformPrincipal` is `SSL certificate` and `PlatformCredential` is
|
474
|
+
# `private key`.
|
475
|
+
#
|
476
|
+
# * For `APNS` and `APNS_SANDBOX` using token credentials,
|
477
|
+
# `PlatformPrincipal` is `signing key ID` and `PlatformCredential` is
|
478
|
+
# `signing key`.
|
472
479
|
#
|
473
480
|
# * For `GCM` (Firebase Cloud Messaging), there is no
|
474
481
|
# `PlatformPrincipal` and the `PlatformCredential` is `API key`.
|
@@ -599,17 +606,19 @@ module Aws::SNS
|
|
599
606
|
req.send_request(options)
|
600
607
|
end
|
601
608
|
|
602
|
-
# Adds a destination phone number to an
|
603
|
-
# sends a one-time password (OTP) to that phone
|
609
|
+
# Adds a destination phone number to an Amazon Web Services account in
|
610
|
+
# the SMS sandbox and sends a one-time password (OTP) to that phone
|
611
|
+
# number.
|
604
612
|
#
|
605
|
-
# When you start using Amazon SNS to send SMS messages, your
|
606
|
-
# in the *SMS sandbox*. The SMS sandbox provides a
|
607
|
-
# you to try Amazon SNS features without risking
|
608
|
-
# SMS sender. While your
|
609
|
-
#
|
610
|
-
#
|
611
|
-
#
|
612
|
-
#
|
613
|
+
# When you start using Amazon SNS to send SMS messages, your Amazon Web
|
614
|
+
# Services account is in the *SMS sandbox*. The SMS sandbox provides a
|
615
|
+
# safe environment for you to try Amazon SNS features without risking
|
616
|
+
# your reputation as an SMS sender. While your Amazon Web Services
|
617
|
+
# account is in the SMS sandbox, you can use all of the features of
|
618
|
+
# Amazon SNS. However, you can send SMS messages only to verified
|
619
|
+
# destination phone numbers. For more information, including how to move
|
620
|
+
# out of the sandbox to send messages without restrictions, see [SMS
|
621
|
+
# sandbox][1] in the *Amazon SNS Developer Guide*.
|
613
622
|
#
|
614
623
|
#
|
615
624
|
#
|
@@ -816,17 +825,18 @@ module Aws::SNS
|
|
816
825
|
req.send_request(options)
|
817
826
|
end
|
818
827
|
|
819
|
-
# Deletes an account's verified or pending phone
|
820
|
-
# sandbox.
|
828
|
+
# Deletes an Amazon Web Services account's verified or pending phone
|
829
|
+
# number from the SMS sandbox.
|
821
830
|
#
|
822
|
-
# When you start using Amazon SNS to send SMS messages, your
|
823
|
-
# in the *SMS sandbox*. The SMS sandbox provides a
|
824
|
-
# you to try Amazon SNS features without risking
|
825
|
-
# SMS sender. While your
|
826
|
-
#
|
827
|
-
#
|
828
|
-
#
|
829
|
-
#
|
831
|
+
# When you start using Amazon SNS to send SMS messages, your Amazon Web
|
832
|
+
# Services account is in the *SMS sandbox*. The SMS sandbox provides a
|
833
|
+
# safe environment for you to try Amazon SNS features without risking
|
834
|
+
# your reputation as an SMS sender. While your Amazon Web Services
|
835
|
+
# account is in the SMS sandbox, you can use all of the features of
|
836
|
+
# Amazon SNS. However, you can send SMS messages only to verified
|
837
|
+
# destination phone numbers. For more information, including how to move
|
838
|
+
# out of the sandbox to send messages without restrictions, see [SMS
|
839
|
+
# sandbox][1] in the *Amazon SNS Developer Guide*.
|
830
840
|
#
|
831
841
|
#
|
832
842
|
#
|
@@ -949,7 +959,8 @@ module Aws::SNS
|
|
949
959
|
req.send_request(options)
|
950
960
|
end
|
951
961
|
|
952
|
-
# Returns the settings for sending SMS messages from your
|
962
|
+
# Returns the settings for sending SMS messages from your Amazon Web
|
963
|
+
# Services account.
|
953
964
|
#
|
954
965
|
# These settings are set with the `SetSMSAttributes` action.
|
955
966
|
#
|
@@ -990,17 +1001,18 @@ module Aws::SNS
|
|
990
1001
|
req.send_request(options)
|
991
1002
|
end
|
992
1003
|
|
993
|
-
# Retrieves the SMS sandbox status for the calling
|
994
|
-
# Region.
|
1004
|
+
# Retrieves the SMS sandbox status for the calling Amazon Web Services
|
1005
|
+
# account in the target Amazon Web Services Region.
|
995
1006
|
#
|
996
|
-
# When you start using Amazon SNS to send SMS messages, your
|
997
|
-
# in the *SMS sandbox*. The SMS sandbox provides a
|
998
|
-
# you to try Amazon SNS features without risking
|
999
|
-
# SMS sender. While your
|
1000
|
-
#
|
1001
|
-
#
|
1002
|
-
#
|
1003
|
-
#
|
1007
|
+
# When you start using Amazon SNS to send SMS messages, your Amazon Web
|
1008
|
+
# Services account is in the *SMS sandbox*. The SMS sandbox provides a
|
1009
|
+
# safe environment for you to try Amazon SNS features without risking
|
1010
|
+
# your reputation as an SMS sender. While your Amazon Web Services
|
1011
|
+
# account is in the SMS sandbox, you can use all of the features of
|
1012
|
+
# Amazon SNS. However, you can send SMS messages only to verified
|
1013
|
+
# destination phone numbers. For more information, including how to move
|
1014
|
+
# out of the sandbox to send messages without restrictions, see [SMS
|
1015
|
+
# sandbox][1] in the *Amazon SNS Developer Guide*.
|
1004
1016
|
#
|
1005
1017
|
#
|
1006
1018
|
#
|
@@ -1139,9 +1151,10 @@ module Aws::SNS
|
|
1139
1151
|
req.send_request(options)
|
1140
1152
|
end
|
1141
1153
|
|
1142
|
-
# Lists the calling account's dedicated origination
|
1143
|
-
# metadata. For more information about origination
|
1144
|
-
# [Origination numbers][1] in the *Amazon SNS Developer
|
1154
|
+
# Lists the calling Amazon Web Services account's dedicated origination
|
1155
|
+
# numbers and their metadata. For more information about origination
|
1156
|
+
# numbers, see [Origination numbers][1] in the *Amazon SNS Developer
|
1157
|
+
# Guide*.
|
1145
1158
|
#
|
1146
1159
|
#
|
1147
1160
|
#
|
@@ -1284,17 +1297,18 @@ module Aws::SNS
|
|
1284
1297
|
req.send_request(options)
|
1285
1298
|
end
|
1286
1299
|
|
1287
|
-
# Lists the calling account's current verified and
|
1288
|
-
# phone numbers in the SMS sandbox.
|
1300
|
+
# Lists the calling Amazon Web Services account's current verified and
|
1301
|
+
# pending destination phone numbers in the SMS sandbox.
|
1289
1302
|
#
|
1290
|
-
# When you start using Amazon SNS to send SMS messages, your
|
1291
|
-
# in the *SMS sandbox*. The SMS sandbox provides a
|
1292
|
-
# you to try Amazon SNS features without risking
|
1293
|
-
# SMS sender. While your
|
1294
|
-
#
|
1295
|
-
#
|
1296
|
-
#
|
1297
|
-
#
|
1303
|
+
# When you start using Amazon SNS to send SMS messages, your Amazon Web
|
1304
|
+
# Services account is in the *SMS sandbox*. The SMS sandbox provides a
|
1305
|
+
# safe environment for you to try Amazon SNS features without risking
|
1306
|
+
# your reputation as an SMS sender. While your Amazon Web Services
|
1307
|
+
# account is in the SMS sandbox, you can use all of the features of
|
1308
|
+
# Amazon SNS. However, you can send SMS messages only to verified
|
1309
|
+
# destination phone numbers. For more information, including how to move
|
1310
|
+
# out of the sandbox to send messages without restrictions, see [SMS
|
1311
|
+
# sandbox][1] in the *Amazon SNS Developer Guide*.
|
1298
1312
|
#
|
1299
1313
|
#
|
1300
1314
|
#
|
@@ -1534,10 +1548,10 @@ module Aws::SNS
|
|
1534
1548
|
# message depends on the notification protocol for each subscribed
|
1535
1549
|
# endpoint.
|
1536
1550
|
#
|
1537
|
-
# When a `messageId` is returned, the message
|
1538
|
-
#
|
1551
|
+
# When a `messageId` is returned, the message is saved and Amazon SNS
|
1552
|
+
# immediately deliverers it to subscribers.
|
1539
1553
|
#
|
1540
|
-
# To use the `Publish` action for
|
1554
|
+
# To use the `Publish` action for publishing a message to a mobile
|
1541
1555
|
# endpoint, such as an app on a Kindle device or mobile phone, you must
|
1542
1556
|
# specify the EndpointArn for the TargetArn parameter. The EndpointArn
|
1543
1557
|
# is returned when making a call with the `CreatePlatformEndpoint`
|
@@ -1547,7 +1561,7 @@ module Aws::SNS
|
|
1547
1561
|
# Platform-Specific Payloads in Messages to Mobile Devices][1].
|
1548
1562
|
#
|
1549
1563
|
# You can publish messages only to topics and endpoints in the same
|
1550
|
-
# Region.
|
1564
|
+
# Amazon Web Services Region.
|
1551
1565
|
#
|
1552
1566
|
#
|
1553
1567
|
#
|
@@ -1658,7 +1672,7 @@ module Aws::SNS
|
|
1658
1672
|
# @option params [String] :message_deduplication_id
|
1659
1673
|
# This parameter applies only to FIFO (first-in-first-out) topics. The
|
1660
1674
|
# `MessageDeduplicationId` can contain up to 128 alphanumeric characters
|
1661
|
-
# (a-z, A-Z, 0-9) and punctuation ``
|
1675
|
+
# `(a-z, A-Z, 0-9)` and punctuation ``
|
1662
1676
|
# (!"#$%&'()*+,-./:;<=>?@[\]^_`\{|\}~) ``.
|
1663
1677
|
#
|
1664
1678
|
# Every message must have a unique `MessageDeduplicationId`, which is a
|
@@ -1673,8 +1687,8 @@ module Aws::SNS
|
|
1673
1687
|
#
|
1674
1688
|
# @option params [String] :message_group_id
|
1675
1689
|
# This parameter applies only to FIFO (first-in-first-out) topics. The
|
1676
|
-
# `MessageGroupId` can contain up to 128 alphanumeric characters (a-z,
|
1677
|
-
# A-Z, 0-9) and punctuation `` (!"#$%&'()*+,-./:;<=>?@[\]^_`\{|\}~) ``.
|
1690
|
+
# `MessageGroupId` can contain up to 128 alphanumeric characters `(a-z,
|
1691
|
+
# A-Z, 0-9)` and punctuation `` (!"#$%&'()*+,-./:;<=>?@[\]^_`\{|\}~) ``.
|
1678
1692
|
#
|
1679
1693
|
# The `MessageGroupId` is a tag that specifies that a message belongs to
|
1680
1694
|
# a specific message group. Messages that belong to the same message
|
@@ -1721,6 +1735,92 @@ module Aws::SNS
|
|
1721
1735
|
req.send_request(options)
|
1722
1736
|
end
|
1723
1737
|
|
1738
|
+
# Publishes up to ten messages to the specified topic. This is a batch
|
1739
|
+
# version of `Publish`. For FIFO topics, multiple messages within a
|
1740
|
+
# single batch are published in the order they are sent, and messages
|
1741
|
+
# are deduplicated within the batch and across batches for 5 minutes.
|
1742
|
+
#
|
1743
|
+
# The result of publishing each message is reported individually in the
|
1744
|
+
# response. Because the batch request can result in a combination of
|
1745
|
+
# successful and unsuccessful actions, you should check for batch errors
|
1746
|
+
# even when the call returns an HTTP status code of `200`.
|
1747
|
+
#
|
1748
|
+
# The maximum allowed individual message size and the maximum total
|
1749
|
+
# payload size (the sum of the individual lengths of all of the batched
|
1750
|
+
# messages) are both 256 KB (262,144 bytes).
|
1751
|
+
#
|
1752
|
+
# Some actions take lists of parameters. These lists are specified using
|
1753
|
+
# the `param.n` notation. Values of `n` are integers starting from 1.
|
1754
|
+
# For example, a parameter list with two elements looks like this:
|
1755
|
+
#
|
1756
|
+
# &AttributeName.1=first
|
1757
|
+
#
|
1758
|
+
# &AttributeName.2=second
|
1759
|
+
#
|
1760
|
+
# If you send a batch message to a topic, Amazon SNS publishes the batch
|
1761
|
+
# message to each endpoint that is subscribed to the topic. The format
|
1762
|
+
# of the batch message depends on the notification protocol for each
|
1763
|
+
# subscribed endpoint.
|
1764
|
+
#
|
1765
|
+
# When a `messageId` is returned, the batch message is saved and Amazon
|
1766
|
+
# SNS immediately delivers the message to subscribers.
|
1767
|
+
#
|
1768
|
+
# @option params [required, String] :topic_arn
|
1769
|
+
# The Amazon resource name (ARN) of the topic you want to batch publish
|
1770
|
+
# to.
|
1771
|
+
#
|
1772
|
+
# @option params [required, Array<Types::PublishBatchRequestEntry>] :publish_batch_request_entries
|
1773
|
+
# A list of `PublishBatch` request entries to be sent to the SNS topic.
|
1774
|
+
#
|
1775
|
+
# @return [Types::PublishBatchResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1776
|
+
#
|
1777
|
+
# * {Types::PublishBatchResponse#successful #successful} => Array<Types::PublishBatchResultEntry>
|
1778
|
+
# * {Types::PublishBatchResponse#failed #failed} => Array<Types::BatchResultErrorEntry>
|
1779
|
+
#
|
1780
|
+
# @example Request syntax with placeholder values
|
1781
|
+
#
|
1782
|
+
# resp = client.publish_batch({
|
1783
|
+
# topic_arn: "topicARN", # required
|
1784
|
+
# publish_batch_request_entries: [ # required
|
1785
|
+
# {
|
1786
|
+
# id: "String", # required
|
1787
|
+
# message: "message", # required
|
1788
|
+
# subject: "subject",
|
1789
|
+
# message_structure: "messageStructure",
|
1790
|
+
# message_attributes: {
|
1791
|
+
# "String" => {
|
1792
|
+
# data_type: "String", # required
|
1793
|
+
# string_value: "String",
|
1794
|
+
# binary_value: "data",
|
1795
|
+
# },
|
1796
|
+
# },
|
1797
|
+
# message_deduplication_id: "String",
|
1798
|
+
# message_group_id: "String",
|
1799
|
+
# },
|
1800
|
+
# ],
|
1801
|
+
# })
|
1802
|
+
#
|
1803
|
+
# @example Response structure
|
1804
|
+
#
|
1805
|
+
# resp.successful #=> Array
|
1806
|
+
# resp.successful[0].id #=> String
|
1807
|
+
# resp.successful[0].message_id #=> String
|
1808
|
+
# resp.successful[0].sequence_number #=> String
|
1809
|
+
# resp.failed #=> Array
|
1810
|
+
# resp.failed[0].id #=> String
|
1811
|
+
# resp.failed[0].code #=> String
|
1812
|
+
# resp.failed[0].message #=> String
|
1813
|
+
# resp.failed[0].sender_fault #=> Boolean
|
1814
|
+
#
|
1815
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/PublishBatch AWS API Documentation
|
1816
|
+
#
|
1817
|
+
# @overload publish_batch(params = {})
|
1818
|
+
# @param [Hash] params ({})
|
1819
|
+
def publish_batch(params = {}, options = {})
|
1820
|
+
req = build_request(:publish_batch, params)
|
1821
|
+
req.send_request(options)
|
1822
|
+
end
|
1823
|
+
|
1724
1824
|
# Removes a statement from a topic's access control policy.
|
1725
1825
|
#
|
1726
1826
|
# @option params [required, String] :topic_arn
|
@@ -1817,15 +1917,34 @@ module Aws::SNS
|
|
1817
1917
|
# include the following:
|
1818
1918
|
#
|
1819
1919
|
# * `PlatformCredential` – The credential received from the notification
|
1820
|
-
# service.
|
1821
|
-
#
|
1822
|
-
#
|
1823
|
-
#
|
1920
|
+
# service.
|
1921
|
+
#
|
1922
|
+
# * For ADM, `PlatformCredential`is client secret.
|
1923
|
+
#
|
1924
|
+
# * For Apple Services using certificate credentials,
|
1925
|
+
# `PlatformCredential` is private key.
|
1926
|
+
#
|
1927
|
+
# * For Apple Services using token credentials, `PlatformCredential`
|
1928
|
+
# is signing key.
|
1929
|
+
#
|
1930
|
+
# * For GCM (Firebase Cloud Messaging), `PlatformCredential` is API
|
1931
|
+
# key.
|
1932
|
+
# ^
|
1824
1933
|
#
|
1825
1934
|
# * `PlatformPrincipal` – The principal received from the notification
|
1826
|
-
# service.
|
1827
|
-
#
|
1828
|
-
#
|
1935
|
+
# service.
|
1936
|
+
#
|
1937
|
+
# * For ADM, `PlatformPrincipal`is client id.
|
1938
|
+
#
|
1939
|
+
# * For Apple Services using certificate credentials,
|
1940
|
+
# `PlatformPrincipal` is SSL certificate.
|
1941
|
+
#
|
1942
|
+
# * For Apple Services using token credentials, `PlatformPrincipal` is
|
1943
|
+
# signing key ID.
|
1944
|
+
#
|
1945
|
+
# * For GCM (Firebase Cloud Messaging), there is no
|
1946
|
+
# `PlatformPrincipal`.
|
1947
|
+
# ^
|
1829
1948
|
#
|
1830
1949
|
# * `EventEndpointCreated` – Topic ARN to which `EndpointCreated` event
|
1831
1950
|
# notifications are sent.
|
@@ -1849,6 +1968,15 @@ module Aws::SNS
|
|
1849
1968
|
# * `SuccessFeedbackSampleRate` – Sample rate percentage (0-100) of
|
1850
1969
|
# successfully delivered messages.
|
1851
1970
|
#
|
1971
|
+
# The following attributes only apply to `APNs` token-based
|
1972
|
+
# authentication:
|
1973
|
+
#
|
1974
|
+
# * `ApplePlatformTeamID` – The identifier that's assigned to your
|
1975
|
+
# Apple developer account team.
|
1976
|
+
#
|
1977
|
+
# * `ApplePlatformBundleID` – The bundle identifier that's assigned to
|
1978
|
+
# your iOS app.
|
1979
|
+
#
|
1852
1980
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1853
1981
|
#
|
1854
1982
|
# @example Request syntax with placeholder values
|
@@ -1888,8 +2016,9 @@ module Aws::SNS
|
|
1888
2016
|
# [1]: https://docs.aws.amazon.com/sns/latest/dg/sms_publish-to-phone.html
|
1889
2017
|
#
|
1890
2018
|
# @option params [required, Hash<String,String>] :attributes
|
1891
|
-
# The default settings for sending SMS messages from your
|
1892
|
-
# can set values for the following attribute
|
2019
|
+
# The default settings for sending SMS messages from your Amazon Web
|
2020
|
+
# Services account. You can set values for the following attribute
|
2021
|
+
# names:
|
1893
2022
|
#
|
1894
2023
|
# `MonthlySpendLimit` – The maximum amount in USD that you are willing
|
1895
2024
|
# to spend each month to send SMS messages. When Amazon SNS determines
|
@@ -1940,7 +2069,7 @@ module Aws::SNS
|
|
1940
2069
|
# daily SMS usage reports from Amazon SNS. Each day, Amazon SNS will
|
1941
2070
|
# deliver a usage report as a CSV file to the bucket. The report
|
1942
2071
|
# includes the following information for each SMS message that was
|
1943
|
-
# successfully delivered by your account:
|
2072
|
+
# successfully delivered by your Amazon Web Services account:
|
1944
2073
|
#
|
1945
2074
|
# * Time that the message was published (in UTC)
|
1946
2075
|
#
|
@@ -2141,8 +2270,8 @@ module Aws::SNS
|
|
2141
2270
|
|
2142
2271
|
# Subscribes an endpoint to an Amazon SNS topic. If the endpoint type is
|
2143
2272
|
# HTTP/S or email, or if the endpoint and the topic are not in the same
|
2144
|
-
# account, the endpoint owner must run the
|
2145
|
-
# to confirm the subscription.
|
2273
|
+
# Amazon Web Services account, the endpoint owner must run the
|
2274
|
+
# `ConfirmSubscription` action to confirm the subscription.
|
2146
2275
|
#
|
2147
2276
|
# You call the `ConfirmSubscription` action with the token from the
|
2148
2277
|
# subscription response. Confirmation tokens are valid for three days.
|
@@ -2307,9 +2436,9 @@ module Aws::SNS
|
|
2307
2436
|
# * A new tag with a key identical to that of an existing tag overwrites
|
2308
2437
|
# the existing tag.
|
2309
2438
|
#
|
2310
|
-
# * Tagging actions are limited to 10 TPS per
|
2311
|
-
#
|
2312
|
-
# support request][2].
|
2439
|
+
# * Tagging actions are limited to 10 TPS per Amazon Web Services
|
2440
|
+
# account, per Amazon Web Services Region. If your application
|
2441
|
+
# requires a higher throughput, file a [technical support request][2].
|
2313
2442
|
#
|
2314
2443
|
#
|
2315
2444
|
#
|
@@ -2408,16 +2537,17 @@ module Aws::SNS
|
|
2408
2537
|
end
|
2409
2538
|
|
2410
2539
|
# Verifies a destination phone number with a one-time password (OTP) for
|
2411
|
-
# the calling account.
|
2540
|
+
# the calling Amazon Web Services account.
|
2412
2541
|
#
|
2413
|
-
# When you start using Amazon SNS to send SMS messages, your
|
2414
|
-
# in the *SMS sandbox*. The SMS sandbox provides a
|
2415
|
-
# you to try Amazon SNS features without risking
|
2416
|
-
# SMS sender. While your
|
2417
|
-
#
|
2418
|
-
#
|
2419
|
-
#
|
2420
|
-
#
|
2542
|
+
# When you start using Amazon SNS to send SMS messages, your Amazon Web
|
2543
|
+
# Services account is in the *SMS sandbox*. The SMS sandbox provides a
|
2544
|
+
# safe environment for you to try Amazon SNS features without risking
|
2545
|
+
# your reputation as an SMS sender. While your Amazon Web Services
|
2546
|
+
# account is in the SMS sandbox, you can use all of the features of
|
2547
|
+
# Amazon SNS. However, you can send SMS messages only to verified
|
2548
|
+
# destination phone numbers. For more information, including how to move
|
2549
|
+
# out of the sandbox to send messages without restrictions, see [SMS
|
2550
|
+
# sandbox][1] in the *Amazon SNS Developer Guide*.
|
2421
2551
|
#
|
2422
2552
|
#
|
2423
2553
|
#
|
@@ -2461,7 +2591,7 @@ module Aws::SNS
|
|
2461
2591
|
params: params,
|
2462
2592
|
config: config)
|
2463
2593
|
context[:gem_name] = 'aws-sdk-sns'
|
2464
|
-
context[:gem_version] = '1.
|
2594
|
+
context[:gem_version] = '1.48.0'
|
2465
2595
|
Seahorse::Client::Request.new(handlers, context)
|
2466
2596
|
end
|
2467
2597
|
|