aws-sdk-sqs 1.73.0 → 1.75.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/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-sqs/client.rb +4 -3
- data/lib/aws-sdk-sqs/message.rb +3 -3
- data/lib/aws-sdk-sqs/queue.rb +12 -12
- data/lib/aws-sdk-sqs/resource.rb +3 -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: e8e2f12d706b6583b050a5d6c6f22d4afad43317a933dc32d8763a722da44092
|
4
|
+
data.tar.gz: 576614f442300a8b6299ea20ea0b843c63d5d66e6d4d2a45e012afe14a00cabc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f300716ce27544421bfc05256d485a875bea86c3fb8c7ded6c57a063f85f9beda6ea26fae7bfaf110fd6fbae633384a86e995dd8fa8e2965718bb545fe18207d
|
7
|
+
data.tar.gz: fd15e035a9034b2bb1352bdbfd8238c18f57cd6c9d1984f42f249442029cd9acdc58422d964dfba07d324a2d2f282c508c67be7807cff653e599d31513882b48
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.75.0 (2024-06-05)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.74.0 (2024-05-13)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
4
14
|
1.73.0 (2024-05-08)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.75.0
|
data/lib/aws-sdk-sqs/client.rb
CHANGED
@@ -305,8 +305,9 @@ module Aws::SQS
|
|
305
305
|
#
|
306
306
|
# @option options [String] :sdk_ua_app_id
|
307
307
|
# A unique and opaque application ID that is appended to the
|
308
|
-
# User-Agent header as app
|
309
|
-
# maximum length of 50.
|
308
|
+
# User-Agent header as app/sdk_ua_app_id. It should have a
|
309
|
+
# maximum length of 50. This variable is sourced from environment
|
310
|
+
# variable AWS_SDK_UA_APP_ID or the shared config profile attribute sdk_ua_app_id.
|
310
311
|
#
|
311
312
|
# @option options [String] :secret_access_key
|
312
313
|
#
|
@@ -2859,7 +2860,7 @@ module Aws::SQS
|
|
2859
2860
|
params: params,
|
2860
2861
|
config: config)
|
2861
2862
|
context[:gem_name] = 'aws-sdk-sqs'
|
2862
|
-
context[:gem_version] = '1.
|
2863
|
+
context[:gem_version] = '1.75.0'
|
2863
2864
|
Seahorse::Client::Request.new(handlers, context)
|
2864
2865
|
end
|
2865
2866
|
|
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
|
@@ -615,7 +615,7 @@ module Aws::SQS
|
|
615
615
|
# @return [Types::SendMessageResult]
|
616
616
|
def send_message(options = {})
|
617
617
|
options = options.merge(queue_url: @url)
|
618
|
-
resp = Aws::Plugins::UserAgent.
|
618
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
619
619
|
@client.send_message(options)
|
620
620
|
end
|
621
621
|
resp.data
|
@@ -658,7 +658,7 @@ module Aws::SQS
|
|
658
658
|
# @return [Types::SendMessageBatchResult]
|
659
659
|
def send_messages(options = {})
|
660
660
|
options = options.merge(queue_url: @url)
|
661
|
-
resp = Aws::Plugins::UserAgent.
|
661
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
662
662
|
@client.send_message_batch(options)
|
663
663
|
end
|
664
664
|
resp.data
|
@@ -863,7 +863,7 @@ module Aws::SQS
|
|
863
863
|
# @return [EmptyStructure]
|
864
864
|
def set_attributes(options = {})
|
865
865
|
options = options.merge(queue_url: @url)
|
866
|
-
resp = Aws::Plugins::UserAgent.
|
866
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
867
867
|
@client.set_queue_attributes(options)
|
868
868
|
end
|
869
869
|
resp.data
|
@@ -879,7 +879,7 @@ module Aws::SQS
|
|
879
879
|
def dead_letter_source_queues(options = {})
|
880
880
|
batches = Enumerator.new do |y|
|
881
881
|
options = options.merge(queue_url: @url)
|
882
|
-
resp = Aws::Plugins::UserAgent.
|
882
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
883
883
|
@client.list_dead_letter_source_queues(options)
|
884
884
|
end
|
885
885
|
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.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.75.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-05
|
11
|
+
date: 2024-06-05 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
|