aws-sdk-core 2.2.9 → 2.2.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/apis/ec2/2015-10-01/api-2.json +114 -0
- data/apis/ec2/2015-10-01/waiters-2.json +36 -0
- data/lib/aws-sdk-core/json.rb +5 -4
- data/lib/aws-sdk-core/plugins/request_signer.rb +1 -4
- data/lib/aws-sdk-core/version.rb +1 -1
- data/lib/seahorse/client/net_http/handler.rb +2 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e08b13ae08652299dcad99c7718a000d91f6ecdb
|
4
|
+
data.tar.gz: 048bd090965b6fe690143f4535d088198784df2c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: db4e8b5135a78f5ad4bc823905df4471506b43eb753ddcf9c1dd6dcb58c3bd006a6c14f96ee636dcaa935d8cfcb9f3280cf64a4f3642a7f2141e9449f52853bf
|
7
|
+
data.tar.gz: 026a4859a86149e06be43f73b67c103c201f8b344f4d10666c1899bc479cd950a618b85f3245f1e6be01502ac8e9af4da320e312c87c996fb89a1da7a6cf1d00
|
@@ -1121,6 +1121,15 @@
|
|
1121
1121
|
"input":{"shape":"DescribeVpcClassicLinkRequest"},
|
1122
1122
|
"output":{"shape":"DescribeVpcClassicLinkResult"}
|
1123
1123
|
},
|
1124
|
+
"DescribeVpcClassicLinkDnsSupport":{
|
1125
|
+
"name":"DescribeVpcClassicLinkDnsSupport",
|
1126
|
+
"http":{
|
1127
|
+
"method":"POST",
|
1128
|
+
"requestUri":"/"
|
1129
|
+
},
|
1130
|
+
"input":{"shape":"DescribeVpcClassicLinkDnsSupportRequest"},
|
1131
|
+
"output":{"shape":"DescribeVpcClassicLinkDnsSupportResult"}
|
1132
|
+
},
|
1124
1133
|
"DescribeVpcEndpointServices":{
|
1125
1134
|
"name":"DescribeVpcEndpointServices",
|
1126
1135
|
"http":{
|
@@ -1234,6 +1243,15 @@
|
|
1234
1243
|
"input":{"shape":"DisableVpcClassicLinkRequest"},
|
1235
1244
|
"output":{"shape":"DisableVpcClassicLinkResult"}
|
1236
1245
|
},
|
1246
|
+
"DisableVpcClassicLinkDnsSupport":{
|
1247
|
+
"name":"DisableVpcClassicLinkDnsSupport",
|
1248
|
+
"http":{
|
1249
|
+
"method":"POST",
|
1250
|
+
"requestUri":"/"
|
1251
|
+
},
|
1252
|
+
"input":{"shape":"DisableVpcClassicLinkDnsSupportRequest"},
|
1253
|
+
"output":{"shape":"DisableVpcClassicLinkDnsSupportResult"}
|
1254
|
+
},
|
1237
1255
|
"DisassociateAddress":{
|
1238
1256
|
"name":"DisassociateAddress",
|
1239
1257
|
"http":{
|
@@ -1275,6 +1293,15 @@
|
|
1275
1293
|
"input":{"shape":"EnableVpcClassicLinkRequest"},
|
1276
1294
|
"output":{"shape":"EnableVpcClassicLinkResult"}
|
1277
1295
|
},
|
1296
|
+
"EnableVpcClassicLinkDnsSupport":{
|
1297
|
+
"name":"EnableVpcClassicLinkDnsSupport",
|
1298
|
+
"http":{
|
1299
|
+
"method":"POST",
|
1300
|
+
"requestUri":"/"
|
1301
|
+
},
|
1302
|
+
"input":{"shape":"EnableVpcClassicLinkDnsSupportRequest"},
|
1303
|
+
"output":{"shape":"EnableVpcClassicLinkDnsSupportResult"}
|
1304
|
+
},
|
1278
1305
|
"GetConsoleOutput":{
|
1279
1306
|
"name":"GetConsoleOutput",
|
1280
1307
|
"http":{
|
@@ -2748,6 +2775,26 @@
|
|
2748
2775
|
"locationName":"item"
|
2749
2776
|
}
|
2750
2777
|
},
|
2778
|
+
"ClassicLinkDnsSupport":{
|
2779
|
+
"type":"structure",
|
2780
|
+
"members":{
|
2781
|
+
"VpcId":{
|
2782
|
+
"shape":"String",
|
2783
|
+
"locationName":"vpcId"
|
2784
|
+
},
|
2785
|
+
"ClassicLinkDnsSupported":{
|
2786
|
+
"shape":"Boolean",
|
2787
|
+
"locationName":"classicLinkDnsSupported"
|
2788
|
+
}
|
2789
|
+
}
|
2790
|
+
},
|
2791
|
+
"ClassicLinkDnsSupportList":{
|
2792
|
+
"type":"list",
|
2793
|
+
"member":{
|
2794
|
+
"shape":"ClassicLinkDnsSupport",
|
2795
|
+
"locationName":"item"
|
2796
|
+
}
|
2797
|
+
},
|
2751
2798
|
"ClassicLinkInstance":{
|
2752
2799
|
"type":"structure",
|
2753
2800
|
"members":{
|
@@ -5629,6 +5676,33 @@
|
|
5629
5676
|
}
|
5630
5677
|
}
|
5631
5678
|
},
|
5679
|
+
"DescribeVpcClassicLinkDnsSupportRequest":{
|
5680
|
+
"type":"structure",
|
5681
|
+
"members":{
|
5682
|
+
"VpcIds":{"shape":"VpcClassicLinkIdList"},
|
5683
|
+
"MaxResults":{
|
5684
|
+
"shape":"MaxResults",
|
5685
|
+
"locationName":"maxResults"
|
5686
|
+
},
|
5687
|
+
"NextToken":{
|
5688
|
+
"shape":"NextToken",
|
5689
|
+
"locationName":"nextToken"
|
5690
|
+
}
|
5691
|
+
}
|
5692
|
+
},
|
5693
|
+
"DescribeVpcClassicLinkDnsSupportResult":{
|
5694
|
+
"type":"structure",
|
5695
|
+
"members":{
|
5696
|
+
"Vpcs":{
|
5697
|
+
"shape":"ClassicLinkDnsSupportList",
|
5698
|
+
"locationName":"vpcs"
|
5699
|
+
},
|
5700
|
+
"NextToken":{
|
5701
|
+
"shape":"NextToken",
|
5702
|
+
"locationName":"nextToken"
|
5703
|
+
}
|
5704
|
+
}
|
5705
|
+
},
|
5632
5706
|
"DescribeVpcClassicLinkRequest":{
|
5633
5707
|
"type":"structure",
|
5634
5708
|
"members":{
|
@@ -5983,6 +6057,21 @@
|
|
5983
6057
|
"GatewayId":{"shape":"String"}
|
5984
6058
|
}
|
5985
6059
|
},
|
6060
|
+
"DisableVpcClassicLinkDnsSupportRequest":{
|
6061
|
+
"type":"structure",
|
6062
|
+
"members":{
|
6063
|
+
"VpcId":{"shape":"String"}
|
6064
|
+
}
|
6065
|
+
},
|
6066
|
+
"DisableVpcClassicLinkDnsSupportResult":{
|
6067
|
+
"type":"structure",
|
6068
|
+
"members":{
|
6069
|
+
"Return":{
|
6070
|
+
"shape":"Boolean",
|
6071
|
+
"locationName":"return"
|
6072
|
+
}
|
6073
|
+
}
|
6074
|
+
},
|
5986
6075
|
"DisableVpcClassicLinkRequest":{
|
5987
6076
|
"type":"structure",
|
5988
6077
|
"required":["VpcId"],
|
@@ -6209,6 +6298,21 @@
|
|
6209
6298
|
}
|
6210
6299
|
}
|
6211
6300
|
},
|
6301
|
+
"EnableVpcClassicLinkDnsSupportRequest":{
|
6302
|
+
"type":"structure",
|
6303
|
+
"members":{
|
6304
|
+
"VpcId":{"shape":"String"}
|
6305
|
+
}
|
6306
|
+
},
|
6307
|
+
"EnableVpcClassicLinkDnsSupportResult":{
|
6308
|
+
"type":"structure",
|
6309
|
+
"members":{
|
6310
|
+
"Return":{
|
6311
|
+
"shape":"Boolean",
|
6312
|
+
"locationName":"return"
|
6313
|
+
}
|
6314
|
+
}
|
6315
|
+
},
|
6212
6316
|
"EnableVpcClassicLinkRequest":{
|
6213
6317
|
"type":"structure",
|
6214
6318
|
"required":["VpcId"],
|
@@ -8414,6 +8518,11 @@
|
|
8414
8518
|
]
|
8415
8519
|
},
|
8416
8520
|
"Long":{"type":"long"},
|
8521
|
+
"MaxResults":{
|
8522
|
+
"type":"integer",
|
8523
|
+
"max":255,
|
8524
|
+
"min":5
|
8525
|
+
},
|
8417
8526
|
"ModifyHostsRequest":{
|
8418
8527
|
"type":"structure",
|
8419
8528
|
"required":[
|
@@ -9268,6 +9377,11 @@
|
|
9268
9377
|
"locationName":"item"
|
9269
9378
|
}
|
9270
9379
|
},
|
9380
|
+
"NextToken":{
|
9381
|
+
"type":"string",
|
9382
|
+
"max":1024,
|
9383
|
+
"min":1
|
9384
|
+
},
|
9271
9385
|
"OfferingTypeValues":{
|
9272
9386
|
"type":"string",
|
9273
9387
|
"enum":[
|
@@ -281,6 +281,42 @@
|
|
281
281
|
}
|
282
282
|
]
|
283
283
|
},
|
284
|
+
"NatGatewayAvailable": {
|
285
|
+
"operation": "DescribeNatGateways",
|
286
|
+
"delay": 15,
|
287
|
+
"maxAttempts": 40,
|
288
|
+
"acceptors": [
|
289
|
+
{
|
290
|
+
"state": "success",
|
291
|
+
"matcher": "pathAll",
|
292
|
+
"argument": "NatGateways[].State",
|
293
|
+
"expected": "available"
|
294
|
+
},
|
295
|
+
{
|
296
|
+
"state": "failure",
|
297
|
+
"matcher": "pathAny",
|
298
|
+
"argument": "NatGateways[].State",
|
299
|
+
"expected": "failed"
|
300
|
+
},
|
301
|
+
{
|
302
|
+
"state": "failure",
|
303
|
+
"matcher": "pathAny",
|
304
|
+
"argument": "NatGateways[].State",
|
305
|
+
"expected": "deleting"
|
306
|
+
},
|
307
|
+
{
|
308
|
+
"state": "failure",
|
309
|
+
"matcher": "pathAny",
|
310
|
+
"argument": "NatGateways[].State",
|
311
|
+
"expected": "deleted"
|
312
|
+
},
|
313
|
+
{
|
314
|
+
"state": "retry",
|
315
|
+
"matcher": "error",
|
316
|
+
"expected": "InvalidNatGatewayIDNotFound"
|
317
|
+
}
|
318
|
+
]
|
319
|
+
},
|
284
320
|
"NetworkInterfaceAvailable": {
|
285
321
|
"operation": "DescribeNetworkInterfaces",
|
286
322
|
"delay": 20,
|
data/lib/aws-sdk-core/json.rb
CHANGED
@@ -23,7 +23,7 @@ module Aws
|
|
23
23
|
class << self
|
24
24
|
|
25
25
|
def load(json)
|
26
|
-
ENGINE.load(json)
|
26
|
+
ENGINE.load(json, *ENGINE_LOAD_OPTIONS)
|
27
27
|
rescue ENGINE_ERROR => e
|
28
28
|
raise ParseError.new(e)
|
29
29
|
end
|
@@ -40,19 +40,20 @@ module Aws
|
|
40
40
|
|
41
41
|
def oj_engine
|
42
42
|
require 'oj'
|
43
|
-
[Oj, [{ mode: :compat }], Oj::ParseError]
|
43
|
+
[Oj, [{mode: :compat, symbol_keys: false}], [{ mode: :compat }], Oj::ParseError]
|
44
44
|
rescue LoadError
|
45
45
|
false
|
46
46
|
end
|
47
47
|
|
48
48
|
def json_engine
|
49
|
-
[JSON, [], JSON::ParserError]
|
49
|
+
[JSON, [], [], JSON::ParserError]
|
50
50
|
end
|
51
51
|
|
52
52
|
end
|
53
53
|
|
54
54
|
# @api private
|
55
|
-
ENGINE, ENGINE_DUMP_OPTIONS, ENGINE_ERROR =
|
55
|
+
ENGINE, ENGINE_LOAD_OPTIONS, ENGINE_DUMP_OPTIONS, ENGINE_ERROR =
|
56
|
+
oj_engine || json_engine
|
56
57
|
|
57
58
|
end
|
58
59
|
end
|
@@ -49,10 +49,7 @@ module Aws
|
|
49
49
|
|
50
50
|
option(:sigv4_region) do |cfg|
|
51
51
|
prefix = cfg.api.metadata['endpointPrefix']
|
52
|
-
|
53
|
-
if matches = endpoint.match(/#{prefix}[.-](.+)\.amazonaws\.com/)
|
54
|
-
matches[1] == 'us-gov' ? 'us-gov-west-1' : matches[1]
|
55
|
-
elsif cfg.endpoint.to_s.match(/#{prefix}\.amazonaws\.com/)
|
52
|
+
if cfg.endpoint.to_s.match(/#{prefix}\.amazonaws\.com/)
|
56
53
|
'us-east-1'
|
57
54
|
else
|
58
55
|
cfg.region
|
data/lib/aws-sdk-core/version.rb
CHANGED
@@ -18,7 +18,8 @@ module Seahorse
|
|
18
18
|
NETWORK_ERRORS = [
|
19
19
|
SocketError, EOFError, IOError, Timeout::Error,
|
20
20
|
Errno::ECONNABORTED, Errno::ECONNRESET, Errno::EPIPE,
|
21
|
-
Errno::EINVAL, Errno::ETIMEDOUT, OpenSSL::SSL::SSLError
|
21
|
+
Errno::EINVAL, Errno::ETIMEDOUT, OpenSSL::SSL::SSLError,
|
22
|
+
Errno::EHOSTUNREACH, Errno::ECONNREFUSED
|
22
23
|
]
|
23
24
|
|
24
25
|
# @api private
|
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.2.
|
4
|
+
version: 2.2.10
|
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-01-
|
11
|
+
date: 2016-01-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jmespath
|