aws-sdk-core 2.1.28 → 2.1.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/apis/ecs/2014-11-13/api-2.json +126 -4
- data/apis/iot-data/2015-05-28/api-2.json +386 -0
- data/apis/iot/2015-05-28/api-2.json +2851 -0
- data/apis/lambda/2015-03-31/api-2.json +505 -19
- data/lib/aws-sdk-core.rb +2 -0
- data/lib/aws-sdk-core/api/customizations.rb +4 -0
- data/lib/aws-sdk-core/iot.rb +4 -0
- data/lib/aws-sdk-core/iotdataplane.rb +4 -0
- data/lib/aws-sdk-core/plugins/regional_endpoint.rb +3 -1
- data/lib/aws-sdk-core/version.rb +1 -1
- data/lib/seahorse/client/plugins/endpoint.rb +8 -1
- metadata +6 -2
data/lib/aws-sdk-core.rb
CHANGED
@@ -20,7 +20,9 @@ module Aws
|
|
20
20
|
}
|
21
21
|
|
22
22
|
option(:endpoint) do |cfg|
|
23
|
-
|
23
|
+
if endpoint_prefix = cfg.api.metadata['endpointPrefix']
|
24
|
+
EndpointProvider.resolve(cfg.region, endpoint_prefix)
|
25
|
+
end
|
24
26
|
end
|
25
27
|
|
26
28
|
def after_initialize(client)
|
data/lib/aws-sdk-core/version.rb
CHANGED
@@ -18,7 +18,14 @@ module Seahorse
|
|
18
18
|
end
|
19
19
|
|
20
20
|
def after_initialize(client)
|
21
|
-
|
21
|
+
|
22
|
+
endpoint = client.config.endpoint
|
23
|
+
if endpoint.nil?
|
24
|
+
msg = "missing required option `:endpoint'"
|
25
|
+
raise ArgumentError, msg
|
26
|
+
end
|
27
|
+
|
28
|
+
endpoint = URI.parse(endpoint.to_s)
|
22
29
|
if URI::HTTPS === endpoint or URI::HTTP === endpoint
|
23
30
|
client.config.endpoint = endpoint
|
24
31
|
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.1.
|
4
|
+
version: 2.1.29
|
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: 2015-10-
|
11
|
+
date: 2015-10-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jmespath
|
@@ -106,6 +106,8 @@ files:
|
|
106
106
|
- apis/importexport/2010-06-01/api-2.json
|
107
107
|
- apis/importexport/2010-06-01/paginators-1.json
|
108
108
|
- apis/inspector/2015-08-18/api-2.json
|
109
|
+
- apis/iot-data/2015-05-28/api-2.json
|
110
|
+
- apis/iot/2015-05-28/api-2.json
|
109
111
|
- apis/kinesis/2013-12-02/api-2.json
|
110
112
|
- apis/kinesis/2013-12-02/paginators-1.json
|
111
113
|
- apis/kinesis/2013-12-02/waiters-2.json
|
@@ -225,6 +227,8 @@ files:
|
|
225
227
|
- lib/aws-sdk-core/importexport.rb
|
226
228
|
- lib/aws-sdk-core/inspector.rb
|
227
229
|
- lib/aws-sdk-core/instance_profile_credentials.rb
|
230
|
+
- lib/aws-sdk-core/iot.rb
|
231
|
+
- lib/aws-sdk-core/iotdataplane.rb
|
228
232
|
- lib/aws-sdk-core/json.rb
|
229
233
|
- lib/aws-sdk-core/json/builder.rb
|
230
234
|
- lib/aws-sdk-core/json/error_handler.rb
|