aws-sdk-sns 1.45.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 +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-sns/client.rb +223 -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/message_verifier.rb +11 -1
- 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 +4 -4
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,26 @@
|
|
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
|
+
|
9
|
+
1.47.0 (2021-11-04)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
1.46.0 (2021-10-18)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
19
|
+
1.45.1 (2021-10-15)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Issue - Add additional validation to the SNS SigningCert.
|
23
|
+
|
4
24
|
1.45.0 (2021-09-01)
|
5
25
|
------------------
|
6
26
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.48.0
|
data/lib/aws-sdk-sns/client.rb
CHANGED
@@ -275,6 +275,15 @@ module Aws::SNS
|
|
275
275
|
# ** Please note ** When response stubbing is enabled, no HTTP
|
276
276
|
# requests are made, and retries are disabled.
|
277
277
|
#
|
278
|
+
# @option options [Boolean] :use_dualstack_endpoint
|
279
|
+
# When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
|
280
|
+
# will be used if available.
|
281
|
+
#
|
282
|
+
# @option options [Boolean] :use_fips_endpoint
|
283
|
+
# When set to `true`, fips compatible endpoints will be used if available.
|
284
|
+
# When a `fips` region is used, the region is normalized and this config
|
285
|
+
# is set to `true`.
|
286
|
+
#
|
278
287
|
# @option options [Boolean] :validate_params (true)
|
279
288
|
# When `true`, request parameters are validated before
|
280
289
|
# sending the request.
|
@@ -328,7 +337,8 @@ module Aws::SNS
|
|
328
337
|
# @!group API Operations
|
329
338
|
|
330
339
|
# Adds a statement to a topic's access control policy, granting access
|
331
|
-
# for the specified accounts to the specified
|
340
|
+
# for the specified Amazon Web Services accounts to the specified
|
341
|
+
# actions.
|
332
342
|
#
|
333
343
|
# @option params [required, String] :topic_arn
|
334
344
|
# The ARN of the topic whose access control policy you wish to modify.
|
@@ -337,9 +347,10 @@ module Aws::SNS
|
|
337
347
|
# A unique identifier for the new policy statement.
|
338
348
|
#
|
339
349
|
# @option params [required, Array<String>] :aws_account_id
|
340
|
-
# The account IDs of the users (principals) who will
|
341
|
-
# the specified actions. The users must have
|
342
|
-
# 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.
|
343
354
|
#
|
344
355
|
# @option params [required, Array<String>] :action_name
|
345
356
|
# The action you want to allow for the specified principal(s).
|
@@ -367,8 +378,8 @@ module Aws::SNS
|
|
367
378
|
end
|
368
379
|
|
369
380
|
# Accepts a phone number and indicates whether the phone holder has
|
370
|
-
# opted out of receiving SMS messages from your
|
371
|
-
# 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.
|
372
383
|
#
|
373
384
|
# To resume sending messages, you can opt in the number by using the
|
374
385
|
# `OptInPhoneNumber` action.
|
@@ -458,8 +469,13 @@ module Aws::SNS
|
|
458
469
|
# * For `Baidu`, `PlatformPrincipal` is `API key` and
|
459
470
|
# `PlatformCredential` is `secret key`.
|
460
471
|
#
|
461
|
-
# * For `APNS` and `APNS_SANDBOX
|
462
|
-
# 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`.
|
463
479
|
#
|
464
480
|
# * For `GCM` (Firebase Cloud Messaging), there is no
|
465
481
|
# `PlatformPrincipal` and the `PlatformCredential` is `API key`.
|
@@ -590,17 +606,19 @@ module Aws::SNS
|
|
590
606
|
req.send_request(options)
|
591
607
|
end
|
592
608
|
|
593
|
-
# Adds a destination phone number to an
|
594
|
-
# 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.
|
595
612
|
#
|
596
|
-
# When you start using Amazon SNS to send SMS messages, your
|
597
|
-
# in the *SMS sandbox*. The SMS sandbox provides a
|
598
|
-
# you to try Amazon SNS features without risking
|
599
|
-
# SMS sender. While your
|
600
|
-
#
|
601
|
-
#
|
602
|
-
#
|
603
|
-
#
|
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*.
|
604
622
|
#
|
605
623
|
#
|
606
624
|
#
|
@@ -807,17 +825,18 @@ module Aws::SNS
|
|
807
825
|
req.send_request(options)
|
808
826
|
end
|
809
827
|
|
810
|
-
# Deletes an account's verified or pending phone
|
811
|
-
# sandbox.
|
828
|
+
# Deletes an Amazon Web Services account's verified or pending phone
|
829
|
+
# number from the SMS sandbox.
|
812
830
|
#
|
813
|
-
# When you start using Amazon SNS to send SMS messages, your
|
814
|
-
# in the *SMS sandbox*. The SMS sandbox provides a
|
815
|
-
# you to try Amazon SNS features without risking
|
816
|
-
# SMS sender. While your
|
817
|
-
#
|
818
|
-
#
|
819
|
-
#
|
820
|
-
#
|
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*.
|
821
840
|
#
|
822
841
|
#
|
823
842
|
#
|
@@ -940,7 +959,8 @@ module Aws::SNS
|
|
940
959
|
req.send_request(options)
|
941
960
|
end
|
942
961
|
|
943
|
-
# Returns the settings for sending SMS messages from your
|
962
|
+
# Returns the settings for sending SMS messages from your Amazon Web
|
963
|
+
# Services account.
|
944
964
|
#
|
945
965
|
# These settings are set with the `SetSMSAttributes` action.
|
946
966
|
#
|
@@ -981,17 +1001,18 @@ module Aws::SNS
|
|
981
1001
|
req.send_request(options)
|
982
1002
|
end
|
983
1003
|
|
984
|
-
# Retrieves the SMS sandbox status for the calling
|
985
|
-
# Region.
|
1004
|
+
# Retrieves the SMS sandbox status for the calling Amazon Web Services
|
1005
|
+
# account in the target Amazon Web Services Region.
|
986
1006
|
#
|
987
|
-
# When you start using Amazon SNS to send SMS messages, your
|
988
|
-
# in the *SMS sandbox*. The SMS sandbox provides a
|
989
|
-
# you to try Amazon SNS features without risking
|
990
|
-
# SMS sender. While your
|
991
|
-
#
|
992
|
-
#
|
993
|
-
#
|
994
|
-
#
|
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*.
|
995
1016
|
#
|
996
1017
|
#
|
997
1018
|
#
|
@@ -1130,9 +1151,10 @@ module Aws::SNS
|
|
1130
1151
|
req.send_request(options)
|
1131
1152
|
end
|
1132
1153
|
|
1133
|
-
# Lists the calling account's dedicated origination
|
1134
|
-
# metadata. For more information about origination
|
1135
|
-
# [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*.
|
1136
1158
|
#
|
1137
1159
|
#
|
1138
1160
|
#
|
@@ -1275,17 +1297,18 @@ module Aws::SNS
|
|
1275
1297
|
req.send_request(options)
|
1276
1298
|
end
|
1277
1299
|
|
1278
|
-
# Lists the calling account's current verified and
|
1279
|
-
# 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.
|
1280
1302
|
#
|
1281
|
-
# When you start using Amazon SNS to send SMS messages, your
|
1282
|
-
# in the *SMS sandbox*. The SMS sandbox provides a
|
1283
|
-
# you to try Amazon SNS features without risking
|
1284
|
-
# SMS sender. While your
|
1285
|
-
#
|
1286
|
-
#
|
1287
|
-
#
|
1288
|
-
#
|
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*.
|
1289
1312
|
#
|
1290
1313
|
#
|
1291
1314
|
#
|
@@ -1525,10 +1548,10 @@ module Aws::SNS
|
|
1525
1548
|
# message depends on the notification protocol for each subscribed
|
1526
1549
|
# endpoint.
|
1527
1550
|
#
|
1528
|
-
# When a `messageId` is returned, the message
|
1529
|
-
#
|
1551
|
+
# When a `messageId` is returned, the message is saved and Amazon SNS
|
1552
|
+
# immediately deliverers it to subscribers.
|
1530
1553
|
#
|
1531
|
-
# To use the `Publish` action for
|
1554
|
+
# To use the `Publish` action for publishing a message to a mobile
|
1532
1555
|
# endpoint, such as an app on a Kindle device or mobile phone, you must
|
1533
1556
|
# specify the EndpointArn for the TargetArn parameter. The EndpointArn
|
1534
1557
|
# is returned when making a call with the `CreatePlatformEndpoint`
|
@@ -1538,7 +1561,7 @@ module Aws::SNS
|
|
1538
1561
|
# Platform-Specific Payloads in Messages to Mobile Devices][1].
|
1539
1562
|
#
|
1540
1563
|
# You can publish messages only to topics and endpoints in the same
|
1541
|
-
# Region.
|
1564
|
+
# Amazon Web Services Region.
|
1542
1565
|
#
|
1543
1566
|
#
|
1544
1567
|
#
|
@@ -1649,7 +1672,7 @@ module Aws::SNS
|
|
1649
1672
|
# @option params [String] :message_deduplication_id
|
1650
1673
|
# This parameter applies only to FIFO (first-in-first-out) topics. The
|
1651
1674
|
# `MessageDeduplicationId` can contain up to 128 alphanumeric characters
|
1652
|
-
# (a-z, A-Z, 0-9) and punctuation ``
|
1675
|
+
# `(a-z, A-Z, 0-9)` and punctuation ``
|
1653
1676
|
# (!"#$%&'()*+,-./:;<=>?@[\]^_`\{|\}~) ``.
|
1654
1677
|
#
|
1655
1678
|
# Every message must have a unique `MessageDeduplicationId`, which is a
|
@@ -1664,8 +1687,8 @@ module Aws::SNS
|
|
1664
1687
|
#
|
1665
1688
|
# @option params [String] :message_group_id
|
1666
1689
|
# 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 `` (!"#$%&'()*+,-./:;<=>?@[\]^_`\{|\}~) ``.
|
1690
|
+
# `MessageGroupId` can contain up to 128 alphanumeric characters `(a-z,
|
1691
|
+
# A-Z, 0-9)` and punctuation `` (!"#$%&'()*+,-./:;<=>?@[\]^_`\{|\}~) ``.
|
1669
1692
|
#
|
1670
1693
|
# The `MessageGroupId` is a tag that specifies that a message belongs to
|
1671
1694
|
# a specific message group. Messages that belong to the same message
|
@@ -1712,6 +1735,92 @@ module Aws::SNS
|
|
1712
1735
|
req.send_request(options)
|
1713
1736
|
end
|
1714
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
|
+
|
1715
1824
|
# Removes a statement from a topic's access control policy.
|
1716
1825
|
#
|
1717
1826
|
# @option params [required, String] :topic_arn
|
@@ -1808,15 +1917,34 @@ module Aws::SNS
|
|
1808
1917
|
# include the following:
|
1809
1918
|
#
|
1810
1919
|
# * `PlatformCredential` – The credential received from the notification
|
1811
|
-
# service.
|
1812
|
-
#
|
1813
|
-
#
|
1814
|
-
#
|
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
|
+
# ^
|
1815
1933
|
#
|
1816
1934
|
# * `PlatformPrincipal` – The principal received from the notification
|
1817
|
-
# service.
|
1818
|
-
#
|
1819
|
-
#
|
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
|
+
# ^
|
1820
1948
|
#
|
1821
1949
|
# * `EventEndpointCreated` – Topic ARN to which `EndpointCreated` event
|
1822
1950
|
# notifications are sent.
|
@@ -1840,6 +1968,15 @@ module Aws::SNS
|
|
1840
1968
|
# * `SuccessFeedbackSampleRate` – Sample rate percentage (0-100) of
|
1841
1969
|
# successfully delivered messages.
|
1842
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
|
+
#
|
1843
1980
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1844
1981
|
#
|
1845
1982
|
# @example Request syntax with placeholder values
|
@@ -1879,8 +2016,9 @@ module Aws::SNS
|
|
1879
2016
|
# [1]: https://docs.aws.amazon.com/sns/latest/dg/sms_publish-to-phone.html
|
1880
2017
|
#
|
1881
2018
|
# @option params [required, Hash<String,String>] :attributes
|
1882
|
-
# The default settings for sending SMS messages from your
|
1883
|
-
# 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:
|
1884
2022
|
#
|
1885
2023
|
# `MonthlySpendLimit` – The maximum amount in USD that you are willing
|
1886
2024
|
# to spend each month to send SMS messages. When Amazon SNS determines
|
@@ -1931,7 +2069,7 @@ module Aws::SNS
|
|
1931
2069
|
# daily SMS usage reports from Amazon SNS. Each day, Amazon SNS will
|
1932
2070
|
# deliver a usage report as a CSV file to the bucket. The report
|
1933
2071
|
# includes the following information for each SMS message that was
|
1934
|
-
# successfully delivered by your account:
|
2072
|
+
# successfully delivered by your Amazon Web Services account:
|
1935
2073
|
#
|
1936
2074
|
# * Time that the message was published (in UTC)
|
1937
2075
|
#
|
@@ -2132,8 +2270,8 @@ module Aws::SNS
|
|
2132
2270
|
|
2133
2271
|
# Subscribes an endpoint to an Amazon SNS topic. If the endpoint type is
|
2134
2272
|
# HTTP/S or email, or if the endpoint and the topic are not in the same
|
2135
|
-
# account, the endpoint owner must run the
|
2136
|
-
# to confirm the subscription.
|
2273
|
+
# Amazon Web Services account, the endpoint owner must run the
|
2274
|
+
# `ConfirmSubscription` action to confirm the subscription.
|
2137
2275
|
#
|
2138
2276
|
# You call the `ConfirmSubscription` action with the token from the
|
2139
2277
|
# subscription response. Confirmation tokens are valid for three days.
|
@@ -2298,9 +2436,9 @@ module Aws::SNS
|
|
2298
2436
|
# * A new tag with a key identical to that of an existing tag overwrites
|
2299
2437
|
# the existing tag.
|
2300
2438
|
#
|
2301
|
-
# * Tagging actions are limited to 10 TPS per
|
2302
|
-
#
|
2303
|
-
# 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].
|
2304
2442
|
#
|
2305
2443
|
#
|
2306
2444
|
#
|
@@ -2399,16 +2537,17 @@ module Aws::SNS
|
|
2399
2537
|
end
|
2400
2538
|
|
2401
2539
|
# Verifies a destination phone number with a one-time password (OTP) for
|
2402
|
-
# the calling account.
|
2540
|
+
# the calling Amazon Web Services account.
|
2403
2541
|
#
|
2404
|
-
# When you start using Amazon SNS to send SMS messages, your
|
2405
|
-
# in the *SMS sandbox*. The SMS sandbox provides a
|
2406
|
-
# you to try Amazon SNS features without risking
|
2407
|
-
# SMS sender. While your
|
2408
|
-
#
|
2409
|
-
#
|
2410
|
-
#
|
2411
|
-
#
|
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*.
|
2412
2551
|
#
|
2413
2552
|
#
|
2414
2553
|
#
|
@@ -2452,7 +2591,7 @@ module Aws::SNS
|
|
2452
2591
|
params: params,
|
2453
2592
|
config: config)
|
2454
2593
|
context[:gem_name] = 'aws-sdk-sns'
|
2455
|
-
context[:gem_version] = '1.
|
2594
|
+
context[:gem_version] = '1.48.0'
|
2456
2595
|
Seahorse::Client::Request.new(handlers, context)
|
2457
2596
|
end
|
2458
2597
|
|