aws-sdk-sqs 1.74.0 → 1.76.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-sqs/client.rb +22 -10
- 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: 30f3d0e15b1b86a8c08c9d5e4e5c65bb9f97557e5f370da75bb4aaad9049988b
|
4
|
+
data.tar.gz: 803f2ff4d41901845c619b85e99d7b0124d05bde615dc379c0d7e7592e704742
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ef3434620fe158611cf1b055a4a4f4cb854e260037070f8439e4cc4c32dfa355e127857b7e7b85e1777602da3853ee7b90862663193db20d118e685f7aab32fa
|
7
|
+
data.tar.gz: 8e49cf238eceb7df74b7c869e56eb981629dc93f57c3afdbf781918483442bb739ee234d40642790ddbef9763153024de27683bda353b90ac11bd8ec89ee0975
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.76.0 (2024-06-06)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Doc only updates for SQS. These updates include customer-reported issues and TCX3 modifications.
|
8
|
+
|
9
|
+
1.75.0 (2024-06-05)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
4
14
|
1.74.0 (2024-05-13)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.76.0
|
data/lib/aws-sdk-sqs/client.rb
CHANGED
@@ -2126,13 +2126,17 @@ module Aws::SQS
|
|
2126
2126
|
# Delivers a message to the specified queue.
|
2127
2127
|
#
|
2128
2128
|
# A message can include only XML, JSON, and unformatted text. The
|
2129
|
-
# following Unicode characters are allowed
|
2129
|
+
# following Unicode characters are allowed. For more information, see
|
2130
|
+
# the [W3C specification for characters][1].
|
2130
2131
|
#
|
2131
2132
|
# `#x9` \| `#xA` \| `#xD` \| `#x20` to `#xD7FF` \| `#xE000` to `#xFFFD`
|
2132
2133
|
# \| `#x10000` to `#x10FFFF`
|
2133
2134
|
#
|
2134
|
-
#
|
2135
|
-
#
|
2135
|
+
# Amazon SQS does not throw an exception or completely reject the
|
2136
|
+
# message if it contains invalid characters. Instead, it replaces those
|
2137
|
+
# invalid characters with `U+FFFD` before storing the message in the
|
2138
|
+
# queue, as long as the message body contains at least one valid
|
2139
|
+
# character.
|
2136
2140
|
#
|
2137
2141
|
#
|
2138
2142
|
#
|
@@ -2148,13 +2152,17 @@ module Aws::SQS
|
|
2148
2152
|
# size is 256 KiB.
|
2149
2153
|
#
|
2150
2154
|
# A message can include only XML, JSON, and unformatted text. The
|
2151
|
-
# following Unicode characters are allowed
|
2155
|
+
# following Unicode characters are allowed. For more information, see
|
2156
|
+
# the [W3C specification for characters][1].
|
2152
2157
|
#
|
2153
2158
|
# `#x9` \| `#xA` \| `#xD` \| `#x20` to `#xD7FF` \| `#xE000` to `#xFFFD`
|
2154
2159
|
# \| `#x10000` to `#x10FFFF`
|
2155
2160
|
#
|
2156
|
-
#
|
2157
|
-
#
|
2161
|
+
# Amazon SQS does not throw an exception or completely reject the
|
2162
|
+
# message if it contains invalid characters. Instead, it replaces those
|
2163
|
+
# invalid characters with `U+FFFD` before storing the message in the
|
2164
|
+
# queue, as long as the message body contains at least one valid
|
2165
|
+
# character.
|
2158
2166
|
#
|
2159
2167
|
#
|
2160
2168
|
#
|
@@ -2356,13 +2364,17 @@ module Aws::SQS
|
|
2356
2364
|
# messages) are both 256 KiB (262,144 bytes).
|
2357
2365
|
#
|
2358
2366
|
# A message can include only XML, JSON, and unformatted text. The
|
2359
|
-
# following Unicode characters are allowed
|
2367
|
+
# following Unicode characters are allowed. For more information, see
|
2368
|
+
# the [W3C specification for characters][1].
|
2360
2369
|
#
|
2361
2370
|
# `#x9` \| `#xA` \| `#xD` \| `#x20` to `#xD7FF` \| `#xE000` to `#xFFFD`
|
2362
2371
|
# \| `#x10000` to `#x10FFFF`
|
2363
2372
|
#
|
2364
|
-
#
|
2365
|
-
#
|
2373
|
+
# Amazon SQS does not throw an exception or completely reject the
|
2374
|
+
# message if it contains invalid characters. Instead, it replaces those
|
2375
|
+
# invalid characters with `U+FFFD` before storing the message in the
|
2376
|
+
# queue, as long as the message body contains at least one valid
|
2377
|
+
# character.
|
2366
2378
|
#
|
2367
2379
|
# If you don't specify the `DelaySeconds` parameter for an entry,
|
2368
2380
|
# Amazon SQS uses the default value for the queue.
|
@@ -2860,7 +2872,7 @@ module Aws::SQS
|
|
2860
2872
|
params: params,
|
2861
2873
|
config: config)
|
2862
2874
|
context[:gem_name] = 'aws-sdk-sqs'
|
2863
|
-
context[:gem_version] = '1.
|
2875
|
+
context[:gem_version] = '1.76.0'
|
2864
2876
|
Seahorse::Client::Request.new(handlers, context)
|
2865
2877
|
end
|
2866
2878
|
|
@@ -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.76.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-06 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.197.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.197.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|