aws-sdk-sns 1.41.0 → 1.42.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: c1be536f4d421092a64f75a56dbafa4b4906da68ab61ca08b4e4d514825d0550
4
- data.tar.gz: c139a3b62d2c1fdfe2900c83495182caa7d93dada1992b8562d40f2a2d30499f
3
+ metadata.gz: 7e6bd0e3226161f8668fc5f8029e28815a084e1a98ed6ba412d91319717e1a5c
4
+ data.tar.gz: 3a74a6bae2dd0109b120037099ad01abf6e11c6977e3f97bec23fac4a18e0ac8
5
5
  SHA512:
6
- metadata.gz: eb7523800accffe5b2310d0bc3829c408ad631def1ca90def8544cf38b270612d25ed7cb041956ec37bcfaa7a8e90e94dc26d69b649a2c3a2dbfdefa7a61b149
7
- data.tar.gz: a204d5dfe842fec359ae80fc47b897480c377bdb647671dfbab0f0bc06c0e526b787c1c936abfb1f5d358bc5756e54b843be44d54bc9be5b5fcfe750fab7e525
6
+ metadata.gz: a7c945b7bbf755e00545a107b920dd2750cbb586af864adeff573403d514446d68734b0b46929ce93463551a8fc66a3fea6eafddf8579acbcbd90032ae5c2515
7
+ data.tar.gz: e98a973b570dac970ac289657c443ae5003d6d7c64e52c16bc3142fe832ad952e0c460b78d59d66ad37ef056a013c6fd683a2b59e8491ec8bc79cc47c8fce904
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.42.0 (2021-07-06)
5
+ ------------------
6
+
7
+ * Feature - Documentation updates for Amazon SNS.
8
+
4
9
  1.41.0 (2021-06-01)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.41.0
1
+ 1.42.0
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.41.0'
55
+ GEM_VERSION = '1.42.0'
56
56
 
57
57
  end
@@ -328,7 +328,7 @@ module Aws::SNS
328
328
  # @!group API Operations
329
329
 
330
330
  # Adds a statement to a topic's access control policy, granting access
331
- # for the specified AWS accounts to the specified actions.
331
+ # for the specified accounts to the specified actions.
332
332
  #
333
333
  # @option params [required, String] :topic_arn
334
334
  # The ARN of the topic whose access control policy you wish to modify.
@@ -337,9 +337,9 @@ module Aws::SNS
337
337
  # A unique identifier for the new policy statement.
338
338
  #
339
339
  # @option params [required, Array<String>] :aws_account_id
340
- # The AWS account IDs of the users (principals) who will be given access
341
- # to the specified actions. The users must have AWS accounts, but do not
342
- # need to be signed up for this service.
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.
343
343
  #
344
344
  # @option params [required, Array<String>] :action_name
345
345
  # The action you want to allow for the specified principal(s).
@@ -413,10 +413,10 @@ module Aws::SNS
413
413
  #
414
414
  # @option params [String] :authenticate_on_unsubscribe
415
415
  # Disallows unauthenticated unsubscribes of the subscription. If the
416
- # value of this parameter is `true` and the request has an AWS
417
- # signature, then only the topic owner and the subscription owner can
418
- # unsubscribe the endpoint. The unsubscribe action requires AWS
419
- # authentication.
416
+ # value of this parameter is `true` and the request has an Amazon Web
417
+ # Services signature, then only the topic owner and the subscription
418
+ # owner can unsubscribe the endpoint. The unsubscribe action requires
419
+ # Amazon Web Services authentication.
420
420
  #
421
421
  # @return [Types::ConfirmSubscriptionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
422
422
  #
@@ -590,18 +590,17 @@ module Aws::SNS
590
590
  req.send_request(options)
591
591
  end
592
592
 
593
- # Adds a destination phone number to an AWS account in the SMS sandbox
594
- # and sends a one-time password (OTP) to that phone number.
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.
595
595
  #
596
- # When you start using Amazon SNS to send SMS messages, your AWS account
597
- # is in the *SMS sandbox*. The SMS sandbox provides a safe environment
598
- # for you to try Amazon SNS features without risking your reputation as
599
- # an SMS sender. While your account is in the SMS sandbox, you can use
600
- # all of the features of Amazon SNS. However, you can send SMS messages
601
- # only to verified destination phone numbers. For more information,
602
- # including how to move out of the sandbox to send messages without
603
- # restrictions, see [SMS sandbox][1] in the *Amazon SNS Developer
604
- # Guide*.
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*.
605
604
  #
606
605
  #
607
606
  #
@@ -635,14 +634,14 @@ module Aws::SNS
635
634
 
636
635
  # Creates a topic to which notifications can be published. Users can
637
636
  # create at most 100,000 standard topics (at most 1,000 FIFO topics).
638
- # For more information, see [https://aws.amazon.com/sns][1]. This action
639
- # is idempotent, so if the requester already owns a topic with the
640
- # specified name, that topic's ARN is returned without creating a new
641
- # topic.
637
+ # For more information, see [Creating an Amazon SNS topic][1] in the
638
+ # *Amazon SNS Developer Guide*. This action is idempotent, so if the
639
+ # requester already owns a topic with the specified name, that topic's
640
+ # ARN is returned without creating a new topic.
642
641
  #
643
642
  #
644
643
  #
645
- # [1]: http://aws.amazon.com/sns/
644
+ # [1]: https://docs.aws.amazon.com/sns/latest/dg/sns-create-topic.html
646
645
  #
647
646
  # @option params [required, String] :name
648
647
  # The name of the topic you want to create.
@@ -673,10 +672,10 @@ module Aws::SNS
673
672
  #
674
673
  # The following attribute applies only to [server-side encryption][1]\:
675
674
  #
676
- # * `KmsMasterKeyId` – The ID of an AWS managed customer master key
677
- # (CMK) for Amazon SNS or a custom CMK. For more information, see [Key
678
- # Terms][2]. For more examples, see [KeyId][3] in the *AWS Key
679
- # Management Service API Reference*.
675
+ # * `KmsMasterKeyId` – The ID of an Amazon Web Services managed customer
676
+ # master key (CMK) for Amazon SNS or a custom CMK. For more
677
+ # information, see [Key Terms][2]. For more examples, see [KeyId][3]
678
+ # in the *Key Management Service API Reference*.
680
679
  #
681
680
  # ^
682
681
  #
@@ -808,18 +807,17 @@ module Aws::SNS
808
807
  req.send_request(options)
809
808
  end
810
809
 
811
- # Deletes an AWS account's verified or pending phone number from the
812
- # SMS sandbox.
810
+ # Deletes an account's verified or pending phone number from the SMS
811
+ # sandbox.
813
812
  #
814
- # When you start using Amazon SNS to send SMS messages, your AWS account
815
- # is in the *SMS sandbox*. The SMS sandbox provides a safe environment
816
- # for you to try Amazon SNS features without risking your reputation as
817
- # an SMS sender. While your account is in the SMS sandbox, you can use
818
- # all of the features of Amazon SNS. However, you can send SMS messages
819
- # only to verified destination phone numbers. For more information,
820
- # including how to move out of the sandbox to send messages without
821
- # restrictions, see [SMS sandbox][1] in the *Amazon SNS Developer
822
- # Guide*.
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*.
823
821
  #
824
822
  #
825
823
  #
@@ -983,18 +981,17 @@ module Aws::SNS
983
981
  req.send_request(options)
984
982
  end
985
983
 
986
- # Retrieves the SMS sandbox status for the calling AWS account in the
987
- # target AWS Region.
984
+ # Retrieves the SMS sandbox status for the calling account in the target
985
+ # Region.
988
986
  #
989
- # When you start using Amazon SNS to send SMS messages, your AWS account
990
- # is in the *SMS sandbox*. The SMS sandbox provides a safe environment
991
- # for you to try Amazon SNS features without risking your reputation as
992
- # an SMS sender. While your account is in the SMS sandbox, you can use
993
- # all of the features of Amazon SNS. However, you can send SMS messages
994
- # only to verified destination phone numbers. For more information,
995
- # including how to move out of the sandbox to send messages without
996
- # restrictions, see [SMS sandbox][1] in the *Amazon SNS Developer
997
- # Guide*.
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*.
998
995
  #
999
996
  #
1000
997
  #
@@ -1133,8 +1130,8 @@ module Aws::SNS
1133
1130
  req.send_request(options)
1134
1131
  end
1135
1132
 
1136
- # Lists the calling AWS account's dedicated origination numbers and
1137
- # their metadata. For more information about origination numbers, see
1133
+ # Lists the calling account's dedicated origination numbers and their
1134
+ # metadata. For more information about origination numbers, see
1138
1135
  # [Origination numbers][1] in the *Amazon SNS Developer Guide*.
1139
1136
  #
1140
1137
  #
@@ -1203,6 +1200,8 @@ module Aws::SNS
1203
1200
  # * {Types::ListPhoneNumbersOptedOutResponse#phone_numbers #phone_numbers} => Array&lt;String&gt;
1204
1201
  # * {Types::ListPhoneNumbersOptedOutResponse#next_token #next_token} => String
1205
1202
  #
1203
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1204
+ #
1206
1205
  # @example Request syntax with placeholder values
1207
1206
  #
1208
1207
  # resp = client.list_phone_numbers_opted_out({
@@ -1276,18 +1275,17 @@ module Aws::SNS
1276
1275
  req.send_request(options)
1277
1276
  end
1278
1277
 
1279
- # Lists the calling AWS account's current verified and pending
1280
- # destination phone numbers in the SMS sandbox.
1278
+ # Lists the calling account's current verified and pending destination
1279
+ # phone numbers in the SMS sandbox.
1281
1280
  #
1282
- # When you start using Amazon SNS to send SMS messages, your AWS account
1283
- # is in the *SMS sandbox*. The SMS sandbox provides a safe environment
1284
- # for you to try Amazon SNS features without risking your reputation as
1285
- # an SMS sender. While your account is in the SMS sandbox, you can use
1286
- # all of the features of Amazon SNS. However, you can send SMS messages
1287
- # only to verified destination phone numbers. For more information,
1288
- # including how to move out of the sandbox to send messages without
1289
- # restrictions, see [SMS sandbox][1] in the *Amazon SNS Developer
1290
- # Guide*.
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*.
1291
1289
  #
1292
1290
  #
1293
1291
  #
@@ -1539,7 +1537,7 @@ module Aws::SNS
1539
1537
  # For more information about formatting messages, see [Send Custom
1540
1538
  # Platform-Specific Payloads in Messages to Mobile Devices][1].
1541
1539
  #
1542
- # You can publish messages only to topics and endpoints in the same AWS
1540
+ # You can publish messages only to topics and endpoints in the same
1543
1541
  # Region.
1544
1542
  #
1545
1543
  #
@@ -1953,7 +1951,7 @@ module Aws::SNS
1953
1951
  # * Total number of parts
1954
1952
  #
1955
1953
  # To receive the report, the bucket must have a policy that allows the
1956
- # Amazon SNS service principle to perform the `s3:PutObject` and
1954
+ # Amazon SNS service principal to perform the `s3:PutObject` and
1957
1955
  # `s3:GetBucketLocation` actions.
1958
1956
  #
1959
1957
  # For an example bucket policy and usage report, see [Monitoring SMS
@@ -2077,10 +2075,10 @@ module Aws::SNS
2077
2075
  #
2078
2076
  # The following attribute applies only to [server-side-encryption][1]\:
2079
2077
  #
2080
- # * `KmsMasterKeyId` – The ID of an AWS-managed customer master key
2081
- # (CMK) for Amazon SNS or a custom CMK. For more information, see [Key
2082
- # Terms][2]. For more examples, see [KeyId][3] in the *AWS Key
2083
- # Management Service API Reference*.
2078
+ # * `KmsMasterKeyId` – The ID of an Amazon Web Services managed customer
2079
+ # master key (CMK) for Amazon SNS or a custom CMK. For more
2080
+ # information, see [Key Terms][2]. For more examples, see [KeyId][3]
2081
+ # in the *Key Management Service API Reference*.
2084
2082
  #
2085
2083
  # ^
2086
2084
  #
@@ -2134,8 +2132,8 @@ module Aws::SNS
2134
2132
 
2135
2133
  # Subscribes an endpoint to an Amazon SNS topic. If the endpoint type is
2136
2134
  # HTTP/S or email, or if the endpoint and the topic are not in the same
2137
- # AWS account, the endpoint owner must run the `ConfirmSubscription`
2138
- # action to confirm the subscription.
2135
+ # account, the endpoint owner must run the `ConfirmSubscription` action
2136
+ # to confirm the subscription.
2139
2137
  #
2140
2138
  # You call the `ConfirmSubscription` action with the token from the
2141
2139
  # subscription response. Confirmation tokens are valid for three days.
@@ -2163,8 +2161,7 @@ module Aws::SNS
2163
2161
  # * `application` – delivery of JSON-encoded message to an EndpointArn
2164
2162
  # for a mobile app and device
2165
2163
  #
2166
- # * `lambda` – delivery of JSON-encoded message to an AWS Lambda
2167
- # function
2164
+ # * `lambda` – delivery of JSON-encoded message to an Lambda function
2168
2165
  #
2169
2166
  # * `firehose` – delivery of JSON-encoded message to an Amazon Kinesis
2170
2167
  # Data Firehose delivery stream.
@@ -2192,7 +2189,7 @@ module Aws::SNS
2192
2189
  # * For the `application` protocol, the endpoint is the EndpointArn of a
2193
2190
  # mobile app and device.
2194
2191
  #
2195
- # * For the `lambda` protocol, the endpoint is the ARN of an AWS Lambda
2192
+ # * For the `lambda` protocol, the endpoint is the ARN of an Lambda
2196
2193
  # function.
2197
2194
  #
2198
2195
  # * For the `firehose` protocol, the endpoint is the ARN of an Amazon
@@ -2202,7 +2199,7 @@ module Aws::SNS
2202
2199
  # A map of attributes with their corresponding values.
2203
2200
  #
2204
2201
  # The following lists the names, descriptions, and values of the special
2205
- # request parameters that the `SetTopicAttributes` action uses:
2202
+ # request parameters that the `Subscribe` action uses:
2206
2203
  #
2207
2204
  # * `DeliveryPolicy` – The policy that defines how Amazon SNS retries
2208
2205
  # failed deliveries to HTTP/S endpoints.
@@ -2301,9 +2298,9 @@ module Aws::SNS
2301
2298
  # * A new tag with a key identical to that of an existing tag overwrites
2302
2299
  # the existing tag.
2303
2300
  #
2304
- # * Tagging actions are limited to 10 TPS per AWS account, per AWS
2305
- # region. If your application requires a higher throughput, file a
2306
- # [technical support request][2].
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].
2307
2304
  #
2308
2305
  #
2309
2306
  #
@@ -2342,10 +2339,10 @@ module Aws::SNS
2342
2339
 
2343
2340
  # Deletes a subscription. If the subscription requires authentication
2344
2341
  # for deletion, only the owner of the subscription or the topic's owner
2345
- # can unsubscribe, and an AWS signature is required. If the
2346
- # `Unsubscribe` call does not require authentication and the requester
2347
- # is not the subscription owner, a final cancellation message is
2348
- # delivered to the endpoint, so that the endpoint owner can easily
2342
+ # can unsubscribe, and an Amazon Web Services signature is required. If
2343
+ # the `Unsubscribe` call does not require authentication and the
2344
+ # requester is not the subscription owner, a final cancellation message
2345
+ # is delivered to the endpoint, so that the endpoint owner can easily
2349
2346
  # resubscribe to the topic if the `Unsubscribe` request was unintended.
2350
2347
  #
2351
2348
  # This action is throttled at 100 transactions per second (TPS).
@@ -2402,17 +2399,16 @@ module Aws::SNS
2402
2399
  end
2403
2400
 
2404
2401
  # Verifies a destination phone number with a one-time password (OTP) for
2405
- # the calling AWS account.
2402
+ # the calling account.
2406
2403
  #
2407
- # When you start using Amazon SNS to send SMS messages, your AWS account
2408
- # is in the *SMS sandbox*. The SMS sandbox provides a safe environment
2409
- # for you to try Amazon SNS features without risking your reputation as
2410
- # an SMS sender. While your account is in the SMS sandbox, you can use
2411
- # all of the features of Amazon SNS. However, you can send SMS messages
2412
- # only to verified destination phone numbers. For more information,
2413
- # including how to move out of the sandbox to send messages without
2414
- # restrictions, see [SMS sandbox][1] in the *Amazon SNS Developer
2415
- # Guide*.
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*.
2416
2412
  #
2417
2413
  #
2418
2414
  #
@@ -2456,7 +2452,7 @@ module Aws::SNS
2456
2452
  params: params,
2457
2453
  config: config)
2458
2454
  context[:gem_name] = 'aws-sdk-sns'
2459
- context[:gem_version] = '1.41.0'
2455
+ context[:gem_version] = '1.42.0'
2460
2456
  Seahorse::Client::Request.new(handlers, context)
2461
2457
  end
2462
2458
 
@@ -852,6 +852,11 @@ module Aws::SNS
852
852
  o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
853
853
  o.errors << Shapes::ShapeRef.new(shape: AuthorizationErrorException)
854
854
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
855
+ o[:pager] = Aws::Pager.new(
856
+ tokens: {
857
+ "next_token" => "next_token"
858
+ }
859
+ )
855
860
  end)
856
861
 
857
862
  api.add_operation(:list_platform_applications, Seahorse::Model::Operation.new.tap do |o|
@@ -111,10 +111,10 @@ module Aws::SNS
111
111
  #
112
112
  # The following attribute applies only to [server-side encryption][1]\:
113
113
  #
114
- # * `KmsMasterKeyId` – The ID of an AWS managed customer master key
115
- # (CMK) for Amazon SNS or a custom CMK. For more information, see [Key
116
- # Terms][2]. For more examples, see [KeyId][3] in the *AWS Key
117
- # Management Service API Reference*.
114
+ # * `KmsMasterKeyId` – The ID of an Amazon Web Services managed customer
115
+ # master key (CMK) for Amazon SNS or a custom CMK. For more
116
+ # information, see [Key Terms][2]. For more examples, see [KeyId][3]
117
+ # in the *Key Management Service API Reference*.
118
118
  #
119
119
  # ^
120
120
  #
@@ -51,7 +51,7 @@ module Aws::SNS
51
51
  # subscription. For more information, see [Amazon SNS Message
52
52
  # Filtering][1] in the *Amazon SNS Developer Guide*.
53
53
  #
54
- # * `Owner` – The AWS account ID of the subscription's owner.
54
+ # * `Owner` – The account ID of the subscription's owner.
55
55
  #
56
56
  # * `PendingConfirmation` – `true` if the subscription hasn't been
57
57
  # confirmed. To confirm a pending subscription, call the
@@ -43,7 +43,7 @@ module Aws::SNS
43
43
  # * `DisplayName` – The human-readable name used in the `From` field for
44
44
  # notifications to `email` and `email-json` endpoints.
45
45
  #
46
- # * `Owner` – The AWS account ID of the topic's owner.
46
+ # * `Owner` – The account ID of the topic's owner.
47
47
  #
48
48
  # * `Policy` – The JSON serialization of the topic's access control
49
49
  # policy.
@@ -64,10 +64,10 @@ module Aws::SNS
64
64
  #
65
65
  # The following attribute applies only to [server-side-encryption][1]\:
66
66
  #
67
- # * `KmsMasterKeyId` - The ID of an AWS-managed customer master key
68
- # (CMK) for Amazon SNS or a custom CMK. For more information, see [Key
69
- # Terms][2]. For more examples, see [KeyId][3] in the *AWS Key
70
- # Management Service API Reference*.
67
+ # * `KmsMasterKeyId` - The ID of an Amazon Web Services managed customer
68
+ # master key (CMK) for Amazon SNS or a custom CMK. For more
69
+ # information, see [Key Terms][2]. For more examples, see [KeyId][3]
70
+ # in the *Key Management Service API Reference*.
71
71
  #
72
72
  # ^
73
73
  #
@@ -151,9 +151,9 @@ module Aws::SNS
151
151
  # @option options [required, String] :label
152
152
  # A unique identifier for the new policy statement.
153
153
  # @option options [required, Array<String>] :aws_account_id
154
- # The AWS account IDs of the users (principals) who will be given access
155
- # to the specified actions. The users must have AWS accounts, but do not
156
- # need to be signed up for this service.
154
+ # The account IDs of the users (principals) who will be given access to
155
+ # the specified actions. The users must have account, but do not need to
156
+ # be signed up for this service.
157
157
  # @option options [required, Array<String>] :action_name
158
158
  # The action you want to allow for the specified principal(s).
159
159
  #
@@ -176,10 +176,10 @@ module Aws::SNS
176
176
  # Short-lived token sent to an endpoint during the `Subscribe` action.
177
177
  # @option options [String] :authenticate_on_unsubscribe
178
178
  # Disallows unauthenticated unsubscribes of the subscription. If the
179
- # value of this parameter is `true` and the request has an AWS
180
- # signature, then only the topic owner and the subscription owner can
181
- # unsubscribe the endpoint. The unsubscribe action requires AWS
182
- # authentication.
179
+ # value of this parameter is `true` and the request has an Amazon Web
180
+ # Services signature, then only the topic owner and the subscription
181
+ # owner can unsubscribe the endpoint. The unsubscribe action requires
182
+ # Amazon Web Services authentication.
183
183
  # @return [Subscription]
184
184
  def confirm_subscription(options = {})
185
185
  options = options.merge(topic_arn: @arn)
@@ -381,10 +381,10 @@ module Aws::SNS
381
381
  #
382
382
  # The following attribute applies only to [server-side-encryption][1]\:
383
383
  #
384
- # * `KmsMasterKeyId` – The ID of an AWS-managed customer master key
385
- # (CMK) for Amazon SNS or a custom CMK. For more information, see [Key
386
- # Terms][2]. For more examples, see [KeyId][3] in the *AWS Key
387
- # Management Service API Reference*.
384
+ # * `KmsMasterKeyId` – The ID of an Amazon Web Services managed customer
385
+ # master key (CMK) for Amazon SNS or a custom CMK. For more
386
+ # information, see [Key Terms][2]. For more examples, see [KeyId][3]
387
+ # in the *Key Management Service API Reference*.
388
388
  #
389
389
  # ^
390
390
  #
@@ -451,8 +451,7 @@ module Aws::SNS
451
451
  # * `application` – delivery of JSON-encoded message to an EndpointArn
452
452
  # for a mobile app and device
453
453
  #
454
- # * `lambda` – delivery of JSON-encoded message to an AWS Lambda
455
- # function
454
+ # * `lambda` – delivery of JSON-encoded message to an Lambda function
456
455
  #
457
456
  # * `firehose` – delivery of JSON-encoded message to an Amazon Kinesis
458
457
  # Data Firehose delivery stream.
@@ -479,7 +478,7 @@ module Aws::SNS
479
478
  # * For the `application` protocol, the endpoint is the EndpointArn of a
480
479
  # mobile app and device.
481
480
  #
482
- # * For the `lambda` protocol, the endpoint is the ARN of an AWS Lambda
481
+ # * For the `lambda` protocol, the endpoint is the ARN of an Lambda
483
482
  # function.
484
483
  #
485
484
  # * For the `firehose` protocol, the endpoint is the ARN of an Amazon
@@ -488,7 +487,7 @@ module Aws::SNS
488
487
  # A map of attributes with their corresponding values.
489
488
  #
490
489
  # The following lists the names, descriptions, and values of the special
491
- # request parameters that the `SetTopicAttributes` action uses:
490
+ # request parameters that the `Subscribe` action uses:
492
491
  #
493
492
  # * `DeliveryPolicy` – The policy that defines how Amazon SNS retries
494
493
  # failed deliveries to HTTP/S endpoints.
@@ -29,9 +29,9 @@ module Aws::SNS
29
29
  # @return [String]
30
30
  #
31
31
  # @!attribute [rw] aws_account_id
32
- # The AWS account IDs of the users (principals) who will be given
33
- # access to the specified actions. The users must have AWS accounts,
34
- # but do not need to be signed up for this service.
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.
35
35
  # @return [Array<String>]
36
36
  #
37
37
  # @!attribute [rw] action_name
@@ -141,10 +141,10 @@ module Aws::SNS
141
141
  #
142
142
  # @!attribute [rw] authenticate_on_unsubscribe
143
143
  # Disallows unauthenticated unsubscribes of the subscription. If the
144
- # value of this parameter is `true` and the request has an AWS
145
- # signature, then only the topic owner and the subscription owner can
146
- # unsubscribe the endpoint. The unsubscribe action requires AWS
147
- # authentication.
144
+ # value of this parameter is `true` and the request has an Amazon Web
145
+ # Services signature, then only the topic owner and the subscription
146
+ # owner can unsubscribe the endpoint. The unsubscribe action requires
147
+ # Amazon Web Services authentication.
148
148
  # @return [String]
149
149
  #
150
150
  # @see http://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ConfirmSubscriptionInput AWS API Documentation
@@ -377,10 +377,10 @@ module Aws::SNS
377
377
  # The following attribute applies only to [server-side
378
378
  # encryption][1]\:
379
379
  #
380
- # * `KmsMasterKeyId` – The ID of an AWS managed customer master key
381
- # (CMK) for Amazon SNS or a custom CMK. For more information, see
382
- # [Key Terms][2]. For more examples, see [KeyId][3] in the *AWS Key
383
- # Management Service API Reference*.
380
+ # * `KmsMasterKeyId` – The ID of an Amazon Web Services managed
381
+ # customer master key (CMK) for Amazon SNS or a custom CMK. For more
382
+ # information, see [Key Terms][2]. For more examples, see [KeyId][3]
383
+ # in the *Key Management Service API Reference*.
384
384
  #
385
385
  # ^
386
386
  #
@@ -564,9 +564,9 @@ module Aws::SNS
564
564
  include Aws::Structure
565
565
  end
566
566
 
567
- # Indicates that the number of filter polices in your AWS account
568
- # exceeds the limit. To add more filter polices, submit an SNS Limit
569
- # Increase case in the AWS Support Center.
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.
570
570
  #
571
571
  # @!attribute [rw] message
572
572
  # @return [String]
@@ -784,7 +784,7 @@ module Aws::SNS
784
784
  # subscription. For more information, see [Amazon SNS Message
785
785
  # Filtering][1] in the *Amazon SNS Developer Guide*.
786
786
  #
787
- # * `Owner` – The AWS account ID of the subscription's owner.
787
+ # * `Owner` – The account ID of the subscription's owner.
788
788
  #
789
789
  # * `PendingConfirmation` – `true` if the subscription hasn't been
790
790
  # confirmed. To confirm a pending subscription, call the
@@ -869,7 +869,7 @@ module Aws::SNS
869
869
  # * `DisplayName` – The human-readable name used in the `From` field
870
870
  # for notifications to `email` and `email-json` endpoints.
871
871
  #
872
- # * `Owner` – The AWS account ID of the topic's owner.
872
+ # * `Owner` – The account ID of the topic's owner.
873
873
  #
874
874
  # * `Policy` – The JSON serialization of the topic's access control
875
875
  # policy.
@@ -891,10 +891,10 @@ module Aws::SNS
891
891
  # The following attribute applies only to
892
892
  # [server-side-encryption][1]\:
893
893
  #
894
- # * `KmsMasterKeyId` - The ID of an AWS-managed customer master key
895
- # (CMK) for Amazon SNS or a custom CMK. For more information, see
896
- # [Key Terms][2]. For more examples, see [KeyId][3] in the *AWS Key
897
- # Management Service API Reference*.
894
+ # * `KmsMasterKeyId` - The ID of an Amazon Web Services managed
895
+ # customer master key (CMK) for Amazon SNS or a custom CMK. For more
896
+ # information, see [Key Terms][2]. For more examples, see [KeyId][3]
897
+ # in the *Key Management Service API Reference*.
898
898
  #
899
899
  # ^
900
900
  #
@@ -1022,8 +1022,8 @@ module Aws::SNS
1022
1022
 
1023
1023
  # The request was rejected because the state of the specified resource
1024
1024
  # isn't valid for this request. For more information, see [How Key
1025
- # State Affects Use of a Customer Master Key][1] in the *AWS Key
1026
- # Management Service Developer Guide*.
1025
+ # State Affects Use of a Customer Master Key][1] in the *Key Management
1026
+ # Service Developer Guide*.
1027
1027
  #
1028
1028
  #
1029
1029
  #
@@ -1054,7 +1054,8 @@ module Aws::SNS
1054
1054
  include Aws::Structure
1055
1055
  end
1056
1056
 
1057
- # The AWS access key ID needs a subscription for the service.
1057
+ # The Amazon Web Services access key ID needs a subscription for the
1058
+ # service.
1058
1059
  #
1059
1060
  # @!attribute [rw] message
1060
1061
  # @return [String]
@@ -1068,7 +1069,7 @@ module Aws::SNS
1068
1069
  end
1069
1070
 
1070
1071
  # The request was denied due to request throttling. For more information
1071
- # about throttling, see [Limits][1] in the *AWS Key Management Service
1072
+ # about throttling, see [Limits][1] in the *Key Management Service
1072
1073
  # Developer Guide.*
1073
1074
  #
1074
1075
  #
@@ -1578,7 +1579,7 @@ module Aws::SNS
1578
1579
  class OptInPhoneNumberResponse < Aws::EmptyStructure; end
1579
1580
 
1580
1581
  # Indicates that the specified phone number opted out of receiving SMS
1581
- # messages from your AWS account. You can't send SMS messages to phone
1582
+ # messages from your account. You can't send SMS messages to phone
1582
1583
  # numbers that opt out.
1583
1584
  #
1584
1585
  # @!attribute [rw] message
@@ -1916,15 +1917,14 @@ module Aws::SNS
1916
1917
 
1917
1918
  # A verified or pending destination phone number in the SMS sandbox.
1918
1919
  #
1919
- # When you start using Amazon SNS to send SMS messages, your AWS account
1920
- # is in the *SMS sandbox*. The SMS sandbox provides a safe environment
1921
- # for you to try Amazon SNS features without risking your reputation as
1922
- # an SMS sender. While your account is in the SMS sandbox, you can use
1923
- # all of the features of Amazon SNS. However, you can send SMS messages
1924
- # only to verified destination phone numbers. For more information,
1925
- # including how to move out of the sandbox to send messages without
1926
- # restrictions, see [SMS sandbox][1] in the *Amazon SNS Developer
1927
- # Guide*.
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*.
1928
1928
  #
1929
1929
  #
1930
1930
  #
@@ -2139,7 +2139,7 @@ module Aws::SNS
2139
2139
  # * Total number of parts
2140
2140
  #
2141
2141
  # To receive the report, the bucket must have a policy that allows the
2142
- # Amazon SNS service principle to perform the `s3:PutObject` and
2142
+ # Amazon SNS service principal to perform the `s3:PutObject` and
2143
2143
  # `s3:GetBucketLocation` actions.
2144
2144
  #
2145
2145
  # For an example bucket policy and usage report, see [Monitoring SMS
@@ -2275,10 +2275,10 @@ module Aws::SNS
2275
2275
  # The following attribute applies only to
2276
2276
  # [server-side-encryption][1]\:
2277
2277
  #
2278
- # * `KmsMasterKeyId` – The ID of an AWS-managed customer master key
2279
- # (CMK) for Amazon SNS or a custom CMK. For more information, see
2280
- # [Key Terms][2]. For more examples, see [KeyId][3] in the *AWS Key
2281
- # Management Service API Reference*.
2278
+ # * `KmsMasterKeyId` – The ID of an Amazon Web Services managed
2279
+ # customer master key (CMK) for Amazon SNS or a custom CMK. For more
2280
+ # information, see [Key Terms][2]. For more examples, see [KeyId][3]
2281
+ # in the *Key Management Service API Reference*.
2282
2282
  #
2283
2283
  # ^
2284
2284
  #
@@ -2375,8 +2375,7 @@ module Aws::SNS
2375
2375
  # * `application` – delivery of JSON-encoded message to an EndpointArn
2376
2376
  # for a mobile app and device
2377
2377
  #
2378
- # * `lambda` – delivery of JSON-encoded message to an AWS Lambda
2379
- # function
2378
+ # * `lambda` – delivery of JSON-encoded message to an Lambda function
2380
2379
  #
2381
2380
  # * `firehose` – delivery of JSON-encoded message to an Amazon Kinesis
2382
2381
  # Data Firehose delivery stream.
@@ -2405,8 +2404,8 @@ module Aws::SNS
2405
2404
  # * For the `application` protocol, the endpoint is the EndpointArn of
2406
2405
  # a mobile app and device.
2407
2406
  #
2408
- # * For the `lambda` protocol, the endpoint is the ARN of an AWS
2409
- # Lambda function.
2407
+ # * For the `lambda` protocol, the endpoint is the ARN of an Lambda
2408
+ # function.
2410
2409
  #
2411
2410
  # * For the `firehose` protocol, the endpoint is the ARN of an Amazon
2412
2411
  # Kinesis Data Firehose delivery stream.
@@ -2416,8 +2415,7 @@ module Aws::SNS
2416
2415
  # A map of attributes with their corresponding values.
2417
2416
  #
2418
2417
  # The following lists the names, descriptions, and values of the
2419
- # special request parameters that the `SetTopicAttributes` action
2420
- # uses:
2418
+ # special request parameters that the `Subscribe` action uses:
2421
2419
  #
2422
2420
  # * `DeliveryPolicy` – The policy that defines how Amazon SNS retries
2423
2421
  # failed deliveries to HTTP/S endpoints.
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.41.0
4
+ version: 1.42.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-06-01 00:00:00.000000000 Z
11
+ date: 2021-07-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core