aws-sdk-sqs 1.55.0 → 1.56.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 05c5cfff9a8da4fa4d54569b3a844e07cd3d96ffffb11e177d8a9707dfff149a
4
- data.tar.gz: 9850e849bb7af9b574824ffd7632271c6005bc4f76f181c4bf778ce2299726fa
3
+ metadata.gz: f162b65733db87d840dfe4770895ac1c297f2300012024d520af7b6d371e070c
4
+ data.tar.gz: bea87b2a65049c6acedc55d3fc428381b87d870c26e3ff0a1ad10e6938c4c508
5
5
  SHA512:
6
- metadata.gz: 5f152fa6d92905b66cdb7a3467dc5a5586934061000f4ed1d50a838f7cfe807a9cf56ff6959bdb33bba58733d8432adc11ceba4f9ae069f9f17581656186384e
7
- data.tar.gz: 0cdb958b2d8b93b17aa9da2a2f6336176b68f912aa348807692aee3f9744a1f61f7f050221f0f449579086142f84f116b8a85cc8f5c57c99aab0706c35f6117c
6
+ metadata.gz: 34e76a8ec444b1738a28a3399acbaf70eeed81892813fdb303c2255504820063f1d7683a830297d6a65c8da429fcff363bc6339d14ac710f147768be63894bea
7
+ data.tar.gz: accf43d5adff6c1f449b8b9e531cbddaa121425140fdca02db57058cbd1b996319d88f798c071393b4199d94335fe26a5260653a478c5828f503efe111519f4b
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.56.0 (2023-05-31)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
4
9
  1.55.0 (2023-05-05)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.55.0
1
+ 1.56.0
@@ -279,6 +279,11 @@ module Aws::SQS
279
279
  # in the future.
280
280
  #
281
281
  #
282
+ # @option options [String] :sdk_ua_app_id
283
+ # A unique and opaque application ID that is appended to the
284
+ # User-Agent header as app/<sdk_ua_app_id>. It should have a
285
+ # maximum length of 50.
286
+ #
282
287
  # @option options [String] :secret_access_key
283
288
  #
284
289
  # @option options [String] :session_token
@@ -2503,7 +2508,7 @@ module Aws::SQS
2503
2508
  params: params,
2504
2509
  config: config)
2505
2510
  context[:gem_name] = 'aws-sdk-sqs'
2506
- context[:gem_version] = '1.55.0'
2511
+ context[:gem_version] = '1.56.0'
2507
2512
  Seahorse::Client::Request.new(handlers, context)
2508
2513
  end
2509
2514
 
@@ -163,7 +163,9 @@ module Aws::SQS
163
163
  queue_url: @queue_url,
164
164
  receipt_handle: @receipt_handle
165
165
  )
166
- resp = @client.change_message_visibility(options)
166
+ resp = Aws::Plugins::UserAgent.feature('resource') do
167
+ @client.change_message_visibility(options)
168
+ end
167
169
  resp.data
168
170
  end
169
171
 
@@ -177,7 +179,9 @@ module Aws::SQS
177
179
  queue_url: @queue_url,
178
180
  receipt_handle: @receipt_handle
179
181
  )
180
- resp = @client.delete_message(options)
182
+ resp = Aws::Plugins::UserAgent.feature('resource') do
183
+ @client.delete_message(options)
184
+ end
181
185
  resp.data
182
186
  end
183
187
 
@@ -242,7 +246,9 @@ module Aws::SQS
242
246
  receipt_handle: item.receipt_handle
243
247
  }
244
248
  end
245
- batch[0].client.delete_message_batch(params)
249
+ Aws::Plugins::UserAgent.feature('resource') do
250
+ batch[0].client.delete_message_batch(params)
251
+ end
246
252
  end
247
253
  nil
248
254
  end
@@ -54,10 +54,12 @@ module Aws::SQS
54
54
  #
55
55
  # @return [self]
56
56
  def load
57
- resp = @client.get_queue_attributes(
57
+ resp = Aws::Plugins::UserAgent.feature('resource') do
58
+ @client.get_queue_attributes(
58
59
  queue_url: @url,
59
60
  attribute_names: ["All"]
60
61
  )
62
+ end
61
63
  @data = resp.data
62
64
  self
63
65
  end
@@ -123,7 +125,9 @@ module Aws::SQS
123
125
  # @return [EmptyStructure]
124
126
  def add_permission(options = {})
125
127
  options = options.merge(queue_url: @url)
126
- resp = @client.add_permission(options)
128
+ resp = Aws::Plugins::UserAgent.feature('resource') do
129
+ @client.add_permission(options)
130
+ end
127
131
  resp.data
128
132
  end
129
133
 
@@ -145,7 +149,9 @@ module Aws::SQS
145
149
  # @return [Types::ChangeMessageVisibilityBatchResult]
146
150
  def change_message_visibility_batch(options = {})
147
151
  options = options.merge(queue_url: @url)
148
- resp = @client.change_message_visibility_batch(options)
152
+ resp = Aws::Plugins::UserAgent.feature('resource') do
153
+ @client.change_message_visibility_batch(options)
154
+ end
149
155
  resp.data
150
156
  end
151
157
 
@@ -156,7 +162,9 @@ module Aws::SQS
156
162
  # @return [EmptyStructure]
157
163
  def delete(options = {})
158
164
  options = options.merge(queue_url: @url)
159
- resp = @client.delete_queue(options)
165
+ resp = Aws::Plugins::UserAgent.feature('resource') do
166
+ @client.delete_queue(options)
167
+ end
160
168
  resp.data
161
169
  end
162
170
 
@@ -176,7 +184,9 @@ module Aws::SQS
176
184
  # @return [Types::DeleteMessageBatchResult]
177
185
  def delete_messages(options = {})
178
186
  options = options.merge(queue_url: @url)
179
- resp = @client.delete_message_batch(options)
187
+ resp = Aws::Plugins::UserAgent.feature('resource') do
188
+ @client.delete_message_batch(options)
189
+ end
180
190
  resp.data
181
191
  end
182
192
 
@@ -187,7 +197,9 @@ module Aws::SQS
187
197
  # @return [EmptyStructure]
188
198
  def purge(options = {})
189
199
  options = options.merge(queue_url: @url)
190
- resp = @client.purge_queue(options)
200
+ resp = Aws::Plugins::UserAgent.feature('resource') do
201
+ @client.purge_queue(options)
202
+ end
191
203
  resp.data
192
204
  end
193
205
 
@@ -359,7 +371,9 @@ module Aws::SQS
359
371
  def receive_messages(options = {})
360
372
  batch = []
361
373
  options = options.merge(queue_url: @url)
362
- resp = @client.receive_message(options)
374
+ resp = Aws::Plugins::UserAgent.feature('resource') do
375
+ @client.receive_message(options)
376
+ end
363
377
  resp.data.messages.each do |m|
364
378
  batch << Message.new(
365
379
  queue_url: @url,
@@ -383,7 +397,9 @@ module Aws::SQS
383
397
  # @return [EmptyStructure]
384
398
  def remove_permission(options = {})
385
399
  options = options.merge(queue_url: @url)
386
- resp = @client.remove_permission(options)
400
+ resp = Aws::Plugins::UserAgent.feature('resource') do
401
+ @client.remove_permission(options)
402
+ end
387
403
  resp.data
388
404
  end
389
405
 
@@ -555,7 +571,9 @@ module Aws::SQS
555
571
  # @return [Types::SendMessageResult]
556
572
  def send_message(options = {})
557
573
  options = options.merge(queue_url: @url)
558
- resp = @client.send_message(options)
574
+ resp = Aws::Plugins::UserAgent.feature('resource') do
575
+ @client.send_message(options)
576
+ end
559
577
  resp.data
560
578
  end
561
579
 
@@ -596,7 +614,9 @@ module Aws::SQS
596
614
  # @return [Types::SendMessageBatchResult]
597
615
  def send_messages(options = {})
598
616
  options = options.merge(queue_url: @url)
599
- resp = @client.send_message_batch(options)
617
+ resp = Aws::Plugins::UserAgent.feature('resource') do
618
+ @client.send_message_batch(options)
619
+ end
600
620
  resp.data
601
621
  end
602
622
 
@@ -765,7 +785,9 @@ module Aws::SQS
765
785
  # @return [EmptyStructure]
766
786
  def set_attributes(options = {})
767
787
  options = options.merge(queue_url: @url)
768
- resp = @client.set_queue_attributes(options)
788
+ resp = Aws::Plugins::UserAgent.feature('resource') do
789
+ @client.set_queue_attributes(options)
790
+ end
769
791
  resp.data
770
792
  end
771
793
 
@@ -779,7 +801,9 @@ module Aws::SQS
779
801
  def dead_letter_source_queues(options = {})
780
802
  batches = Enumerator.new do |y|
781
803
  options = options.merge(queue_url: @url)
782
- resp = @client.list_dead_letter_source_queues(options)
804
+ resp = Aws::Plugins::UserAgent.feature('resource') do
805
+ @client.list_dead_letter_source_queues(options)
806
+ end
783
807
  resp.each_page do |page|
784
808
  batch = []
785
809
  page.data.queue_urls.each do |q|
@@ -260,7 +260,9 @@ module Aws::SQS
260
260
  # [3]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-customer-managed-policy-examples.html#grant-cross-account-permissions-to-role-and-user-name
261
261
  # @return [Queue]
262
262
  def create_queue(options = {})
263
- resp = @client.create_queue(options)
263
+ resp = Aws::Plugins::UserAgent.feature('resource') do
264
+ @client.create_queue(options)
265
+ end
264
266
  Queue.new(
265
267
  url: resp.data.queue_url,
266
268
  client: @client
@@ -285,7 +287,9 @@ module Aws::SQS
285
287
  # queue.
286
288
  # @return [Queue]
287
289
  def get_queue_by_name(options = {})
288
- resp = @client.get_queue_url(options)
290
+ resp = Aws::Plugins::UserAgent.feature('resource') do
291
+ @client.get_queue_url(options)
292
+ end
289
293
  Queue.new(
290
294
  url: resp.data.queue_url,
291
295
  client: @client
@@ -317,7 +321,9 @@ module Aws::SQS
317
321
  # @return [Queue::Collection]
318
322
  def queues(options = {})
319
323
  batches = Enumerator.new do |y|
320
- resp = @client.list_queues(options)
324
+ resp = Aws::Plugins::UserAgent.feature('resource') do
325
+ @client.list_queues(options)
326
+ end
321
327
  resp.each_page do |page|
322
328
  batch = []
323
329
  page.data.queue_urls.each do |q|
data/lib/aws-sdk-sqs.rb CHANGED
@@ -54,6 +54,6 @@ require_relative 'aws-sdk-sqs/customizations'
54
54
  # @!group service
55
55
  module Aws::SQS
56
56
 
57
- GEM_VERSION = '1.55.0'
57
+ GEM_VERSION = '1.56.0'
58
58
 
59
59
  end
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.55.0
4
+ version: 1.56.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: 2023-05-05 00:00:00.000000000 Z
11
+ date: 2023-05-31 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.165.0
22
+ version: 3.174.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.165.0
32
+ version: 3.174.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement