aws-sdk-batch 1.102.0 → 1.103.0
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/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-batch/client.rb +29 -11
- data/lib/aws-sdk-batch/client_api.rb +2 -0
- data/lib/aws-sdk-batch/types.rb +48 -24
- data/lib/aws-sdk-batch.rb +1 -1
- data/sig/types.rbs +2 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a49e29e82e8c1c140648a871af3a4eadc5a3ffe4869a0557521c41e433c1a996
|
4
|
+
data.tar.gz: '09477a4ef0619fed6dbfe16f55d31751e1587553e38d5f66a367bc3138eb165b'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 162f96beb7e6eb3e801c3de9e5582ccae382ca67dba8dbe6aaed9a9bbf8536820ac9c2224f8c89084f1efd196a765d0073139303c7946aef77b8ae5a350a5fd5
|
7
|
+
data.tar.gz: c47b9b65699eb3419e17f868c7c18eff430a0e59bb9102dbc967d42cb2a4ecf9f8ce02308c23a06a6c0d1ee44e732510dfe133e0a4aa0d41a5a4432f736f3e24
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.103.0
|
data/lib/aws-sdk-batch/client.rb
CHANGED
@@ -472,7 +472,9 @@ module Aws::Batch
|
|
472
472
|
# @option params [required, String] :reason
|
473
473
|
# A message to attach to the job that explains the reason for canceling
|
474
474
|
# it. This message is returned by future DescribeJobs operations on the
|
475
|
-
# job.
|
475
|
+
# job. It is also recorded in the Batch activity logs.
|
476
|
+
#
|
477
|
+
# This parameter has as limit of 1024 characters.
|
476
478
|
#
|
477
479
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
478
480
|
#
|
@@ -913,16 +915,23 @@ module Aws::Batch
|
|
913
915
|
# finish.
|
914
916
|
#
|
915
917
|
# @option params [String] :scheduling_policy_arn
|
916
|
-
# The Amazon Resource Name (ARN) of the fair share scheduling policy.
|
917
|
-
#
|
918
|
-
#
|
919
|
-
#
|
920
|
-
#
|
921
|
-
#
|
922
|
-
# `aws:Partition:batch:Region:Account:scheduling-policy/Name `.
|
923
|
-
#
|
918
|
+
# The Amazon Resource Name (ARN) of the fair share scheduling policy.
|
919
|
+
# Job queues that don't have a scheduling policy are scheduled in a
|
920
|
+
# first-in, first-out (FIFO) model. After a job queue has a scheduling
|
921
|
+
# policy, it can be replaced but can't be removed.
|
922
|
+
#
|
923
|
+
# The format is
|
924
|
+
# `aws:Partition:batch:Region:Account:scheduling-policy/Name `.
|
925
|
+
#
|
926
|
+
# An example is
|
924
927
|
# `aws:aws:batch:us-west-2:123456789012:scheduling-policy/MySchedulingPolicy`.
|
925
928
|
#
|
929
|
+
# A job queue without a scheduling policy is scheduled as a FIFO job
|
930
|
+
# queue and can't have a scheduling policy added. Jobs queues with a
|
931
|
+
# scheduling policy can have a maximum of 500 active fair share
|
932
|
+
# identifiers. When the limit has been reached, submissions of any jobs
|
933
|
+
# that add a new fair share identifier fail.
|
934
|
+
#
|
926
935
|
# @option params [required, Integer] :priority
|
927
936
|
# The priority of the job queue. Job queues with a higher priority (or a
|
928
937
|
# higher integer value for the `priority` parameter) are evaluated first
|
@@ -963,6 +972,8 @@ module Aws::Batch
|
|
963
972
|
# The set of actions that Batch performs on jobs that remain at the head
|
964
973
|
# of the job queue in the specified state longer than specified times.
|
965
974
|
# Batch will perform each action after `maxTimeSeconds` has passed.
|
975
|
+
# (**Note**: The minimum value for maxTimeSeconds is 600 (10 minutes)
|
976
|
+
# and its maximum value is 86,400 (24 hours).)
|
966
977
|
#
|
967
978
|
# @return [Types::CreateJobQueueResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
968
979
|
#
|
@@ -2546,14 +2557,17 @@ module Aws::Batch
|
|
2546
2557
|
# resp.jobs[0].eks_attempts #=> Array
|
2547
2558
|
# resp.jobs[0].eks_attempts[0].containers #=> Array
|
2548
2559
|
# resp.jobs[0].eks_attempts[0].containers[0].name #=> String
|
2560
|
+
# resp.jobs[0].eks_attempts[0].containers[0].container_id #=> String
|
2549
2561
|
# resp.jobs[0].eks_attempts[0].containers[0].exit_code #=> Integer
|
2550
2562
|
# resp.jobs[0].eks_attempts[0].containers[0].reason #=> String
|
2551
2563
|
# resp.jobs[0].eks_attempts[0].init_containers #=> Array
|
2552
2564
|
# resp.jobs[0].eks_attempts[0].init_containers[0].name #=> String
|
2565
|
+
# resp.jobs[0].eks_attempts[0].init_containers[0].container_id #=> String
|
2553
2566
|
# resp.jobs[0].eks_attempts[0].init_containers[0].exit_code #=> Integer
|
2554
2567
|
# resp.jobs[0].eks_attempts[0].init_containers[0].reason #=> String
|
2555
2568
|
# resp.jobs[0].eks_attempts[0].eks_cluster_arn #=> String
|
2556
2569
|
# resp.jobs[0].eks_attempts[0].pod_name #=> String
|
2570
|
+
# resp.jobs[0].eks_attempts[0].pod_namespace #=> String
|
2557
2571
|
# resp.jobs[0].eks_attempts[0].node_name #=> String
|
2558
2572
|
# resp.jobs[0].eks_attempts[0].started_at #=> Integer
|
2559
2573
|
# resp.jobs[0].eks_attempts[0].stopped_at #=> Integer
|
@@ -4480,7 +4494,9 @@ module Aws::Batch
|
|
4480
4494
|
# @option params [required, String] :reason
|
4481
4495
|
# A message to attach to the job that explains the reason for canceling
|
4482
4496
|
# it. This message is returned by future DescribeJobs operations on the
|
4483
|
-
# job.
|
4497
|
+
# job. It is also recorded in the Batch activity logs.
|
4498
|
+
#
|
4499
|
+
# This parameter has as limit of 1024 characters.
|
4484
4500
|
#
|
4485
4501
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
4486
4502
|
#
|
@@ -4790,6 +4806,8 @@ module Aws::Batch
|
|
4790
4806
|
# The set of actions that Batch perform on jobs that remain at the head
|
4791
4807
|
# of the job queue in the specified state longer than specified times.
|
4792
4808
|
# Batch will perform each action after `maxTimeSeconds` has passed.
|
4809
|
+
# (**Note**: The minimum value for maxTimeSeconds is 600 (10 minutes)
|
4810
|
+
# and its maximum value is 86,400 (24 hours).)
|
4793
4811
|
#
|
4794
4812
|
# @return [Types::UpdateJobQueueResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4795
4813
|
#
|
@@ -4902,7 +4920,7 @@ module Aws::Batch
|
|
4902
4920
|
tracer: tracer
|
4903
4921
|
)
|
4904
4922
|
context[:gem_name] = 'aws-sdk-batch'
|
4905
|
-
context[:gem_version] = '1.
|
4923
|
+
context[:gem_version] = '1.103.0'
|
4906
4924
|
Seahorse::Client::Request.new(handlers, context)
|
4907
4925
|
end
|
4908
4926
|
|
@@ -595,6 +595,7 @@ module Aws::Batch
|
|
595
595
|
EcsTaskProperties.struct_class = Types::EcsTaskProperties
|
596
596
|
|
597
597
|
EksAttemptContainerDetail.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
|
598
|
+
EksAttemptContainerDetail.add_member(:container_id, Shapes::ShapeRef.new(shape: String, location_name: "containerID"))
|
598
599
|
EksAttemptContainerDetail.add_member(:exit_code, Shapes::ShapeRef.new(shape: Integer, location_name: "exitCode"))
|
599
600
|
EksAttemptContainerDetail.add_member(:reason, Shapes::ShapeRef.new(shape: String, location_name: "reason"))
|
600
601
|
EksAttemptContainerDetail.struct_class = Types::EksAttemptContainerDetail
|
@@ -605,6 +606,7 @@ module Aws::Batch
|
|
605
606
|
EksAttemptDetail.add_member(:init_containers, Shapes::ShapeRef.new(shape: EksAttemptContainerDetails, location_name: "initContainers"))
|
606
607
|
EksAttemptDetail.add_member(:eks_cluster_arn, Shapes::ShapeRef.new(shape: String, location_name: "eksClusterArn"))
|
607
608
|
EksAttemptDetail.add_member(:pod_name, Shapes::ShapeRef.new(shape: String, location_name: "podName"))
|
609
|
+
EksAttemptDetail.add_member(:pod_namespace, Shapes::ShapeRef.new(shape: String, location_name: "podNamespace"))
|
608
610
|
EksAttemptDetail.add_member(:node_name, Shapes::ShapeRef.new(shape: String, location_name: "nodeName"))
|
609
611
|
EksAttemptDetail.add_member(:started_at, Shapes::ShapeRef.new(shape: Long, location_name: "startedAt"))
|
610
612
|
EksAttemptDetail.add_member(:stopped_at, Shapes::ShapeRef.new(shape: Long, location_name: "stoppedAt"))
|
data/lib/aws-sdk-batch/types.rb
CHANGED
@@ -234,8 +234,10 @@ module Aws::Batch
|
|
234
234
|
# @!attribute [rw] reason
|
235
235
|
# A message to attach to the job that explains the reason for
|
236
236
|
# canceling it. This message is returned by future DescribeJobs
|
237
|
-
# operations on the job.
|
238
|
-
#
|
237
|
+
# operations on the job. It is also recorded in the Batch activity
|
238
|
+
# logs.
|
239
|
+
#
|
240
|
+
# This parameter has as limit of 1024 characters.
|
239
241
|
# @return [String]
|
240
242
|
#
|
241
243
|
# @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/CancelJobRequest AWS API Documentation
|
@@ -2273,14 +2275,21 @@ module Aws::Batch
|
|
2273
2275
|
#
|
2274
2276
|
# @!attribute [rw] scheduling_policy_arn
|
2275
2277
|
# The Amazon Resource Name (ARN) of the fair share scheduling policy.
|
2276
|
-
#
|
2277
|
-
#
|
2278
|
-
#
|
2279
|
-
#
|
2280
|
-
#
|
2281
|
-
# `aws:Partition:batch:Region:Account:scheduling-policy/Name `.
|
2282
|
-
#
|
2278
|
+
# Job queues that don't have a scheduling policy are scheduled in a
|
2279
|
+
# first-in, first-out (FIFO) model. After a job queue has a scheduling
|
2280
|
+
# policy, it can be replaced but can't be removed.
|
2281
|
+
#
|
2282
|
+
# The format is
|
2283
|
+
# `aws:Partition:batch:Region:Account:scheduling-policy/Name `.
|
2284
|
+
#
|
2285
|
+
# An example is
|
2283
2286
|
# `aws:aws:batch:us-west-2:123456789012:scheduling-policy/MySchedulingPolicy`.
|
2287
|
+
#
|
2288
|
+
# A job queue without a scheduling policy is scheduled as a FIFO job
|
2289
|
+
# queue and can't have a scheduling policy added. Jobs queues with a
|
2290
|
+
# scheduling policy can have a maximum of 500 active fair share
|
2291
|
+
# identifiers. When the limit has been reached, submissions of any
|
2292
|
+
# jobs that add a new fair share identifier fail.
|
2284
2293
|
# @return [String]
|
2285
2294
|
#
|
2286
2295
|
# @!attribute [rw] priority
|
@@ -2328,7 +2337,8 @@ module Aws::Batch
|
|
2328
2337
|
# The set of actions that Batch performs on jobs that remain at the
|
2329
2338
|
# head of the job queue in the specified state longer than specified
|
2330
2339
|
# times. Batch will perform each action after `maxTimeSeconds` has
|
2331
|
-
# passed.
|
2340
|
+
# passed. (**Note**: The minimum value for maxTimeSeconds is 600 (10
|
2341
|
+
# minutes) and its maximum value is 86,400 (24 hours).)
|
2332
2342
|
# @return [Array<Types::JobStateTimeLimitAction>]
|
2333
2343
|
#
|
2334
2344
|
# @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/CreateJobQueueRequest AWS API Documentation
|
@@ -3018,7 +3028,8 @@ module Aws::Batch
|
|
3018
3028
|
# An object that contains the properties for the Amazon ECS task
|
3019
3029
|
# definition of a job.
|
3020
3030
|
#
|
3021
|
-
# <note markdown="1"> This object is currently limited to one element.
|
3031
|
+
# <note markdown="1"> This object is currently limited to one task element. However, the
|
3032
|
+
# task element can run up to 10 containers.
|
3022
3033
|
#
|
3023
3034
|
# </note>
|
3024
3035
|
# @return [Array<Types::EcsTaskProperties>]
|
@@ -3296,6 +3307,10 @@ module Aws::Batch
|
|
3296
3307
|
# The name of a container.
|
3297
3308
|
# @return [String]
|
3298
3309
|
#
|
3310
|
+
# @!attribute [rw] container_id
|
3311
|
+
# The ID for the container.
|
3312
|
+
# @return [String]
|
3313
|
+
#
|
3299
3314
|
# @!attribute [rw] exit_code
|
3300
3315
|
# The exit code returned for the job attempt. A non-zero exit code is
|
3301
3316
|
# considered failed.
|
@@ -3310,6 +3325,7 @@ module Aws::Batch
|
|
3310
3325
|
#
|
3311
3326
|
class EksAttemptContainerDetail < Struct.new(
|
3312
3327
|
:name,
|
3328
|
+
:container_id,
|
3313
3329
|
:exit_code,
|
3314
3330
|
:reason)
|
3315
3331
|
SENSITIVE = []
|
@@ -3336,6 +3352,10 @@ module Aws::Batch
|
|
3336
3352
|
# The name of the pod for this job attempt.
|
3337
3353
|
# @return [String]
|
3338
3354
|
#
|
3355
|
+
# @!attribute [rw] pod_namespace
|
3356
|
+
# The namespace of the Amazon EKS cluster that the pod exists in.
|
3357
|
+
# @return [String]
|
3358
|
+
#
|
3339
3359
|
# @!attribute [rw] node_name
|
3340
3360
|
# The name of the node for this job attempt.
|
3341
3361
|
# @return [String]
|
@@ -3365,6 +3385,7 @@ module Aws::Batch
|
|
3365
3385
|
:init_containers,
|
3366
3386
|
:eks_cluster_arn,
|
3367
3387
|
:pod_name,
|
3388
|
+
:pod_namespace,
|
3368
3389
|
:node_name,
|
3369
3390
|
:started_at,
|
3370
3391
|
:stopped_at,
|
@@ -4133,6 +4154,10 @@ module Aws::Batch
|
|
4133
4154
|
#
|
4134
4155
|
# @!attribute [rw] containers
|
4135
4156
|
# The properties of the container that's used on the Amazon EKS pod.
|
4157
|
+
#
|
4158
|
+
# <note markdown="1"> This object is limited to 10 elements.
|
4159
|
+
#
|
4160
|
+
# </note>
|
4136
4161
|
# @return [Array<Types::EksContainer>]
|
4137
4162
|
#
|
4138
4163
|
# @!attribute [rw] init_containers
|
@@ -4143,7 +4168,7 @@ module Aws::Batch
|
|
4143
4168
|
# Kubernetes backend data store. For more information, see [Init
|
4144
4169
|
# Containers][1] in the *Kubernetes documentation*.
|
4145
4170
|
#
|
4146
|
-
# <note markdown="1"> This object is limited to 10 elements
|
4171
|
+
# <note markdown="1"> This object is limited to 10 elements.
|
4147
4172
|
#
|
4148
4173
|
# </note>
|
4149
4174
|
#
|
@@ -4325,18 +4350,14 @@ module Aws::Batch
|
|
4325
4350
|
# @return [Array<Types::EksContainerOverride>]
|
4326
4351
|
#
|
4327
4352
|
# @!attribute [rw] init_containers
|
4328
|
-
# The overrides for the
|
4329
|
-
# These containers run before application containers, always runs
|
4330
|
-
# completion, and must complete successfully before the next
|
4331
|
-
# starts. These containers are registered with the Amazon
|
4332
|
-
# Connector agent and persists the registration information in the
|
4353
|
+
# The overrides for the `initContainers` defined in the Amazon EKS
|
4354
|
+
# pod. These containers run before application containers, always runs
|
4355
|
+
# to completion, and must complete successfully before the next
|
4356
|
+
# container starts. These containers are registered with the Amazon
|
4357
|
+
# EKS Connector agent and persists the registration information in the
|
4333
4358
|
# Kubernetes backend data store. For more information, see [Init
|
4334
4359
|
# Containers][1] in the *Kubernetes documentation*.
|
4335
4360
|
#
|
4336
|
-
# <note markdown="1"> This object is limited to 10 elements
|
4337
|
-
#
|
4338
|
-
# </note>
|
4339
|
-
#
|
4340
4361
|
#
|
4341
4362
|
#
|
4342
4363
|
# [1]: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
|
@@ -7856,8 +7877,10 @@ module Aws::Batch
|
|
7856
7877
|
# @!attribute [rw] reason
|
7857
7878
|
# A message to attach to the job that explains the reason for
|
7858
7879
|
# canceling it. This message is returned by future DescribeJobs
|
7859
|
-
# operations on the job.
|
7860
|
-
#
|
7880
|
+
# operations on the job. It is also recorded in the Batch activity
|
7881
|
+
# logs.
|
7882
|
+
#
|
7883
|
+
# This parameter has as limit of 1024 characters.
|
7861
7884
|
# @return [String]
|
7862
7885
|
#
|
7863
7886
|
# @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/TerminateJobRequest AWS API Documentation
|
@@ -8174,7 +8197,8 @@ module Aws::Batch
|
|
8174
8197
|
# The set of actions that Batch perform on jobs that remain at the
|
8175
8198
|
# head of the job queue in the specified state longer than specified
|
8176
8199
|
# times. Batch will perform each action after `maxTimeSeconds` has
|
8177
|
-
# passed.
|
8200
|
+
# passed. (**Note**: The minimum value for maxTimeSeconds is 600 (10
|
8201
|
+
# minutes) and its maximum value is 86,400 (24 hours).)
|
8178
8202
|
# @return [Array<Types::JobStateTimeLimitAction>]
|
8179
8203
|
#
|
8180
8204
|
# @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/UpdateJobQueueRequest AWS API Documentation
|
data/lib/aws-sdk-batch.rb
CHANGED
data/sig/types.rbs
CHANGED
@@ -437,6 +437,7 @@ module Aws::Batch
|
|
437
437
|
|
438
438
|
class EksAttemptContainerDetail
|
439
439
|
attr_accessor name: ::String
|
440
|
+
attr_accessor container_id: ::String
|
440
441
|
attr_accessor exit_code: ::Integer
|
441
442
|
attr_accessor reason: ::String
|
442
443
|
SENSITIVE: []
|
@@ -447,6 +448,7 @@ module Aws::Batch
|
|
447
448
|
attr_accessor init_containers: ::Array[Types::EksAttemptContainerDetail]
|
448
449
|
attr_accessor eks_cluster_arn: ::String
|
449
450
|
attr_accessor pod_name: ::String
|
451
|
+
attr_accessor pod_namespace: ::String
|
450
452
|
attr_accessor node_name: ::String
|
451
453
|
attr_accessor started_at: ::Integer
|
452
454
|
attr_accessor stopped_at: ::Integer
|
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.103.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-10-
|
11
|
+
date: 2024-10-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|