aws-sdk-batch 1.84.0 → 1.86.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-batch/client.rb +84 -46
- data/lib/aws-sdk-batch/client_api.rb +22 -0
- data/lib/aws-sdk-batch/types.rb +88 -10
- data/lib/aws-sdk-batch.rb +1 -1
- data/sig/types.rbs +18 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b2b6057784d7b574f4b7f7c98087ba7633aad9a2ba1cd595999c90d11af465fc
|
4
|
+
data.tar.gz: fee7336408b31dea7331fc00f19c05e94f9918439ce0dcd3451b3bd9d651d5c2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 775c0a4ab7512d74355f28a86aa4b14b1379112b58ff0f01a2352ea13f32d9b9767d988022831c4aa594da2b95715c22f1b5b4b9cc2effb5cd844be758ec7430
|
7
|
+
data.tar.gz: 1ddfc05c13b6db5f05487ae8c89395b9ba4688819b9460b04d7de258ccc1ed7550b4ac318cfb14f4b922dfc53b520376c9ddedabd8c2270639ba15ca06cbc1ec
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.86.0 (2024-04-25)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.85.0 (2024-04-11)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - This release adds the task properties field to attempt details and the name field on EKS container detail.
|
13
|
+
|
4
14
|
1.84.0 (2024-03-27)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.86.0
|
data/lib/aws-sdk-batch/client.rb
CHANGED
@@ -22,6 +22,7 @@ require 'aws-sdk-core/plugins/endpoint_pattern.rb'
|
|
22
22
|
require 'aws-sdk-core/plugins/response_paging.rb'
|
23
23
|
require 'aws-sdk-core/plugins/stub_responses.rb'
|
24
24
|
require 'aws-sdk-core/plugins/idempotency_token.rb'
|
25
|
+
require 'aws-sdk-core/plugins/invocation_id.rb'
|
25
26
|
require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
|
26
27
|
require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
27
28
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
@@ -72,6 +73,7 @@ module Aws::Batch
|
|
72
73
|
add_plugin(Aws::Plugins::ResponsePaging)
|
73
74
|
add_plugin(Aws::Plugins::StubResponses)
|
74
75
|
add_plugin(Aws::Plugins::IdempotencyToken)
|
76
|
+
add_plugin(Aws::Plugins::InvocationId)
|
75
77
|
add_plugin(Aws::Plugins::JsonvalueConverter)
|
76
78
|
add_plugin(Aws::Plugins::ClientMetricsPlugin)
|
77
79
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
@@ -196,10 +198,17 @@ module Aws::Batch
|
|
196
198
|
# When set to 'true' the request body will not be compressed
|
197
199
|
# for supported operations.
|
198
200
|
#
|
199
|
-
# @option options [String] :endpoint
|
200
|
-
#
|
201
|
-
#
|
202
|
-
#
|
201
|
+
# @option options [String, URI::HTTPS, URI::HTTP] :endpoint
|
202
|
+
# Normally you should not configure the `:endpoint` option
|
203
|
+
# directly. This is normally constructed from the `:region`
|
204
|
+
# option. Configuring `:endpoint` is normally reserved for
|
205
|
+
# connecting to test or custom endpoints. The endpoint should
|
206
|
+
# be a URI formatted like:
|
207
|
+
#
|
208
|
+
# 'http://example.com'
|
209
|
+
# 'https://example.com'
|
210
|
+
# 'http://example.com:123'
|
211
|
+
#
|
203
212
|
#
|
204
213
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
205
214
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -337,50 +346,65 @@ module Aws::Batch
|
|
337
346
|
# @option options [Aws::Batch::EndpointProvider] :endpoint_provider
|
338
347
|
# The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::Batch::EndpointParameters`
|
339
348
|
#
|
340
|
-
# @option options [
|
341
|
-
#
|
342
|
-
#
|
343
|
-
#
|
344
|
-
#
|
345
|
-
#
|
346
|
-
#
|
347
|
-
#
|
348
|
-
#
|
349
|
-
#
|
350
|
-
#
|
351
|
-
# @option options [Float] :
|
352
|
-
#
|
353
|
-
#
|
354
|
-
#
|
355
|
-
#
|
356
|
-
#
|
357
|
-
#
|
358
|
-
#
|
359
|
-
#
|
360
|
-
#
|
361
|
-
#
|
362
|
-
#
|
363
|
-
#
|
364
|
-
#
|
349
|
+
# @option options [Float] :http_continue_timeout (1)
|
350
|
+
# The number of seconds to wait for a 100-continue response before sending the
|
351
|
+
# request body. This option has no effect unless the request has "Expect"
|
352
|
+
# header set to "100-continue". Defaults to `nil` which disables this
|
353
|
+
# behaviour. This value can safely be set per request on the session.
|
354
|
+
#
|
355
|
+
# @option options [Float] :http_idle_timeout (5)
|
356
|
+
# The number of seconds a connection is allowed to sit idle before it
|
357
|
+
# is considered stale. Stale connections are closed and removed from the
|
358
|
+
# pool before making a request.
|
359
|
+
#
|
360
|
+
# @option options [Float] :http_open_timeout (15)
|
361
|
+
# The default number of seconds to wait for response data.
|
362
|
+
# This value can safely be set per-request on the session.
|
363
|
+
#
|
364
|
+
# @option options [URI::HTTP,String] :http_proxy
|
365
|
+
# A proxy to send requests through. Formatted like 'http://proxy.com:123'.
|
366
|
+
#
|
367
|
+
# @option options [Float] :http_read_timeout (60)
|
368
|
+
# The default number of seconds to wait for response data.
|
369
|
+
# This value can safely be set per-request on the session.
|
370
|
+
#
|
371
|
+
# @option options [Boolean] :http_wire_trace (false)
|
372
|
+
# When `true`, HTTP debug output will be sent to the `:logger`.
|
373
|
+
#
|
374
|
+
# @option options [Proc] :on_chunk_received
|
375
|
+
# When a Proc object is provided, it will be used as callback when each chunk
|
376
|
+
# of the response body is received. It provides three arguments: the chunk,
|
377
|
+
# the number of bytes received, and the total number of
|
378
|
+
# bytes in the response (or nil if the server did not send a `content-length`).
|
379
|
+
#
|
380
|
+
# @option options [Proc] :on_chunk_sent
|
381
|
+
# When a Proc object is provided, it will be used as callback when each chunk
|
382
|
+
# of the request body is sent. It provides three arguments: the chunk,
|
383
|
+
# the number of bytes read from the body, and the total number of
|
384
|
+
# bytes in the body.
|
385
|
+
#
|
386
|
+
# @option options [Boolean] :raise_response_errors (true)
|
387
|
+
# When `true`, response errors are raised.
|
388
|
+
#
|
389
|
+
# @option options [String] :ssl_ca_bundle
|
390
|
+
# Full path to the SSL certificate authority bundle file that should be used when
|
391
|
+
# verifying peer certificates. If you do not pass `:ssl_ca_bundle` or
|
392
|
+
# `:ssl_ca_directory` the the system default will be used if available.
|
393
|
+
#
|
394
|
+
# @option options [String] :ssl_ca_directory
|
395
|
+
# Full path of the directory that contains the unbundled SSL certificate
|
396
|
+
# authority files for verifying peer certificates. If you do
|
397
|
+
# not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the system
|
398
|
+
# default will be used if available.
|
365
399
|
#
|
366
|
-
# @option options [
|
367
|
-
#
|
400
|
+
# @option options [String] :ssl_ca_store
|
401
|
+
# Sets the X509::Store to verify peer certificate.
|
368
402
|
#
|
369
|
-
# @option options [
|
370
|
-
#
|
371
|
-
# connection.
|
403
|
+
# @option options [Float] :ssl_timeout
|
404
|
+
# Sets the SSL timeout in seconds
|
372
405
|
#
|
373
|
-
# @option options [
|
374
|
-
#
|
375
|
-
# verifying peer certificates. If you do not pass
|
376
|
-
# `:ssl_ca_bundle` or `:ssl_ca_directory` the the system default
|
377
|
-
# will be used if available.
|
378
|
-
#
|
379
|
-
# @option options [String] :ssl_ca_directory Full path of the
|
380
|
-
# directory that contains the unbundled SSL certificate
|
381
|
-
# authority files for verifying peer certificates. If you do
|
382
|
-
# not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the
|
383
|
-
# system default will be used if available.
|
406
|
+
# @option options [Boolean] :ssl_verify_peer (true)
|
407
|
+
# When `true`, SSL peer certificates are verified when establishing a connection.
|
384
408
|
#
|
385
409
|
def initialize(*args)
|
386
410
|
super
|
@@ -2029,6 +2053,18 @@ module Aws::Batch
|
|
2029
2053
|
# resp.jobs[0].attempts[0].started_at #=> Integer
|
2030
2054
|
# resp.jobs[0].attempts[0].stopped_at #=> Integer
|
2031
2055
|
# resp.jobs[0].attempts[0].status_reason #=> String
|
2056
|
+
# resp.jobs[0].attempts[0].task_properties #=> Array
|
2057
|
+
# resp.jobs[0].attempts[0].task_properties[0].container_instance_arn #=> String
|
2058
|
+
# resp.jobs[0].attempts[0].task_properties[0].task_arn #=> String
|
2059
|
+
# resp.jobs[0].attempts[0].task_properties[0].containers #=> Array
|
2060
|
+
# resp.jobs[0].attempts[0].task_properties[0].containers[0].exit_code #=> Integer
|
2061
|
+
# resp.jobs[0].attempts[0].task_properties[0].containers[0].name #=> String
|
2062
|
+
# resp.jobs[0].attempts[0].task_properties[0].containers[0].reason #=> String
|
2063
|
+
# resp.jobs[0].attempts[0].task_properties[0].containers[0].log_stream_name #=> String
|
2064
|
+
# resp.jobs[0].attempts[0].task_properties[0].containers[0].network_interfaces #=> Array
|
2065
|
+
# resp.jobs[0].attempts[0].task_properties[0].containers[0].network_interfaces[0].attachment_id #=> String
|
2066
|
+
# resp.jobs[0].attempts[0].task_properties[0].containers[0].network_interfaces[0].ipv6_address #=> String
|
2067
|
+
# resp.jobs[0].attempts[0].task_properties[0].containers[0].network_interfaces[0].private_ipv_4_address #=> String
|
2032
2068
|
# resp.jobs[0].status_reason #=> String
|
2033
2069
|
# resp.jobs[0].created_at #=> Integer
|
2034
2070
|
# resp.jobs[0].retry_strategy.attempts #=> Integer
|
@@ -2340,9 +2376,11 @@ module Aws::Batch
|
|
2340
2376
|
# resp.jobs[0].eks_properties.pod_properties.share_process_namespace #=> Boolean
|
2341
2377
|
# resp.jobs[0].eks_attempts #=> Array
|
2342
2378
|
# resp.jobs[0].eks_attempts[0].containers #=> Array
|
2379
|
+
# resp.jobs[0].eks_attempts[0].containers[0].name #=> String
|
2343
2380
|
# resp.jobs[0].eks_attempts[0].containers[0].exit_code #=> Integer
|
2344
2381
|
# resp.jobs[0].eks_attempts[0].containers[0].reason #=> String
|
2345
2382
|
# resp.jobs[0].eks_attempts[0].init_containers #=> Array
|
2383
|
+
# resp.jobs[0].eks_attempts[0].init_containers[0].name #=> String
|
2346
2384
|
# resp.jobs[0].eks_attempts[0].init_containers[0].exit_code #=> Integer
|
2347
2385
|
# resp.jobs[0].eks_attempts[0].init_containers[0].reason #=> String
|
2348
2386
|
# resp.jobs[0].eks_attempts[0].pod_name #=> String
|
@@ -4480,7 +4518,7 @@ module Aws::Batch
|
|
4480
4518
|
params: params,
|
4481
4519
|
config: config)
|
4482
4520
|
context[:gem_name] = 'aws-sdk-batch'
|
4483
|
-
context[:gem_version] = '1.
|
4521
|
+
context[:gem_version] = '1.86.0'
|
4484
4522
|
Seahorse::Client::Request.new(handlers, context)
|
4485
4523
|
end
|
4486
4524
|
|
@@ -22,6 +22,8 @@ module Aws::Batch
|
|
22
22
|
AttemptContainerDetail = Shapes::StructureShape.new(name: 'AttemptContainerDetail')
|
23
23
|
AttemptDetail = Shapes::StructureShape.new(name: 'AttemptDetail')
|
24
24
|
AttemptDetails = Shapes::ListShape.new(name: 'AttemptDetails')
|
25
|
+
AttemptEcsTaskDetails = Shapes::StructureShape.new(name: 'AttemptEcsTaskDetails')
|
26
|
+
AttemptTaskContainerDetails = Shapes::StructureShape.new(name: 'AttemptTaskContainerDetails')
|
25
27
|
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
26
28
|
CEState = Shapes::StringShape.new(name: 'CEState')
|
27
29
|
CEStatus = Shapes::StringShape.new(name: 'CEStatus')
|
@@ -151,6 +153,8 @@ module Aws::Batch
|
|
151
153
|
KubernetesVersion = Shapes::StringShape.new(name: 'KubernetesVersion')
|
152
154
|
LaunchTemplateSpecification = Shapes::StructureShape.new(name: 'LaunchTemplateSpecification')
|
153
155
|
LinuxParameters = Shapes::StructureShape.new(name: 'LinuxParameters')
|
156
|
+
ListAttemptEcsTaskDetails = Shapes::ListShape.new(name: 'ListAttemptEcsTaskDetails')
|
157
|
+
ListAttemptTaskContainerDetails = Shapes::ListShape.new(name: 'ListAttemptTaskContainerDetails')
|
154
158
|
ListEcsTaskDetails = Shapes::ListShape.new(name: 'ListEcsTaskDetails')
|
155
159
|
ListEcsTaskProperties = Shapes::ListShape.new(name: 'ListEcsTaskProperties')
|
156
160
|
ListJobsFilterList = Shapes::ListShape.new(name: 'ListJobsFilterList')
|
@@ -266,10 +270,23 @@ module Aws::Batch
|
|
266
270
|
AttemptDetail.add_member(:started_at, Shapes::ShapeRef.new(shape: Long, location_name: "startedAt"))
|
267
271
|
AttemptDetail.add_member(:stopped_at, Shapes::ShapeRef.new(shape: Long, location_name: "stoppedAt"))
|
268
272
|
AttemptDetail.add_member(:status_reason, Shapes::ShapeRef.new(shape: String, location_name: "statusReason"))
|
273
|
+
AttemptDetail.add_member(:task_properties, Shapes::ShapeRef.new(shape: ListAttemptEcsTaskDetails, location_name: "taskProperties"))
|
269
274
|
AttemptDetail.struct_class = Types::AttemptDetail
|
270
275
|
|
271
276
|
AttemptDetails.member = Shapes::ShapeRef.new(shape: AttemptDetail)
|
272
277
|
|
278
|
+
AttemptEcsTaskDetails.add_member(:container_instance_arn, Shapes::ShapeRef.new(shape: String, location_name: "containerInstanceArn"))
|
279
|
+
AttemptEcsTaskDetails.add_member(:task_arn, Shapes::ShapeRef.new(shape: String, location_name: "taskArn"))
|
280
|
+
AttemptEcsTaskDetails.add_member(:containers, Shapes::ShapeRef.new(shape: ListAttemptTaskContainerDetails, location_name: "containers"))
|
281
|
+
AttemptEcsTaskDetails.struct_class = Types::AttemptEcsTaskDetails
|
282
|
+
|
283
|
+
AttemptTaskContainerDetails.add_member(:exit_code, Shapes::ShapeRef.new(shape: Integer, location_name: "exitCode"))
|
284
|
+
AttemptTaskContainerDetails.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
|
285
|
+
AttemptTaskContainerDetails.add_member(:reason, Shapes::ShapeRef.new(shape: String, location_name: "reason"))
|
286
|
+
AttemptTaskContainerDetails.add_member(:log_stream_name, Shapes::ShapeRef.new(shape: String, location_name: "logStreamName"))
|
287
|
+
AttemptTaskContainerDetails.add_member(:network_interfaces, Shapes::ShapeRef.new(shape: NetworkInterfaceList, location_name: "networkInterfaces"))
|
288
|
+
AttemptTaskContainerDetails.struct_class = Types::AttemptTaskContainerDetails
|
289
|
+
|
273
290
|
CancelJobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "jobId"))
|
274
291
|
CancelJobRequest.add_member(:reason, Shapes::ShapeRef.new(shape: String, required: true, location_name: "reason"))
|
275
292
|
CancelJobRequest.struct_class = Types::CancelJobRequest
|
@@ -569,6 +586,7 @@ module Aws::Batch
|
|
569
586
|
EcsTaskProperties.add_member(:volumes, Shapes::ShapeRef.new(shape: Volumes, location_name: "volumes"))
|
570
587
|
EcsTaskProperties.struct_class = Types::EcsTaskProperties
|
571
588
|
|
589
|
+
EksAttemptContainerDetail.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
|
572
590
|
EksAttemptContainerDetail.add_member(:exit_code, Shapes::ShapeRef.new(shape: Integer, location_name: "exitCode"))
|
573
591
|
EksAttemptContainerDetail.add_member(:reason, Shapes::ShapeRef.new(shape: String, location_name: "reason"))
|
574
592
|
EksAttemptContainerDetail.struct_class = Types::EksAttemptContainerDetail
|
@@ -873,6 +891,10 @@ module Aws::Batch
|
|
873
891
|
LinuxParameters.add_member(:swappiness, Shapes::ShapeRef.new(shape: Integer, location_name: "swappiness"))
|
874
892
|
LinuxParameters.struct_class = Types::LinuxParameters
|
875
893
|
|
894
|
+
ListAttemptEcsTaskDetails.member = Shapes::ShapeRef.new(shape: AttemptEcsTaskDetails)
|
895
|
+
|
896
|
+
ListAttemptTaskContainerDetails.member = Shapes::ShapeRef.new(shape: AttemptTaskContainerDetails)
|
897
|
+
|
876
898
|
ListEcsTaskDetails.member = Shapes::ShapeRef.new(shape: EcsTaskDetails)
|
877
899
|
|
878
900
|
ListEcsTaskProperties.member = Shapes::ShapeRef.new(shape: EcsTaskProperties)
|
data/lib/aws-sdk-batch/types.rb
CHANGED
@@ -143,13 +143,84 @@ module Aws::Batch
|
|
143
143
|
# current status of the job attempt.
|
144
144
|
# @return [String]
|
145
145
|
#
|
146
|
+
# @!attribute [rw] task_properties
|
147
|
+
# The properties for a task definition that describes the container
|
148
|
+
# and volume definitions of an Amazon ECS task.
|
149
|
+
# @return [Array<Types::AttemptEcsTaskDetails>]
|
150
|
+
#
|
146
151
|
# @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/AttemptDetail AWS API Documentation
|
147
152
|
#
|
148
153
|
class AttemptDetail < Struct.new(
|
149
154
|
:container,
|
150
155
|
:started_at,
|
151
156
|
:stopped_at,
|
152
|
-
:status_reason
|
157
|
+
:status_reason,
|
158
|
+
:task_properties)
|
159
|
+
SENSITIVE = []
|
160
|
+
include Aws::Structure
|
161
|
+
end
|
162
|
+
|
163
|
+
# An object that represents the details of a task.
|
164
|
+
#
|
165
|
+
# @!attribute [rw] container_instance_arn
|
166
|
+
# The Amazon Resource Name (ARN) of the container instance that hosts
|
167
|
+
# the task.
|
168
|
+
# @return [String]
|
169
|
+
#
|
170
|
+
# @!attribute [rw] task_arn
|
171
|
+
# The ARN of the Amazon ECS task.
|
172
|
+
# @return [String]
|
173
|
+
#
|
174
|
+
# @!attribute [rw] containers
|
175
|
+
# A list of containers that are included in the `taskProperties` list.
|
176
|
+
# @return [Array<Types::AttemptTaskContainerDetails>]
|
177
|
+
#
|
178
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/AttemptEcsTaskDetails AWS API Documentation
|
179
|
+
#
|
180
|
+
class AttemptEcsTaskDetails < Struct.new(
|
181
|
+
:container_instance_arn,
|
182
|
+
:task_arn,
|
183
|
+
:containers)
|
184
|
+
SENSITIVE = []
|
185
|
+
include Aws::Structure
|
186
|
+
end
|
187
|
+
|
188
|
+
# An object that represents the details of a container that's part of a
|
189
|
+
# job attempt.
|
190
|
+
#
|
191
|
+
# @!attribute [rw] exit_code
|
192
|
+
# The exit code for the container’s attempt. A non-zero exit code is
|
193
|
+
# considered failed.
|
194
|
+
# @return [Integer]
|
195
|
+
#
|
196
|
+
# @!attribute [rw] name
|
197
|
+
# The name of a container.
|
198
|
+
# @return [String]
|
199
|
+
#
|
200
|
+
# @!attribute [rw] reason
|
201
|
+
# A short (255 max characters) string that's easy to understand and
|
202
|
+
# provides additional details for a running or stopped container.
|
203
|
+
# @return [String]
|
204
|
+
#
|
205
|
+
# @!attribute [rw] log_stream_name
|
206
|
+
# The name of the Amazon CloudWatch Logs log stream that's associated
|
207
|
+
# with the container. The log group for Batch jobs is
|
208
|
+
# `/aws/batch/job`. Each container attempt receives a log stream name
|
209
|
+
# when they reach the `RUNNING` status.
|
210
|
+
# @return [String]
|
211
|
+
#
|
212
|
+
# @!attribute [rw] network_interfaces
|
213
|
+
# The network interfaces that are associated with the job attempt.
|
214
|
+
# @return [Array<Types::NetworkInterface>]
|
215
|
+
#
|
216
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/AttemptTaskContainerDetails AWS API Documentation
|
217
|
+
#
|
218
|
+
class AttemptTaskContainerDetails < Struct.new(
|
219
|
+
:exit_code,
|
220
|
+
:name,
|
221
|
+
:reason,
|
222
|
+
:log_stream_name,
|
223
|
+
:network_interfaces)
|
153
224
|
SENSITIVE = []
|
154
225
|
include Aws::Structure
|
155
226
|
end
|
@@ -3211,6 +3282,10 @@ module Aws::Batch
|
|
3211
3282
|
# An object that represents the details for an attempt for a job attempt
|
3212
3283
|
# that an Amazon EKS container runs.
|
3213
3284
|
#
|
3285
|
+
# @!attribute [rw] name
|
3286
|
+
# The name of a container.
|
3287
|
+
# @return [String]
|
3288
|
+
#
|
3214
3289
|
# @!attribute [rw] exit_code
|
3215
3290
|
# The exit code returned for the job attempt. A non-zero exit code is
|
3216
3291
|
# considered failed.
|
@@ -3224,6 +3299,7 @@ module Aws::Batch
|
|
3224
3299
|
# @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/EksAttemptContainerDetail AWS API Documentation
|
3225
3300
|
#
|
3226
3301
|
class EksAttemptContainerDetail < Struct.new(
|
3302
|
+
:name,
|
3227
3303
|
:exit_code,
|
3228
3304
|
:reason)
|
3229
3305
|
SENSITIVE = []
|
@@ -4033,10 +4109,9 @@ module Aws::Batch
|
|
4033
4109
|
# @return [String]
|
4034
4110
|
#
|
4035
4111
|
# @!attribute [rw] image_pull_secrets
|
4036
|
-
# References a Kubernetes secret resource.
|
4037
|
-
#
|
4038
|
-
#
|
4039
|
-
# 253 characters.
|
4112
|
+
# References a Kubernetes secret resource. It holds a list of secrets.
|
4113
|
+
# These secrets help to gain access to pull an images from a private
|
4114
|
+
# registry.
|
4040
4115
|
#
|
4041
4116
|
# `ImagePullSecret$name` is required when this object is used.
|
4042
4117
|
# @return [Array<Types::ImagePullSecret>]
|
@@ -4161,6 +4236,8 @@ module Aws::Batch
|
|
4161
4236
|
#
|
4162
4237
|
# @!attribute [rw] image_pull_secrets
|
4163
4238
|
# Displays the reference pointer to the Kubernetes secret resource.
|
4239
|
+
# These secrets help to gain access to pull an images from a private
|
4240
|
+
# registry.
|
4164
4241
|
# @return [Array<Types::ImagePullSecret>]
|
4165
4242
|
#
|
4166
4243
|
# @!attribute [rw] containers
|
@@ -4562,9 +4639,10 @@ module Aws::Batch
|
|
4562
4639
|
include Aws::Structure
|
4563
4640
|
end
|
4564
4641
|
|
4565
|
-
# References a Kubernetes
|
4566
|
-
#
|
4567
|
-
#
|
4642
|
+
# References a Kubernetes secret resource. This name of the secret must
|
4643
|
+
# start and end with an alphanumeric character, is required to be
|
4644
|
+
# lowercase, can include periods (.) and hyphens (-), and can't contain
|
4645
|
+
# more than 253 characters.
|
4568
4646
|
#
|
4569
4647
|
# @!attribute [rw] name
|
4570
4648
|
# Provides a unique identifier for the `ImagePullSecret`. This object
|
@@ -5053,7 +5131,7 @@ module Aws::Batch
|
|
5053
5131
|
#
|
5054
5132
|
# @!attribute [rw] state
|
5055
5133
|
# The state of the job needed to trigger the action. The only
|
5056
|
-
# supported value is
|
5134
|
+
# supported value is `RUNNABLE`.
|
5057
5135
|
# @return [String]
|
5058
5136
|
#
|
5059
5137
|
# @!attribute [rw] max_time_seconds
|
@@ -5066,7 +5144,7 @@ module Aws::Batch
|
|
5066
5144
|
# @!attribute [rw] action
|
5067
5145
|
# The action to take when a job is at the head of the job queue in the
|
5068
5146
|
# specified state for the specified period of time. The only supported
|
5069
|
-
# value is
|
5147
|
+
# value is `CANCEL`, which will cancel the job.
|
5070
5148
|
# @return [String]
|
5071
5149
|
#
|
5072
5150
|
# @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/JobStateTimeLimitAction AWS API Documentation
|
data/lib/aws-sdk-batch.rb
CHANGED
data/sig/types.rbs
CHANGED
@@ -41,6 +41,23 @@ module Aws::Batch
|
|
41
41
|
attr_accessor started_at: ::Integer
|
42
42
|
attr_accessor stopped_at: ::Integer
|
43
43
|
attr_accessor status_reason: ::String
|
44
|
+
attr_accessor task_properties: ::Array[Types::AttemptEcsTaskDetails]
|
45
|
+
SENSITIVE: []
|
46
|
+
end
|
47
|
+
|
48
|
+
class AttemptEcsTaskDetails
|
49
|
+
attr_accessor container_instance_arn: ::String
|
50
|
+
attr_accessor task_arn: ::String
|
51
|
+
attr_accessor containers: ::Array[Types::AttemptTaskContainerDetails]
|
52
|
+
SENSITIVE: []
|
53
|
+
end
|
54
|
+
|
55
|
+
class AttemptTaskContainerDetails
|
56
|
+
attr_accessor exit_code: ::Integer
|
57
|
+
attr_accessor name: ::String
|
58
|
+
attr_accessor reason: ::String
|
59
|
+
attr_accessor log_stream_name: ::String
|
60
|
+
attr_accessor network_interfaces: ::Array[Types::NetworkInterface]
|
44
61
|
SENSITIVE: []
|
45
62
|
end
|
46
63
|
|
@@ -417,6 +434,7 @@ module Aws::Batch
|
|
417
434
|
end
|
418
435
|
|
419
436
|
class EksAttemptContainerDetail
|
437
|
+
attr_accessor name: ::String
|
420
438
|
attr_accessor exit_code: ::Integer
|
421
439
|
attr_accessor reason: ::String
|
422
440
|
SENSITIVE: []
|
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.86.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: 2024-
|
11
|
+
date: 2024-04-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.193.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.193.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|