aws-sdk-sqs 1.74.0 → 1.77.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +15 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-sqs/client.rb +27 -12
- data/lib/aws-sdk-sqs/client_api.rb +1 -0
- data/lib/aws-sdk-sqs/message.rb +3 -3
- data/lib/aws-sdk-sqs/queue.rb +19 -15
- data/lib/aws-sdk-sqs/resource.rb +3 -3
- data/lib/aws-sdk-sqs/types.rb +7 -3
- data/lib/aws-sdk-sqs.rb +1 -1
- 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: 5cb62d472bc12a69fa332495d9df37befd8334b81f5550ff07ee2fdf1bedd225
|
4
|
+
data.tar.gz: 3f29c9b5b4ece3d6404cab478100ec36a4eb2628aa702b6a94de11b23b5b7b00
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d08a50f8615381b5556a2b3b5c815bd9e20654b498fdba894a94c69a52af4dbf98c943561edf8d9e53713d121bbf89242a9935c9fe2f44d06e90d4eb96f479db
|
7
|
+
data.tar.gz: ceeca0a744a7f680389b9c5f53305c7c5a818bde69bc48d99f7bc220eb7294e9dbb82a001a93abe47fe276f091443d31775dab7fc875875dff5a69345b659e73
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,21 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.77.0 (2024-06-24)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.76.0 (2024-06-06)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Doc only updates for SQS. These updates include customer-reported issues and TCX3 modifications.
|
13
|
+
|
14
|
+
1.75.0 (2024-06-05)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
4
19
|
1.74.0 (2024-05-13)
|
5
20
|
------------------
|
6
21
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.77.0
|
data/lib/aws-sdk-sqs/client.rb
CHANGED
@@ -93,6 +93,11 @@ module Aws::SQS
|
|
93
93
|
|
94
94
|
# @overload initialize(options)
|
95
95
|
# @param [Hash] options
|
96
|
+
#
|
97
|
+
# @option options [Array<Seahorse::Client::Plugin>] :plugins ([]])
|
98
|
+
# A list of plugins to apply to the client. Each plugin is either a
|
99
|
+
# class name or an instance of a plugin class.
|
100
|
+
#
|
96
101
|
# @option options [required, Aws::CredentialProvider] :credentials
|
97
102
|
# Your AWS credentials. This can be an instance of any one of the
|
98
103
|
# following classes:
|
@@ -213,7 +218,6 @@ module Aws::SQS
|
|
213
218
|
# 'https://example.com'
|
214
219
|
# 'http://example.com:123'
|
215
220
|
#
|
216
|
-
#
|
217
221
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
218
222
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
219
223
|
# for endpoint discovery enabled operations. Defaults to 1000.
|
@@ -302,7 +306,6 @@ module Aws::SQS
|
|
302
306
|
# throttling. This is a provisional mode that may change behavior
|
303
307
|
# in the future.
|
304
308
|
#
|
305
|
-
#
|
306
309
|
# @option options [String] :sdk_ua_app_id
|
307
310
|
# A unique and opaque application ID that is appended to the
|
308
311
|
# User-Agent header as app/sdk_ua_app_id. It should have a
|
@@ -2126,13 +2129,17 @@ module Aws::SQS
|
|
2126
2129
|
# Delivers a message to the specified queue.
|
2127
2130
|
#
|
2128
2131
|
# A message can include only XML, JSON, and unformatted text. The
|
2129
|
-
# following Unicode characters are allowed
|
2132
|
+
# following Unicode characters are allowed. For more information, see
|
2133
|
+
# the [W3C specification for characters][1].
|
2130
2134
|
#
|
2131
2135
|
# `#x9` \| `#xA` \| `#xD` \| `#x20` to `#xD7FF` \| `#xE000` to `#xFFFD`
|
2132
2136
|
# \| `#x10000` to `#x10FFFF`
|
2133
2137
|
#
|
2134
|
-
#
|
2135
|
-
#
|
2138
|
+
# Amazon SQS does not throw an exception or completely reject the
|
2139
|
+
# message if it contains invalid characters. Instead, it replaces those
|
2140
|
+
# invalid characters with `U+FFFD` before storing the message in the
|
2141
|
+
# queue, as long as the message body contains at least one valid
|
2142
|
+
# character.
|
2136
2143
|
#
|
2137
2144
|
#
|
2138
2145
|
#
|
@@ -2148,13 +2155,17 @@ module Aws::SQS
|
|
2148
2155
|
# size is 256 KiB.
|
2149
2156
|
#
|
2150
2157
|
# A message can include only XML, JSON, and unformatted text. The
|
2151
|
-
# following Unicode characters are allowed
|
2158
|
+
# following Unicode characters are allowed. For more information, see
|
2159
|
+
# the [W3C specification for characters][1].
|
2152
2160
|
#
|
2153
2161
|
# `#x9` \| `#xA` \| `#xD` \| `#x20` to `#xD7FF` \| `#xE000` to `#xFFFD`
|
2154
2162
|
# \| `#x10000` to `#x10FFFF`
|
2155
2163
|
#
|
2156
|
-
#
|
2157
|
-
#
|
2164
|
+
# Amazon SQS does not throw an exception or completely reject the
|
2165
|
+
# message if it contains invalid characters. Instead, it replaces those
|
2166
|
+
# invalid characters with `U+FFFD` before storing the message in the
|
2167
|
+
# queue, as long as the message body contains at least one valid
|
2168
|
+
# character.
|
2158
2169
|
#
|
2159
2170
|
#
|
2160
2171
|
#
|
@@ -2356,13 +2367,17 @@ module Aws::SQS
|
|
2356
2367
|
# messages) are both 256 KiB (262,144 bytes).
|
2357
2368
|
#
|
2358
2369
|
# A message can include only XML, JSON, and unformatted text. The
|
2359
|
-
# following Unicode characters are allowed
|
2370
|
+
# following Unicode characters are allowed. For more information, see
|
2371
|
+
# the [W3C specification for characters][1].
|
2360
2372
|
#
|
2361
2373
|
# `#x9` \| `#xA` \| `#xD` \| `#x20` to `#xD7FF` \| `#xE000` to `#xFFFD`
|
2362
2374
|
# \| `#x10000` to `#x10FFFF`
|
2363
2375
|
#
|
2364
|
-
#
|
2365
|
-
#
|
2376
|
+
# Amazon SQS does not throw an exception or completely reject the
|
2377
|
+
# message if it contains invalid characters. Instead, it replaces those
|
2378
|
+
# invalid characters with `U+FFFD` before storing the message in the
|
2379
|
+
# queue, as long as the message body contains at least one valid
|
2380
|
+
# character.
|
2366
2381
|
#
|
2367
2382
|
# If you don't specify the `DelaySeconds` parameter for an entry,
|
2368
2383
|
# Amazon SQS uses the default value for the queue.
|
@@ -2860,7 +2875,7 @@ module Aws::SQS
|
|
2860
2875
|
params: params,
|
2861
2876
|
config: config)
|
2862
2877
|
context[:gem_name] = 'aws-sdk-sqs'
|
2863
|
-
context[:gem_version] = '1.
|
2878
|
+
context[:gem_version] = '1.77.0'
|
2864
2879
|
Seahorse::Client::Request.new(handlers, context)
|
2865
2880
|
end
|
2866
2881
|
|
@@ -503,6 +503,7 @@ module Aws::SQS
|
|
503
503
|
"errorPrefix" => "AWS.SimpleQueueService.",
|
504
504
|
"jsonVersion" => "1.0",
|
505
505
|
"protocol" => "json",
|
506
|
+
"protocols" => ["json"],
|
506
507
|
"serviceAbbreviation" => "Amazon SQS",
|
507
508
|
"serviceFullName" => "Amazon Simple Queue Service",
|
508
509
|
"serviceId" => "SQS",
|
data/lib/aws-sdk-sqs/message.rb
CHANGED
@@ -163,7 +163,7 @@ module Aws::SQS
|
|
163
163
|
queue_url: @queue_url,
|
164
164
|
receipt_handle: @receipt_handle
|
165
165
|
)
|
166
|
-
resp = Aws::Plugins::UserAgent.
|
166
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
167
167
|
@client.change_message_visibility(options)
|
168
168
|
end
|
169
169
|
resp.data
|
@@ -179,7 +179,7 @@ module Aws::SQS
|
|
179
179
|
queue_url: @queue_url,
|
180
180
|
receipt_handle: @receipt_handle
|
181
181
|
)
|
182
|
-
resp = Aws::Plugins::UserAgent.
|
182
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
183
183
|
@client.delete_message(options)
|
184
184
|
end
|
185
185
|
resp.data
|
@@ -246,7 +246,7 @@ module Aws::SQS
|
|
246
246
|
receipt_handle: item.receipt_handle
|
247
247
|
}
|
248
248
|
end
|
249
|
-
Aws::Plugins::UserAgent.
|
249
|
+
Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
250
250
|
batch[0].client.delete_message_batch(params)
|
251
251
|
end
|
252
252
|
end
|
data/lib/aws-sdk-sqs/queue.rb
CHANGED
@@ -54,7 +54,7 @@ module Aws::SQS
|
|
54
54
|
#
|
55
55
|
# @return [self]
|
56
56
|
def load
|
57
|
-
resp = Aws::Plugins::UserAgent.
|
57
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
58
58
|
@client.get_queue_attributes(
|
59
59
|
queue_url: @url,
|
60
60
|
attribute_names: ["All"]
|
@@ -125,7 +125,7 @@ module Aws::SQS
|
|
125
125
|
# @return [EmptyStructure]
|
126
126
|
def add_permission(options = {})
|
127
127
|
options = options.merge(queue_url: @url)
|
128
|
-
resp = Aws::Plugins::UserAgent.
|
128
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
129
129
|
@client.add_permission(options)
|
130
130
|
end
|
131
131
|
resp.data
|
@@ -149,7 +149,7 @@ module Aws::SQS
|
|
149
149
|
# @return [Types::ChangeMessageVisibilityBatchResult]
|
150
150
|
def change_message_visibility_batch(options = {})
|
151
151
|
options = options.merge(queue_url: @url)
|
152
|
-
resp = Aws::Plugins::UserAgent.
|
152
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
153
153
|
@client.change_message_visibility_batch(options)
|
154
154
|
end
|
155
155
|
resp.data
|
@@ -162,7 +162,7 @@ module Aws::SQS
|
|
162
162
|
# @return [EmptyStructure]
|
163
163
|
def delete(options = {})
|
164
164
|
options = options.merge(queue_url: @url)
|
165
|
-
resp = Aws::Plugins::UserAgent.
|
165
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
166
166
|
@client.delete_queue(options)
|
167
167
|
end
|
168
168
|
resp.data
|
@@ -184,7 +184,7 @@ module Aws::SQS
|
|
184
184
|
# @return [Types::DeleteMessageBatchResult]
|
185
185
|
def delete_messages(options = {})
|
186
186
|
options = options.merge(queue_url: @url)
|
187
|
-
resp = Aws::Plugins::UserAgent.
|
187
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
188
188
|
@client.delete_message_batch(options)
|
189
189
|
end
|
190
190
|
resp.data
|
@@ -197,7 +197,7 @@ module Aws::SQS
|
|
197
197
|
# @return [EmptyStructure]
|
198
198
|
def purge(options = {})
|
199
199
|
options = options.merge(queue_url: @url)
|
200
|
-
resp = Aws::Plugins::UserAgent.
|
200
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
201
201
|
@client.purge_queue(options)
|
202
202
|
end
|
203
203
|
resp.data
|
@@ -415,7 +415,7 @@ module Aws::SQS
|
|
415
415
|
def receive_messages(options = {})
|
416
416
|
batch = []
|
417
417
|
options = options.merge(queue_url: @url)
|
418
|
-
resp = Aws::Plugins::UserAgent.
|
418
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
419
419
|
@client.receive_message(options)
|
420
420
|
end
|
421
421
|
resp.data.messages.each do |m|
|
@@ -441,7 +441,7 @@ module Aws::SQS
|
|
441
441
|
# @return [EmptyStructure]
|
442
442
|
def remove_permission(options = {})
|
443
443
|
options = options.merge(queue_url: @url)
|
444
|
-
resp = Aws::Plugins::UserAgent.
|
444
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
445
445
|
@client.remove_permission(options)
|
446
446
|
end
|
447
447
|
resp.data
|
@@ -479,13 +479,17 @@ module Aws::SQS
|
|
479
479
|
# size is 256 KiB.
|
480
480
|
#
|
481
481
|
# A message can include only XML, JSON, and unformatted text. The
|
482
|
-
# following Unicode characters are allowed
|
482
|
+
# following Unicode characters are allowed. For more information, see
|
483
|
+
# the [W3C specification for characters][1].
|
483
484
|
#
|
484
485
|
# `#x9` \| `#xA` \| `#xD` \| `#x20` to `#xD7FF` \| `#xE000` to `#xFFFD`
|
485
486
|
# \| `#x10000` to `#x10FFFF`
|
486
487
|
#
|
487
|
-
#
|
488
|
-
#
|
488
|
+
# Amazon SQS does not throw an exception or completely reject the
|
489
|
+
# message if it contains invalid characters. Instead, it replaces those
|
490
|
+
# invalid characters with `U+FFFD` before storing the message in the
|
491
|
+
# queue, as long as the message body contains at least one valid
|
492
|
+
# character.
|
489
493
|
#
|
490
494
|
#
|
491
495
|
#
|
@@ -615,7 +619,7 @@ module Aws::SQS
|
|
615
619
|
# @return [Types::SendMessageResult]
|
616
620
|
def send_message(options = {})
|
617
621
|
options = options.merge(queue_url: @url)
|
618
|
-
resp = Aws::Plugins::UserAgent.
|
622
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
619
623
|
@client.send_message(options)
|
620
624
|
end
|
621
625
|
resp.data
|
@@ -658,7 +662,7 @@ module Aws::SQS
|
|
658
662
|
# @return [Types::SendMessageBatchResult]
|
659
663
|
def send_messages(options = {})
|
660
664
|
options = options.merge(queue_url: @url)
|
661
|
-
resp = Aws::Plugins::UserAgent.
|
665
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
662
666
|
@client.send_message_batch(options)
|
663
667
|
end
|
664
668
|
resp.data
|
@@ -863,7 +867,7 @@ module Aws::SQS
|
|
863
867
|
# @return [EmptyStructure]
|
864
868
|
def set_attributes(options = {})
|
865
869
|
options = options.merge(queue_url: @url)
|
866
|
-
resp = Aws::Plugins::UserAgent.
|
870
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
867
871
|
@client.set_queue_attributes(options)
|
868
872
|
end
|
869
873
|
resp.data
|
@@ -879,7 +883,7 @@ module Aws::SQS
|
|
879
883
|
def dead_letter_source_queues(options = {})
|
880
884
|
batches = Enumerator.new do |y|
|
881
885
|
options = options.merge(queue_url: @url)
|
882
|
-
resp = Aws::Plugins::UserAgent.
|
886
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
883
887
|
@client.list_dead_letter_source_queues(options)
|
884
888
|
end
|
885
889
|
resp.each_page do |page|
|
data/lib/aws-sdk-sqs/resource.rb
CHANGED
@@ -294,7 +294,7 @@ module Aws::SQS
|
|
294
294
|
# [3]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-customer-managed-policy-examples.html#grant-cross-account-permissions-to-role-and-user-name
|
295
295
|
# @return [Queue]
|
296
296
|
def create_queue(options = {})
|
297
|
-
resp = Aws::Plugins::UserAgent.
|
297
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
298
298
|
@client.create_queue(options)
|
299
299
|
end
|
300
300
|
Queue.new(
|
@@ -321,7 +321,7 @@ module Aws::SQS
|
|
321
321
|
# queue.
|
322
322
|
# @return [Queue]
|
323
323
|
def get_queue_by_name(options = {})
|
324
|
-
resp = Aws::Plugins::UserAgent.
|
324
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
325
325
|
@client.get_queue_url(options)
|
326
326
|
end
|
327
327
|
Queue.new(
|
@@ -355,7 +355,7 @@ module Aws::SQS
|
|
355
355
|
# @return [Queue::Collection]
|
356
356
|
def queues(options = {})
|
357
357
|
batches = Enumerator.new do |y|
|
358
|
-
resp = Aws::Plugins::UserAgent.
|
358
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
359
359
|
@client.list_queues(options)
|
360
360
|
end
|
361
361
|
resp.each_page do |page|
|
data/lib/aws-sdk-sqs/types.rb
CHANGED
@@ -2253,13 +2253,17 @@ module Aws::SQS
|
|
2253
2253
|
# size is 256 KiB.
|
2254
2254
|
#
|
2255
2255
|
# A message can include only XML, JSON, and unformatted text. The
|
2256
|
-
# following Unicode characters are allowed
|
2256
|
+
# following Unicode characters are allowed. For more information, see
|
2257
|
+
# the [W3C specification for characters][1].
|
2257
2258
|
#
|
2258
2259
|
# `#x9` \| `#xA` \| `#xD` \| `#x20` to `#xD7FF` \| `#xE000` to
|
2259
2260
|
# `#xFFFD` \| `#x10000` to `#x10FFFF`
|
2260
2261
|
#
|
2261
|
-
#
|
2262
|
-
#
|
2262
|
+
# Amazon SQS does not throw an exception or completely reject the
|
2263
|
+
# message if it contains invalid characters. Instead, it replaces
|
2264
|
+
# those invalid characters with `U+FFFD` before storing the message in
|
2265
|
+
# the queue, as long as the message body contains at least one valid
|
2266
|
+
# character.
|
2263
2267
|
#
|
2264
2268
|
#
|
2265
2269
|
#
|
data/lib/aws-sdk-sqs.rb
CHANGED
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.77.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: 2024-
|
11
|
+
date: 2024-06-24 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.198.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.198.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|