aws-sdk-sqs 1.31.0 → 1.32.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 +4 -4
- data/lib/aws-sdk-sqs.rb +1 -1
- data/lib/aws-sdk-sqs/client.rb +32 -10
- data/lib/aws-sdk-sqs/message.rb +2 -2
- data/lib/aws-sdk-sqs/queue.rb +3 -2
- data/lib/aws-sdk-sqs/types.rb +20 -11
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 700e1915dc31ea0a9b236df23b5827a443dfe54654f8270c26795f9d83a59f82
|
4
|
+
data.tar.gz: b7daa764974f73e9c60608ed21617c683124925f978e97c9faa6ce9e4bebd206
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1aaadbaee5e8386474c504feace8a742a018a1b42ea9ac03fb8c56f680d0333b2e0dab4c8c5031e2463b54cbaef83e05155024e52484d4ae2a95bd6668054785
|
7
|
+
data.tar.gz: 4ea0132c39036c71e6b2592d92e7fa55af932381ce40de0892c87752fb79356a759824277e0cc90ee7d8982046d89c3aaa98b526a176be8be117160f21f033be
|
data/lib/aws-sdk-sqs.rb
CHANGED
data/lib/aws-sdk-sqs/client.rb
CHANGED
@@ -517,7 +517,7 @@ module Aws::SQS
|
|
517
517
|
#
|
518
518
|
# @option params [required, Integer] :visibility_timeout
|
519
519
|
# The new value for the message's visibility timeout (in seconds).
|
520
|
-
# Values
|
520
|
+
# Values range: `0` to `43200`. Maximum: 12 hours.
|
521
521
|
#
|
522
522
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
523
523
|
#
|
@@ -1237,6 +1237,15 @@ module Aws::SQS
|
|
1237
1237
|
# Returns a list of your queues that have the `RedrivePolicy` queue
|
1238
1238
|
# attribute configured with a dead-letter queue.
|
1239
1239
|
#
|
1240
|
+
# The `ListDeadLetterSourceQueues` methods supports pagination. Set
|
1241
|
+
# parameter `MaxResults` in the request to specify the maximum number of
|
1242
|
+
# results to be returned in the response. If you do not set
|
1243
|
+
# `MaxResults`, the response includes a maximum of 1,000 results. If you
|
1244
|
+
# set `MaxResults` and there are additional results to display, the
|
1245
|
+
# response includes a value for `NextToken`. Use `NextToken` as a
|
1246
|
+
# parameter in your next request to `ListDeadLetterSourceQueues` to
|
1247
|
+
# receive the next page of results.
|
1248
|
+
#
|
1240
1249
|
# For more information about using dead-letter queues, see [Using Amazon
|
1241
1250
|
# SQS Dead-Letter Queues][1] in the *Amazon Simple Queue Service
|
1242
1251
|
# Developer Guide*.
|
@@ -1254,7 +1263,9 @@ module Aws::SQS
|
|
1254
1263
|
# Pagination token to request the next set of results.
|
1255
1264
|
#
|
1256
1265
|
# @option params [Integer] :max_results
|
1257
|
-
# Maximum number of results to include in the response.
|
1266
|
+
# Maximum number of results to include in the response. Value range is 1
|
1267
|
+
# to 1000. You must set `MaxResults` to receive a value for `NextToken`
|
1268
|
+
# in the response.
|
1258
1269
|
#
|
1259
1270
|
# @return [Types::ListDeadLetterSourceQueuesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1260
1271
|
#
|
@@ -1328,10 +1339,18 @@ module Aws::SQS
|
|
1328
1339
|
req.send_request(options)
|
1329
1340
|
end
|
1330
1341
|
|
1331
|
-
# Returns a list of your queues
|
1332
|
-
#
|
1333
|
-
# `QueueNamePrefix` parameter, only queues with a name that
|
1334
|
-
# the specified value are returned.
|
1342
|
+
# Returns a list of your queues in the current region. The response
|
1343
|
+
# includes a maximum of 1,000 results. If you specify a value for the
|
1344
|
+
# optional `QueueNamePrefix` parameter, only queues with a name that
|
1345
|
+
# begins with the specified value are returned.
|
1346
|
+
#
|
1347
|
+
# The `listQueues` methods supports pagination. Set parameter
|
1348
|
+
# `MaxResults` in the request to specify the maximum number of results
|
1349
|
+
# to be returned in the response. If you do not set `MaxResults`, the
|
1350
|
+
# response includes a maximum of 1,000 results. If you set `MaxResults`
|
1351
|
+
# and there are additional results to display, the response includes a
|
1352
|
+
# value for `NextToken`. Use `NextToken` as a parameter in your next
|
1353
|
+
# request to `listQueues` to receive the next page of results.
|
1335
1354
|
#
|
1336
1355
|
# <note markdown="1"> Cross-account permissions don't apply to this action. For more
|
1337
1356
|
# information, see [Grant Cross-Account Permissions to a Role and a User
|
@@ -1353,7 +1372,9 @@ module Aws::SQS
|
|
1353
1372
|
# Pagination token to request the next set of results.
|
1354
1373
|
#
|
1355
1374
|
# @option params [Integer] :max_results
|
1356
|
-
# Maximum number of results to include in the response.
|
1375
|
+
# Maximum number of results to include in the response. Value range is 1
|
1376
|
+
# to 1000. You must set `MaxResults` to receive a value for `NextToken`
|
1377
|
+
# in the response.
|
1357
1378
|
#
|
1358
1379
|
# @return [Types::ListQueuesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1359
1380
|
#
|
@@ -1749,7 +1770,8 @@ module Aws::SQS
|
|
1749
1770
|
# Queue URLs and names are case-sensitive.
|
1750
1771
|
#
|
1751
1772
|
# @option params [required, String] :message_body
|
1752
|
-
# The message to send. The
|
1773
|
+
# The message to send. The minimum size is one character. The maximum
|
1774
|
+
# size is 256 KB.
|
1753
1775
|
#
|
1754
1776
|
# A message can include only XML, JSON, and unformatted text. The
|
1755
1777
|
# following Unicode characters are allowed:
|
@@ -1783,7 +1805,7 @@ module Aws::SQS
|
|
1783
1805
|
#
|
1784
1806
|
#
|
1785
1807
|
#
|
1786
|
-
# [1]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-message-
|
1808
|
+
# [1]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-message-metadata.html#sqs-message-attributes
|
1787
1809
|
#
|
1788
1810
|
# @option params [Hash<String,Types::MessageSystemAttributeValue>] :message_system_attributes
|
1789
1811
|
# The message system attribute to send. Each message system attribute
|
@@ -2331,7 +2353,7 @@ module Aws::SQS
|
|
2331
2353
|
params: params,
|
2332
2354
|
config: config)
|
2333
2355
|
context[:gem_name] = 'aws-sdk-sqs'
|
2334
|
-
context[:gem_version] = '1.
|
2356
|
+
context[:gem_version] = '1.32.0'
|
2335
2357
|
Seahorse::Client::Request.new(handlers, context)
|
2336
2358
|
end
|
2337
2359
|
|
data/lib/aws-sdk-sqs/message.rb
CHANGED
@@ -109,7 +109,7 @@ module Aws::SQS
|
|
109
109
|
#
|
110
110
|
#
|
111
111
|
#
|
112
|
-
# [1]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-message-
|
112
|
+
# [1]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-message-metadata.html#sqs-message-attributes
|
113
113
|
# @return [Hash<String,Types::MessageAttributeValue>]
|
114
114
|
def message_attributes
|
115
115
|
data[:message_attributes]
|
@@ -155,7 +155,7 @@ module Aws::SQS
|
|
155
155
|
# @param [Hash] options ({})
|
156
156
|
# @option options [required, Integer] :visibility_timeout
|
157
157
|
# The new value for the message's visibility timeout (in seconds).
|
158
|
-
# Values
|
158
|
+
# Values range: `0` to `43200`. Maximum: 12 hours.
|
159
159
|
# @return [EmptyStructure]
|
160
160
|
def change_visibility(options = {})
|
161
161
|
options = options.merge(
|
data/lib/aws-sdk-sqs/queue.rb
CHANGED
@@ -410,7 +410,8 @@ module Aws::SQS
|
|
410
410
|
# })
|
411
411
|
# @param [Hash] options ({})
|
412
412
|
# @option options [required, String] :message_body
|
413
|
-
# The message to send. The
|
413
|
+
# The message to send. The minimum size is one character. The maximum
|
414
|
+
# size is 256 KB.
|
414
415
|
#
|
415
416
|
# A message can include only XML, JSON, and unformatted text. The
|
416
417
|
# following Unicode characters are allowed:
|
@@ -442,7 +443,7 @@ module Aws::SQS
|
|
442
443
|
#
|
443
444
|
#
|
444
445
|
#
|
445
|
-
# [1]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-message-
|
446
|
+
# [1]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-message-metadata.html#sqs-message-attributes
|
446
447
|
# @option options [Hash<String,Types::MessageSystemAttributeValue>] :message_system_attributes
|
447
448
|
# The message system attribute to send. Each message system attribute
|
448
449
|
# consists of a `Name`, `Type`, and `Value`.
|
data/lib/aws-sdk-sqs/types.rb
CHANGED
@@ -268,7 +268,7 @@ module Aws::SQS
|
|
268
268
|
#
|
269
269
|
# @!attribute [rw] visibility_timeout
|
270
270
|
# The new value for the message's visibility timeout (in seconds).
|
271
|
-
# Values
|
271
|
+
# Values range: `0` to `43200`. Maximum: 12 hours.
|
272
272
|
# @return [Integer]
|
273
273
|
#
|
274
274
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/ChangeMessageVisibilityRequest AWS API Documentation
|
@@ -911,7 +911,9 @@ module Aws::SQS
|
|
911
911
|
# @return [String]
|
912
912
|
#
|
913
913
|
# @!attribute [rw] max_results
|
914
|
-
# Maximum number of results to include in the response.
|
914
|
+
# Maximum number of results to include in the response. Value range is
|
915
|
+
# 1 to 1000. You must set `MaxResults` to receive a value for
|
916
|
+
# `NextToken` in the response.
|
915
917
|
# @return [Integer]
|
916
918
|
#
|
917
919
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/ListDeadLetterSourceQueuesRequest AWS API Documentation
|
@@ -932,7 +934,9 @@ module Aws::SQS
|
|
932
934
|
# @return [Array<String>]
|
933
935
|
#
|
934
936
|
# @!attribute [rw] next_token
|
935
|
-
# Pagination token to include in the next request.
|
937
|
+
# Pagination token to include in the next request. Token value is
|
938
|
+
# `null` if there are no additional results to request, or if you did
|
939
|
+
# not set `MaxResults` in the request.
|
936
940
|
# @return [String]
|
937
941
|
#
|
938
942
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/ListDeadLetterSourceQueuesResult AWS API Documentation
|
@@ -996,7 +1000,9 @@ module Aws::SQS
|
|
996
1000
|
# @return [String]
|
997
1001
|
#
|
998
1002
|
# @!attribute [rw] max_results
|
999
|
-
# Maximum number of results to include in the response.
|
1003
|
+
# Maximum number of results to include in the response. Value range is
|
1004
|
+
# 1 to 1000. You must set `MaxResults` to receive a value for
|
1005
|
+
# `NextToken` in the response.
|
1000
1006
|
# @return [Integer]
|
1001
1007
|
#
|
1002
1008
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/ListQueuesRequest AWS API Documentation
|
@@ -1017,7 +1023,9 @@ module Aws::SQS
|
|
1017
1023
|
# @return [Array<String>]
|
1018
1024
|
#
|
1019
1025
|
# @!attribute [rw] next_token
|
1020
|
-
# Pagination token to include in the next request.
|
1026
|
+
# Pagination token to include in the next request. Token value is
|
1027
|
+
# `null` if there are no additional results to request, or if you did
|
1028
|
+
# not set `MaxResults` in the request.
|
1021
1029
|
# @return [String]
|
1022
1030
|
#
|
1023
1031
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/ListQueuesResult AWS API Documentation
|
@@ -1097,7 +1105,7 @@ module Aws::SQS
|
|
1097
1105
|
#
|
1098
1106
|
#
|
1099
1107
|
#
|
1100
|
-
# [1]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-message-
|
1108
|
+
# [1]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-message-metadata.html#sqs-message-attributes
|
1101
1109
|
# @return [Hash<String,Types::MessageAttributeValue>]
|
1102
1110
|
#
|
1103
1111
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/Message AWS API Documentation
|
@@ -1167,7 +1175,7 @@ module Aws::SQS
|
|
1167
1175
|
#
|
1168
1176
|
#
|
1169
1177
|
#
|
1170
|
-
# [1]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-message-
|
1178
|
+
# [1]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-message-metadata.html#sqs-message-attributes
|
1171
1179
|
# @return [String]
|
1172
1180
|
#
|
1173
1181
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/MessageAttributeValue AWS API Documentation
|
@@ -1239,7 +1247,7 @@ module Aws::SQS
|
|
1239
1247
|
#
|
1240
1248
|
#
|
1241
1249
|
#
|
1242
|
-
# [1]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-message-
|
1250
|
+
# [1]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-message-metadata.html#sqs-message-attributes
|
1243
1251
|
# @return [String]
|
1244
1252
|
#
|
1245
1253
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/MessageSystemAttributeValue AWS API Documentation
|
@@ -1681,7 +1689,7 @@ module Aws::SQS
|
|
1681
1689
|
#
|
1682
1690
|
#
|
1683
1691
|
#
|
1684
|
-
# [1]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-message-
|
1692
|
+
# [1]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-message-metadata.html#sqs-message-attributes
|
1685
1693
|
# @return [Hash<String,Types::MessageAttributeValue>]
|
1686
1694
|
#
|
1687
1695
|
# @!attribute [rw] message_system_attributes
|
@@ -1940,7 +1948,8 @@ module Aws::SQS
|
|
1940
1948
|
# @return [String]
|
1941
1949
|
#
|
1942
1950
|
# @!attribute [rw] message_body
|
1943
|
-
# The message to send. The
|
1951
|
+
# The message to send. The minimum size is one character. The maximum
|
1952
|
+
# size is 256 KB.
|
1944
1953
|
#
|
1945
1954
|
# A message can include only XML, JSON, and unformatted text. The
|
1946
1955
|
# following Unicode characters are allowed:
|
@@ -1976,7 +1985,7 @@ module Aws::SQS
|
|
1976
1985
|
#
|
1977
1986
|
#
|
1978
1987
|
#
|
1979
|
-
# [1]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-message-
|
1988
|
+
# [1]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-message-metadata.html#sqs-message-attributes
|
1980
1989
|
# @return [Hash<String,Types::MessageAttributeValue>]
|
1981
1990
|
#
|
1982
1991
|
# @!attribute [rw] message_system_attributes
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-sqs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.32.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: 2020-08-
|
11
|
+
date: 2020-08-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|