aws-sdk-core 2.0.37 → 2.0.38
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 +268 -7
- data/apis/ecs/2014-11-13/docs-2.json +189 -15
- data/apis/lambda/2015-03-31/api-2.json +1125 -0
- data/apis/lambda/2015-03-31/docs-2.json +462 -0
- data/apis/lambda/2015-03-31/paginators-1.json +16 -0
- data/apis/machinelearning/2014-12-12/api-2.json +1749 -0
- data/apis/machinelearning/2014-12-12/docs-2.json +1034 -0
- data/apis/machinelearning/2014-12-12/paginators-1.json +28 -0
- data/apis/s3/2006-03-01/api-2.json +140 -22
- data/apis/s3/2006-03-01/docs-2.json +83 -27
- data/apis/s3/2006-03-01/resources-1.json +6 -6
- data/apis/workspaces/2015-04-08/api-2.json +519 -0
- data/apis/workspaces/2015-04-08/docs-2.json +457 -0
- data/apis/workspaces/2015-04-08/paginators-1.json +20 -0
- data/lib/aws-sdk-core.rb +3 -0
- data/lib/aws-sdk-core/api/service_customizations.rb +4 -0
- data/lib/aws-sdk-core/json/error_handler.rb +2 -2
- data/lib/aws-sdk-core/lambda.rb +3 -3
- data/lib/aws-sdk-core/lambda_preview.rb +5 -0
- data/lib/aws-sdk-core/machinelearning.rb +5 -0
- data/lib/aws-sdk-core/plugins/machine_learning_predict_endpoint.rb +20 -0
- data/lib/aws-sdk-core/rest_body_handler.rb +3 -2
- data/lib/aws-sdk-core/version.rb +1 -1
- data/lib/aws-sdk-core/workspaces.rb +5 -0
- metadata +16 -3
@@ -0,0 +1,20 @@
|
|
1
|
+
{
|
2
|
+
"pagination": {
|
3
|
+
"DescribeWorkspaceBundles": {
|
4
|
+
"input_token": "NextToken",
|
5
|
+
"output_token": "NextToken",
|
6
|
+
"result_key": "Bundles"
|
7
|
+
},
|
8
|
+
"DescribeWorkspaceDirectories": {
|
9
|
+
"input_token": "NextToken",
|
10
|
+
"output_token": "NextToken",
|
11
|
+
"result_key": "Directories"
|
12
|
+
},
|
13
|
+
"DescribeWorkspaces": {
|
14
|
+
"limit_key": "Limit",
|
15
|
+
"input_token": "NextToken",
|
16
|
+
"output_token": "NextToken",
|
17
|
+
"result_key": "Workspaces"
|
18
|
+
}
|
19
|
+
}
|
20
|
+
}
|
data/lib/aws-sdk-core.rb
CHANGED
@@ -47,6 +47,7 @@ module Aws
|
|
47
47
|
Kinesis
|
48
48
|
KMS
|
49
49
|
Lambda
|
50
|
+
MachineLearning
|
50
51
|
OpsWorks
|
51
52
|
RDS
|
52
53
|
Redshift
|
@@ -62,6 +63,7 @@ module Aws
|
|
62
63
|
STS
|
63
64
|
Support
|
64
65
|
SWF
|
66
|
+
WorkSpaces
|
65
67
|
)
|
66
68
|
|
67
69
|
@config = {}
|
@@ -133,6 +135,7 @@ module Aws
|
|
133
135
|
autoload :GlacierApiVersion, 'aws-sdk-core/plugins/glacier_api_version'
|
134
136
|
autoload :GlacierChecksums, 'aws-sdk-core/plugins/glacier_checksums'
|
135
137
|
autoload :GlobalConfiguration, 'aws-sdk-core/plugins/global_configuration'
|
138
|
+
autoload :MachineLearningPredictEndpoint, 'aws-sdk-core/plugins/machine_learning_predict_endpoint'
|
136
139
|
autoload :RegionalEndpoint, 'aws-sdk-core/plugins/regional_endpoint'
|
137
140
|
autoload :ResponsePaging, 'aws-sdk-core/plugins/response_paging'
|
138
141
|
autoload :RequestSigner, 'aws-sdk-core/plugins/request_signer'
|
@@ -97,6 +97,10 @@ module Aws
|
|
97
97
|
reshape 'Timestamp', 'type' => 'timestamp'
|
98
98
|
end
|
99
99
|
|
100
|
+
customize 'machinelearning' do
|
101
|
+
add_plugin 'Aws::Plugins::MachineLearningPredictEndpoint'
|
102
|
+
end
|
103
|
+
|
100
104
|
customize 'route53' do
|
101
105
|
add_plugin 'Aws::Plugins::Route53IdFix'
|
102
106
|
reshape 'PageMaxItems', 'type' => 'integer'
|
data/lib/aws-sdk-core/lambda.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
Aws.add_service(:Lambda, {
|
2
|
-
api: "#{Aws::API_DIR}/lambda/
|
3
|
-
docs: "#{Aws::API_DIR}/lambda/
|
4
|
-
paginators: "#{Aws::API_DIR}/lambda/
|
2
|
+
api: "#{Aws::API_DIR}/lambda/2015-03-31/api-2.json",
|
3
|
+
docs: "#{Aws::API_DIR}/lambda/2015-03-31/docs-2.json",
|
4
|
+
paginators: "#{Aws::API_DIR}/lambda/2015-03-31/paginators-1.json",
|
5
5
|
})
|
@@ -0,0 +1,20 @@
|
|
1
|
+
module Aws
|
2
|
+
module Plugins
|
3
|
+
# @api private
|
4
|
+
class MachineLearningPredictEndpoint < Seahorse::Client::Plugin
|
5
|
+
|
6
|
+
class Handler < Seahorse::Client::Handler
|
7
|
+
|
8
|
+
def call(context)
|
9
|
+
endpoint = context.params.delete(:predict_endpoint)
|
10
|
+
context.http_request.endpoint = URI.parse(endpoint.to_s)
|
11
|
+
@handler.call(context)
|
12
|
+
end
|
13
|
+
|
14
|
+
end
|
15
|
+
|
16
|
+
handle(Handler, operations: [:predict])
|
17
|
+
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
@@ -21,8 +21,9 @@ module Aws
|
|
21
21
|
when streaming?(input)
|
22
22
|
context.params[input.payload]
|
23
23
|
when input.payload
|
24
|
-
params = context.params[input.payload]
|
25
|
-
|
24
|
+
if params = context.params[input.payload]
|
25
|
+
serialize_params(input.payload_member, params)
|
26
|
+
end
|
26
27
|
else
|
27
28
|
params = body_params(input, context.params)
|
28
29
|
serialize_params(input, params) unless params.empty?
|
data/lib/aws-sdk-core/version.rb
CHANGED
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.0.
|
4
|
+
version: 2.0.38
|
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-04-
|
11
|
+
date: 2015-04-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: multi_json
|
@@ -153,9 +153,15 @@ files:
|
|
153
153
|
- apis/lambda/2014-11-11/api-2.json
|
154
154
|
- apis/lambda/2014-11-11/docs-2.json
|
155
155
|
- apis/lambda/2014-11-11/paginators-1.json
|
156
|
+
- apis/lambda/2015-03-31/api-2.json
|
157
|
+
- apis/lambda/2015-03-31/docs-2.json
|
158
|
+
- apis/lambda/2015-03-31/paginators-1.json
|
156
159
|
- apis/logs/2014-03-28/api-2.json
|
157
160
|
- apis/logs/2014-03-28/docs-2.json
|
158
161
|
- apis/logs/2014-03-28/paginators-1.json
|
162
|
+
- apis/machinelearning/2014-12-12/api-2.json
|
163
|
+
- apis/machinelearning/2014-12-12/docs-2.json
|
164
|
+
- apis/machinelearning/2014-12-12/paginators-1.json
|
159
165
|
- apis/monitoring/2010-08-01/api-2.json
|
160
166
|
- apis/monitoring/2010-08-01/docs-2.json
|
161
167
|
- apis/monitoring/2010-08-01/paginators-1.json
|
@@ -206,6 +212,9 @@ files:
|
|
206
212
|
- apis/swf/2012-01-25/api-2.json
|
207
213
|
- apis/swf/2012-01-25/docs-2.json
|
208
214
|
- apis/swf/2012-01-25/paginators-1.json
|
215
|
+
- apis/workspaces/2015-04-08/api-2.json
|
216
|
+
- apis/workspaces/2015-04-08/docs-2.json
|
217
|
+
- apis/workspaces/2015-04-08/paginators-1.json
|
209
218
|
- bin/aws.rb
|
210
219
|
- endpoints.json
|
211
220
|
- lib/aws-sdk-core.rb
|
@@ -263,6 +272,8 @@ files:
|
|
263
272
|
- lib/aws-sdk-core/kinesis.rb
|
264
273
|
- lib/aws-sdk-core/kms.rb
|
265
274
|
- lib/aws-sdk-core/lambda.rb
|
275
|
+
- lib/aws-sdk-core/lambda_preview.rb
|
276
|
+
- lib/aws-sdk-core/machinelearning.rb
|
266
277
|
- lib/aws-sdk-core/opsworks.rb
|
267
278
|
- lib/aws-sdk-core/pageable_response.rb
|
268
279
|
- lib/aws-sdk-core/paging/null_pager.rb
|
@@ -278,6 +289,7 @@ files:
|
|
278
289
|
- lib/aws-sdk-core/plugins/glacier_api_version.rb
|
279
290
|
- lib/aws-sdk-core/plugins/glacier_checksums.rb
|
280
291
|
- lib/aws-sdk-core/plugins/global_configuration.rb
|
292
|
+
- lib/aws-sdk-core/plugins/machine_learning_predict_endpoint.rb
|
281
293
|
- lib/aws-sdk-core/plugins/protocols/ec2.rb
|
282
294
|
- lib/aws-sdk-core/plugins/protocols/json_rpc.rb
|
283
295
|
- lib/aws-sdk-core/plugins/protocols/query.rb
|
@@ -341,6 +353,7 @@ files:
|
|
341
353
|
- lib/aws-sdk-core/waiters/poller.rb
|
342
354
|
- lib/aws-sdk-core/waiters/provider.rb
|
343
355
|
- lib/aws-sdk-core/waiters/waiter.rb
|
356
|
+
- lib/aws-sdk-core/workspaces.rb
|
344
357
|
- lib/aws-sdk-core/xml/builder.rb
|
345
358
|
- lib/aws-sdk-core/xml/default_list.rb
|
346
359
|
- lib/aws-sdk-core/xml/error_handler.rb
|
@@ -417,7 +430,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
417
430
|
version: '0'
|
418
431
|
requirements: []
|
419
432
|
rubyforge_project:
|
420
|
-
rubygems_version: 2.4.
|
433
|
+
rubygems_version: 2.4.5
|
421
434
|
signing_key:
|
422
435
|
specification_version: 4
|
423
436
|
summary: AWS SDK for Ruby - Core
|