aws-sdk-sqs 1.29.0 → 1.34.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 +3 -2
- data/lib/aws-sdk-sqs/client.rb +54 -17
- data/lib/aws-sdk-sqs/message.rb +2 -2
- data/lib/aws-sdk-sqs/queue.rb +3 -2
- data/lib/aws-sdk-sqs/queue_poller.rb +1 -1
- data/lib/aws-sdk-sqs/types.rb +20 -11
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8802cd9961e432ae5f7254386bcea98c00c48a401e7f86760b11ea95a68d0e36
|
4
|
+
data.tar.gz: 4f405f379817333584d149cb036b21445a9594eaad918c22f64c143c0ce29f2d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aa0d1e89af2425a31d4fc950e00ccb3d5a0e630ed7b391246e7536b0dfca3e7864968de9830ec19bfc6340bc18a5f7191392c81c8fa669be11bc0b50c77ebc6b
|
7
|
+
data.tar.gz: a8aec6d7e415d8c5b74a1553df3648feb1d85c03b02786f2c95133467ecada9c839e38d99c3558abd34ea3d7174253a8d9ca5f558810173c089fe3f337489eff
|
data/lib/aws-sdk-sqs.rb
CHANGED
@@ -7,6 +7,7 @@
|
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
10
|
+
|
10
11
|
require 'aws-sdk-core'
|
11
12
|
require 'aws-sigv4'
|
12
13
|
|
@@ -46,9 +47,9 @@ require_relative 'aws-sdk-sqs/customizations'
|
|
46
47
|
#
|
47
48
|
# See {Errors} for more information.
|
48
49
|
#
|
49
|
-
#
|
50
|
+
# @!group service
|
50
51
|
module Aws::SQS
|
51
52
|
|
52
|
-
GEM_VERSION = '1.
|
53
|
+
GEM_VERSION = '1.34.0'
|
53
54
|
|
54
55
|
end
|
data/lib/aws-sdk-sqs/client.rb
CHANGED
@@ -89,13 +89,28 @@ module Aws::SQS
|
|
89
89
|
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
90
90
|
# credentials.
|
91
91
|
#
|
92
|
+
# * `Aws::SharedCredentials` - Used for loading static credentials from a
|
93
|
+
# shared file, such as `~/.aws/config`.
|
94
|
+
#
|
95
|
+
# * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
|
96
|
+
#
|
97
|
+
# * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
|
98
|
+
# assume a role after providing credentials via the web.
|
99
|
+
#
|
100
|
+
# * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
|
101
|
+
# access token generated from `aws login`.
|
102
|
+
#
|
103
|
+
# * `Aws::ProcessCredentials` - Used for loading credentials from a
|
104
|
+
# process that outputs to stdout.
|
105
|
+
#
|
92
106
|
# * `Aws::InstanceProfileCredentials` - Used for loading credentials
|
93
107
|
# from an EC2 IMDS on an EC2 instance.
|
94
108
|
#
|
95
|
-
# * `Aws::
|
96
|
-
#
|
109
|
+
# * `Aws::ECSCredentials` - Used for loading credentials from
|
110
|
+
# instances running in ECS.
|
97
111
|
#
|
98
|
-
# * `Aws::
|
112
|
+
# * `Aws::CognitoIdentityCredentials` - Used for loading credentials
|
113
|
+
# from the Cognito Identity service.
|
99
114
|
#
|
100
115
|
# When `:credentials` are not configured directly, the following
|
101
116
|
# locations will be searched for credentials:
|
@@ -105,10 +120,10 @@ module Aws::SQS
|
|
105
120
|
# * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
|
106
121
|
# * `~/.aws/credentials`
|
107
122
|
# * `~/.aws/config`
|
108
|
-
# * EC2 IMDS instance profile - When used by default, the timeouts
|
109
|
-
# very aggressive. Construct and pass an instance of
|
110
|
-
# `Aws::InstanceProfileCredentails`
|
111
|
-
# timeouts.
|
123
|
+
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
124
|
+
# are very aggressive. Construct and pass an instance of
|
125
|
+
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
126
|
+
# enable retries and extended timeouts.
|
112
127
|
#
|
113
128
|
# @option options [required, String] :region
|
114
129
|
# The AWS region to connect to. The configured `:region` is
|
@@ -502,7 +517,7 @@ module Aws::SQS
|
|
502
517
|
#
|
503
518
|
# @option params [required, Integer] :visibility_timeout
|
504
519
|
# The new value for the message's visibility timeout (in seconds).
|
505
|
-
# Values
|
520
|
+
# Values range: `0` to `43200`. Maximum: 12 hours.
|
506
521
|
#
|
507
522
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
508
523
|
#
|
@@ -1222,6 +1237,15 @@ module Aws::SQS
|
|
1222
1237
|
# Returns a list of your queues that have the `RedrivePolicy` queue
|
1223
1238
|
# attribute configured with a dead-letter queue.
|
1224
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
|
+
#
|
1225
1249
|
# For more information about using dead-letter queues, see [Using Amazon
|
1226
1250
|
# SQS Dead-Letter Queues][1] in the *Amazon Simple Queue Service
|
1227
1251
|
# Developer Guide*.
|
@@ -1239,7 +1263,9 @@ module Aws::SQS
|
|
1239
1263
|
# Pagination token to request the next set of results.
|
1240
1264
|
#
|
1241
1265
|
# @option params [Integer] :max_results
|
1242
|
-
# 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.
|
1243
1269
|
#
|
1244
1270
|
# @return [Types::ListDeadLetterSourceQueuesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1245
1271
|
#
|
@@ -1313,10 +1339,18 @@ module Aws::SQS
|
|
1313
1339
|
req.send_request(options)
|
1314
1340
|
end
|
1315
1341
|
|
1316
|
-
# Returns a list of your queues
|
1317
|
-
#
|
1318
|
-
# `QueueNamePrefix` parameter, only queues with a name that
|
1319
|
-
# 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.
|
1320
1354
|
#
|
1321
1355
|
# <note markdown="1"> Cross-account permissions don't apply to this action. For more
|
1322
1356
|
# information, see [Grant Cross-Account Permissions to a Role and a User
|
@@ -1338,7 +1372,9 @@ module Aws::SQS
|
|
1338
1372
|
# Pagination token to request the next set of results.
|
1339
1373
|
#
|
1340
1374
|
# @option params [Integer] :max_results
|
1341
|
-
# 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.
|
1342
1378
|
#
|
1343
1379
|
# @return [Types::ListQueuesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1344
1380
|
#
|
@@ -1734,7 +1770,8 @@ module Aws::SQS
|
|
1734
1770
|
# Queue URLs and names are case-sensitive.
|
1735
1771
|
#
|
1736
1772
|
# @option params [required, String] :message_body
|
1737
|
-
# The message to send. The
|
1773
|
+
# The message to send. The minimum size is one character. The maximum
|
1774
|
+
# size is 256 KB.
|
1738
1775
|
#
|
1739
1776
|
# A message can include only XML, JSON, and unformatted text. The
|
1740
1777
|
# following Unicode characters are allowed:
|
@@ -1768,7 +1805,7 @@ module Aws::SQS
|
|
1768
1805
|
#
|
1769
1806
|
#
|
1770
1807
|
#
|
1771
|
-
# [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
|
1772
1809
|
#
|
1773
1810
|
# @option params [Hash<String,Types::MessageSystemAttributeValue>] :message_system_attributes
|
1774
1811
|
# The message system attribute to send. Each message system attribute
|
@@ -2316,7 +2353,7 @@ module Aws::SQS
|
|
2316
2353
|
params: params,
|
2317
2354
|
config: config)
|
2318
2355
|
context[:gem_name] = 'aws-sdk-sqs'
|
2319
|
-
context[:gem_version] = '1.
|
2356
|
+
context[:gem_version] = '1.34.0'
|
2320
2357
|
Seahorse::Client::Request.new(handlers, context)
|
2321
2358
|
end
|
2322
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`.
|
@@ -290,7 +290,7 @@ module Aws
|
|
290
290
|
# @option options [Integer] :visibility_timeout (nil)
|
291
291
|
# The number of seconds you have to process a message before
|
292
292
|
# it is put back into the queue and can be received again.
|
293
|
-
# By default, the queue's
|
293
|
+
# By default, the queue's visibility timeout is not set.
|
294
294
|
#
|
295
295
|
# @option options [Array<String>] :attribute_names ([])
|
296
296
|
# The list of attributes that need to be returned along with each
|
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.34.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-
|
11
|
+
date: 2020-09-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.109.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.109.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|