aws-sdk-sqs 1.24.0 → 1.25.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-sqs.rb +1 -1
- data/lib/aws-sdk-sqs/client.rb +5 -6
- data/lib/aws-sdk-sqs/plugins/md5s.rb +4 -6
- data/lib/aws-sdk-sqs/resource.rb +6 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a2bf903a2c081344f01323e9e62759339fd2521c7a187f3da24a0a0341bdb289
|
4
|
+
data.tar.gz: d1fcc31eac1fef1cd24dd9c9cad71116cc6dbd9a6141c739880993d83d34fefb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2bbb6794928629cbe634371a6266eb274cba1982f0394168298e19bf1aed6e98517b703df6952b8c37e0ea513d8f0f7ff58c26751a7d7038133d078e10f4780d
|
7
|
+
data.tar.gz: 9728ce1d5ab465f6aa789e89451f9d7d8cdcfe2a259d0be428e19f769a8766b16403d2a9789443a8c51438e85d5cf030cecfdc3732803a665cda0c8f3eccc43d
|
data/lib/aws-sdk-sqs.rb
CHANGED
data/lib/aws-sdk-sqs/client.rb
CHANGED
@@ -109,7 +109,7 @@ module Aws::SQS
|
|
109
109
|
# @option options [required, String] :region
|
110
110
|
# The AWS region to connect to. The configured `:region` is
|
111
111
|
# used to determine the service `:endpoint`. When not passed,
|
112
|
-
# a default `:region` is
|
112
|
+
# a default `:region` is searched for in the following locations:
|
113
113
|
#
|
114
114
|
# * `Aws.config[:region]`
|
115
115
|
# * `ENV['AWS_REGION']`
|
@@ -165,7 +165,7 @@ module Aws::SQS
|
|
165
165
|
# @option options [String] :endpoint
|
166
166
|
# The client endpoint is normally constructed from the `:region`
|
167
167
|
# option. You should only configure an `:endpoint` when connecting
|
168
|
-
# to test endpoints. This should be
|
168
|
+
# to test endpoints. This should be a valid HTTP(S) URI.
|
169
169
|
#
|
170
170
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
171
171
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -279,8 +279,7 @@ module Aws::SQS
|
|
279
279
|
#
|
280
280
|
# @option options [Integer] :http_read_timeout (60) The default
|
281
281
|
# number of seconds to wait for response data. This value can
|
282
|
-
# safely be set
|
283
|
-
# per-request on the session yielded by {#session_for}.
|
282
|
+
# safely be set per-request on the session.
|
284
283
|
#
|
285
284
|
# @option options [Float] :http_idle_timeout (5) The number of
|
286
285
|
# seconds a connection is allowed to sit idle before it is
|
@@ -292,7 +291,7 @@ module Aws::SQS
|
|
292
291
|
# request body. This option has no effect unless the request has
|
293
292
|
# "Expect" header set to "100-continue". Defaults to `nil` which
|
294
293
|
# disables this behaviour. This value can safely be set per
|
295
|
-
# request on the session
|
294
|
+
# request on the session.
|
296
295
|
#
|
297
296
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
298
297
|
# HTTP debug output will be sent to the `:logger`.
|
@@ -2275,7 +2274,7 @@ module Aws::SQS
|
|
2275
2274
|
params: params,
|
2276
2275
|
config: config)
|
2277
2276
|
context[:gem_name] = 'aws-sdk-sqs'
|
2278
|
-
context[:gem_version] = '1.
|
2277
|
+
context[:gem_version] = '1.25.0'
|
2279
2278
|
Seahorse::Client::Request.new(handlers, context)
|
2280
2279
|
end
|
2281
2280
|
|
@@ -119,14 +119,12 @@ module Aws
|
|
119
119
|
end
|
120
120
|
|
121
121
|
def mismatch_error_message(section, local_md5, returned_md5, response)
|
122
|
-
m =
|
123
|
-
|
124
|
-
|
122
|
+
m = 'MD5 returned by SQS does not match '\
|
123
|
+
'the calculation on the original request. ('
|
125
124
|
if response.respond_to?(:id) && !response.id.nil?
|
126
|
-
m
|
125
|
+
m = "#{m}Message ID: #{response.id}, "
|
127
126
|
end
|
128
|
-
|
129
|
-
m << "MD5 calculated by the #{section}: " <<
|
127
|
+
"#{m}MD5 calculated by the #{section}: "\
|
130
128
|
"'#{local_md5}', MD5 checksum returned: '#{returned_md5}')"
|
131
129
|
end
|
132
130
|
end
|
data/lib/aws-sdk-sqs/resource.rb
CHANGED
@@ -6,13 +6,18 @@
|
|
6
6
|
# WARNING ABOUT GENERATED CODE
|
7
7
|
|
8
8
|
module Aws::SQS
|
9
|
+
|
9
10
|
# This class provides a resource oriented interface for SQS.
|
10
11
|
# To create a resource object:
|
12
|
+
#
|
11
13
|
# resource = Aws::SQS::Resource.new(region: 'us-west-2')
|
14
|
+
#
|
12
15
|
# You can supply a client object with custom configuration that will be used for all resource operations.
|
13
|
-
# If you do not pass
|
16
|
+
# If you do not pass `:client`, a default client will be constructed.
|
17
|
+
#
|
14
18
|
# client = Aws::SQS::Client.new(region: 'us-west-2')
|
15
19
|
# resource = Aws::SQS::Resource.new(client: client)
|
20
|
+
#
|
16
21
|
class Resource
|
17
22
|
|
18
23
|
# @param options ({})
|
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.25.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: 2020-
|
11
|
+
date: 2020-05-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -85,7 +85,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
85
85
|
- !ruby/object:Gem::Version
|
86
86
|
version: '0'
|
87
87
|
requirements: []
|
88
|
-
|
88
|
+
rubyforge_project:
|
89
|
+
rubygems_version: 2.7.6.2
|
89
90
|
signing_key:
|
90
91
|
specification_version: 4
|
91
92
|
summary: AWS SDK for Ruby - Amazon SQS
|