aws-sdk-sqs 1.64.0 → 1.66.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 +14 -4
- data/lib/aws-sdk-sqs/client_api.rb +249 -58
- data/lib/aws-sdk-sqs/endpoint_provider.rb +2 -2
- data/lib/aws-sdk-sqs/errors.rb +251 -0
- data/lib/aws-sdk-sqs/queue_poller.rb +31 -0
- data/lib/aws-sdk-sqs/types.rb +287 -15
- data/lib/aws-sdk-sqs.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d962bfaddcb0a90d805fc688960f6b3b0f7cda1863ab2e9545f116866f63c925
|
4
|
+
data.tar.gz: ba6368d5503eac0535ec937b3af4783eb06aec61874797b219a4f8e2f835bd23
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 411ef60ead1f9efcac86a5cf4e4eda08192202414dbebdafa3827305e865b29a086a3f313c994ba074c74eb4b4d24334d9a2e408b159158a822dc08d55e96aed
|
7
|
+
data.tar.gz: a901da9c77c2584387a3896e886c8fd84a78b5fe5c2ba6c0f4e5bff17684f387de29fa2428ec16fa92da1ceecebf51a76d95665b21017ef0313fdca0fcfeef33
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.66.0 (2023-11-08)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release enables customers to call SQS using AWS JSON-1.0 protocol.
|
8
|
+
|
9
|
+
1.65.0 (2023-10-31)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Update `QueuePoller` to allow for the definition of an `after_empty_receive` callback which is triggered when a polling request returns no records.
|
13
|
+
|
4
14
|
1.64.0 (2023-10-02)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.66.0
|
data/lib/aws-sdk-sqs/client.rb
CHANGED
@@ -32,7 +32,7 @@ require 'aws-sdk-core/plugins/request_compression.rb'
|
|
32
32
|
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
33
33
|
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
34
34
|
require 'aws-sdk-core/plugins/sign.rb'
|
35
|
-
require 'aws-sdk-core/plugins/protocols/
|
35
|
+
require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
|
36
36
|
require 'aws-sdk-sqs/plugins/queue_urls.rb'
|
37
37
|
require 'aws-sdk-sqs/plugins/md5s.rb'
|
38
38
|
|
@@ -84,7 +84,7 @@ module Aws::SQS
|
|
84
84
|
add_plugin(Aws::Plugins::DefaultsMode)
|
85
85
|
add_plugin(Aws::Plugins::RecursionDetection)
|
86
86
|
add_plugin(Aws::Plugins::Sign)
|
87
|
-
add_plugin(Aws::Plugins::Protocols::
|
87
|
+
add_plugin(Aws::Plugins::Protocols::JsonRpc)
|
88
88
|
add_plugin(Aws::SQS::Plugins::QueueUrls)
|
89
89
|
add_plugin(Aws::SQS::Plugins::Md5s)
|
90
90
|
add_plugin(Aws::SQS::Plugins::Endpoints)
|
@@ -303,6 +303,16 @@ module Aws::SQS
|
|
303
303
|
#
|
304
304
|
# @option options [String] :session_token
|
305
305
|
#
|
306
|
+
# @option options [Boolean] :simple_json (false)
|
307
|
+
# Disables request parameter conversion, validation, and formatting.
|
308
|
+
# Also disable response data type conversions. This option is useful
|
309
|
+
# when you want to ensure the highest level of performance by
|
310
|
+
# avoiding overhead of walking request parameters and response data
|
311
|
+
# structures.
|
312
|
+
#
|
313
|
+
# When `:simple_json` is enabled, the request parameters hash must
|
314
|
+
# be formatted exactly as the DynamoDB API expects.
|
315
|
+
#
|
306
316
|
# @option options [Boolean] :stub_responses (false)
|
307
317
|
# Causes the client to return stubbed responses. By default
|
308
318
|
# fake responses are generated and returned. You can specify
|
@@ -1570,7 +1580,7 @@ module Aws::SQS
|
|
1570
1580
|
#
|
1571
1581
|
# resp.results #=> Array
|
1572
1582
|
# resp.results[0].task_handle #=> String
|
1573
|
-
# resp.results[0].status #=> String
|
1583
|
+
# resp.results[0].status #=> String, one of "RUNNING", "FAILED", "CANCELLING", "CANCELLED", "COMPLETED"
|
1574
1584
|
# resp.results[0].source_arn #=> String
|
1575
1585
|
# resp.results[0].destination_arn #=> String
|
1576
1586
|
# resp.results[0].max_number_of_messages_per_second #=> Integer
|
@@ -2786,7 +2796,7 @@ module Aws::SQS
|
|
2786
2796
|
params: params,
|
2787
2797
|
config: config)
|
2788
2798
|
context[:gem_name] = 'aws-sdk-sqs'
|
2789
|
-
context[:gem_version] = '1.
|
2799
|
+
context[:gem_version] = '1.66.0'
|
2790
2800
|
Seahorse::Client::Request.new(handlers, context)
|
2791
2801
|
end
|
2792
2802
|
|