aws-sdk-batch 1.4.0 → 1.6.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-batch.rb +1 -1
- data/lib/aws-sdk-batch/client.rb +32 -1
- data/lib/aws-sdk-batch/client_api.rb +4 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: df715c49891f0f5a16d7843aa568bbdbb4df8c15
|
4
|
+
data.tar.gz: f7f24b6c9e46a6d7c4db41393f8645daf3847935
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bf15d247e9b32008bfef707e2d361790d9891a388dd7d1644472893f37db0d4de82ec446192660110119037aaa55274ab6be93cd5a2ef5b6f5522a0d3c3f4e8d
|
7
|
+
data.tar.gz: d6a1bc3e9d98324ece096cb97ae6ac9f1d3ae0682c90e49702a7e972a09a5fb68ad0dc03af794a29c0785e0ff1e0260ba632628d37a1029c29d9b4c8df10ba7a
|
data/lib/aws-sdk-batch.rb
CHANGED
data/lib/aws-sdk-batch/client.rb
CHANGED
@@ -19,6 +19,8 @@ require 'aws-sdk-core/plugins/response_paging.rb'
|
|
19
19
|
require 'aws-sdk-core/plugins/stub_responses.rb'
|
20
20
|
require 'aws-sdk-core/plugins/idempotency_token.rb'
|
21
21
|
require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
|
22
|
+
require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
23
|
+
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
22
24
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
23
25
|
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
24
26
|
|
@@ -47,6 +49,8 @@ module Aws::Batch
|
|
47
49
|
add_plugin(Aws::Plugins::StubResponses)
|
48
50
|
add_plugin(Aws::Plugins::IdempotencyToken)
|
49
51
|
add_plugin(Aws::Plugins::JsonvalueConverter)
|
52
|
+
add_plugin(Aws::Plugins::ClientMetricsPlugin)
|
53
|
+
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
50
54
|
add_plugin(Aws::Plugins::SignatureV4)
|
51
55
|
add_plugin(Aws::Plugins::Protocols::RestJson)
|
52
56
|
|
@@ -92,6 +96,22 @@ module Aws::Batch
|
|
92
96
|
#
|
93
97
|
# @option options [String] :access_key_id
|
94
98
|
#
|
99
|
+
# @option options [] :client_side_monitoring (false)
|
100
|
+
# When `true`, client-side metrics will be collected for all API requests from
|
101
|
+
# this client.
|
102
|
+
#
|
103
|
+
# @option options [] :client_side_monitoring_client_id ("")
|
104
|
+
# Allows you to provide an identifier for this client which will be attached to
|
105
|
+
# all generated client side metrics. Defaults to an empty string.
|
106
|
+
#
|
107
|
+
# @option options [] :client_side_monitoring_port (31000)
|
108
|
+
# Required for publishing client metrics. The port that the client side monitoring
|
109
|
+
# agent is running on, where client metrics will be published via UDP.
|
110
|
+
#
|
111
|
+
# @option options [] :client_side_monitoring_publisher (#<Aws::ClientSideMonitoring::Publisher:0x00007f20e3c7b9f0 @agent_port=nil, @mutex=#<Thread::Mutex:0x00007f20e3c7b9a0>>)
|
112
|
+
# Allows you to provide a custom client-side monitoring publisher class. By default,
|
113
|
+
# will use the Client Side Monitoring Agent Publisher.
|
114
|
+
#
|
95
115
|
# @option options [Boolean] :convert_params (true)
|
96
116
|
# When `true`, an attempt is made to coerce request parameters into
|
97
117
|
# the required types.
|
@@ -115,6 +135,14 @@ module Aws::Batch
|
|
115
135
|
# Used when loading credentials from the shared credentials file
|
116
136
|
# at HOME/.aws/credentials. When not specified, 'default' is used.
|
117
137
|
#
|
138
|
+
# @option options [Float] :retry_base_delay (0.3)
|
139
|
+
# The base delay in seconds used by the default backoff function.
|
140
|
+
#
|
141
|
+
# @option options [Symbol] :retry_jitter (:none)
|
142
|
+
# A delay randomiser function used by the default backoff function. Some predefined functions can be referenced by name - :none, :equal, :full, otherwise a Proc that takes and returns a number.
|
143
|
+
#
|
144
|
+
# @see https://www.awsarchitectureblog.com/2015/03/backoff.html
|
145
|
+
#
|
118
146
|
# @option options [Integer] :retry_limit (3)
|
119
147
|
# The maximum number of times to retry failed requests. Only
|
120
148
|
# ~ 500 level server errors and certain ~ 400 level client errors
|
@@ -122,6 +150,9 @@ module Aws::Batch
|
|
122
150
|
# checksum errors, networking errors, timeout errors and auth
|
123
151
|
# errors from expired credentials.
|
124
152
|
#
|
153
|
+
# @option options [Integer] :retry_max_delay (0)
|
154
|
+
# The maximum number of seconds to delay between retries (0 for no limit) used by the default backoff function.
|
155
|
+
#
|
125
156
|
# @option options [String] :secret_access_key
|
126
157
|
#
|
127
158
|
# @option options [String] :session_token
|
@@ -1737,7 +1768,7 @@ module Aws::Batch
|
|
1737
1768
|
params: params,
|
1738
1769
|
config: config)
|
1739
1770
|
context[:gem_name] = 'aws-sdk-batch'
|
1740
|
-
context[:gem_version] = '1.
|
1771
|
+
context[:gem_version] = '1.6.0'
|
1741
1772
|
Seahorse::Client::Request.new(handlers, context)
|
1742
1773
|
end
|
1743
1774
|
|
@@ -467,11 +467,15 @@ module Aws::Batch
|
|
467
467
|
api.version = "2016-08-10"
|
468
468
|
|
469
469
|
api.metadata = {
|
470
|
+
"apiVersion" => "2016-08-10",
|
470
471
|
"endpointPrefix" => "batch",
|
471
472
|
"jsonVersion" => "1.1",
|
472
473
|
"protocol" => "rest-json",
|
474
|
+
"serviceAbbreviation" => "AWS Batch",
|
473
475
|
"serviceFullName" => "AWS Batch",
|
476
|
+
"serviceId" => "Batch",
|
474
477
|
"signatureVersion" => "v4",
|
478
|
+
"uid" => "batch-2016-08-10",
|
475
479
|
}
|
476
480
|
|
477
481
|
api.add_operation(:cancel_job, Seahorse::Model::Operation.new.tap do |o|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-batch
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.6.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: 2018-
|
11
|
+
date: 2018-09-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
version: '0'
|
76
76
|
requirements: []
|
77
77
|
rubyforge_project:
|
78
|
-
rubygems_version: 2.5.2.
|
78
|
+
rubygems_version: 2.5.2.3
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: AWS SDK for Ruby - AWS Batch
|