aws-sdk-batch 1.79.0 → 1.81.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 +15 -3
- data/lib/aws-sdk-batch/client_api.rb +6 -0
- data/lib/aws-sdk-batch/endpoint_provider.rb +3 -3
- data/lib/aws-sdk-batch/plugins/endpoints.rb +1 -0
- data/lib/aws-sdk-batch/types.rb +106 -55
- data/lib/aws-sdk-batch.rb +1 -1
- data/sig/client.rbs +862 -0
- data/sig/errors.rbs +22 -0
- data/sig/resource.rbs +79 -0
- data/sig/types.rbs +983 -0
- data/sig/waiters.rbs +13 -0
- metadata +13 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bc2d4e38f3a5fc38cff9f9059e87e5d1ea67c7d71dd8735e27bce57e19922d8f
|
4
|
+
data.tar.gz: 7fd3386521e983eaae89f1725303b1d9a0e2fcda8ac113ed0e79bb0dc2f53728
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fc2adc386ed88ee7e47cff530a976e539151ebc6531d182935cebb15656f31887fbea1ad19d3608120c5a75710da57fd7242e64ab39b6ce55bba4ded3c11fb24
|
7
|
+
data.tar.gz: b3cc055bf05367d7d51ee1c388ebbb94f117ce73149a0a7e7f3edd0fba8177795a8e0e80c9e0c4bae07868c6614e2f2a8263d30252d407fefae194ab55f25d21
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.81.0 (2024-02-09)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This feature allows Batch to support configuration of repository credentials for jobs running on ECS
|
8
|
+
|
9
|
+
1.80.0 (2024-01-26)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
4
14
|
1.79.0 (2023-11-28)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.81.0
|
data/lib/aws-sdk-batch/client.rb
CHANGED
@@ -1357,7 +1357,8 @@ module Aws::Batch
|
|
1357
1357
|
# be an ARN in the format
|
1358
1358
|
# `arn:aws:batch:$\{Region\}:$\{Account\}:job-definition/$\{JobDefinitionName\}:$\{Revision\}`
|
1359
1359
|
# or a short version using the form
|
1360
|
-
# `$\{JobDefinitionName\}:$\{Revision\}`.
|
1360
|
+
# `$\{JobDefinitionName\}:$\{Revision\}`. This parameter can't be used
|
1361
|
+
# with other parameters.
|
1361
1362
|
#
|
1362
1363
|
# @option params [Integer] :max_results
|
1363
1364
|
# The maximum number of results returned by `DescribeJobDefinitions` in
|
@@ -1531,6 +1532,7 @@ module Aws::Batch
|
|
1531
1532
|
# resp.job_definitions[0].container_properties.ephemeral_storage.size_in_gi_b #=> Integer
|
1532
1533
|
# resp.job_definitions[0].container_properties.runtime_platform.operating_system_family #=> String
|
1533
1534
|
# resp.job_definitions[0].container_properties.runtime_platform.cpu_architecture #=> String
|
1535
|
+
# resp.job_definitions[0].container_properties.repository_credentials.credentials_parameter #=> String
|
1534
1536
|
# resp.job_definitions[0].timeout.attempt_duration_seconds #=> Integer
|
1535
1537
|
# resp.job_definitions[0].node_properties.num_nodes #=> Integer
|
1536
1538
|
# resp.job_definitions[0].node_properties.main_node #=> Integer
|
@@ -1598,6 +1600,7 @@ module Aws::Batch
|
|
1598
1600
|
# resp.job_definitions[0].node_properties.node_range_properties[0].container.ephemeral_storage.size_in_gi_b #=> Integer
|
1599
1601
|
# resp.job_definitions[0].node_properties.node_range_properties[0].container.runtime_platform.operating_system_family #=> String
|
1600
1602
|
# resp.job_definitions[0].node_properties.node_range_properties[0].container.runtime_platform.cpu_architecture #=> String
|
1603
|
+
# resp.job_definitions[0].node_properties.node_range_properties[0].container.repository_credentials.credentials_parameter #=> String
|
1601
1604
|
# resp.job_definitions[0].tags #=> Hash
|
1602
1605
|
# resp.job_definitions[0].tags["TagKey"] #=> String
|
1603
1606
|
# resp.job_definitions[0].propagate_tags #=> Boolean
|
@@ -1926,6 +1929,7 @@ module Aws::Batch
|
|
1926
1929
|
# resp.jobs[0].container.ephemeral_storage.size_in_gi_b #=> Integer
|
1927
1930
|
# resp.jobs[0].container.runtime_platform.operating_system_family #=> String
|
1928
1931
|
# resp.jobs[0].container.runtime_platform.cpu_architecture #=> String
|
1932
|
+
# resp.jobs[0].container.repository_credentials.credentials_parameter #=> String
|
1929
1933
|
# resp.jobs[0].node_details.node_index #=> Integer
|
1930
1934
|
# resp.jobs[0].node_details.is_main_node #=> Boolean
|
1931
1935
|
# resp.jobs[0].node_properties.num_nodes #=> Integer
|
@@ -1994,6 +1998,7 @@ module Aws::Batch
|
|
1994
1998
|
# resp.jobs[0].node_properties.node_range_properties[0].container.ephemeral_storage.size_in_gi_b #=> Integer
|
1995
1999
|
# resp.jobs[0].node_properties.node_range_properties[0].container.runtime_platform.operating_system_family #=> String
|
1996
2000
|
# resp.jobs[0].node_properties.node_range_properties[0].container.runtime_platform.cpu_architecture #=> String
|
2001
|
+
# resp.jobs[0].node_properties.node_range_properties[0].container.repository_credentials.credentials_parameter #=> String
|
1997
2002
|
# resp.jobs[0].array_properties.status_summary #=> Hash
|
1998
2003
|
# resp.jobs[0].array_properties.status_summary["String"] #=> Integer
|
1999
2004
|
# resp.jobs[0].array_properties.size #=> Integer
|
@@ -2726,6 +2731,9 @@ module Aws::Batch
|
|
2726
2731
|
# operating_system_family: "String",
|
2727
2732
|
# cpu_architecture: "String",
|
2728
2733
|
# },
|
2734
|
+
# repository_credentials: {
|
2735
|
+
# credentials_parameter: "String", # required
|
2736
|
+
# },
|
2729
2737
|
# },
|
2730
2738
|
# node_properties: {
|
2731
2739
|
# num_nodes: 1, # required
|
@@ -2839,6 +2847,9 @@ module Aws::Batch
|
|
2839
2847
|
# operating_system_family: "String",
|
2840
2848
|
# cpu_architecture: "String",
|
2841
2849
|
# },
|
2850
|
+
# repository_credentials: {
|
2851
|
+
# credentials_parameter: "String", # required
|
2852
|
+
# },
|
2842
2853
|
# },
|
2843
2854
|
# },
|
2844
2855
|
# ],
|
@@ -2983,7 +2994,8 @@ module Aws::Batch
|
|
2983
2994
|
# The scheduling priority for the job. This only affects jobs in job
|
2984
2995
|
# queues with a fair share policy. Jobs with a higher scheduling
|
2985
2996
|
# priority are scheduled before jobs with a lower scheduling priority.
|
2986
|
-
# This overrides any scheduling priority in the job definition
|
2997
|
+
# This overrides any scheduling priority in the job definition and works
|
2998
|
+
# only within a single share identifier.
|
2987
2999
|
#
|
2988
3000
|
# The minimum supported value is 0 and the maximum supported value is
|
2989
3001
|
# 9999.
|
@@ -3710,7 +3722,7 @@ module Aws::Batch
|
|
3710
3722
|
params: params,
|
3711
3723
|
config: config)
|
3712
3724
|
context[:gem_name] = 'aws-sdk-batch'
|
3713
|
-
context[:gem_version] = '1.
|
3725
|
+
context[:gem_version] = '1.81.0'
|
3714
3726
|
Seahorse::Client::Request.new(handlers, context)
|
3715
3727
|
end
|
3716
3728
|
|
@@ -171,6 +171,7 @@ module Aws::Batch
|
|
171
171
|
Quantity = Shapes::StringShape.new(name: 'Quantity')
|
172
172
|
RegisterJobDefinitionRequest = Shapes::StructureShape.new(name: 'RegisterJobDefinitionRequest')
|
173
173
|
RegisterJobDefinitionResponse = Shapes::StructureShape.new(name: 'RegisterJobDefinitionResponse')
|
174
|
+
RepositoryCredentials = Shapes::StructureShape.new(name: 'RepositoryCredentials')
|
174
175
|
ResourceRequirement = Shapes::StructureShape.new(name: 'ResourceRequirement')
|
175
176
|
ResourceRequirements = Shapes::ListShape.new(name: 'ResourceRequirements')
|
176
177
|
ResourceType = Shapes::StringShape.new(name: 'ResourceType')
|
@@ -346,6 +347,7 @@ module Aws::Batch
|
|
346
347
|
ContainerDetail.add_member(:fargate_platform_configuration, Shapes::ShapeRef.new(shape: FargatePlatformConfiguration, location_name: "fargatePlatformConfiguration"))
|
347
348
|
ContainerDetail.add_member(:ephemeral_storage, Shapes::ShapeRef.new(shape: EphemeralStorage, location_name: "ephemeralStorage"))
|
348
349
|
ContainerDetail.add_member(:runtime_platform, Shapes::ShapeRef.new(shape: RuntimePlatform, location_name: "runtimePlatform"))
|
350
|
+
ContainerDetail.add_member(:repository_credentials, Shapes::ShapeRef.new(shape: RepositoryCredentials, location_name: "repositoryCredentials"))
|
349
351
|
ContainerDetail.struct_class = Types::ContainerDetail
|
350
352
|
|
351
353
|
ContainerOverrides.add_member(:vcpus, Shapes::ShapeRef.new(shape: Integer, deprecated: true, location_name: "vcpus", metadata: {"deprecatedMessage"=>"This field is deprecated, use resourceRequirements instead."}))
|
@@ -378,6 +380,7 @@ module Aws::Batch
|
|
378
380
|
ContainerProperties.add_member(:fargate_platform_configuration, Shapes::ShapeRef.new(shape: FargatePlatformConfiguration, location_name: "fargatePlatformConfiguration"))
|
379
381
|
ContainerProperties.add_member(:ephemeral_storage, Shapes::ShapeRef.new(shape: EphemeralStorage, location_name: "ephemeralStorage"))
|
380
382
|
ContainerProperties.add_member(:runtime_platform, Shapes::ShapeRef.new(shape: RuntimePlatform, location_name: "runtimePlatform"))
|
383
|
+
ContainerProperties.add_member(:repository_credentials, Shapes::ShapeRef.new(shape: RepositoryCredentials, location_name: "repositoryCredentials"))
|
381
384
|
ContainerProperties.struct_class = Types::ContainerProperties
|
382
385
|
|
383
386
|
ContainerSummary.add_member(:exit_code, Shapes::ShapeRef.new(shape: Integer, location_name: "exitCode"))
|
@@ -893,6 +896,9 @@ module Aws::Batch
|
|
893
896
|
RegisterJobDefinitionResponse.add_member(:revision, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "revision"))
|
894
897
|
RegisterJobDefinitionResponse.struct_class = Types::RegisterJobDefinitionResponse
|
895
898
|
|
899
|
+
RepositoryCredentials.add_member(:credentials_parameter, Shapes::ShapeRef.new(shape: String, required: true, location_name: "credentialsParameter"))
|
900
|
+
RepositoryCredentials.struct_class = Types::RepositoryCredentials
|
901
|
+
|
896
902
|
ResourceRequirement.add_member(:value, Shapes::ShapeRef.new(shape: String, required: true, location_name: "value"))
|
897
903
|
ResourceRequirement.add_member(:type, Shapes::ShapeRef.new(shape: ResourceType, required: true, location_name: "type"))
|
898
904
|
ResourceRequirement.struct_class = Types::ResourceRequirement
|
@@ -32,11 +32,11 @@ module Aws::Batch
|
|
32
32
|
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
33
33
|
end
|
34
34
|
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
35
|
-
if Aws::Endpoints::Matchers.boolean_equals?(
|
36
|
-
if Aws::Endpoints::Matchers.string_equals?(
|
35
|
+
if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
|
36
|
+
if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws")
|
37
37
|
return Aws::Endpoints::Endpoint.new(url: "https://fips.batch.#{region}.amazonaws.com", headers: {}, properties: {})
|
38
38
|
end
|
39
|
-
if Aws::Endpoints::Matchers.string_equals?(
|
39
|
+
if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-us-gov")
|
40
40
|
return Aws::Endpoints::Endpoint.new(url: "https://batch.#{region}.amazonaws.com", headers: {}, properties: {})
|
41
41
|
end
|
42
42
|
return Aws::Endpoints::Endpoint.new(url: "https://batch-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
@@ -14,6 +14,7 @@ module Aws::Batch
|
|
14
14
|
option(
|
15
15
|
:endpoint_provider,
|
16
16
|
doc_type: 'Aws::Batch::EndpointProvider',
|
17
|
+
rbs_type: 'untyped',
|
17
18
|
docstring: 'The endpoint provider used to resolve endpoints. Any '\
|
18
19
|
'object that responds to `#resolve_endpoint(parameters)` '\
|
19
20
|
'where `parameters` is a Struct similar to '\
|
data/lib/aws-sdk-batch/types.rb
CHANGED
@@ -454,11 +454,11 @@ module Aws::Batch
|
|
454
454
|
# compute resources.
|
455
455
|
#
|
456
456
|
# With `BEST_FIT_PROGRESSIVE`,`SPOT_CAPACITY_OPTIMIZED` and
|
457
|
-
# `SPOT_PRICE_CAPACITY_OPTIMIZED` strategies using
|
458
|
-
# Instances, and the `BEST_FIT` strategy using Spot
|
459
|
-
# might need to exceed `maxvCpus` to meet your
|
460
|
-
# In this event, Batch never exceeds `maxvCpus`
|
461
|
-
# instance.
|
457
|
+
# `SPOT_PRICE_CAPACITY_OPTIMIZED` (recommended) strategies using
|
458
|
+
# On-Demand or Spot Instances, and the `BEST_FIT` strategy using Spot
|
459
|
+
# Instances, Batch might need to exceed `maxvCpus` to meet your
|
460
|
+
# capacity requirements. In this event, Batch never exceeds `maxvCpus`
|
461
|
+
# by more than a single instance.
|
462
462
|
#
|
463
463
|
#
|
464
464
|
#
|
@@ -480,14 +480,12 @@ module Aws::Batch
|
|
480
480
|
# @!attribute [rw] maxv_cpus
|
481
481
|
# The maximum number of vCPUs that a compute environment can support.
|
482
482
|
#
|
483
|
-
# <note markdown="1"> With `BEST_FIT_PROGRESSIVE
|
484
|
-
# `SPOT_PRICE_CAPACITY_OPTIMIZED`
|
483
|
+
# <note markdown="1"> With `BEST_FIT_PROGRESSIVE`,`SPOT_CAPACITY_OPTIMIZED` and
|
484
|
+
# `SPOT_PRICE_CAPACITY_OPTIMIZED` (recommended) strategies using
|
485
485
|
# On-Demand or Spot Instances, and the `BEST_FIT` strategy using Spot
|
486
486
|
# Instances, Batch might need to exceed `maxvCpus` to meet your
|
487
487
|
# capacity requirements. In this event, Batch never exceeds `maxvCpus`
|
488
|
-
# by more than a single instance.
|
489
|
-
# instance from among those specified in your compute environment is
|
490
|
-
# allocated.
|
488
|
+
# by more than a single instance.
|
491
489
|
#
|
492
490
|
# </note>
|
493
491
|
# @return [Integer]
|
@@ -606,7 +604,8 @@ module Aws::Batch
|
|
606
604
|
#
|
607
605
|
# @!attribute [rw] instance_role
|
608
606
|
# The Amazon ECS instance profile applied to Amazon EC2 instances in a
|
609
|
-
# compute environment.
|
607
|
+
# compute environment. This parameter is required for Amazon EC2
|
608
|
+
# instances types. You can specify the short name or full Amazon
|
610
609
|
# Resource Name (ARN) of an instance profile. For example, `
|
611
610
|
# ecsInstanceRole ` or
|
612
611
|
# `arn:aws:iam::<aws_account_id>:instance-profile/ecsInstanceRole `.
|
@@ -785,13 +784,12 @@ module Aws::Batch
|
|
785
784
|
# The maximum number of Amazon EC2 vCPUs that an environment can
|
786
785
|
# reach.
|
787
786
|
#
|
788
|
-
# <note markdown="1"> With `BEST_FIT_PROGRESSIVE
|
789
|
-
# `SPOT_PRICE_CAPACITY_OPTIMIZED`
|
787
|
+
# <note markdown="1"> With `BEST_FIT_PROGRESSIVE`,`SPOT_CAPACITY_OPTIMIZED` and
|
788
|
+
# `SPOT_PRICE_CAPACITY_OPTIMIZED` (recommended) strategies using
|
790
789
|
# On-Demand or Spot Instances, and the `BEST_FIT` strategy using Spot
|
791
790
|
# Instances, Batch might need to exceed `maxvCpus` to meet your
|
792
791
|
# capacity requirements. In this event, Batch never exceeds `maxvCpus`
|
793
|
-
# by more than a single instance.
|
794
|
-
# instance from among those specified in your compute environment.
|
792
|
+
# by more than a single instance.
|
795
793
|
#
|
796
794
|
# </note>
|
797
795
|
# @return [Integer]
|
@@ -922,12 +920,12 @@ module Aws::Batch
|
|
922
920
|
# This allocation strategy is only available for Spot Instance
|
923
921
|
# compute resources.
|
924
922
|
#
|
925
|
-
# With
|
926
|
-
# `SPOT_PRICE_CAPACITY_OPTIMIZED` strategies using
|
927
|
-
# Instances, and the `BEST_FIT` strategy using Spot
|
928
|
-
# might need to exceed `maxvCpus` to meet your
|
929
|
-
# In this event, Batch never exceeds `maxvCpus`
|
930
|
-
# instance.
|
923
|
+
# With `BEST_FIT_PROGRESSIVE`,`SPOT_CAPACITY_OPTIMIZED` and
|
924
|
+
# `SPOT_PRICE_CAPACITY_OPTIMIZED` (recommended) strategies using
|
925
|
+
# On-Demand or Spot Instances, and the `BEST_FIT` strategy using Spot
|
926
|
+
# Instances, Batch might need to exceed `maxvCpus` to meet your
|
927
|
+
# capacity requirements. In this event, Batch never exceeds `maxvCpus`
|
928
|
+
# by more than a single instance.
|
931
929
|
#
|
932
930
|
#
|
933
931
|
#
|
@@ -996,9 +994,9 @@ module Aws::Batch
|
|
996
994
|
#
|
997
995
|
# @!attribute [rw] instance_role
|
998
996
|
# The Amazon ECS instance profile applied to Amazon EC2 instances in a
|
999
|
-
# compute environment.
|
1000
|
-
# Resource Name (ARN) of an
|
1001
|
-
# ecsInstanceRole ` or
|
997
|
+
# compute environment. Required for Amazon EC2 instances. You can
|
998
|
+
# specify the short name or full Amazon Resource Name (ARN) of an
|
999
|
+
# instance profile. For example, ` ecsInstanceRole ` or
|
1002
1000
|
# `arn:aws:iam::<aws_account_id>:instance-profile/ecsInstanceRole `.
|
1003
1001
|
# For more information, see [Amazon ECS instance role][1] in the
|
1004
1002
|
# *Batch User Guide*.
|
@@ -1508,6 +1506,10 @@ module Aws::Batch
|
|
1508
1506
|
# Batch jobs on Fargate.
|
1509
1507
|
# @return [Types::RuntimePlatform]
|
1510
1508
|
#
|
1509
|
+
# @!attribute [rw] repository_credentials
|
1510
|
+
# The private repository authentication credentials to use.
|
1511
|
+
# @return [Types::RepositoryCredentials]
|
1512
|
+
#
|
1511
1513
|
# @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/ContainerDetail AWS API Documentation
|
1512
1514
|
#
|
1513
1515
|
class ContainerDetail < Struct.new(
|
@@ -1538,7 +1540,8 @@ module Aws::Batch
|
|
1538
1540
|
:network_configuration,
|
1539
1541
|
:fargate_platform_configuration,
|
1540
1542
|
:ephemeral_storage,
|
1541
|
-
:runtime_platform
|
1543
|
+
:runtime_platform,
|
1544
|
+
:repository_credentials)
|
1542
1545
|
SENSITIVE = []
|
1543
1546
|
include Aws::Structure
|
1544
1547
|
end
|
@@ -1644,8 +1647,8 @@ module Aws::Batch
|
|
1644
1647
|
# a job.
|
1645
1648
|
#
|
1646
1649
|
# @!attribute [rw] image
|
1647
|
-
# The image used to start a container. This string is passed
|
1648
|
-
# to the Docker daemon. Images in the Docker Hub registry are
|
1650
|
+
# Required. The image used to start a container. This string is passed
|
1651
|
+
# directly to the Docker daemon. Images in the Docker Hub registry are
|
1649
1652
|
# available by default. Other repositories are specified with `
|
1650
1653
|
# repository-url/image:tag `. It can be 255 characters long. It can
|
1651
1654
|
# contain uppercase and lowercase letters, numbers, hyphens (-),
|
@@ -1947,6 +1950,10 @@ module Aws::Batch
|
|
1947
1950
|
# Batch jobs on Fargate.
|
1948
1951
|
# @return [Types::RuntimePlatform]
|
1949
1952
|
#
|
1953
|
+
# @!attribute [rw] repository_credentials
|
1954
|
+
# The private repository authentication credentials to use.
|
1955
|
+
# @return [Types::RepositoryCredentials]
|
1956
|
+
#
|
1950
1957
|
# @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/ContainerProperties AWS API Documentation
|
1951
1958
|
#
|
1952
1959
|
class ContainerProperties < Struct.new(
|
@@ -1971,7 +1978,8 @@ module Aws::Batch
|
|
1971
1978
|
:network_configuration,
|
1972
1979
|
:fargate_platform_configuration,
|
1973
1980
|
:ephemeral_storage,
|
1974
|
-
:runtime_platform
|
1981
|
+
:runtime_platform,
|
1982
|
+
:repository_credentials)
|
1975
1983
|
SENSITIVE = []
|
1976
1984
|
include Aws::Structure
|
1977
1985
|
end
|
@@ -2464,7 +2472,8 @@ module Aws::Batch
|
|
2464
2472
|
# either be an ARN in the format
|
2465
2473
|
# `arn:aws:batch:$\{Region\}:$\{Account\}:job-definition/$\{JobDefinitionName\}:$\{Revision\}`
|
2466
2474
|
# or a short version using the form
|
2467
|
-
# `$\{JobDefinitionName\}:$\{Revision\}`.
|
2475
|
+
# `$\{JobDefinitionName\}:$\{Revision\}`. This parameter can't be
|
2476
|
+
# used with other parameters.
|
2468
2477
|
# @return [Array<String>]
|
2469
2478
|
#
|
2470
2479
|
# @!attribute [rw] max_results
|
@@ -2829,16 +2838,24 @@ module Aws::Batch
|
|
2829
2838
|
# (for example `P4` and `G4`) and can be used for all non Amazon
|
2830
2839
|
# Web Services Graviton-based instance types.
|
2831
2840
|
#
|
2841
|
+
# ECS\_AL2023
|
2842
|
+
#
|
2843
|
+
# : [Amazon Linux 2023][3]: Batch supports Amazon Linux 2023.
|
2844
|
+
#
|
2845
|
+
# <note markdown="1"> Amazon Linux 2023 does not support `A1` instances.
|
2846
|
+
#
|
2847
|
+
# </note>
|
2848
|
+
#
|
2832
2849
|
# ECS\_AL1
|
2833
2850
|
#
|
2834
|
-
# : [Amazon Linux][
|
2851
|
+
# : [Amazon Linux][4]. Amazon Linux has reached the end-of-life of
|
2835
2852
|
# standard support. For more information, see [Amazon Linux
|
2836
|
-
# AMI][
|
2853
|
+
# AMI][5].
|
2837
2854
|
#
|
2838
2855
|
# EKS
|
2839
2856
|
#
|
2840
2857
|
# : If the `imageIdOverride` parameter isn't specified, then a recent
|
2841
|
-
# [Amazon EKS-optimized Amazon Linux AMI][
|
2858
|
+
# [Amazon EKS-optimized Amazon Linux AMI][6] (`EKS_AL2`) is used. If
|
2842
2859
|
# a new image type is specified in an update, but neither an
|
2843
2860
|
# `imageId` nor a `imageIdOverride` parameter is specified, then the
|
2844
2861
|
# latest Amazon EKS optimized AMI for that image type that Batch
|
@@ -2846,11 +2863,11 @@ module Aws::Batch
|
|
2846
2863
|
#
|
2847
2864
|
# EKS\_AL2
|
2848
2865
|
#
|
2849
|
-
# : [Amazon Linux 2][
|
2866
|
+
# : [Amazon Linux 2][6]: Default for all non-GPU instance families.
|
2850
2867
|
#
|
2851
2868
|
# EKS\_AL2\_NVIDIA
|
2852
2869
|
#
|
2853
|
-
# : [Amazon Linux 2 (accelerated)][
|
2870
|
+
# : [Amazon Linux 2 (accelerated)][6]: Default for all GPU instance
|
2854
2871
|
# families (for example, `P4` and `G4`) and can be used for all
|
2855
2872
|
# non Amazon Web Services Graviton-based instance types.
|
2856
2873
|
#
|
@@ -2858,9 +2875,10 @@ module Aws::Batch
|
|
2858
2875
|
#
|
2859
2876
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#al2ami
|
2860
2877
|
# [2]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#gpuami
|
2861
|
-
# [3]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html
|
2862
|
-
# [4]:
|
2863
|
-
# [5]:
|
2878
|
+
# [3]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html
|
2879
|
+
# [4]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#alami
|
2880
|
+
# [5]: http://aws.amazon.com/amazon-linux-ami/
|
2881
|
+
# [6]: https://docs.aws.amazon.com/eks/latest/userguide/eks-optimized-ami.html
|
2864
2882
|
# @return [String]
|
2865
2883
|
#
|
2866
2884
|
# @!attribute [rw] image_id_override
|
@@ -4066,9 +4084,9 @@ module Aws::Batch
|
|
4066
4084
|
# where ` ActiveFairShares ` is the number of active fair share
|
4067
4085
|
# identifiers.
|
4068
4086
|
#
|
4069
|
-
# For example, a `computeReservation` value of 50 indicates that
|
4070
|
-
#
|
4071
|
-
#
|
4087
|
+
# For example, a `computeReservation` value of 50 indicates that Batch
|
4088
|
+
# reserves 50% of the maximum available vCPU if there's only one fair
|
4089
|
+
# share identifier. It reserves 25% if there are two fair share
|
4072
4090
|
# identifiers. It reserves 12.5% if there are three fair share
|
4073
4091
|
# identifiers. A `computeReservation` value of 25 indicates that Batch
|
4074
4092
|
# should reserve 25% of the maximum available vCPU if there's only
|
@@ -4369,8 +4387,7 @@ module Aws::Batch
|
|
4369
4387
|
# @!attribute [rw] started_at
|
4370
4388
|
# The Unix timestamp (in milliseconds) for when the job was started.
|
4371
4389
|
# More specifically, it's when the job transitioned from the
|
4372
|
-
# `STARTING` state to the `RUNNING` state.
|
4373
|
-
# provided for child jobs of array jobs or multi-node parallel jobs.
|
4390
|
+
# `STARTING` state to the `RUNNING` state.
|
4374
4391
|
# @return [Integer]
|
4375
4392
|
#
|
4376
4393
|
# @!attribute [rw] stopped_at
|
@@ -5272,7 +5289,7 @@ module Aws::Batch
|
|
5272
5289
|
#
|
5273
5290
|
#
|
5274
5291
|
#
|
5275
|
-
# [1]: https://docs.docker.com/engine/
|
5292
|
+
# [1]: https://docs.docker.com/engine/api/v1.43/#tag/Container/operation/ContainerCreate
|
5276
5293
|
#
|
5277
5294
|
# @!attribute [rw] container_path
|
5278
5295
|
# The path on the container where the host volume is mounted.
|
@@ -5706,6 +5723,21 @@ module Aws::Batch
|
|
5706
5723
|
include Aws::Structure
|
5707
5724
|
end
|
5708
5725
|
|
5726
|
+
# The repository credentials for private registry authentication.
|
5727
|
+
#
|
5728
|
+
# @!attribute [rw] credentials_parameter
|
5729
|
+
# The Amazon Resource Name (ARN) of the secret containing the private
|
5730
|
+
# repository credentials.
|
5731
|
+
# @return [String]
|
5732
|
+
#
|
5733
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/RepositoryCredentials AWS API Documentation
|
5734
|
+
#
|
5735
|
+
class RepositoryCredentials < Struct.new(
|
5736
|
+
:credentials_parameter)
|
5737
|
+
SENSITIVE = []
|
5738
|
+
include Aws::Structure
|
5739
|
+
end
|
5740
|
+
|
5709
5741
|
# The type and amount of a resource to assign to a container. The
|
5710
5742
|
# supported resources include `GPU`, `MEMORY`, and `VCPU`.
|
5711
5743
|
#
|
@@ -5927,19 +5959,21 @@ module Aws::Batch
|
|
5927
5959
|
#
|
5928
5960
|
# </note>
|
5929
5961
|
#
|
5930
|
-
# <note markdown="1"> The Batch Scheduler checks
|
5931
|
-
#
|
5962
|
+
# <note markdown="1"> The Batch Scheduler checks the compute environments that are
|
5963
|
+
# attached to the job queue before registering a task definition with
|
5964
|
+
# Fargate. In this scenario, the job queue is where the job is
|
5965
|
+
# submitted. If the job requires a Windows container and the first
|
5932
5966
|
# compute environment is `LINUX`, the compute environment is skipped
|
5933
|
-
# and the next is checked until a Windows-based
|
5934
|
-
# found.
|
5967
|
+
# and the next compute environment is checked until a Windows-based
|
5968
|
+
# compute environment is found.
|
5935
5969
|
#
|
5936
5970
|
# </note>
|
5937
5971
|
#
|
5938
|
-
# <note markdown="1"> Fargate Spot is not supported for Windows-based
|
5939
|
-
# Fargate. A job queue will be blocked if a Fargate
|
5940
|
-
# submitted to a job queue with only Fargate
|
5941
|
-
# environments. However, you can attach both `FARGATE`
|
5942
|
-
# `FARGATE_SPOT` compute environments to the same job queue.
|
5972
|
+
# <note markdown="1"> Fargate Spot is not supported for `ARM64` and Windows-based
|
5973
|
+
# containers on Fargate. A job queue will be blocked if a Fargate
|
5974
|
+
# `ARM64` or Windows job is submitted to a job queue with only Fargate
|
5975
|
+
# Spot compute environments. However, you can attach both `FARGATE`
|
5976
|
+
# and `FARGATE_SPOT` compute environments to the same job queue.
|
5943
5977
|
#
|
5944
5978
|
# </note>
|
5945
5979
|
# @return [String]
|
@@ -5951,6 +5985,14 @@ module Aws::Batch
|
|
5951
5985
|
# <note markdown="1"> This parameter must be set to `X86_64` for Windows containers.
|
5952
5986
|
#
|
5953
5987
|
# </note>
|
5988
|
+
#
|
5989
|
+
# <note markdown="1"> Fargate Spot is not supported for `ARM64` and Windows-based
|
5990
|
+
# containers on Fargate. A job queue will be blocked if a Fargate
|
5991
|
+
# `ARM64` or Windows job is submitted to a job queue with only Fargate
|
5992
|
+
# Spot compute environments. However, you can attach both `FARGATE`
|
5993
|
+
# and `FARGATE_SPOT` compute environments to the same job queue.
|
5994
|
+
#
|
5995
|
+
# </note>
|
5954
5996
|
# @return [String]
|
5955
5997
|
#
|
5956
5998
|
# @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/RuntimePlatform AWS API Documentation
|
@@ -6139,7 +6181,8 @@ module Aws::Batch
|
|
6139
6181
|
# The scheduling priority for the job. This only affects jobs in job
|
6140
6182
|
# queues with a fair share policy. Jobs with a higher scheduling
|
6141
6183
|
# priority are scheduled before jobs with a lower scheduling priority.
|
6142
|
-
# This overrides any scheduling priority in the job definition
|
6184
|
+
# This overrides any scheduling priority in the job definition and
|
6185
|
+
# works only within a single share identifier.
|
6143
6186
|
#
|
6144
6187
|
# The minimum supported value is 0 and the maximum supported value is
|
6145
6188
|
# 9999.
|
@@ -6402,19 +6445,27 @@ module Aws::Batch
|
|
6402
6445
|
include Aws::Structure
|
6403
6446
|
end
|
6404
6447
|
|
6405
|
-
# The `ulimit` settings to pass to the container.
|
6448
|
+
# The `ulimit` settings to pass to the container. For more information,
|
6449
|
+
# see [Ulimit][1].
|
6406
6450
|
#
|
6407
6451
|
# <note markdown="1"> This object isn't applicable to jobs that are running on Fargate
|
6408
6452
|
# resources.
|
6409
6453
|
#
|
6410
6454
|
# </note>
|
6411
6455
|
#
|
6456
|
+
#
|
6457
|
+
#
|
6458
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_Ulimit.html
|
6459
|
+
#
|
6412
6460
|
# @!attribute [rw] hard_limit
|
6413
6461
|
# The hard limit for the `ulimit` type.
|
6414
6462
|
# @return [Integer]
|
6415
6463
|
#
|
6416
6464
|
# @!attribute [rw] name
|
6417
|
-
# The `type` of the `ulimit`.
|
6465
|
+
# The `type` of the `ulimit`. Valid values are: `core` \| `cpu` \|
|
6466
|
+
# `data` \| `fsize` \| `locks` \| `memlock` \| `msgqueue` \| `nice` \|
|
6467
|
+
# `nofile` \| `nproc` \| `rss` \| `rtprio` \| `rttime` \| `sigpending`
|
6468
|
+
# \| `stack`.
|
6418
6469
|
# @return [String]
|
6419
6470
|
#
|
6420
6471
|
# @!attribute [rw] soft_limit
|