aws-sdk-batch 1.8.0 → 1.9.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 +89 -87
- 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: c31ed08d003bae7730232620383a46c6f51582db
|
4
|
+
data.tar.gz: ed5db1bd2088b94af3b68ab453315b80f621d12c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f2d61139184126ff8736906a07734170e75cc3072f64eafb27efd6dc551bc2e31cda27805d4b49e6da8a6e6ae058c46676c5f97f99d67453cfb9a6245c9807e0
|
7
|
+
data.tar.gz: df2353599464f5a4a9274470ebecf757eab802dcc5ae8a4b4d979a3812b4bde751febe1c347f2ebf3f4ce138e19301593e35a246a142fc73c47d889e7107c168
|
data/lib/aws-sdk-batch.rb
CHANGED
data/lib/aws-sdk-batch/client.rb
CHANGED
@@ -54,121 +54,123 @@ module Aws::Batch
|
|
54
54
|
add_plugin(Aws::Plugins::SignatureV4)
|
55
55
|
add_plugin(Aws::Plugins::Protocols::RestJson)
|
56
56
|
|
57
|
-
# @
|
58
|
-
#
|
59
|
-
#
|
57
|
+
# @overload initialize(options)
|
58
|
+
# @param [Hash] options
|
59
|
+
# @option options [required, Aws::CredentialProvider] :credentials
|
60
|
+
# Your AWS credentials. This can be an instance of any one of the
|
61
|
+
# following classes:
|
60
62
|
#
|
61
|
-
#
|
62
|
-
#
|
63
|
+
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
64
|
+
# credentials.
|
63
65
|
#
|
64
|
-
#
|
65
|
-
#
|
66
|
+
# * `Aws::InstanceProfileCredentials` - Used for loading credentials
|
67
|
+
# from an EC2 IMDS on an EC2 instance.
|
66
68
|
#
|
67
|
-
#
|
68
|
-
#
|
69
|
+
# * `Aws::SharedCredentials` - Used for loading credentials from a
|
70
|
+
# shared file, such as `~/.aws/config`.
|
69
71
|
#
|
70
|
-
#
|
72
|
+
# * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
|
71
73
|
#
|
72
|
-
#
|
73
|
-
#
|
74
|
+
# When `:credentials` are not configured directly, the following
|
75
|
+
# locations will be searched for credentials:
|
74
76
|
#
|
75
|
-
#
|
76
|
-
#
|
77
|
-
#
|
78
|
-
#
|
79
|
-
#
|
80
|
-
#
|
81
|
-
#
|
82
|
-
#
|
83
|
-
#
|
77
|
+
# * `Aws.config[:credentials]`
|
78
|
+
# * The `:access_key_id`, `:secret_access_key`, and `:session_token` options.
|
79
|
+
# * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
|
80
|
+
# * `~/.aws/credentials`
|
81
|
+
# * `~/.aws/config`
|
82
|
+
# * EC2 IMDS instance profile - When used by default, the timeouts are
|
83
|
+
# very aggressive. Construct and pass an instance of
|
84
|
+
# `Aws::InstanceProfileCredentails` to enable retries and extended
|
85
|
+
# timeouts.
|
84
86
|
#
|
85
|
-
#
|
86
|
-
#
|
87
|
-
#
|
88
|
-
#
|
87
|
+
# @option options [required, String] :region
|
88
|
+
# The AWS region to connect to. The configured `:region` is
|
89
|
+
# used to determine the service `:endpoint`. When not passed,
|
90
|
+
# a default `:region` is search for in the following locations:
|
89
91
|
#
|
90
|
-
#
|
91
|
-
#
|
92
|
-
#
|
93
|
-
#
|
94
|
-
#
|
95
|
-
#
|
92
|
+
# * `Aws.config[:region]`
|
93
|
+
# * `ENV['AWS_REGION']`
|
94
|
+
# * `ENV['AMAZON_REGION']`
|
95
|
+
# * `ENV['AWS_DEFAULT_REGION']`
|
96
|
+
# * `~/.aws/credentials`
|
97
|
+
# * `~/.aws/config`
|
96
98
|
#
|
97
|
-
#
|
99
|
+
# @option options [String] :access_key_id
|
98
100
|
#
|
99
|
-
#
|
100
|
-
#
|
101
|
-
#
|
101
|
+
# @option options [Boolean] :client_side_monitoring (false)
|
102
|
+
# When `true`, client-side metrics will be collected for all API requests from
|
103
|
+
# this client.
|
102
104
|
#
|
103
|
-
#
|
104
|
-
#
|
105
|
-
#
|
105
|
+
# @option options [String] :client_side_monitoring_client_id ("")
|
106
|
+
# Allows you to provide an identifier for this client which will be attached to
|
107
|
+
# all generated client side metrics. Defaults to an empty string.
|
106
108
|
#
|
107
|
-
#
|
108
|
-
#
|
109
|
-
#
|
109
|
+
# @option options [Integer] :client_side_monitoring_port (31000)
|
110
|
+
# Required for publishing client metrics. The port that the client side monitoring
|
111
|
+
# agent is running on, where client metrics will be published via UDP.
|
110
112
|
#
|
111
|
-
#
|
112
|
-
#
|
113
|
-
#
|
113
|
+
# @option options [Aws::ClientSideMonitoring::Publisher] :client_side_monitoring_publisher (Aws::ClientSideMonitoring::Publisher)
|
114
|
+
# Allows you to provide a custom client-side monitoring publisher class. By default,
|
115
|
+
# will use the Client Side Monitoring Agent Publisher.
|
114
116
|
#
|
115
|
-
#
|
116
|
-
#
|
117
|
-
#
|
117
|
+
# @option options [Boolean] :convert_params (true)
|
118
|
+
# When `true`, an attempt is made to coerce request parameters into
|
119
|
+
# the required types.
|
118
120
|
#
|
119
|
-
#
|
120
|
-
#
|
121
|
-
#
|
122
|
-
#
|
121
|
+
# @option options [String] :endpoint
|
122
|
+
# The client endpoint is normally constructed from the `:region`
|
123
|
+
# option. You should only configure an `:endpoint` when connecting
|
124
|
+
# to test endpoints. This should be avalid HTTP(S) URI.
|
123
125
|
#
|
124
|
-
#
|
125
|
-
#
|
126
|
+
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
127
|
+
# The log formatter.
|
126
128
|
#
|
127
|
-
#
|
128
|
-
#
|
129
|
+
# @option options [Symbol] :log_level (:info)
|
130
|
+
# The log level to send messages to the `:logger` at.
|
129
131
|
#
|
130
|
-
#
|
131
|
-
#
|
132
|
-
#
|
132
|
+
# @option options [Logger] :logger
|
133
|
+
# The Logger instance to send log messages to. If this option
|
134
|
+
# is not set, logging will be disabled.
|
133
135
|
#
|
134
|
-
#
|
135
|
-
#
|
136
|
-
#
|
136
|
+
# @option options [String] :profile ("default")
|
137
|
+
# Used when loading credentials from the shared credentials file
|
138
|
+
# at HOME/.aws/credentials. When not specified, 'default' is used.
|
137
139
|
#
|
138
|
-
#
|
139
|
-
#
|
140
|
+
# @option options [Float] :retry_base_delay (0.3)
|
141
|
+
# The base delay in seconds used by the default backoff function.
|
140
142
|
#
|
141
|
-
#
|
142
|
-
#
|
143
|
+
# @option options [Symbol] :retry_jitter (:none)
|
144
|
+
# 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
145
|
#
|
144
|
-
#
|
146
|
+
# @see https://www.awsarchitectureblog.com/2015/03/backoff.html
|
145
147
|
#
|
146
|
-
#
|
147
|
-
#
|
148
|
-
#
|
149
|
-
#
|
150
|
-
#
|
151
|
-
#
|
148
|
+
# @option options [Integer] :retry_limit (3)
|
149
|
+
# The maximum number of times to retry failed requests. Only
|
150
|
+
# ~ 500 level server errors and certain ~ 400 level client errors
|
151
|
+
# are retried. Generally, these are throttling errors, data
|
152
|
+
# checksum errors, networking errors, timeout errors and auth
|
153
|
+
# errors from expired credentials.
|
152
154
|
#
|
153
|
-
#
|
154
|
-
#
|
155
|
+
# @option options [Integer] :retry_max_delay (0)
|
156
|
+
# The maximum number of seconds to delay between retries (0 for no limit) used by the default backoff function.
|
155
157
|
#
|
156
|
-
#
|
158
|
+
# @option options [String] :secret_access_key
|
157
159
|
#
|
158
|
-
#
|
160
|
+
# @option options [String] :session_token
|
159
161
|
#
|
160
|
-
#
|
161
|
-
#
|
162
|
-
#
|
163
|
-
#
|
164
|
-
#
|
162
|
+
# @option options [Boolean] :stub_responses (false)
|
163
|
+
# Causes the client to return stubbed responses. By default
|
164
|
+
# fake responses are generated and returned. You can specify
|
165
|
+
# the response data to return or errors to raise by calling
|
166
|
+
# {ClientStubs#stub_responses}. See {ClientStubs} for more information.
|
165
167
|
#
|
166
|
-
#
|
167
|
-
#
|
168
|
+
# ** Please note ** When response stubbing is enabled, no HTTP
|
169
|
+
# requests are made, and retries are disabled.
|
168
170
|
#
|
169
|
-
#
|
170
|
-
#
|
171
|
-
#
|
171
|
+
# @option options [Boolean] :validate_params (true)
|
172
|
+
# When `true`, request parameters are validated before
|
173
|
+
# sending the request.
|
172
174
|
#
|
173
175
|
def initialize(*args)
|
174
176
|
super
|
@@ -1768,7 +1770,7 @@ module Aws::Batch
|
|
1768
1770
|
params: params,
|
1769
1771
|
config: config)
|
1770
1772
|
context[:gem_name] = 'aws-sdk-batch'
|
1771
|
-
context[:gem_version] = '1.
|
1773
|
+
context[:gem_version] = '1.9.0'
|
1772
1774
|
Seahorse::Client::Request.new(handlers, context)
|
1773
1775
|
end
|
1774
1776
|
|
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.9.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-10-
|
11
|
+
date: 2018-10-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|