aws-sdk-sqs 1.25.0 → 1.30.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: a2bf903a2c081344f01323e9e62759339fd2521c7a187f3da24a0a0341bdb289
4
- data.tar.gz: d1fcc31eac1fef1cd24dd9c9cad71116cc6dbd9a6141c739880993d83d34fefb
3
+ metadata.gz: 93422dad4111b4a299d380fccf8232897db5c969c05f6a57c4176ae0df3de130
4
+ data.tar.gz: 2a9e5b1ab1f9e2f1a3414698336306b7dacdc19e43ff3ac3bae0116ead4db456
5
5
  SHA512:
6
- metadata.gz: 2bbb6794928629cbe634371a6266eb274cba1982f0394168298e19bf1aed6e98517b703df6952b8c37e0ea513d8f0f7ff58c26751a7d7038133d078e10f4780d
7
- data.tar.gz: 9728ce1d5ab465f6aa789e89451f9d7d8cdcfe2a259d0be428e19f769a8766b16403d2a9789443a8c51438e85d5cf030cecfdc3732803a665cda0c8f3eccc43d
6
+ metadata.gz: 732109c5f0afec252ab4ee6fda4250071e98982e1fd87389c2d5fce96d1aa74ac4fd4e4bcd6f62242451a388e7c173eeec41def4b03a66c3a2268f96fbf73e94
7
+ data.tar.gz: 3c83b377ede6677cc3f378f974b56eb93efaa428a303b687a6cda41beb0e4c286bfac01ffd19b13aa79023629943b2192366001fb805b3e72cc018f3f7d7f8ed
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -47,6 +49,6 @@ require_relative 'aws-sdk-sqs/customizations'
47
49
  # @service
48
50
  module Aws::SQS
49
51
 
50
- GEM_VERSION = '1.25.0'
52
+ GEM_VERSION = '1.30.0'
51
53
 
52
54
  end
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -24,6 +26,7 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
24
26
  require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
25
27
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
26
28
  require 'aws-sdk-core/plugins/transfer_encoding.rb'
29
+ require 'aws-sdk-core/plugins/http_checksum.rb'
27
30
  require 'aws-sdk-core/plugins/signature_v4.rb'
28
31
  require 'aws-sdk-core/plugins/protocols/query.rb'
29
32
  require 'aws-sdk-sqs/plugins/queue_urls.rb'
@@ -71,6 +74,7 @@ module Aws::SQS
71
74
  add_plugin(Aws::Plugins::ClientMetricsPlugin)
72
75
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
73
76
  add_plugin(Aws::Plugins::TransferEncoding)
77
+ add_plugin(Aws::Plugins::HttpChecksum)
74
78
  add_plugin(Aws::Plugins::SignatureV4)
75
79
  add_plugin(Aws::Plugins::Protocols::Query)
76
80
  add_plugin(Aws::SQS::Plugins::QueueUrls)
@@ -165,7 +169,7 @@ module Aws::SQS
165
169
  # @option options [String] :endpoint
166
170
  # The client endpoint is normally constructed from the `:region`
167
171
  # option. You should only configure an `:endpoint` when connecting
168
- # to test endpoints. This should be a valid HTTP(S) URI.
172
+ # to test or custom endpoints. This should be a valid HTTP(S) URI.
169
173
  #
170
174
  # @option options [Integer] :endpoint_cache_max_entries (1000)
171
175
  # Used for the maximum size limit of the LRU cache storing endpoints data
@@ -180,7 +184,7 @@ module Aws::SQS
180
184
  # requests fetching endpoints information. Defaults to 60 sec.
181
185
  #
182
186
  # @option options [Boolean] :endpoint_discovery (false)
183
- # When set to `true`, endpoint discovery will be enabled for operations when available. Defaults to `false`.
187
+ # When set to `true`, endpoint discovery will be enabled for operations when available.
184
188
  #
185
189
  # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
186
190
  # The log formatter.
@@ -344,9 +348,9 @@ module Aws::SQS
344
348
  # the `param.n` notation. Values of `n` are integers starting from 1.
345
349
  # For example, a parameter list with two elements looks like this:
346
350
  #
347
- # `&Attribute.1=first`
351
+ # `&AttributeName.1=first`
348
352
  #
349
- # `&Attribute.2=second`
353
+ # `&AttributeName.2=second`
350
354
  #
351
355
  # <note markdown="1"> Cross-account permissions don't apply to this action. For more
352
356
  # information, see [Grant Cross-Account Permissions to a Role and a User
@@ -533,9 +537,9 @@ module Aws::SQS
533
537
  # the `param.n` notation. Values of `n` are integers starting from 1.
534
538
  # For example, a parameter list with two elements looks like this:
535
539
  #
536
- # `&Attribute.1=first`
540
+ # `&AttributeName.1=first`
537
541
  #
538
- # `&Attribute.2=second`
542
+ # `&AttributeName.2=second`
539
543
  #
540
544
  # @option params [required, String] :queue_url
541
545
  # The URL of the Amazon SQS queue whose messages' visibility is
@@ -585,7 +589,7 @@ module Aws::SQS
585
589
  end
586
590
 
587
591
  # Creates a new standard or FIFO queue. You can pass one or more
588
- # attributes in the request. Keep the following caveats in mind:
592
+ # attributes in the request. Keep the following in mind:
589
593
  #
590
594
  # * If you don't specify the `FifoQueue` attribute, Amazon SQS creates
591
595
  # a standard queue.
@@ -609,6 +613,11 @@ module Aws::SQS
609
613
  # adheres to the [limits related to queues][2] and is unique within the
610
614
  # scope of your queues.
611
615
  #
616
+ # <note markdown="1"> After you create a queue, you must wait at least one second after the
617
+ # queue is created to be able to use the queue.
618
+ #
619
+ # </note>
620
+ #
612
621
  # To get the queue URL, use the ` GetQueueUrl ` action. ` GetQueueUrl `
613
622
  # requires only the `QueueName` parameter. be aware of existing queue
614
623
  # names:
@@ -624,9 +633,9 @@ module Aws::SQS
624
633
  # the `param.n` notation. Values of `n` are integers starting from 1.
625
634
  # For example, a parameter list with two elements looks like this:
626
635
  #
627
- # `&Attribute.1=first`
636
+ # `&AttributeName.1=first`
628
637
  #
629
- # `&Attribute.2=second`
638
+ # `&AttributeName.2=second`
630
639
  #
631
640
  # <note markdown="1"> Cross-account permissions don't apply to this action. For more
632
641
  # information, see [Grant Cross-Account Permissions to a Role and a User
@@ -658,39 +667,39 @@ module Aws::SQS
658
667
  # The following lists the names, descriptions, and values of the special
659
668
  # request parameters that the `CreateQueue` action uses:
660
669
  #
661
- # * `DelaySeconds` - The length of time, in seconds, for which the
670
+ # * `DelaySeconds` The length of time, in seconds, for which the
662
671
  # delivery of all messages in the queue is delayed. Valid values: An
663
672
  # integer from 0 to 900 seconds (15 minutes). Default: 0.
664
673
  #
665
- # * `MaximumMessageSize` - The limit of how many bytes a message can
674
+ # * `MaximumMessageSize` The limit of how many bytes a message can
666
675
  # contain before Amazon SQS rejects it. Valid values: An integer from
667
676
  # 1,024 bytes (1 KiB) to 262,144 bytes (256 KiB). Default: 262,144
668
677
  # (256 KiB).
669
678
  #
670
- # * `MessageRetentionPeriod` - The length of time, in seconds, for which
679
+ # * `MessageRetentionPeriod` The length of time, in seconds, for which
671
680
  # Amazon SQS retains a message. Valid values: An integer from 60
672
681
  # seconds (1 minute) to 1,209,600 seconds (14 days). Default: 345,600
673
682
  # (4 days).
674
683
  #
675
- # * `Policy` - The queue's policy. A valid AWS policy. For more
684
+ # * `Policy` The queue's policy. A valid AWS policy. For more
676
685
  # information about policy structure, see [Overview of AWS IAM
677
686
  # Policies][1] in the *Amazon IAM User Guide*.
678
687
  #
679
- # * `ReceiveMessageWaitTimeSeconds` - The length of time, in seconds,
688
+ # * `ReceiveMessageWaitTimeSeconds` The length of time, in seconds,
680
689
  # for which a ` ReceiveMessage ` action waits for a message to arrive.
681
690
  # Valid values: An integer from 0 to 20 (seconds). Default: 0.
682
691
  #
683
- # * `RedrivePolicy` - The string that includes the parameters for the
684
- # dead-letter queue functionality of the source queue. For more
685
- # information about the redrive policy and dead-letter queues, see
686
- # [Using Amazon SQS Dead-Letter Queues][2] in the *Amazon Simple Queue
687
- # Service Developer Guide*.
692
+ # * `RedrivePolicy` The string that includes the parameters for the
693
+ # dead-letter queue functionality of the source queue as a JSON
694
+ # object. For more information about the redrive policy and
695
+ # dead-letter queues, see [Using Amazon SQS Dead-Letter Queues][2] in
696
+ # the *Amazon Simple Queue Service Developer Guide*.
688
697
  #
689
- # * `deadLetterTargetArn` - The Amazon Resource Name (ARN) of the
698
+ # * `deadLetterTargetArn` The Amazon Resource Name (ARN) of the
690
699
  # dead-letter queue to which Amazon SQS moves messages after the
691
700
  # value of `maxReceiveCount` is exceeded.
692
701
  #
693
- # * `maxReceiveCount` - The number of times a message is delivered to
702
+ # * `maxReceiveCount` The number of times a message is delivered to
694
703
  # the source queue before being moved to the dead-letter queue. When
695
704
  # the `ReceiveCount` for a message exceeds the `maxReceiveCount` for
696
705
  # a queue, Amazon SQS moves the message to the dead-letter-queue.
@@ -701,7 +710,7 @@ module Aws::SQS
701
710
  #
702
711
  # </note>
703
712
  #
704
- # * `VisibilityTimeout` - The visibility timeout for the queue, in
713
+ # * `VisibilityTimeout` The visibility timeout for the queue, in
705
714
  # seconds. Valid values: An integer from 0 to 43,200 (12 hours).
706
715
  # Default: 30. For more information about the visibility timeout, see
707
716
  # [Visibility Timeout][3] in the *Amazon Simple Queue Service
@@ -709,14 +718,14 @@ module Aws::SQS
709
718
  #
710
719
  # The following attributes apply only to [server-side-encryption][4]\:
711
720
  #
712
- # * `KmsMasterKeyId` - The ID of an AWS-managed customer master key
721
+ # * `KmsMasterKeyId` The ID of an AWS-managed customer master key
713
722
  # (CMK) for Amazon SQS or a custom CMK. For more information, see [Key
714
723
  # Terms][5]. While the alias of the AWS-managed CMK for Amazon SQS is
715
724
  # always `alias/aws/sqs`, the alias of a custom CMK can, for example,
716
725
  # be `alias/MyAlias `. For more examples, see [KeyId][6] in the *AWS
717
726
  # Key Management Service API Reference*.
718
727
  #
719
- # * `KmsDataKeyReusePeriodSeconds` - The length of time, in seconds, for
728
+ # * `KmsDataKeyReusePeriodSeconds` The length of time, in seconds, for
720
729
  # which Amazon SQS can reuse a [data key][7] to encrypt or decrypt
721
730
  # messages before calling AWS KMS again. An integer representing
722
731
  # seconds, between 60 seconds (1 minute) and 86,400 seconds (24
@@ -728,7 +737,7 @@ module Aws::SQS
728
737
  # The following attributes apply only to [FIFO (first-in-first-out)
729
738
  # queues][9]\:
730
739
  #
731
- # * `FifoQueue` - Designates a queue as FIFO. Valid values: `true`,
740
+ # * `FifoQueue` Designates a queue as FIFO. Valid values: `true`,
732
741
  # `false`. If you don't specify the `FifoQueue` attribute, Amazon SQS
733
742
  # creates a standard queue. You can provide this attribute only during
734
743
  # queue creation. You can't change it for an existing queue. When you
@@ -738,7 +747,7 @@ module Aws::SQS
738
747
  # For more information, see [FIFO Queue Logic][10] in the *Amazon
739
748
  # Simple Queue Service Developer Guide*.
740
749
  #
741
- # * `ContentBasedDeduplication` - Enables content-based deduplication.
750
+ # * `ContentBasedDeduplication` Enables content-based deduplication.
742
751
  # Valid values: `true`, `false`. For more information, see
743
752
  # [Exactly-Once Processing][11] in the *Amazon Simple Queue Service
744
753
  # Developer Guide*.
@@ -912,9 +921,9 @@ module Aws::SQS
912
921
  # the `param.n` notation. Values of `n` are integers starting from 1.
913
922
  # For example, a parameter list with two elements looks like this:
914
923
  #
915
- # `&Attribute.1=first`
924
+ # `&AttributeName.1=first`
916
925
  #
917
- # `&Attribute.2=second`
926
+ # `&AttributeName.2=second`
918
927
  #
919
928
  # @option params [required, String] :queue_url
920
929
  # The URL of the Amazon SQS queue from which messages are deleted.
@@ -961,8 +970,7 @@ module Aws::SQS
961
970
  end
962
971
 
963
972
  # Deletes the queue specified by the `QueueUrl`, regardless of the
964
- # queue's contents. If the specified queue doesn't exist, Amazon SQS
965
- # returns a successful response.
973
+ # queue's contents.
966
974
  #
967
975
  # Be careful with the `DeleteQueue` action: When you delete a queue, any
968
976
  # messages in the queue are no longer available.
@@ -1014,14 +1022,6 @@ module Aws::SQS
1014
1022
  #
1015
1023
  # </note>
1016
1024
  #
1017
- # Some actions take lists of parameters. These lists are specified using
1018
- # the `param.n` notation. Values of `n` are integers starting from 1.
1019
- # For example, a parameter list with two elements looks like this:
1020
- #
1021
- # `&Attribute.1=first`
1022
- #
1023
- # `&Attribute.2=second`
1024
- #
1025
1025
  #
1026
1026
  #
1027
1027
  # [1]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html
@@ -1043,70 +1043,77 @@ module Aws::SQS
1043
1043
  #
1044
1044
  # The following attributes are supported:
1045
1045
  #
1046
- # * `All` - Returns all values.
1046
+ # The `ApproximateNumberOfMessagesDelayed`,
1047
+ # `ApproximateNumberOfMessagesNotVisible`, and
1048
+ # `ApproximateNumberOfMessagesVisible` metrics may not achieve
1049
+ # consistency until at least 1 minute after the producers stop sending
1050
+ # messages. This period is required for the queue metadata to reach
1051
+ # eventual consistency.
1052
+ #
1053
+ # * `All` – Returns all values.
1047
1054
  #
1048
- # * `ApproximateNumberOfMessages` - Returns the approximate number of
1055
+ # * `ApproximateNumberOfMessages` Returns the approximate number of
1049
1056
  # messages available for retrieval from the queue.
1050
1057
  #
1051
- # * `ApproximateNumberOfMessagesDelayed` - Returns the approximate
1058
+ # * `ApproximateNumberOfMessagesDelayed` Returns the approximate
1052
1059
  # number of messages in the queue that are delayed and not available
1053
1060
  # for reading immediately. This can happen when the queue is
1054
1061
  # configured as a delay queue or when a message has been sent with a
1055
1062
  # delay parameter.
1056
1063
  #
1057
- # * `ApproximateNumberOfMessagesNotVisible` - Returns the approximate
1064
+ # * `ApproximateNumberOfMessagesNotVisible` Returns the approximate
1058
1065
  # number of messages that are in flight. Messages are considered to be
1059
1066
  # *in flight* if they have been sent to a client but have not yet been
1060
1067
  # deleted or have not yet reached the end of their visibility window.
1061
1068
  #
1062
- # * `CreatedTimestamp` - Returns the time when the queue was created in
1069
+ # * `CreatedTimestamp` Returns the time when the queue was created in
1063
1070
  # seconds ([epoch time][1]).
1064
1071
  #
1065
- # * `DelaySeconds` - Returns the default delay on the queue in seconds.
1072
+ # * `DelaySeconds` Returns the default delay on the queue in seconds.
1066
1073
  #
1067
- # * `LastModifiedTimestamp` - Returns the time when the queue was last
1074
+ # * `LastModifiedTimestamp` Returns the time when the queue was last
1068
1075
  # changed in seconds ([epoch time][1]).
1069
1076
  #
1070
- # * `MaximumMessageSize` - Returns the limit of how many bytes a message
1077
+ # * `MaximumMessageSize` Returns the limit of how many bytes a message
1071
1078
  # can contain before Amazon SQS rejects it.
1072
1079
  #
1073
- # * `MessageRetentionPeriod` - Returns the length of time, in seconds,
1080
+ # * `MessageRetentionPeriod` Returns the length of time, in seconds,
1074
1081
  # for which Amazon SQS retains a message.
1075
1082
  #
1076
- # * `Policy` - Returns the policy of the queue.
1083
+ # * `Policy` Returns the policy of the queue.
1077
1084
  #
1078
- # * `QueueArn` - Returns the Amazon resource name (ARN) of the queue.
1085
+ # * `QueueArn` Returns the Amazon resource name (ARN) of the queue.
1079
1086
  #
1080
- # * `ReceiveMessageWaitTimeSeconds` - Returns the length of time, in
1087
+ # * `ReceiveMessageWaitTimeSeconds` Returns the length of time, in
1081
1088
  # seconds, for which the `ReceiveMessage` action waits for a message
1082
1089
  # to arrive.
1083
1090
  #
1084
- # * `RedrivePolicy` - Returns the string that includes the parameters
1085
- # for dead-letter queue functionality of the source queue. For more
1086
- # information about the redrive policy and dead-letter queues, see
1087
- # [Using Amazon SQS Dead-Letter Queues][2] in the *Amazon Simple Queue
1088
- # Service Developer Guide*.
1091
+ # * `RedrivePolicy` The string that includes the parameters for the
1092
+ # dead-letter queue functionality of the source queue as a JSON
1093
+ # object. For more information about the redrive policy and
1094
+ # dead-letter queues, see [Using Amazon SQS Dead-Letter Queues][2] in
1095
+ # the *Amazon Simple Queue Service Developer Guide*.
1089
1096
  #
1090
- # * `deadLetterTargetArn` - The Amazon Resource Name (ARN) of the
1097
+ # * `deadLetterTargetArn` The Amazon Resource Name (ARN) of the
1091
1098
  # dead-letter queue to which Amazon SQS moves messages after the
1092
1099
  # value of `maxReceiveCount` is exceeded.
1093
1100
  #
1094
- # * `maxReceiveCount` - The number of times a message is delivered to
1101
+ # * `maxReceiveCount` The number of times a message is delivered to
1095
1102
  # the source queue before being moved to the dead-letter queue. When
1096
1103
  # the `ReceiveCount` for a message exceeds the `maxReceiveCount` for
1097
1104
  # a queue, Amazon SQS moves the message to the dead-letter-queue.
1098
1105
  #
1099
- # * `VisibilityTimeout` - Returns the visibility timeout for the queue.
1106
+ # * `VisibilityTimeout` Returns the visibility timeout for the queue.
1100
1107
  # For more information about the visibility timeout, see [Visibility
1101
1108
  # Timeout][3] in the *Amazon Simple Queue Service Developer Guide*.
1102
1109
  #
1103
1110
  # The following attributes apply only to [server-side-encryption][4]\:
1104
1111
  #
1105
- # * `KmsMasterKeyId` - Returns the ID of an AWS-managed customer master
1112
+ # * `KmsMasterKeyId` Returns the ID of an AWS-managed customer master
1106
1113
  # key (CMK) for Amazon SQS or a custom CMK. For more information, see
1107
1114
  # [Key Terms][5].
1108
1115
  #
1109
- # * `KmsDataKeyReusePeriodSeconds` - Returns the length of time, in
1116
+ # * `KmsDataKeyReusePeriodSeconds` Returns the length of time, in
1110
1117
  # seconds, for which Amazon SQS can reuse a data key to encrypt or
1111
1118
  # decrypt messages before calling AWS KMS again. For more information,
1112
1119
  # see [How Does the Data Key Reuse Period Work?][6].
@@ -1114,7 +1121,7 @@ module Aws::SQS
1114
1121
  # The following attributes apply only to [FIFO (first-in-first-out)
1115
1122
  # queues][7]\:
1116
1123
  #
1117
- # * `FifoQueue` - Returns whether the queue is FIFO. For more
1124
+ # * `FifoQueue` Returns whether the queue is FIFO. For more
1118
1125
  # information, see [FIFO Queue Logic][8] in the *Amazon Simple Queue
1119
1126
  # Service Developer Guide*.
1120
1127
  #
@@ -1123,7 +1130,7 @@ module Aws::SQS
1123
1130
  #
1124
1131
  # </note>
1125
1132
  #
1126
- # * `ContentBasedDeduplication` - Returns whether content-based
1133
+ # * `ContentBasedDeduplication` Returns whether content-based
1127
1134
  # deduplication is enabled for the queue. For more information, see
1128
1135
  # [Exactly-Once Processing][9] in the *Amazon Simple Queue Service
1129
1136
  # Developer Guide*.
@@ -1228,20 +1235,32 @@ module Aws::SQS
1228
1235
  #
1229
1236
  # Queue URLs and names are case-sensitive.
1230
1237
  #
1238
+ # @option params [String] :next_token
1239
+ # Pagination token to request the next set of results.
1240
+ #
1241
+ # @option params [Integer] :max_results
1242
+ # Maximum number of results to include in the response.
1243
+ #
1231
1244
  # @return [Types::ListDeadLetterSourceQueuesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1232
1245
  #
1233
1246
  # * {Types::ListDeadLetterSourceQueuesResult#queue_urls #queue_urls} => Array&lt;String&gt;
1247
+ # * {Types::ListDeadLetterSourceQueuesResult#next_token #next_token} => String
1248
+ #
1249
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1234
1250
  #
1235
1251
  # @example Request syntax with placeholder values
1236
1252
  #
1237
1253
  # resp = client.list_dead_letter_source_queues({
1238
1254
  # queue_url: "String", # required
1255
+ # next_token: "Token",
1256
+ # max_results: 1,
1239
1257
  # })
1240
1258
  #
1241
1259
  # @example Response structure
1242
1260
  #
1243
1261
  # resp.queue_urls #=> Array
1244
1262
  # resp.queue_urls[0] #=> String
1263
+ # resp.next_token #=> String
1245
1264
  #
1246
1265
  # @see http://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/ListDeadLetterSourceQueues AWS API Documentation
1247
1266
  #
@@ -1315,20 +1334,32 @@ module Aws::SQS
1315
1334
  #
1316
1335
  # Queue URLs and names are case-sensitive.
1317
1336
  #
1337
+ # @option params [String] :next_token
1338
+ # Pagination token to request the next set of results.
1339
+ #
1340
+ # @option params [Integer] :max_results
1341
+ # Maximum number of results to include in the response.
1342
+ #
1318
1343
  # @return [Types::ListQueuesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1319
1344
  #
1320
1345
  # * {Types::ListQueuesResult#queue_urls #queue_urls} => Array&lt;String&gt;
1346
+ # * {Types::ListQueuesResult#next_token #next_token} => String
1347
+ #
1348
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1321
1349
  #
1322
1350
  # @example Request syntax with placeholder values
1323
1351
  #
1324
1352
  # resp = client.list_queues({
1325
1353
  # queue_name_prefix: "String",
1354
+ # next_token: "Token",
1355
+ # max_results: 1,
1326
1356
  # })
1327
1357
  #
1328
1358
  # @example Response structure
1329
1359
  #
1330
1360
  # resp.queue_urls #=> Array
1331
1361
  # resp.queue_urls[0] #=> String
1362
+ # resp.next_token #=> String
1332
1363
  #
1333
1364
  # @see http://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/ListQueues AWS API Documentation
1334
1365
  #
@@ -1443,15 +1474,15 @@ module Aws::SQS
1443
1474
  # A list of attributes that need to be returned along with each message.
1444
1475
  # These attributes include:
1445
1476
  #
1446
- # * `All` - Returns all values.
1477
+ # * `All` Returns all values.
1447
1478
  #
1448
- # * `ApproximateFirstReceiveTimestamp` - Returns the time the message
1479
+ # * `ApproximateFirstReceiveTimestamp` Returns the time the message
1449
1480
  # was first received from the queue ([epoch time][1] in milliseconds).
1450
1481
  #
1451
- # * `ApproximateReceiveCount` - Returns the number of times a message
1452
- # has been received from the queue but not deleted.
1482
+ # * `ApproximateReceiveCount` Returns the number of times a message
1483
+ # has been received across all queues but not deleted.
1453
1484
  #
1454
- # * `AWSTraceHeader` - Returns the AWS X-Ray trace header string.
1485
+ # * `AWSTraceHeader` Returns the AWS X-Ray trace header string.
1455
1486
  #
1456
1487
  # * `SenderId`
1457
1488
  #
@@ -1461,17 +1492,17 @@ module Aws::SQS
1461
1492
  # * For an IAM role, returns the IAM role ID, for example
1462
1493
  # `ABCDE1F2GH3I4JK5LMNOP:i-a123b456`.
1463
1494
  #
1464
- # * `SentTimestamp` - Returns the time the message was sent to the queue
1495
+ # * `SentTimestamp` Returns the time the message was sent to the queue
1465
1496
  # ([epoch time][1] in milliseconds).
1466
1497
  #
1467
- # * `MessageDeduplicationId` - Returns the value provided by the
1498
+ # * `MessageDeduplicationId` Returns the value provided by the
1468
1499
  # producer that calls the ` SendMessage ` action.
1469
1500
  #
1470
- # * `MessageGroupId` - Returns the value provided by the producer that
1501
+ # * `MessageGroupId` Returns the value provided by the producer that
1471
1502
  # calls the ` SendMessage ` action. Messages with the same
1472
1503
  # `MessageGroupId` are returned in sequence.
1473
1504
  #
1474
- # * `SequenceNumber` - Returns the value provided by Amazon SQS.
1505
+ # * `SequenceNumber` Returns the value provided by Amazon SQS.
1475
1506
  #
1476
1507
  #
1477
1508
  #
@@ -1516,14 +1547,25 @@ module Aws::SQS
1516
1547
  # available and the wait time expires, the call returns successfully
1517
1548
  # with an empty list of messages.
1518
1549
  #
1550
+ # To avoid HTTP errors, ensure that the HTTP response timeout for
1551
+ # `ReceiveMessage` requests is longer than the `WaitTimeSeconds`
1552
+ # parameter. For example, with the Java SDK, you can set HTTP transport
1553
+ # settings using the [ NettyNioAsyncHttpClient][1] for asynchronous
1554
+ # clients, or the [ ApacheHttpClient][2] for synchronous clients.
1555
+ #
1556
+ #
1557
+ #
1558
+ # [1]: https://sdk.amazonaws.com/java/api/latest/software/amazon/awssdk/http/nio/netty/NettyNioAsyncHttpClient.html
1559
+ # [2]: https://sdk.amazonaws.com/java/api/latest/software/amazon/awssdk/http/apache/ApacheHttpClient.html
1560
+ #
1519
1561
  # @option params [String] :receive_request_attempt_id
1520
1562
  # This parameter applies only to FIFO (first-in-first-out) queues.
1521
1563
  #
1522
1564
  # The token used for deduplication of `ReceiveMessage` calls. If a
1523
1565
  # networking issue occurs after a `ReceiveMessage` action, and instead
1524
- # of a response you receive a generic error, you can retry the same
1525
- # action with an identical `ReceiveRequestAttemptId` to retrieve the
1526
- # same set of messages, even if their visibility timeout has not yet
1566
+ # of a response you receive a generic error, it is possible to retry the
1567
+ # same action with an identical `ReceiveRequestAttemptId` to retrieve
1568
+ # the same set of messages, even if their visibility timeout has not yet
1527
1569
  # expired.
1528
1570
  #
1529
1571
  # * You can use `ReceiveRequestAttemptId` only for 5 minutes after a
@@ -1536,7 +1578,7 @@ module Aws::SQS
1536
1578
  # `ReceiveRequestAttemptId`, Amazon SQS generates a
1537
1579
  # `ReceiveRequestAttemptId`.
1538
1580
  #
1539
- # * You can retry the `ReceiveMessage` action with the same
1581
+ # * It is possible to retry the `ReceiveMessage` action with the same
1540
1582
  # `ReceiveRequestAttemptId` if none of the messages have been modified
1541
1583
  # (deleted or had their visibility changes).
1542
1584
  #
@@ -1567,7 +1609,7 @@ module Aws::SQS
1567
1609
  # visibility timeout expires. As a result, delays might occur but the
1568
1610
  # messages in the queue remain in a strict order.
1569
1611
  #
1570
- # The length of `ReceiveRequestAttemptId` is 128 characters.
1612
+ # The maximum length of `ReceiveRequestAttemptId` is 128 characters.
1571
1613
  # `ReceiveRequestAttemptId` can contain alphanumeric characters (`a-z`,
1572
1614
  # `A-Z`, `0-9`) and punctuation (`` !"#$%&'()*+,-./:;<=>?@[\]^_`\{|\}~
1573
1615
  # ``).
@@ -1734,7 +1776,7 @@ module Aws::SQS
1734
1776
  #
1735
1777
  # * Currently, the only supported message system attribute is
1736
1778
  # `AWSTraceHeader`. Its type must be `String` and its value must be a
1737
- # correctly formatted AWS X-Ray trace string.
1779
+ # correctly formatted AWS X-Ray trace header string.
1738
1780
  #
1739
1781
  # * The size of a message system attribute doesn't count towards the
1740
1782
  # total size of a message.
@@ -1787,7 +1829,7 @@ module Aws::SQS
1787
1829
  #
1788
1830
  # </note>
1789
1831
  #
1790
- # The length of `MessageDeduplicationId` is 128 characters.
1832
+ # The maximum length of `MessageDeduplicationId` is 128 characters.
1791
1833
  # `MessageDeduplicationId` can contain alphanumeric characters (`a-z`,
1792
1834
  # `A-Z`, `0-9`) and punctuation (`` !"#$%&'()*+,-./:;<=>?@[\]^_`\{|\}~
1793
1835
  # ``).
@@ -1917,9 +1959,9 @@ module Aws::SQS
1917
1959
  # the `param.n` notation. Values of `n` are integers starting from 1.
1918
1960
  # For example, a parameter list with two elements looks like this:
1919
1961
  #
1920
- # `&Attribute.1=first`
1962
+ # `&AttributeName.1=first`
1921
1963
  #
1922
- # `&Attribute.2=second`
1964
+ # `&AttributeName.2=second`
1923
1965
  #
1924
1966
  #
1925
1967
  #
@@ -2030,39 +2072,39 @@ module Aws::SQS
2030
2072
  # The following lists the names, descriptions, and values of the special
2031
2073
  # request parameters that the `SetQueueAttributes` action uses:
2032
2074
  #
2033
- # * `DelaySeconds` - The length of time, in seconds, for which the
2075
+ # * `DelaySeconds` The length of time, in seconds, for which the
2034
2076
  # delivery of all messages in the queue is delayed. Valid values: An
2035
2077
  # integer from 0 to 900 (15 minutes). Default: 0.
2036
2078
  #
2037
- # * `MaximumMessageSize` - The limit of how many bytes a message can
2079
+ # * `MaximumMessageSize` The limit of how many bytes a message can
2038
2080
  # contain before Amazon SQS rejects it. Valid values: An integer from
2039
2081
  # 1,024 bytes (1 KiB) up to 262,144 bytes (256 KiB). Default: 262,144
2040
2082
  # (256 KiB).
2041
2083
  #
2042
- # * `MessageRetentionPeriod` - The length of time, in seconds, for which
2084
+ # * `MessageRetentionPeriod` The length of time, in seconds, for which
2043
2085
  # Amazon SQS retains a message. Valid values: An integer representing
2044
2086
  # seconds, from 60 (1 minute) to 1,209,600 (14 days). Default: 345,600
2045
2087
  # (4 days).
2046
2088
  #
2047
- # * `Policy` - The queue's policy. A valid AWS policy. For more
2089
+ # * `Policy` The queue's policy. A valid AWS policy. For more
2048
2090
  # information about policy structure, see [Overview of AWS IAM
2049
2091
  # Policies][1] in the *Amazon IAM User Guide*.
2050
2092
  #
2051
- # * `ReceiveMessageWaitTimeSeconds` - The length of time, in seconds,
2093
+ # * `ReceiveMessageWaitTimeSeconds` The length of time, in seconds,
2052
2094
  # for which a ` ReceiveMessage ` action waits for a message to arrive.
2053
- # Valid values: an integer from 0 to 20 (seconds). Default: 0.
2095
+ # Valid values: An integer from 0 to 20 (seconds). Default: 0.
2054
2096
  #
2055
- # * `RedrivePolicy` - The string that includes the parameters for the
2056
- # dead-letter queue functionality of the source queue. For more
2057
- # information about the redrive policy and dead-letter queues, see
2058
- # [Using Amazon SQS Dead-Letter Queues][2] in the *Amazon Simple Queue
2059
- # Service Developer Guide*.
2097
+ # * `RedrivePolicy` The string that includes the parameters for the
2098
+ # dead-letter queue functionality of the source queue as a JSON
2099
+ # object. For more information about the redrive policy and
2100
+ # dead-letter queues, see [Using Amazon SQS Dead-Letter Queues][2] in
2101
+ # the *Amazon Simple Queue Service Developer Guide*.
2060
2102
  #
2061
- # * `deadLetterTargetArn` - The Amazon Resource Name (ARN) of the
2103
+ # * `deadLetterTargetArn` The Amazon Resource Name (ARN) of the
2062
2104
  # dead-letter queue to which Amazon SQS moves messages after the
2063
2105
  # value of `maxReceiveCount` is exceeded.
2064
2106
  #
2065
- # * `maxReceiveCount` - The number of times a message is delivered to
2107
+ # * `maxReceiveCount` The number of times a message is delivered to
2066
2108
  # the source queue before being moved to the dead-letter queue. When
2067
2109
  # the `ReceiveCount` for a message exceeds the `maxReceiveCount` for
2068
2110
  # a queue, Amazon SQS moves the message to the dead-letter-queue.
@@ -2073,22 +2115,22 @@ module Aws::SQS
2073
2115
  #
2074
2116
  # </note>
2075
2117
  #
2076
- # * `VisibilityTimeout` - The visibility timeout for the queue, in
2077
- # seconds. Valid values: an integer from 0 to 43,200 (12 hours).
2118
+ # * `VisibilityTimeout` The visibility timeout for the queue, in
2119
+ # seconds. Valid values: An integer from 0 to 43,200 (12 hours).
2078
2120
  # Default: 30. For more information about the visibility timeout, see
2079
2121
  # [Visibility Timeout][3] in the *Amazon Simple Queue Service
2080
2122
  # Developer Guide*.
2081
2123
  #
2082
2124
  # The following attributes apply only to [server-side-encryption][4]\:
2083
2125
  #
2084
- # * `KmsMasterKeyId` - The ID of an AWS-managed customer master key
2126
+ # * `KmsMasterKeyId` The ID of an AWS-managed customer master key
2085
2127
  # (CMK) for Amazon SQS or a custom CMK. For more information, see [Key
2086
2128
  # Terms][5]. While the alias of the AWS-managed CMK for Amazon SQS is
2087
2129
  # always `alias/aws/sqs`, the alias of a custom CMK can, for example,
2088
2130
  # be `alias/MyAlias `. For more examples, see [KeyId][6] in the *AWS
2089
2131
  # Key Management Service API Reference*.
2090
2132
  #
2091
- # * `KmsDataKeyReusePeriodSeconds` - The length of time, in seconds, for
2133
+ # * `KmsDataKeyReusePeriodSeconds` The length of time, in seconds, for
2092
2134
  # which Amazon SQS can reuse a [data key][7] to encrypt or decrypt
2093
2135
  # messages before calling AWS KMS again. An integer representing
2094
2136
  # seconds, between 60 seconds (1 minute) and 86,400 seconds (24
@@ -2100,7 +2142,7 @@ module Aws::SQS
2100
2142
  # The following attribute applies only to [FIFO (first-in-first-out)
2101
2143
  # queues][9]\:
2102
2144
  #
2103
- # * `ContentBasedDeduplication` - Enables content-based deduplication.
2145
+ # * `ContentBasedDeduplication` Enables content-based deduplication.
2104
2146
  # For more information, see [Exactly-Once Processing][10] in the
2105
2147
  # *Amazon Simple Queue Service Developer Guide*.
2106
2148
  #
@@ -2274,7 +2316,7 @@ module Aws::SQS
2274
2316
  params: params,
2275
2317
  config: config)
2276
2318
  context[:gem_name] = 'aws-sdk-sqs'
2277
- context[:gem_version] = '1.25.0'
2319
+ context[:gem_version] = '1.30.0'
2278
2320
  Seahorse::Client::Request.new(handlers, context)
2279
2321
  end
2280
2322