aws-sdk-core 2.6.41 → 2.6.42
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/apis/apigateway/2015-07-09/api-2.json +92 -0
- data/apis/elasticbeanstalk/2010-12-01/api-2.json +70 -2
- data/apis/iam/2010-05-08/api-2.json +209 -1
- data/apis/kms/2014-11-01/api-2.json +2 -2
- data/apis/kms/2014-11-01/examples-1.json +810 -0
- data/lib/aws-sdk-core/version.rb +1 -1
- data/lib/seahorse/client/net_http/handler.rb +5 -2
- metadata +2 -2
data/lib/aws-sdk-core/version.rb
CHANGED
@@ -30,7 +30,10 @@ module Seahorse
|
|
30
30
|
end
|
31
31
|
|
32
32
|
# @api private
|
33
|
-
|
33
|
+
DNS_ERROR_MESSAGES = [
|
34
|
+
'getaddrinfo: nodename nor servname provided, or not known', # MacOS
|
35
|
+
'getaddrinfo: Name or service not known' # GNU
|
36
|
+
]
|
34
37
|
|
35
38
|
# Raised when a {Handler} cannot construct a `Net::HTTP::Request`
|
36
39
|
# from the given http verb.
|
@@ -52,7 +55,7 @@ module Seahorse
|
|
52
55
|
private
|
53
56
|
|
54
57
|
def error_message(req, error)
|
55
|
-
if error.is_a?(SocketError) && error.message
|
58
|
+
if error.is_a?(SocketError) && DNS_ERROR_MESSAGES.include?(error.message)
|
56
59
|
host = req.endpoint.host
|
57
60
|
"unable to connect to `#{host}`; SocketError: #{error.message}"
|
58
61
|
else
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.6.
|
4
|
+
version: 2.6.42
|
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: 2016-12-
|
11
|
+
date: 2016-12-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jmespath
|