aws-sdk-sqs 1.45.0 → 1.49.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '08e0bb71638b880fdf6f99b3a71d5d111f974eca5e2a1dd2661c233740a2997c'
4
- data.tar.gz: eb1c73bafb816af3ab7c189c35bea9315be79ca38cfba96048d9699284295ffb
3
+ metadata.gz: 47f88e5079ef8421178d7b10a9608d74914d722e389b748e585c68dac2f58d1f
4
+ data.tar.gz: 425642fc2800ebbdb8c5f7270b55d36d3719ab72a2833bbd512bfa18c53a92ba
5
5
  SHA512:
6
- metadata.gz: 23e09ec78069e110f1ee7584387db94c88760db0ae8e37d5b217fd9bec213fe25be269a2956180c3924443390f4ec36bb518f6b2079c56135f7b607c015f66c4
7
- data.tar.gz: 825cae996a5b157ced6b10e3493d03e68ac7a871468d098bfd8be48535bd3ebd781150a9195689fdad72da482ec34fc54b6b8a9a0b23f773e26fdf8834150659
6
+ metadata.gz: 3322f508168c6a946a03945e248e1724235b42aec5918cf98a748a5f028508025ab5e98e739a9ce76ab922025b4f9950c292d672f299b99cd5f3cfa14289714d
7
+ data.tar.gz: 958ee5bc903aa5580b8e8bb0db06d232400725773399c03827db07ccc26d5367dc3101c41ed48916bf2c3434e350646595290ed0dbad5e8b6da75d5a2dfbbbc8
data/CHANGELOG.md CHANGED
@@ -1,6 +1,26 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.49.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.48.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.47.0 (2021-11-23)
15
+ ------------------
16
+
17
+ * Feature - Amazon SQS adds a new queue attribute, SqsManagedSseEnabled, which enables server-side queue encryption using SQS owned encryption keys.
18
+
19
+ 1.46.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.45.0 (2021-10-18)
5
25
  ------------------
6
26
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.45.0
1
+ 1.49.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
  require 'aws-sdk-sqs/plugins/queue_urls.rb'
@@ -75,6 +76,7 @@ module Aws::SQS
75
76
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
76
77
  add_plugin(Aws::Plugins::TransferEncoding)
77
78
  add_plugin(Aws::Plugins::HttpChecksum)
79
+ add_plugin(Aws::Plugins::DefaultsMode)
78
80
  add_plugin(Aws::Plugins::SignatureV4)
79
81
  add_plugin(Aws::Plugins::Protocols::Query)
80
82
  add_plugin(Aws::SQS::Plugins::QueueUrls)
@@ -123,7 +125,9 @@ module Aws::SQS
123
125
  # * EC2/ECS IMDS instance profile - When used by default, the timeouts
124
126
  # are very aggressive. Construct and pass an instance of
125
127
  # `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
126
- # enable retries and extended timeouts.
128
+ # enable retries and extended timeouts. Instance profile credential
129
+ # fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
130
+ # to true.
127
131
  #
128
132
  # @option options [required, String] :region
129
133
  # The AWS region to connect to. The configured `:region` is
@@ -177,6 +181,10 @@ module Aws::SQS
177
181
  # Used only in `standard` and adaptive retry modes. Specifies whether to apply
178
182
  # a clock skew correction and retry requests with skewed client clocks.
179
183
  #
184
+ # @option options [String] :defaults_mode ("legacy")
185
+ # See {Aws::DefaultsModeConfiguration} for a list of the
186
+ # accepted modes and the configuration defaults that are included.
187
+ #
180
188
  # @option options [Boolean] :disable_host_prefix_injection (false)
181
189
  # Set to true to disable SDK automatically adding host prefix
182
190
  # to default service endpoint when available.
@@ -279,6 +287,15 @@ module Aws::SQS
279
287
  # ** Please note ** When response stubbing is enabled, no HTTP
280
288
  # requests are made, and retries are disabled.
281
289
  #
290
+ # @option options [Boolean] :use_dualstack_endpoint
291
+ # When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
292
+ # will be used if available.
293
+ #
294
+ # @option options [Boolean] :use_fips_endpoint
295
+ # When set to `true`, fips compatible endpoints will be used if available.
296
+ # When a `fips` region is used, the region is normalized and this config
297
+ # is set to `true`.
298
+ #
282
299
  # @option options [Boolean] :validate_params (true)
283
300
  # When `true`, request parameters are validated before
284
301
  # sending the request.
@@ -296,7 +313,7 @@ module Aws::SQS
296
313
  # seconds to wait when opening a HTTP session before raising a
297
314
  # `Timeout::Error`.
298
315
  #
299
- # @option options [Integer] :http_read_timeout (60) The default
316
+ # @option options [Float] :http_read_timeout (60) The default
300
317
  # number of seconds to wait for response data. This value can
301
318
  # safely be set per-request on the session.
302
319
  #
@@ -312,6 +329,9 @@ module Aws::SQS
312
329
  # disables this behaviour. This value can safely be set per
313
330
  # request on the session.
314
331
  #
332
+ # @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
333
+ # in seconds.
334
+ #
315
335
  # @option options [Boolean] :http_wire_trace (false) When `true`,
316
336
  # HTTP debug output will be sent to the `:logger`.
317
337
  #
@@ -392,10 +412,10 @@ module Aws::SQS
392
412
  # underscores (`_`).
393
413
  #
394
414
  # @option params [required, Array<String>] :aws_account_ids
395
- # The account numbers of the [principals][1] who are to receive
396
- # permission. For information about locating the account identification,
397
- # see [Your Amazon Web Services Identifiers][2] in the *Amazon SQS
398
- # Developer Guide*.
415
+ # The Amazon Web Services account numbers of the [principals][1] who are
416
+ # to receive permission. For information about locating the Amazon Web
417
+ # Services account identification, see [Your Amazon Web Services
418
+ # Identifiers][2] in the *Amazon SQS Developer Guide*.
399
419
  #
400
420
  #
401
421
  #
@@ -703,16 +723,11 @@ module Aws::SQS
703
723
  # for which a ` ReceiveMessage ` action waits for a message to arrive.
704
724
  # Valid values: An integer from 0 to 20 (seconds). Default: 0.
705
725
  #
706
- # * `VisibilityTimeout` – The visibility timeout for the queue, in
707
- # seconds. Valid values: An integer from 0 to 43,200 (12 hours).
708
- # Default: 30. For more information about the visibility timeout, see
709
- # [Visibility Timeout][2] in the *Amazon SQS Developer Guide*.
710
- #
711
- # The following attributes apply only to [dead-letter queues:][3]
712
- #
713
726
  # * `RedrivePolicy` – The string that includes the parameters for the
714
727
  # dead-letter queue functionality of the source queue as a JSON
715
- # object. The parameters are as follows:
728
+ # object. For more information about the redrive policy and
729
+ # dead-letter queues, see [Using Amazon SQS Dead-Letter Queues][2] in
730
+ # the *Amazon SQS Developer Guide*.
716
731
  #
717
732
  # * `deadLetterTargetArn` – The Amazon Resource Name (ARN) of the
718
733
  # dead-letter queue to which Amazon SQS moves messages after the
@@ -723,38 +738,16 @@ module Aws::SQS
723
738
  # the `ReceiveCount` for a message exceeds the `maxReceiveCount` for
724
739
  # a queue, Amazon SQS moves the message to the dead-letter-queue.
725
740
  #
726
- # * `RedriveAllowPolicy` The string that includes the parameters for
727
- # the permissions for the dead-letter queue redrive permission and
728
- # which source queues can specify dead-letter queues as a JSON object.
729
- # The parameters are as follows:
730
- #
731
- # * `redrivePermission` – The permission type that defines which
732
- # source queues can specify the current queue as the dead-letter
733
- # queue. Valid values are:
734
- #
735
- # * `allowAll` – (Default) Any source queues in this Amazon Web
736
- # Services account in the same Region can specify this queue as
737
- # the dead-letter queue.
738
- #
739
- # * `denyAll` – No source queues can specify this queue as the
740
- # dead-letter queue.
741
- #
742
- # * `byQueue` – Only queues specified by the `sourceQueueArns`
743
- # parameter can specify this queue as the dead-letter queue.
741
+ # <note markdown="1"> The dead-letter queue of a FIFO queue must also be a FIFO queue.
742
+ # Similarly, the dead-letter queue of a standard queue must also be a
743
+ # standard queue.
744
744
  #
745
- # * `sourceQueueArns` – The Amazon Resource Names (ARN)s of the source
746
- # queues that can specify this queue as the dead-letter queue and
747
- # redrive messages. You can specify this parameter only when the
748
- # `redrivePermission` parameter is set to `byQueue`. You can specify
749
- # up to 10 source queue ARNs. To allow more than 10 source queues to
750
- # specify dead-letter queues, set the `redrivePermission` parameter
751
- # to `allowAll`.
752
- #
753
- # <note markdown="1"> The dead-letter queue of a FIFO queue must also be a FIFO queue.
754
- # Similarly, the dead-letter queue of a standard queue must also be a
755
- # standard queue.
745
+ # </note>
756
746
  #
757
- # </note>
747
+ # * `VisibilityTimeout` – The visibility timeout for the queue, in
748
+ # seconds. Valid values: An integer from 0 to 43,200 (12 hours).
749
+ # Default: 30. For more information about the visibility timeout, see
750
+ # [Visibility Timeout][3] in the *Amazon SQS Developer Guide*.
758
751
  #
759
752
  # The following attributes apply only to [server-side-encryption][4]\:
760
753
  #
@@ -775,8 +768,12 @@ module Aws::SQS
775
768
  # after Free Tier. For more information, see [How Does the Data Key
776
769
  # Reuse Period Work?][8].
777
770
  #
771
+ # * `SqsManagedSseEnabled` – Enables server-side queue encryption using
772
+ # SQS owned encryption keys. Only one server-side encryption option is
773
+ # supported per queue (e.g. [SSE-KMS][9] or [SSE-SQS][10]).
774
+ #
778
775
  # The following attributes apply only to [FIFO (first-in-first-out)
779
- # queues][9]\:
776
+ # queues][11]\:
780
777
  #
781
778
  # * `FifoQueue` – Designates a queue as FIFO. Valid values are `true`
782
779
  # and `false`. If you don't specify the `FifoQueue` attribute, Amazon
@@ -785,12 +782,12 @@ module Aws::SQS
785
782
  # When you set this attribute, you must also provide the
786
783
  # `MessageGroupId` for your messages explicitly.
787
784
  #
788
- # For more information, see [FIFO queue logic][10] in the *Amazon SQS
785
+ # For more information, see [FIFO queue logic][12] in the *Amazon SQS
789
786
  # Developer Guide*.
790
787
  #
791
788
  # * `ContentBasedDeduplication` – Enables content-based deduplication.
792
789
  # Valid values are `true` and `false`. For more information, see
793
- # [Exactly-once processing][11] in the *Amazon SQS Developer Guide*.
790
+ # [Exactly-once processing][13] in the *Amazon SQS Developer Guide*.
794
791
  # Note the following:
795
792
  #
796
793
  # * Every message must have a unique `MessageDeduplicationId`.
@@ -822,7 +819,7 @@ module Aws::SQS
822
819
  # duplicates and only one copy of the message is delivered.
823
820
  #
824
821
  # The following attributes apply only to [high throughput for FIFO
825
- # queues][12]\:
822
+ # queues][14]\:
826
823
  #
827
824
  # * `DeduplicationScope` – Specifies whether message deduplication
828
825
  # occurs at the message group or queue level. Valid values are
@@ -845,23 +842,25 @@ module Aws::SQS
845
842
  # deduplication occurs as specified.
846
843
  #
847
844
  # For information on throughput quotas, see [Quotas related to
848
- # messages][13] in the *Amazon SQS Developer Guide*.
845
+ # messages][15] in the *Amazon SQS Developer Guide*.
849
846
  #
850
847
  #
851
848
  #
852
849
  # [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/PoliciesOverview.html
853
- # [2]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-visibility-timeout.html
854
- # [3]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-dead-letter-queues.html
850
+ # [2]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-dead-letter-queues.html
851
+ # [3]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-visibility-timeout.html
855
852
  # [4]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html
856
853
  # [5]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html#sqs-sse-key-terms
857
854
  # [6]: https://docs.aws.amazon.com/kms/latest/APIReference/API_DescribeKey.html#API_DescribeKey_RequestParameters
858
855
  # [7]: https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#data-keys
859
856
  # [8]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html#sqs-how-does-the-data-key-reuse-period-work
860
- # [9]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html
861
- # [10]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues-understanding-logic.html
862
- # [11]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues-exactly-once-processing.html
863
- # [12]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/high-throughput-fifo.html
864
- # [13]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/quotas-messages.html
857
+ # [9]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-configure-sse-existing-queue.html
858
+ # [10]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-configure-sqs-sse-queue.html
859
+ # [11]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html
860
+ # [12]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues-understanding-logic.html
861
+ # [13]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues-exactly-once-processing.html
862
+ # [14]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/high-throughput-fifo.html
863
+ # [15]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/quotas-messages.html
865
864
  #
866
865
  # @option params [Hash<String,String>] :tags
867
866
  # Add cost allocation tags to the specified Amazon SQS queue. For an
@@ -1160,15 +1159,11 @@ module Aws::SQS
1160
1159
  # seconds, for which the `ReceiveMessage` action waits for a message
1161
1160
  # to arrive.
1162
1161
  #
1163
- # * `VisibilityTimeout` – Returns the visibility timeout for the queue.
1164
- # For more information about the visibility timeout, see [Visibility
1165
- # Timeout][2] in the *Amazon SQS Developer Guide*.
1166
- #
1167
- # The following attributes apply only to [dead-letter queues:][3]
1168
- #
1169
1162
  # * `RedrivePolicy` – The string that includes the parameters for the
1170
1163
  # dead-letter queue functionality of the source queue as a JSON
1171
- # object. The parameters are as follows:
1164
+ # object. For more information about the redrive policy and
1165
+ # dead-letter queues, see [Using Amazon SQS Dead-Letter Queues][2] in
1166
+ # the *Amazon SQS Developer Guide*.
1172
1167
  #
1173
1168
  # * `deadLetterTargetArn` – The Amazon Resource Name (ARN) of the
1174
1169
  # dead-letter queue to which Amazon SQS moves messages after the
@@ -1179,38 +1174,9 @@ module Aws::SQS
1179
1174
  # the `ReceiveCount` for a message exceeds the `maxReceiveCount` for
1180
1175
  # a queue, Amazon SQS moves the message to the dead-letter-queue.
1181
1176
  #
1182
- # * `RedriveAllowPolicy` – The string that includes the parameters for
1183
- # the permissions for the dead-letter queue redrive permission and
1184
- # which source queues can specify dead-letter queues as a JSON object.
1185
- # The parameters are as follows:
1186
- #
1187
- # * `redrivePermission` – The permission type that defines which
1188
- # source queues can specify the current queue as the dead-letter
1189
- # queue. Valid values are:
1190
- #
1191
- # * `allowAll` – (Default) Any source queues in this Amazon Web
1192
- # Services account in the same Region can specify this queue as
1193
- # the dead-letter queue.
1194
- #
1195
- # * `denyAll` – No source queues can specify this queue as the
1196
- # dead-letter queue.
1197
- #
1198
- # * `byQueue` – Only queues specified by the `sourceQueueArns`
1199
- # parameter can specify this queue as the dead-letter queue.
1200
- #
1201
- # * `sourceQueueArns` – The Amazon Resource Names (ARN)s of the source
1202
- # queues that can specify this queue as the dead-letter queue and
1203
- # redrive messages. You can specify this parameter only when the
1204
- # `redrivePermission` parameter is set to `byQueue`. You can specify
1205
- # up to 10 source queue ARNs. To allow more than 10 source queues to
1206
- # specify dead-letter queues, set the `redrivePermission` parameter
1207
- # to `allowAll`.
1208
- #
1209
- # <note markdown="1"> The dead-letter queue of a FIFO queue must also be a FIFO queue.
1210
- # Similarly, the dead-letter queue of a standard queue must also be a
1211
- # standard queue.
1212
- #
1213
- # </note>
1177
+ # * `VisibilityTimeout` – Returns the visibility timeout for the queue.
1178
+ # For more information about the visibility timeout, see [Visibility
1179
+ # Timeout][3] in the *Amazon SQS Developer Guide*.
1214
1180
  #
1215
1181
  # The following attributes apply only to [server-side-encryption][4]\:
1216
1182
  #
@@ -1223,24 +1189,29 @@ module Aws::SQS
1223
1189
  # decrypt messages before calling KMS again. For more information, see
1224
1190
  # [How Does the Data Key Reuse Period Work?][6].
1225
1191
  #
1192
+ # * `SqsManagedSseEnabled` – Returns information about whether the queue
1193
+ # is using SSE-SQS encryption using SQS owned encryption keys. Only
1194
+ # one server-side encryption option is supported per queue (e.g.
1195
+ # [SSE-KMS][7] or [SSE-SQS][8]).
1196
+ #
1226
1197
  # The following attributes apply only to [FIFO (first-in-first-out)
1227
- # queues][7]\:
1198
+ # queues][9]\:
1228
1199
  #
1229
1200
  # * `FifoQueue` – Returns information about whether the queue is FIFO.
1230
- # For more information, see [FIFO queue logic][8] in the *Amazon SQS
1201
+ # For more information, see [FIFO queue logic][10] in the *Amazon SQS
1231
1202
  # Developer Guide*.
1232
1203
  #
1233
- # <note markdown="1"> To determine whether a queue is [FIFO][7], you can check whether
1204
+ # <note markdown="1"> To determine whether a queue is [FIFO][9], you can check whether
1234
1205
  # `QueueName` ends with the `.fifo` suffix.
1235
1206
  #
1236
1207
  # </note>
1237
1208
  #
1238
1209
  # * `ContentBasedDeduplication` – Returns whether content-based
1239
1210
  # deduplication is enabled for the queue. For more information, see
1240
- # [Exactly-once processing][9] in the *Amazon SQS Developer Guide*.
1211
+ # [Exactly-once processing][11] in the *Amazon SQS Developer Guide*.
1241
1212
  #
1242
1213
  # The following attributes apply only to [high throughput for FIFO
1243
- # queues][10]\:
1214
+ # queues][12]\:
1244
1215
  #
1245
1216
  # * `DeduplicationScope` – Specifies whether message deduplication
1246
1217
  # occurs at the message group or queue level. Valid values are
@@ -1263,21 +1234,23 @@ module Aws::SQS
1263
1234
  # deduplication occurs as specified.
1264
1235
  #
1265
1236
  # For information on throughput quotas, see [Quotas related to
1266
- # messages][11] in the *Amazon SQS Developer Guide*.
1237
+ # messages][13] in the *Amazon SQS Developer Guide*.
1267
1238
  #
1268
1239
  #
1269
1240
  #
1270
1241
  # [1]: http://en.wikipedia.org/wiki/Unix_time
1271
- # [2]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-visibility-timeout.html
1272
- # [3]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-dead-letter-queues.html
1242
+ # [2]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-dead-letter-queues.html
1243
+ # [3]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-visibility-timeout.html
1273
1244
  # [4]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html
1274
1245
  # [5]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html#sqs-sse-key-terms
1275
1246
  # [6]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html#sqs-how-does-the-data-key-reuse-period-work
1276
- # [7]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html
1277
- # [8]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues-understanding-logic.html
1278
- # [9]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues-exactly-once-processing.html
1279
- # [10]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/high-throughput-fifo.html
1280
- # [11]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/quotas-messages.html
1247
+ # [7]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-configure-sse-existing-queue.html
1248
+ # [8]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-configure-sqs-sse-queue.html
1249
+ # [9]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html
1250
+ # [10]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues-understanding-logic.html
1251
+ # [11]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues-exactly-once-processing.html
1252
+ # [12]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/high-throughput-fifo.html
1253
+ # [13]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/quotas-messages.html
1281
1254
  #
1282
1255
  # @return [Types::GetQueueAttributesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1283
1256
  #
@@ -1287,7 +1260,7 @@ module Aws::SQS
1287
1260
  #
1288
1261
  # resp = client.get_queue_attributes({
1289
1262
  # queue_url: "String", # required
1290
- # attribute_names: ["All"], # accepts All, Policy, VisibilityTimeout, MaximumMessageSize, MessageRetentionPeriod, ApproximateNumberOfMessages, ApproximateNumberOfMessagesNotVisible, CreatedTimestamp, LastModifiedTimestamp, QueueArn, ApproximateNumberOfMessagesDelayed, DelaySeconds, ReceiveMessageWaitTimeSeconds, RedrivePolicy, FifoQueue, ContentBasedDeduplication, KmsMasterKeyId, KmsDataKeyReusePeriodSeconds, DeduplicationScope, FifoThroughputLimit, RedriveAllowPolicy
1263
+ # attribute_names: ["All"], # accepts All, Policy, VisibilityTimeout, MaximumMessageSize, MessageRetentionPeriod, ApproximateNumberOfMessages, ApproximateNumberOfMessagesNotVisible, CreatedTimestamp, LastModifiedTimestamp, QueueArn, ApproximateNumberOfMessagesDelayed, DelaySeconds, ReceiveMessageWaitTimeSeconds, RedrivePolicy, FifoQueue, ContentBasedDeduplication, KmsMasterKeyId, KmsDataKeyReusePeriodSeconds, DeduplicationScope, FifoThroughputLimit, RedriveAllowPolicy, SqsManagedSseEnabled
1291
1264
  # })
1292
1265
  #
1293
1266
  # @example Response structure
@@ -1325,7 +1298,8 @@ module Aws::SQS
1325
1298
  # Queue URLs and names are case-sensitive.
1326
1299
  #
1327
1300
  # @option params [String] :queue_owner_aws_account_id
1328
- # The account ID of the account that created the queue.
1301
+ # The Amazon Web Services account ID of the account that created the
1302
+ # queue.
1329
1303
  #
1330
1304
  # @return [Types::GetQueueUrlResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1331
1305
  #
@@ -1647,6 +1621,10 @@ module Aws::SQS
1647
1621
  # * `SentTimestamp` – Returns the time the message was sent to the queue
1648
1622
  # ([epoch time][1] in milliseconds).
1649
1623
  #
1624
+ # * `SqsManagedSseEnabled` – Enables server-side queue encryption using
1625
+ # SQS owned encryption keys. Only one server-side encryption option is
1626
+ # supported per queue (e.g. [SSE-KMS][2] or [SSE-SQS][3]).
1627
+ #
1650
1628
  # * `MessageDeduplicationId` – Returns the value provided by the
1651
1629
  # producer that calls the ` SendMessage ` action.
1652
1630
  #
@@ -1659,6 +1637,8 @@ module Aws::SQS
1659
1637
  #
1660
1638
  #
1661
1639
  # [1]: http://en.wikipedia.org/wiki/Unix_time
1640
+ # [2]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-configure-sse-existing-queue.html
1641
+ # [3]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-configure-sqs-sse-queue.html
1662
1642
  #
1663
1643
  # @option params [Array<String>] :message_attribute_names
1664
1644
  # The name of the message attribute, where *N* is the index.
@@ -1783,7 +1763,7 @@ module Aws::SQS
1783
1763
  #
1784
1764
  # resp = client.receive_message({
1785
1765
  # queue_url: "String", # required
1786
- # attribute_names: ["All"], # accepts All, Policy, VisibilityTimeout, MaximumMessageSize, MessageRetentionPeriod, ApproximateNumberOfMessages, ApproximateNumberOfMessagesNotVisible, CreatedTimestamp, LastModifiedTimestamp, QueueArn, ApproximateNumberOfMessagesDelayed, DelaySeconds, ReceiveMessageWaitTimeSeconds, RedrivePolicy, FifoQueue, ContentBasedDeduplication, KmsMasterKeyId, KmsDataKeyReusePeriodSeconds, DeduplicationScope, FifoThroughputLimit, RedriveAllowPolicy
1766
+ # attribute_names: ["All"], # accepts All, Policy, VisibilityTimeout, MaximumMessageSize, MessageRetentionPeriod, ApproximateNumberOfMessages, ApproximateNumberOfMessagesNotVisible, CreatedTimestamp, LastModifiedTimestamp, QueueArn, ApproximateNumberOfMessagesDelayed, DelaySeconds, ReceiveMessageWaitTimeSeconds, RedrivePolicy, FifoQueue, ContentBasedDeduplication, KmsMasterKeyId, KmsDataKeyReusePeriodSeconds, DeduplicationScope, FifoThroughputLimit, RedriveAllowPolicy, SqsManagedSseEnabled
1787
1767
  # message_attribute_names: ["MessageAttributeName"],
1788
1768
  # max_number_of_messages: 1,
1789
1769
  # visibility_timeout: 1,
@@ -2247,16 +2227,11 @@ module Aws::SQS
2247
2227
  # for which a ` ReceiveMessage ` action waits for a message to arrive.
2248
2228
  # Valid values: An integer from 0 to 20 (seconds). Default: 0.
2249
2229
  #
2250
- # * `VisibilityTimeout` – The visibility timeout for the queue, in
2251
- # seconds. Valid values: An integer from 0 to 43,200 (12 hours).
2252
- # Default: 30. For more information about the visibility timeout, see
2253
- # [Visibility Timeout][2] in the *Amazon SQS Developer Guide*.
2254
- #
2255
- # The following attributes apply only to [dead-letter queues:][3]
2256
- #
2257
2230
  # * `RedrivePolicy` – The string that includes the parameters for the
2258
2231
  # dead-letter queue functionality of the source queue as a JSON
2259
- # object. The parameters are as follows:
2232
+ # object. For more information about the redrive policy and
2233
+ # dead-letter queues, see [Using Amazon SQS Dead-Letter Queues][2] in
2234
+ # the *Amazon SQS Developer Guide*.
2260
2235
  #
2261
2236
  # * `deadLetterTargetArn` – The Amazon Resource Name (ARN) of the
2262
2237
  # dead-letter queue to which Amazon SQS moves messages after the
@@ -2267,38 +2242,16 @@ module Aws::SQS
2267
2242
  # the `ReceiveCount` for a message exceeds the `maxReceiveCount` for
2268
2243
  # a queue, Amazon SQS moves the message to the dead-letter-queue.
2269
2244
  #
2270
- # * `RedriveAllowPolicy` The string that includes the parameters for
2271
- # the permissions for the dead-letter queue redrive permission and
2272
- # which source queues can specify dead-letter queues as a JSON object.
2273
- # The parameters are as follows:
2274
- #
2275
- # * `redrivePermission` – The permission type that defines which
2276
- # source queues can specify the current queue as the dead-letter
2277
- # queue. Valid values are:
2245
+ # <note markdown="1"> The dead-letter queue of a FIFO queue must also be a FIFO queue.
2246
+ # Similarly, the dead-letter queue of a standard queue must also be a
2247
+ # standard queue.
2278
2248
  #
2279
- # * `allowAll` – (Default) Any source queues in this Amazon Web
2280
- # Services account in the same Region can specify this queue as
2281
- # the dead-letter queue.
2282
- #
2283
- # * `denyAll` – No source queues can specify this queue as the
2284
- # dead-letter queue.
2285
- #
2286
- # * `byQueue` – Only queues specified by the `sourceQueueArns`
2287
- # parameter can specify this queue as the dead-letter queue.
2288
- #
2289
- # * `sourceQueueArns` – The Amazon Resource Names (ARN)s of the source
2290
- # queues that can specify this queue as the dead-letter queue and
2291
- # redrive messages. You can specify this parameter only when the
2292
- # `redrivePermission` parameter is set to `byQueue`. You can specify
2293
- # up to 10 source queue ARNs. To allow more than 10 source queues to
2294
- # specify dead-letter queues, set the `redrivePermission` parameter
2295
- # to `allowAll`.
2296
- #
2297
- # <note markdown="1"> The dead-letter queue of a FIFO queue must also be a FIFO queue.
2298
- # Similarly, the dead-letter queue of a standard queue must also be a
2299
- # standard queue.
2249
+ # </note>
2300
2250
  #
2301
- # </note>
2251
+ # * `VisibilityTimeout` – The visibility timeout for the queue, in
2252
+ # seconds. Valid values: An integer from 0 to 43,200 (12 hours).
2253
+ # Default: 30. For more information about the visibility timeout, see
2254
+ # [Visibility Timeout][3] in the *Amazon SQS Developer Guide*.
2302
2255
  #
2303
2256
  # The following attributes apply only to [server-side-encryption][4]\:
2304
2257
  #
@@ -2318,11 +2271,15 @@ module Aws::SQS
2318
2271
  # after Free Tier. For more information, see [How Does the Data Key
2319
2272
  # Reuse Period Work?][8].
2320
2273
  #
2274
+ # * `SqsManagedSseEnabled` – Enables server-side queue encryption using
2275
+ # SQS owned encryption keys. Only one server-side encryption option is
2276
+ # supported per queue (e.g. [SSE-KMS][9] or [SSE-SQS][10]).
2277
+ #
2321
2278
  # The following attribute applies only to [FIFO (first-in-first-out)
2322
- # queues][9]\:
2279
+ # queues][11]\:
2323
2280
  #
2324
2281
  # * `ContentBasedDeduplication` – Enables content-based deduplication.
2325
- # For more information, see [Exactly-once processing][10] in the
2282
+ # For more information, see [Exactly-once processing][12] in the
2326
2283
  # *Amazon SQS Developer Guide*. Note the following:
2327
2284
  #
2328
2285
  # * Every message must have a unique `MessageDeduplicationId`.
@@ -2354,7 +2311,7 @@ module Aws::SQS
2354
2311
  # duplicates and only one copy of the message is delivered.
2355
2312
  #
2356
2313
  # The following attributes apply only to [high throughput for FIFO
2357
- # queues][11]\:
2314
+ # queues][13]\:
2358
2315
  #
2359
2316
  # * `DeduplicationScope` – Specifies whether message deduplication
2360
2317
  # occurs at the message group or queue level. Valid values are
@@ -2377,22 +2334,24 @@ module Aws::SQS
2377
2334
  # deduplication occurs as specified.
2378
2335
  #
2379
2336
  # For information on throughput quotas, see [Quotas related to
2380
- # messages][12] in the *Amazon SQS Developer Guide*.
2337
+ # messages][14] in the *Amazon SQS Developer Guide*.
2381
2338
  #
2382
2339
  #
2383
2340
  #
2384
2341
  # [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/PoliciesOverview.html
2385
- # [2]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-visibility-timeout.html
2386
- # [3]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-dead-letter-queues.html
2342
+ # [2]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-dead-letter-queues.html
2343
+ # [3]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-visibility-timeout.html
2387
2344
  # [4]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html
2388
2345
  # [5]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html#sqs-sse-key-terms
2389
2346
  # [6]: https://docs.aws.amazon.com/kms/latest/APIReference/API_DescribeKey.html#API_DescribeKey_RequestParameters
2390
2347
  # [7]: https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#data-keys
2391
2348
  # [8]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html#sqs-how-does-the-data-key-reuse-period-work
2392
- # [9]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html
2393
- # [10]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues-exactly-once-processing.html
2394
- # [11]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/high-throughput-fifo.html
2395
- # [12]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/quotas-messages.html
2349
+ # [9]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-configure-sse-existing-queue.html
2350
+ # [10]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-configure-sqs-sse-queue.html
2351
+ # [11]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html
2352
+ # [12]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues-exactly-once-processing.html
2353
+ # [13]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/high-throughput-fifo.html
2354
+ # [14]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/quotas-messages.html
2396
2355
  #
2397
2356
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2398
2357
  #
@@ -2523,7 +2482,7 @@ module Aws::SQS
2523
2482
  params: params,
2524
2483
  config: config)
2525
2484
  context[:gem_name] = 'aws-sdk-sqs'
2526
- context[:gem_version] = '1.45.0'
2485
+ context[:gem_version] = '1.49.0'
2527
2486
  Seahorse::Client::Request.new(handlers, context)
2528
2487
  end
2529
2488
 
@@ -43,7 +43,8 @@ module Aws::SQS
43
43
  end
44
44
 
45
45
  # A unique identifier for the message. A `MessageId`is considered unique
46
- # across all accounts for an extended period of time.
46
+ # across all Amazon Web Services accounts for an extended period of
47
+ # time.
47
48
  # @return [String]
48
49
  def message_id
49
50
  data[:message_id]