aws-sdk-batch 1.140.0 → 1.142.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-batch/client.rb +77 -15
- data/lib/aws-sdk-batch/client_api.rb +12 -0
- data/lib/aws-sdk-batch/types.rb +152 -75
- data/lib/aws-sdk-batch.rb +1 -1
- data/sig/client.rbs +30 -2
- data/sig/types.rbs +13 -0
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6d85fcc4879c2cd68ff05f86c505d3f60ca086f403f47c58e22242dd6cb6c5ae
|
|
4
|
+
data.tar.gz: accb9e3343bc9ad90201d2b7066c0d2c8c2258cd5fbdc9615851721901c9e429
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8c5399d566d565c325ea90a623af9d1f8a870b6f4838b947c67e642b80467c80c73526b6255e545191f4dd46baa18ed1c5d0dba17ffccf47770ae473ed23d807
|
|
7
|
+
data.tar.gz: 630ba6a72944bba872127a460a47d3fee079efef62d16069c5e34e62b854ddd2ca89c06dce4c3b991b6414a0f60f2ef76bcb8d9b00bf8be67c7c69337bf602d9
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.142.0 (2026-05-13)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Adds a billing callout to docs regarding using the CE Scale Down Delay feature
|
|
8
|
+
|
|
9
|
+
1.141.0 (2026-04-22)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - Support of S3Files volume type, container start and stop timeouts.
|
|
13
|
+
|
|
4
14
|
1.140.0 (2026-03-25)
|
|
5
15
|
------------------
|
|
6
16
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.142.0
|
data/lib/aws-sdk-batch/client.rb
CHANGED
|
@@ -610,9 +610,10 @@ module Aws::Batch
|
|
|
610
610
|
# environments in the `DISABLED` state don't scale out.
|
|
611
611
|
#
|
|
612
612
|
# <note markdown="1"> Compute environments in a `DISABLED` state may continue to incur
|
|
613
|
-
# billing charges
|
|
614
|
-
#
|
|
615
|
-
#
|
|
613
|
+
# billing charges, for example, if they have running instances due to
|
|
614
|
+
# jobs that are still executing or a non-zero `minvCpus` setting. To
|
|
615
|
+
# prevent additional charges, disable and delete the compute
|
|
616
|
+
# environment.
|
|
616
617
|
#
|
|
617
618
|
# </note>
|
|
618
619
|
#
|
|
@@ -622,10 +623,6 @@ module Aws::Batch
|
|
|
622
623
|
# `desiredvCpus` value of `36`. This instance doesn't scale down to a
|
|
623
624
|
# `c5.large` instance.
|
|
624
625
|
#
|
|
625
|
-
#
|
|
626
|
-
#
|
|
627
|
-
# [1]: https://docs.aws.amazon.com/batch/latest/userguide/compute_environment_parameters.html#compute_environment_state
|
|
628
|
-
#
|
|
629
626
|
# @option params [Integer] :unmanagedv_cpus
|
|
630
627
|
# The maximum number of vCPUs for an unmanaged compute environment. This
|
|
631
628
|
# parameter is only used for fair-share scheduling to reserve vCPU
|
|
@@ -1978,6 +1975,10 @@ module Aws::Batch
|
|
|
1978
1975
|
# resp.job_definitions[0].container_properties.volumes[0].efs_volume_configuration.transit_encryption_port #=> Integer
|
|
1979
1976
|
# resp.job_definitions[0].container_properties.volumes[0].efs_volume_configuration.authorization_config.access_point_id #=> String
|
|
1980
1977
|
# resp.job_definitions[0].container_properties.volumes[0].efs_volume_configuration.authorization_config.iam #=> String, one of "ENABLED", "DISABLED"
|
|
1978
|
+
# resp.job_definitions[0].container_properties.volumes[0].s3files_volume_configuration.file_system_arn #=> String
|
|
1979
|
+
# resp.job_definitions[0].container_properties.volumes[0].s3files_volume_configuration.root_directory #=> String
|
|
1980
|
+
# resp.job_definitions[0].container_properties.volumes[0].s3files_volume_configuration.transit_encryption_port #=> Integer
|
|
1981
|
+
# resp.job_definitions[0].container_properties.volumes[0].s3files_volume_configuration.access_point_arn #=> String
|
|
1981
1982
|
# resp.job_definitions[0].container_properties.environment #=> Array
|
|
1982
1983
|
# resp.job_definitions[0].container_properties.environment[0].name #=> String
|
|
1983
1984
|
# resp.job_definitions[0].container_properties.environment[0].value #=> String
|
|
@@ -2047,6 +2048,10 @@ module Aws::Batch
|
|
|
2047
2048
|
# resp.job_definitions[0].node_properties.node_range_properties[0].container.volumes[0].efs_volume_configuration.transit_encryption_port #=> Integer
|
|
2048
2049
|
# resp.job_definitions[0].node_properties.node_range_properties[0].container.volumes[0].efs_volume_configuration.authorization_config.access_point_id #=> String
|
|
2049
2050
|
# resp.job_definitions[0].node_properties.node_range_properties[0].container.volumes[0].efs_volume_configuration.authorization_config.iam #=> String, one of "ENABLED", "DISABLED"
|
|
2051
|
+
# resp.job_definitions[0].node_properties.node_range_properties[0].container.volumes[0].s3files_volume_configuration.file_system_arn #=> String
|
|
2052
|
+
# resp.job_definitions[0].node_properties.node_range_properties[0].container.volumes[0].s3files_volume_configuration.root_directory #=> String
|
|
2053
|
+
# resp.job_definitions[0].node_properties.node_range_properties[0].container.volumes[0].s3files_volume_configuration.transit_encryption_port #=> Integer
|
|
2054
|
+
# resp.job_definitions[0].node_properties.node_range_properties[0].container.volumes[0].s3files_volume_configuration.access_point_arn #=> String
|
|
2050
2055
|
# resp.job_definitions[0].node_properties.node_range_properties[0].container.environment #=> Array
|
|
2051
2056
|
# resp.job_definitions[0].node_properties.node_range_properties[0].container.environment[0].name #=> String
|
|
2052
2057
|
# resp.job_definitions[0].node_properties.node_range_properties[0].container.environment[0].value #=> String
|
|
@@ -2151,6 +2156,8 @@ module Aws::Batch
|
|
|
2151
2156
|
# resp.job_definitions[0].node_properties.node_range_properties[0].ecs_properties.task_properties[0].containers[0].ulimits[0].name #=> String
|
|
2152
2157
|
# resp.job_definitions[0].node_properties.node_range_properties[0].ecs_properties.task_properties[0].containers[0].ulimits[0].soft_limit #=> Integer
|
|
2153
2158
|
# resp.job_definitions[0].node_properties.node_range_properties[0].ecs_properties.task_properties[0].containers[0].user #=> String
|
|
2159
|
+
# resp.job_definitions[0].node_properties.node_range_properties[0].ecs_properties.task_properties[0].containers[0].start_timeout #=> Integer
|
|
2160
|
+
# resp.job_definitions[0].node_properties.node_range_properties[0].ecs_properties.task_properties[0].containers[0].stop_timeout #=> Integer
|
|
2154
2161
|
# resp.job_definitions[0].node_properties.node_range_properties[0].ecs_properties.task_properties[0].ephemeral_storage.size_in_gi_b #=> Integer
|
|
2155
2162
|
# resp.job_definitions[0].node_properties.node_range_properties[0].ecs_properties.task_properties[0].execution_role_arn #=> String
|
|
2156
2163
|
# resp.job_definitions[0].node_properties.node_range_properties[0].ecs_properties.task_properties[0].platform_version #=> String
|
|
@@ -2169,6 +2176,10 @@ module Aws::Batch
|
|
|
2169
2176
|
# resp.job_definitions[0].node_properties.node_range_properties[0].ecs_properties.task_properties[0].volumes[0].efs_volume_configuration.transit_encryption_port #=> Integer
|
|
2170
2177
|
# resp.job_definitions[0].node_properties.node_range_properties[0].ecs_properties.task_properties[0].volumes[0].efs_volume_configuration.authorization_config.access_point_id #=> String
|
|
2171
2178
|
# resp.job_definitions[0].node_properties.node_range_properties[0].ecs_properties.task_properties[0].volumes[0].efs_volume_configuration.authorization_config.iam #=> String, one of "ENABLED", "DISABLED"
|
|
2179
|
+
# resp.job_definitions[0].node_properties.node_range_properties[0].ecs_properties.task_properties[0].volumes[0].s3files_volume_configuration.file_system_arn #=> String
|
|
2180
|
+
# resp.job_definitions[0].node_properties.node_range_properties[0].ecs_properties.task_properties[0].volumes[0].s3files_volume_configuration.root_directory #=> String
|
|
2181
|
+
# resp.job_definitions[0].node_properties.node_range_properties[0].ecs_properties.task_properties[0].volumes[0].s3files_volume_configuration.transit_encryption_port #=> Integer
|
|
2182
|
+
# resp.job_definitions[0].node_properties.node_range_properties[0].ecs_properties.task_properties[0].volumes[0].s3files_volume_configuration.access_point_arn #=> String
|
|
2172
2183
|
# resp.job_definitions[0].node_properties.node_range_properties[0].ecs_properties.task_properties[0].enable_execute_command #=> Boolean
|
|
2173
2184
|
# resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.service_account_name #=> String
|
|
2174
2185
|
# resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.host_network #=> Boolean
|
|
@@ -2304,6 +2315,8 @@ module Aws::Batch
|
|
|
2304
2315
|
# resp.job_definitions[0].ecs_properties.task_properties[0].containers[0].ulimits[0].name #=> String
|
|
2305
2316
|
# resp.job_definitions[0].ecs_properties.task_properties[0].containers[0].ulimits[0].soft_limit #=> Integer
|
|
2306
2317
|
# resp.job_definitions[0].ecs_properties.task_properties[0].containers[0].user #=> String
|
|
2318
|
+
# resp.job_definitions[0].ecs_properties.task_properties[0].containers[0].start_timeout #=> Integer
|
|
2319
|
+
# resp.job_definitions[0].ecs_properties.task_properties[0].containers[0].stop_timeout #=> Integer
|
|
2307
2320
|
# resp.job_definitions[0].ecs_properties.task_properties[0].ephemeral_storage.size_in_gi_b #=> Integer
|
|
2308
2321
|
# resp.job_definitions[0].ecs_properties.task_properties[0].execution_role_arn #=> String
|
|
2309
2322
|
# resp.job_definitions[0].ecs_properties.task_properties[0].platform_version #=> String
|
|
@@ -2322,6 +2335,10 @@ module Aws::Batch
|
|
|
2322
2335
|
# resp.job_definitions[0].ecs_properties.task_properties[0].volumes[0].efs_volume_configuration.transit_encryption_port #=> Integer
|
|
2323
2336
|
# resp.job_definitions[0].ecs_properties.task_properties[0].volumes[0].efs_volume_configuration.authorization_config.access_point_id #=> String
|
|
2324
2337
|
# resp.job_definitions[0].ecs_properties.task_properties[0].volumes[0].efs_volume_configuration.authorization_config.iam #=> String, one of "ENABLED", "DISABLED"
|
|
2338
|
+
# resp.job_definitions[0].ecs_properties.task_properties[0].volumes[0].s3files_volume_configuration.file_system_arn #=> String
|
|
2339
|
+
# resp.job_definitions[0].ecs_properties.task_properties[0].volumes[0].s3files_volume_configuration.root_directory #=> String
|
|
2340
|
+
# resp.job_definitions[0].ecs_properties.task_properties[0].volumes[0].s3files_volume_configuration.transit_encryption_port #=> Integer
|
|
2341
|
+
# resp.job_definitions[0].ecs_properties.task_properties[0].volumes[0].s3files_volume_configuration.access_point_arn #=> String
|
|
2325
2342
|
# resp.job_definitions[0].ecs_properties.task_properties[0].enable_execute_command #=> Boolean
|
|
2326
2343
|
# resp.job_definitions[0].eks_properties.pod_properties.service_account_name #=> String
|
|
2327
2344
|
# resp.job_definitions[0].eks_properties.pod_properties.host_network #=> Boolean
|
|
@@ -2651,6 +2668,10 @@ module Aws::Batch
|
|
|
2651
2668
|
# resp.jobs[0].container.volumes[0].efs_volume_configuration.transit_encryption_port #=> Integer
|
|
2652
2669
|
# resp.jobs[0].container.volumes[0].efs_volume_configuration.authorization_config.access_point_id #=> String
|
|
2653
2670
|
# resp.jobs[0].container.volumes[0].efs_volume_configuration.authorization_config.iam #=> String, one of "ENABLED", "DISABLED"
|
|
2671
|
+
# resp.jobs[0].container.volumes[0].s3files_volume_configuration.file_system_arn #=> String
|
|
2672
|
+
# resp.jobs[0].container.volumes[0].s3files_volume_configuration.root_directory #=> String
|
|
2673
|
+
# resp.jobs[0].container.volumes[0].s3files_volume_configuration.transit_encryption_port #=> Integer
|
|
2674
|
+
# resp.jobs[0].container.volumes[0].s3files_volume_configuration.access_point_arn #=> String
|
|
2654
2675
|
# resp.jobs[0].container.environment #=> Array
|
|
2655
2676
|
# resp.jobs[0].container.environment[0].name #=> String
|
|
2656
2677
|
# resp.jobs[0].container.environment[0].value #=> String
|
|
@@ -2730,6 +2751,10 @@ module Aws::Batch
|
|
|
2730
2751
|
# resp.jobs[0].node_properties.node_range_properties[0].container.volumes[0].efs_volume_configuration.transit_encryption_port #=> Integer
|
|
2731
2752
|
# resp.jobs[0].node_properties.node_range_properties[0].container.volumes[0].efs_volume_configuration.authorization_config.access_point_id #=> String
|
|
2732
2753
|
# resp.jobs[0].node_properties.node_range_properties[0].container.volumes[0].efs_volume_configuration.authorization_config.iam #=> String, one of "ENABLED", "DISABLED"
|
|
2754
|
+
# resp.jobs[0].node_properties.node_range_properties[0].container.volumes[0].s3files_volume_configuration.file_system_arn #=> String
|
|
2755
|
+
# resp.jobs[0].node_properties.node_range_properties[0].container.volumes[0].s3files_volume_configuration.root_directory #=> String
|
|
2756
|
+
# resp.jobs[0].node_properties.node_range_properties[0].container.volumes[0].s3files_volume_configuration.transit_encryption_port #=> Integer
|
|
2757
|
+
# resp.jobs[0].node_properties.node_range_properties[0].container.volumes[0].s3files_volume_configuration.access_point_arn #=> String
|
|
2733
2758
|
# resp.jobs[0].node_properties.node_range_properties[0].container.environment #=> Array
|
|
2734
2759
|
# resp.jobs[0].node_properties.node_range_properties[0].container.environment[0].name #=> String
|
|
2735
2760
|
# resp.jobs[0].node_properties.node_range_properties[0].container.environment[0].value #=> String
|
|
@@ -2834,6 +2859,8 @@ module Aws::Batch
|
|
|
2834
2859
|
# resp.jobs[0].node_properties.node_range_properties[0].ecs_properties.task_properties[0].containers[0].ulimits[0].name #=> String
|
|
2835
2860
|
# resp.jobs[0].node_properties.node_range_properties[0].ecs_properties.task_properties[0].containers[0].ulimits[0].soft_limit #=> Integer
|
|
2836
2861
|
# resp.jobs[0].node_properties.node_range_properties[0].ecs_properties.task_properties[0].containers[0].user #=> String
|
|
2862
|
+
# resp.jobs[0].node_properties.node_range_properties[0].ecs_properties.task_properties[0].containers[0].start_timeout #=> Integer
|
|
2863
|
+
# resp.jobs[0].node_properties.node_range_properties[0].ecs_properties.task_properties[0].containers[0].stop_timeout #=> Integer
|
|
2837
2864
|
# resp.jobs[0].node_properties.node_range_properties[0].ecs_properties.task_properties[0].ephemeral_storage.size_in_gi_b #=> Integer
|
|
2838
2865
|
# resp.jobs[0].node_properties.node_range_properties[0].ecs_properties.task_properties[0].execution_role_arn #=> String
|
|
2839
2866
|
# resp.jobs[0].node_properties.node_range_properties[0].ecs_properties.task_properties[0].platform_version #=> String
|
|
@@ -2852,6 +2879,10 @@ module Aws::Batch
|
|
|
2852
2879
|
# resp.jobs[0].node_properties.node_range_properties[0].ecs_properties.task_properties[0].volumes[0].efs_volume_configuration.transit_encryption_port #=> Integer
|
|
2853
2880
|
# resp.jobs[0].node_properties.node_range_properties[0].ecs_properties.task_properties[0].volumes[0].efs_volume_configuration.authorization_config.access_point_id #=> String
|
|
2854
2881
|
# resp.jobs[0].node_properties.node_range_properties[0].ecs_properties.task_properties[0].volumes[0].efs_volume_configuration.authorization_config.iam #=> String, one of "ENABLED", "DISABLED"
|
|
2882
|
+
# resp.jobs[0].node_properties.node_range_properties[0].ecs_properties.task_properties[0].volumes[0].s3files_volume_configuration.file_system_arn #=> String
|
|
2883
|
+
# resp.jobs[0].node_properties.node_range_properties[0].ecs_properties.task_properties[0].volumes[0].s3files_volume_configuration.root_directory #=> String
|
|
2884
|
+
# resp.jobs[0].node_properties.node_range_properties[0].ecs_properties.task_properties[0].volumes[0].s3files_volume_configuration.transit_encryption_port #=> Integer
|
|
2885
|
+
# resp.jobs[0].node_properties.node_range_properties[0].ecs_properties.task_properties[0].volumes[0].s3files_volume_configuration.access_point_arn #=> String
|
|
2855
2886
|
# resp.jobs[0].node_properties.node_range_properties[0].ecs_properties.task_properties[0].enable_execute_command #=> Boolean
|
|
2856
2887
|
# resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.service_account_name #=> String
|
|
2857
2888
|
# resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.host_network #=> Boolean
|
|
@@ -3089,6 +3120,8 @@ module Aws::Batch
|
|
|
3089
3120
|
# resp.jobs[0].ecs_properties.task_properties[0].containers[0].ulimits[0].name #=> String
|
|
3090
3121
|
# resp.jobs[0].ecs_properties.task_properties[0].containers[0].ulimits[0].soft_limit #=> Integer
|
|
3091
3122
|
# resp.jobs[0].ecs_properties.task_properties[0].containers[0].user #=> String
|
|
3123
|
+
# resp.jobs[0].ecs_properties.task_properties[0].containers[0].start_timeout #=> Integer
|
|
3124
|
+
# resp.jobs[0].ecs_properties.task_properties[0].containers[0].stop_timeout #=> Integer
|
|
3092
3125
|
# resp.jobs[0].ecs_properties.task_properties[0].containers[0].exit_code #=> Integer
|
|
3093
3126
|
# resp.jobs[0].ecs_properties.task_properties[0].containers[0].reason #=> String
|
|
3094
3127
|
# resp.jobs[0].ecs_properties.task_properties[0].containers[0].log_stream_name #=> String
|
|
@@ -3116,6 +3149,10 @@ module Aws::Batch
|
|
|
3116
3149
|
# resp.jobs[0].ecs_properties.task_properties[0].volumes[0].efs_volume_configuration.transit_encryption_port #=> Integer
|
|
3117
3150
|
# resp.jobs[0].ecs_properties.task_properties[0].volumes[0].efs_volume_configuration.authorization_config.access_point_id #=> String
|
|
3118
3151
|
# resp.jobs[0].ecs_properties.task_properties[0].volumes[0].efs_volume_configuration.authorization_config.iam #=> String, one of "ENABLED", "DISABLED"
|
|
3152
|
+
# resp.jobs[0].ecs_properties.task_properties[0].volumes[0].s3files_volume_configuration.file_system_arn #=> String
|
|
3153
|
+
# resp.jobs[0].ecs_properties.task_properties[0].volumes[0].s3files_volume_configuration.root_directory #=> String
|
|
3154
|
+
# resp.jobs[0].ecs_properties.task_properties[0].volumes[0].s3files_volume_configuration.transit_encryption_port #=> Integer
|
|
3155
|
+
# resp.jobs[0].ecs_properties.task_properties[0].volumes[0].s3files_volume_configuration.access_point_arn #=> String
|
|
3119
3156
|
# resp.jobs[0].ecs_properties.task_properties[0].enable_execute_command #=> Boolean
|
|
3120
3157
|
# resp.jobs[0].is_cancelled #=> Boolean
|
|
3121
3158
|
# resp.jobs[0].is_terminated #=> Boolean
|
|
@@ -4467,6 +4504,12 @@ module Aws::Batch
|
|
|
4467
4504
|
# iam: "ENABLED", # accepts ENABLED, DISABLED
|
|
4468
4505
|
# },
|
|
4469
4506
|
# },
|
|
4507
|
+
# s3files_volume_configuration: {
|
|
4508
|
+
# file_system_arn: "String", # required
|
|
4509
|
+
# root_directory: "String",
|
|
4510
|
+
# transit_encryption_port: 1,
|
|
4511
|
+
# access_point_arn: "String",
|
|
4512
|
+
# },
|
|
4470
4513
|
# },
|
|
4471
4514
|
# ],
|
|
4472
4515
|
# environment: [
|
|
@@ -4584,6 +4627,12 @@ module Aws::Batch
|
|
|
4584
4627
|
# iam: "ENABLED", # accepts ENABLED, DISABLED
|
|
4585
4628
|
# },
|
|
4586
4629
|
# },
|
|
4630
|
+
# s3files_volume_configuration: {
|
|
4631
|
+
# file_system_arn: "String", # required
|
|
4632
|
+
# root_directory: "String",
|
|
4633
|
+
# transit_encryption_port: 1,
|
|
4634
|
+
# access_point_arn: "String",
|
|
4635
|
+
# },
|
|
4587
4636
|
# },
|
|
4588
4637
|
# ],
|
|
4589
4638
|
# environment: [
|
|
@@ -4764,6 +4813,8 @@ module Aws::Batch
|
|
|
4764
4813
|
# },
|
|
4765
4814
|
# ],
|
|
4766
4815
|
# user: "String",
|
|
4816
|
+
# start_timeout: 1,
|
|
4817
|
+
# stop_timeout: 1,
|
|
4767
4818
|
# },
|
|
4768
4819
|
# ],
|
|
4769
4820
|
# ephemeral_storage: {
|
|
@@ -4797,6 +4848,12 @@ module Aws::Batch
|
|
|
4797
4848
|
# iam: "ENABLED", # accepts ENABLED, DISABLED
|
|
4798
4849
|
# },
|
|
4799
4850
|
# },
|
|
4851
|
+
# s3files_volume_configuration: {
|
|
4852
|
+
# file_system_arn: "String", # required
|
|
4853
|
+
# root_directory: "String",
|
|
4854
|
+
# transit_encryption_port: 1,
|
|
4855
|
+
# access_point_arn: "String",
|
|
4856
|
+
# },
|
|
4800
4857
|
# },
|
|
4801
4858
|
# ],
|
|
4802
4859
|
# enable_execute_command: false,
|
|
@@ -5164,6 +5221,8 @@ module Aws::Batch
|
|
|
5164
5221
|
# },
|
|
5165
5222
|
# ],
|
|
5166
5223
|
# user: "String",
|
|
5224
|
+
# start_timeout: 1,
|
|
5225
|
+
# stop_timeout: 1,
|
|
5167
5226
|
# },
|
|
5168
5227
|
# ],
|
|
5169
5228
|
# ephemeral_storage: {
|
|
@@ -5197,6 +5256,12 @@ module Aws::Batch
|
|
|
5197
5256
|
# iam: "ENABLED", # accepts ENABLED, DISABLED
|
|
5198
5257
|
# },
|
|
5199
5258
|
# },
|
|
5259
|
+
# s3files_volume_configuration: {
|
|
5260
|
+
# file_system_arn: "String", # required
|
|
5261
|
+
# root_directory: "String",
|
|
5262
|
+
# transit_encryption_port: 1,
|
|
5263
|
+
# access_point_arn: "String",
|
|
5264
|
+
# },
|
|
5200
5265
|
# },
|
|
5201
5266
|
# ],
|
|
5202
5267
|
# enable_execute_command: false,
|
|
@@ -6008,9 +6073,10 @@ module Aws::Batch
|
|
|
6008
6073
|
# environments in the `DISABLED` state don't scale out.
|
|
6009
6074
|
#
|
|
6010
6075
|
# <note markdown="1"> Compute environments in a `DISABLED` state may continue to incur
|
|
6011
|
-
# billing charges
|
|
6012
|
-
#
|
|
6013
|
-
#
|
|
6076
|
+
# billing charges, for example, if they have running instances due to
|
|
6077
|
+
# jobs that are still executing or a non-zero `minvCpus` setting. To
|
|
6078
|
+
# prevent additional charges, disable and delete the compute
|
|
6079
|
+
# environment.
|
|
6014
6080
|
#
|
|
6015
6081
|
# </note>
|
|
6016
6082
|
#
|
|
@@ -6020,10 +6086,6 @@ module Aws::Batch
|
|
|
6020
6086
|
# `desiredvCpus` value of `36`. This instance doesn't scale down to a
|
|
6021
6087
|
# `c5.large` instance.
|
|
6022
6088
|
#
|
|
6023
|
-
#
|
|
6024
|
-
#
|
|
6025
|
-
# [1]: https://docs.aws.amazon.com/batch/latest/userguide/compute_environment_parameters.html#compute_environment_state
|
|
6026
|
-
#
|
|
6027
6089
|
# @option params [Integer] :unmanagedv_cpus
|
|
6028
6090
|
# The maximum number of vCPUs expected to be used for an unmanaged
|
|
6029
6091
|
# compute environment. Don't specify this parameter for a managed
|
|
@@ -6598,7 +6660,7 @@ module Aws::Batch
|
|
|
6598
6660
|
tracer: tracer
|
|
6599
6661
|
)
|
|
6600
6662
|
context[:gem_name] = 'aws-sdk-batch'
|
|
6601
|
-
context[:gem_version] = '1.
|
|
6663
|
+
context[:gem_version] = '1.142.0'
|
|
6602
6664
|
Seahorse::Client::Request.new(handlers, context)
|
|
6603
6665
|
end
|
|
6604
6666
|
|
|
@@ -287,6 +287,7 @@ module Aws::Batch
|
|
|
287
287
|
RetryAction = Shapes::StringShape.new(name: 'RetryAction')
|
|
288
288
|
RetryStrategy = Shapes::StructureShape.new(name: 'RetryStrategy')
|
|
289
289
|
RuntimePlatform = Shapes::StructureShape.new(name: 'RuntimePlatform')
|
|
290
|
+
S3FilesVolumeConfiguration = Shapes::StructureShape.new(name: 'S3FilesVolumeConfiguration')
|
|
290
291
|
SchedulingPolicyDetail = Shapes::StructureShape.new(name: 'SchedulingPolicyDetail')
|
|
291
292
|
SchedulingPolicyDetailList = Shapes::ListShape.new(name: 'SchedulingPolicyDetailList')
|
|
292
293
|
SchedulingPolicyListingDetail = Shapes::StructureShape.new(name: 'SchedulingPolicyListingDetail')
|
|
@@ -1535,6 +1536,12 @@ module Aws::Batch
|
|
|
1535
1536
|
RuntimePlatform.add_member(:cpu_architecture, Shapes::ShapeRef.new(shape: String, location_name: "cpuArchitecture"))
|
|
1536
1537
|
RuntimePlatform.struct_class = Types::RuntimePlatform
|
|
1537
1538
|
|
|
1539
|
+
S3FilesVolumeConfiguration.add_member(:file_system_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "fileSystemArn"))
|
|
1540
|
+
S3FilesVolumeConfiguration.add_member(:root_directory, Shapes::ShapeRef.new(shape: String, location_name: "rootDirectory"))
|
|
1541
|
+
S3FilesVolumeConfiguration.add_member(:transit_encryption_port, Shapes::ShapeRef.new(shape: Integer, location_name: "transitEncryptionPort"))
|
|
1542
|
+
S3FilesVolumeConfiguration.add_member(:access_point_arn, Shapes::ShapeRef.new(shape: String, location_name: "accessPointArn"))
|
|
1543
|
+
S3FilesVolumeConfiguration.struct_class = Types::S3FilesVolumeConfiguration
|
|
1544
|
+
|
|
1538
1545
|
SchedulingPolicyDetail.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "name"))
|
|
1539
1546
|
SchedulingPolicyDetail.add_member(:arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "arn"))
|
|
1540
1547
|
SchedulingPolicyDetail.add_member(:quota_share_policy, Shapes::ShapeRef.new(shape: QuotaSharePolicy, location_name: "quotaSharePolicy"))
|
|
@@ -1733,6 +1740,8 @@ module Aws::Batch
|
|
|
1733
1740
|
TaskContainerDetails.add_member(:secrets, Shapes::ShapeRef.new(shape: SecretList, location_name: "secrets"))
|
|
1734
1741
|
TaskContainerDetails.add_member(:ulimits, Shapes::ShapeRef.new(shape: Ulimits, location_name: "ulimits"))
|
|
1735
1742
|
TaskContainerDetails.add_member(:user, Shapes::ShapeRef.new(shape: String, location_name: "user"))
|
|
1743
|
+
TaskContainerDetails.add_member(:start_timeout, Shapes::ShapeRef.new(shape: Integer, location_name: "startTimeout"))
|
|
1744
|
+
TaskContainerDetails.add_member(:stop_timeout, Shapes::ShapeRef.new(shape: Integer, location_name: "stopTimeout"))
|
|
1736
1745
|
TaskContainerDetails.add_member(:exit_code, Shapes::ShapeRef.new(shape: Integer, location_name: "exitCode"))
|
|
1737
1746
|
TaskContainerDetails.add_member(:reason, Shapes::ShapeRef.new(shape: String, location_name: "reason"))
|
|
1738
1747
|
TaskContainerDetails.add_member(:log_stream_name, Shapes::ShapeRef.new(shape: String, location_name: "logStreamName"))
|
|
@@ -1762,6 +1771,8 @@ module Aws::Batch
|
|
|
1762
1771
|
TaskContainerProperties.add_member(:secrets, Shapes::ShapeRef.new(shape: SecretList, location_name: "secrets"))
|
|
1763
1772
|
TaskContainerProperties.add_member(:ulimits, Shapes::ShapeRef.new(shape: Ulimits, location_name: "ulimits"))
|
|
1764
1773
|
TaskContainerProperties.add_member(:user, Shapes::ShapeRef.new(shape: String, location_name: "user"))
|
|
1774
|
+
TaskContainerProperties.add_member(:start_timeout, Shapes::ShapeRef.new(shape: Integer, location_name: "startTimeout"))
|
|
1775
|
+
TaskContainerProperties.add_member(:stop_timeout, Shapes::ShapeRef.new(shape: Integer, location_name: "stopTimeout"))
|
|
1765
1776
|
TaskContainerProperties.struct_class = Types::TaskContainerProperties
|
|
1766
1777
|
|
|
1767
1778
|
TaskPropertiesOverride.add_member(:containers, Shapes::ShapeRef.new(shape: ListTaskContainerOverrides, location_name: "containers"))
|
|
@@ -1879,6 +1890,7 @@ module Aws::Batch
|
|
|
1879
1890
|
Volume.add_member(:host, Shapes::ShapeRef.new(shape: Host, location_name: "host"))
|
|
1880
1891
|
Volume.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
|
|
1881
1892
|
Volume.add_member(:efs_volume_configuration, Shapes::ShapeRef.new(shape: EFSVolumeConfiguration, location_name: "efsVolumeConfiguration"))
|
|
1893
|
+
Volume.add_member(:s3files_volume_configuration, Shapes::ShapeRef.new(shape: S3FilesVolumeConfiguration, location_name: "s3filesVolumeConfiguration"))
|
|
1882
1894
|
Volume.struct_class = Types::Volume
|
|
1883
1895
|
|
|
1884
1896
|
Volumes.member = Shapes::ShapeRef.new(shape: Volume)
|
data/lib/aws-sdk-batch/types.rb
CHANGED
|
@@ -381,9 +381,10 @@ module Aws::Batch
|
|
|
381
381
|
# environments in the `DISABLED` state don't scale out.
|
|
382
382
|
#
|
|
383
383
|
# <note markdown="1"> Compute environments in a `DISABLED` state may continue to incur
|
|
384
|
-
# billing charges
|
|
385
|
-
#
|
|
386
|
-
#
|
|
384
|
+
# billing charges, for example, if they have running instances due to
|
|
385
|
+
# jobs that are still executing or a non-zero `minvCpus` setting. To
|
|
386
|
+
# prevent additional charges, disable and delete the compute
|
|
387
|
+
# environment.
|
|
387
388
|
#
|
|
388
389
|
# </note>
|
|
389
390
|
#
|
|
@@ -392,10 +393,6 @@ module Aws::Batch
|
|
|
392
393
|
# consider a `c5.8xlarge` instance with a `minvCpus` value of `4` and
|
|
393
394
|
# a `desiredvCpus` value of `36`. This instance doesn't scale down to
|
|
394
395
|
# a `c5.large` instance.
|
|
395
|
-
#
|
|
396
|
-
#
|
|
397
|
-
#
|
|
398
|
-
# [1]: https://docs.aws.amazon.com/batch/latest/userguide/compute_environment_parameters.html#compute_environment_state
|
|
399
396
|
# @return [String]
|
|
400
397
|
#
|
|
401
398
|
# @!attribute [rw] status
|
|
@@ -731,9 +728,9 @@ module Aws::Batch
|
|
|
731
728
|
# compute environment. For example, if your compute environment uses
|
|
732
729
|
# A1 instance types, the compute resource AMI that you choose must
|
|
733
730
|
# support ARM instances. Amazon ECS vends both x86 and ARM versions of
|
|
734
|
-
# the Amazon ECS-optimized Amazon Linux
|
|
735
|
-
# see [Amazon ECS-optimized Amazon Linux
|
|
736
|
-
# Elastic Container Service Developer Guide*.
|
|
731
|
+
# the Amazon ECS-optimized Amazon Linux 2023 AMI. For more
|
|
732
|
+
# information, see [Amazon ECS-optimized Amazon Linux 2023 AMI][1] in
|
|
733
|
+
# the *Amazon Elastic Container Service Developer Guide*.
|
|
737
734
|
#
|
|
738
735
|
# </note>
|
|
739
736
|
#
|
|
@@ -916,7 +913,7 @@ module Aws::Batch
|
|
|
916
913
|
# @!attribute [rw] ec2_configuration
|
|
917
914
|
# Provides information that's used to select Amazon Machine Images
|
|
918
915
|
# (AMIs) for Amazon EC2 instances in the compute environment. If
|
|
919
|
-
# `Ec2Configuration` isn't specified, the default is `
|
|
916
|
+
# `Ec2Configuration` isn't specified, the default is `ECS_AL2023` for
|
|
920
917
|
# EC2 (ECS) compute environments and `EKS_AL2023` for EKS compute
|
|
921
918
|
# environments.
|
|
922
919
|
#
|
|
@@ -1359,7 +1356,7 @@ module Aws::Batch
|
|
|
1359
1356
|
# @!attribute [rw] ec2_configuration
|
|
1360
1357
|
# Provides information used to select Amazon Machine Images (AMIs) for
|
|
1361
1358
|
# Amazon EC2 instances in the compute environment. If
|
|
1362
|
-
# `Ec2Configuration` isn't specified, the default is `
|
|
1359
|
+
# `Ec2Configuration` isn't specified, the default is `ECS_AL2023` for
|
|
1363
1360
|
# EC2 (ECS) compute environments and `EKS_AL2023` for EKS compute
|
|
1364
1361
|
# environments.
|
|
1365
1362
|
#
|
|
@@ -1450,9 +1447,9 @@ module Aws::Batch
|
|
|
1450
1447
|
# compute environment. For example, if your compute environment uses
|
|
1451
1448
|
# A1 instance types, the compute resource AMI that you choose must
|
|
1452
1449
|
# support ARM instances. Amazon ECS vends both x86 and ARM versions of
|
|
1453
|
-
# the Amazon ECS-optimized Amazon Linux
|
|
1454
|
-
# see [Amazon ECS-optimized Amazon Linux
|
|
1455
|
-
# Elastic Container Service Developer Guide*.
|
|
1450
|
+
# the Amazon ECS-optimized Amazon Linux 2023 AMI. For more
|
|
1451
|
+
# information, see [Amazon ECS-optimized Amazon Linux 2023 AMI][2] in
|
|
1452
|
+
# the *Amazon Elastic Container Service Developer Guide*.
|
|
1456
1453
|
#
|
|
1457
1454
|
# </note>
|
|
1458
1455
|
#
|
|
@@ -1508,6 +1505,11 @@ module Aws::Batch
|
|
|
1508
1505
|
# Valid Range: Minimum value of 20. Maximum value of 10080. Use 0 to
|
|
1509
1506
|
# unset and disable the scale down delay.
|
|
1510
1507
|
#
|
|
1508
|
+
# <note markdown="1"> Idle instances retained during the scale-down delay period are
|
|
1509
|
+
# billable at standard EC2 pricing.
|
|
1510
|
+
#
|
|
1511
|
+
# </note>
|
|
1512
|
+
#
|
|
1511
1513
|
# <note markdown="1"> The scale down delay does not apply to:
|
|
1512
1514
|
#
|
|
1513
1515
|
# * Instances being replaced during infrastructure updates
|
|
@@ -2408,9 +2410,10 @@ module Aws::Batch
|
|
|
2408
2410
|
# environments in the `DISABLED` state don't scale out.
|
|
2409
2411
|
#
|
|
2410
2412
|
# <note markdown="1"> Compute environments in a `DISABLED` state may continue to incur
|
|
2411
|
-
# billing charges
|
|
2412
|
-
#
|
|
2413
|
-
#
|
|
2413
|
+
# billing charges, for example, if they have running instances due to
|
|
2414
|
+
# jobs that are still executing or a non-zero `minvCpus` setting. To
|
|
2415
|
+
# prevent additional charges, disable and delete the compute
|
|
2416
|
+
# environment.
|
|
2414
2417
|
#
|
|
2415
2418
|
# </note>
|
|
2416
2419
|
#
|
|
@@ -2419,10 +2422,6 @@ module Aws::Batch
|
|
|
2419
2422
|
# consider a `c5.8xlarge` instance with a `minvCpus` value of `4` and
|
|
2420
2423
|
# a `desiredvCpus` value of `36`. This instance doesn't scale down to
|
|
2421
2424
|
# a `c5.large` instance.
|
|
2422
|
-
#
|
|
2423
|
-
#
|
|
2424
|
-
#
|
|
2425
|
-
# [1]: https://docs.aws.amazon.com/batch/latest/userguide/compute_environment_parameters.html#compute_environment_state
|
|
2426
2425
|
# @return [String]
|
|
2427
2426
|
#
|
|
2428
2427
|
# @!attribute [rw] unmanagedv_cpus
|
|
@@ -3827,8 +3826,8 @@ module Aws::Batch
|
|
|
3827
3826
|
|
|
3828
3827
|
# Provides information used to select Amazon Machine Images (AMIs) for
|
|
3829
3828
|
# instances in the compute environment. If `Ec2Configuration` isn't
|
|
3830
|
-
# specified, the default is `
|
|
3831
|
-
# Linux
|
|
3829
|
+
# specified, the default is `ECS_AL2023` ([Amazon ECS-optimized Amazon
|
|
3830
|
+
# Linux 2023][1]) for EC2 (ECS) compute environments and `EKS_AL2023`
|
|
3832
3831
|
# ([Amazon EKS-optimized Amazon Linux 2023 AMI][2]) for EKS compute
|
|
3833
3832
|
# environments.
|
|
3834
3833
|
#
|
|
@@ -3839,7 +3838,7 @@ module Aws::Batch
|
|
|
3839
3838
|
#
|
|
3840
3839
|
#
|
|
3841
3840
|
#
|
|
3842
|
-
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html
|
|
3841
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html
|
|
3843
3842
|
# [2]: https://docs.aws.amazon.com/eks/latest/userguide/eks-optimized-ami.html
|
|
3844
3843
|
#
|
|
3845
3844
|
# @!attribute [rw] image_type
|
|
@@ -3849,34 +3848,37 @@ module Aws::Batch
|
|
|
3849
3848
|
# ECS
|
|
3850
3849
|
#
|
|
3851
3850
|
# : If the `imageIdOverride` parameter isn't specified, then a recent
|
|
3852
|
-
# [Amazon ECS-optimized Amazon Linux
|
|
3853
|
-
# If a new image type is specified in an update, but neither
|
|
3854
|
-
# `imageId` nor a `imageIdOverride` parameter is specified, then
|
|
3855
|
-
# latest Amazon ECS optimized AMI for that image type that's
|
|
3851
|
+
# [Amazon ECS-optimized Amazon Linux 2023 AMI][1] (`ECS_AL2023`) is
|
|
3852
|
+
# used. If a new image type is specified in an update, but neither
|
|
3853
|
+
# an `imageId` nor a `imageIdOverride` parameter is specified, then
|
|
3854
|
+
# the latest Amazon ECS optimized AMI for that image type that's
|
|
3856
3855
|
# supported by Batch is used.
|
|
3857
3856
|
#
|
|
3858
|
-
# Amazon Web Services
|
|
3859
|
-
#
|
|
3860
|
-
# Batch
|
|
3861
|
-
# environments from Amazon Linux 2 to Amazon Linux 2023.
|
|
3862
|
-
#
|
|
3863
|
-
#
|
|
3864
|
-
#
|
|
3865
|
-
#
|
|
3857
|
+
# Amazon Web Services is ending support for Amazon ECS Amazon Linux
|
|
3858
|
+
# 2-optimized and accelerated AMIs on June 30, 2026. On January 12,
|
|
3859
|
+
# 2026, Batch changed the default AMI for new Amazon ECS compute
|
|
3860
|
+
# environments from Amazon Linux 2 to Amazon Linux 2023. Effective
|
|
3861
|
+
# June 30, 2026, Batch will block creation of new Amazon ECS compute
|
|
3862
|
+
# environments using Batch-provided Amazon Linux 2 AMIs. We strongly
|
|
3863
|
+
# recommend migrating your existing Batch Amazon ECS compute
|
|
3864
|
+
# environments to Amazon Linux 2023 prior to June 30, 2026. For more
|
|
3865
|
+
# information on upgrading from AL2 to AL2023, see [How to migrate
|
|
3866
|
+
# from ECS AL2 to ECS AL2023][2] in the *Batch User Guide*.
|
|
3866
3867
|
#
|
|
3867
3868
|
# ECS\_AL2
|
|
3868
3869
|
#
|
|
3869
|
-
# : [Amazon Linux 2][1]:
|
|
3870
|
+
# : [Amazon Linux 2][1]: Used for non-GPU instance families.
|
|
3870
3871
|
#
|
|
3871
3872
|
# ECS\_AL2\_NVIDIA
|
|
3872
3873
|
#
|
|
3873
|
-
# : [Amazon Linux 2 (GPU)][3]:
|
|
3874
|
-
#
|
|
3875
|
-
#
|
|
3874
|
+
# : [Amazon Linux 2 (GPU)][3]: Used for GPU instance families (for
|
|
3875
|
+
# example `P4` and `G4`) and non Amazon Web Services
|
|
3876
|
+
# Graviton-based instance types.
|
|
3876
3877
|
#
|
|
3877
3878
|
# ECS\_AL2023
|
|
3878
3879
|
#
|
|
3879
|
-
# : [Amazon Linux 2023][
|
|
3880
|
+
# : [Amazon Linux 2023][1]: Default for all non-GPU instance
|
|
3881
|
+
# families.
|
|
3880
3882
|
#
|
|
3881
3883
|
# <note markdown="1"> Amazon Linux 2023 does not support `A1` instances.
|
|
3882
3884
|
#
|
|
@@ -3884,9 +3886,9 @@ module Aws::Batch
|
|
|
3884
3886
|
#
|
|
3885
3887
|
# ECS\_AL2023\_NVIDIA
|
|
3886
3888
|
#
|
|
3887
|
-
# : [Amazon Linux 2023 (GPU)][3]:
|
|
3888
|
-
# can be used for all non Amazon Web Services
|
|
3889
|
-
# instance types.
|
|
3889
|
+
# : [Amazon Linux 2023 (GPU)][3]: Default for all GPU instance
|
|
3890
|
+
# families and can be used for all non Amazon Web Services
|
|
3891
|
+
# Graviton-based instance types.
|
|
3890
3892
|
#
|
|
3891
3893
|
# <note markdown="1"> ECS\_AL2023\_NVIDIA doesn't support `p3` and `g3` instance
|
|
3892
3894
|
# types.
|
|
@@ -3896,7 +3898,7 @@ module Aws::Batch
|
|
|
3896
3898
|
# EKS
|
|
3897
3899
|
#
|
|
3898
3900
|
# : If the `imageIdOverride` parameter isn't specified, then a recent
|
|
3899
|
-
# [Amazon EKS-optimized Amazon Linux 2023 AMI][
|
|
3901
|
+
# [Amazon EKS-optimized Amazon Linux 2023 AMI][4] (`EKS_AL2023`) is
|
|
3900
3902
|
# used. If a new image type is specified in an update, but neither
|
|
3901
3903
|
# an `imageId` nor a `imageIdOverride` parameter is specified, then
|
|
3902
3904
|
# the latest Amazon EKS optimized AMI for that image type that Batch
|
|
@@ -3904,29 +3906,28 @@ module Aws::Batch
|
|
|
3904
3906
|
#
|
|
3905
3907
|
# Amazon Linux 2023 AMIs are the default on Batch for Amazon EKS.
|
|
3906
3908
|
#
|
|
3907
|
-
# Amazon Web Services
|
|
3908
|
-
# and
|
|
3909
|
-
#
|
|
3910
|
-
#
|
|
3911
|
-
#
|
|
3912
|
-
#
|
|
3913
|
-
#
|
|
3914
|
-
#
|
|
3915
|
-
# in the *Batch User Guide*.
|
|
3909
|
+
# Amazon Web Services ended support for Amazon EKS AL2-optimized
|
|
3910
|
+
# and
|
|
3911
|
+
# AL2-accelerated AMIs on November 26, 2025. Batch Amazon EKS
|
|
3912
|
+
# compute environments using Amazon Linux 2 will no longer receive
|
|
3913
|
+
# software updates, security patches, or bug fixes from Amazon Web
|
|
3914
|
+
# Services. We recommend migrating to Amazon Linux 2023. For more
|
|
3915
|
+
# information on upgrading from AL2 to AL2023, see [How to upgrade
|
|
3916
|
+
# from EKS AL2 to EKS AL2023][5] in the *Batch User Guide*.
|
|
3916
3917
|
#
|
|
3917
3918
|
# EKS\_AL2
|
|
3918
3919
|
#
|
|
3919
|
-
# : [Amazon Linux 2][
|
|
3920
|
+
# : [Amazon Linux 2][4]: Used for non-GPU instance families.
|
|
3920
3921
|
#
|
|
3921
3922
|
# EKS\_AL2\_NVIDIA
|
|
3922
3923
|
#
|
|
3923
|
-
# : [Amazon Linux 2 (accelerated)][
|
|
3924
|
+
# : [Amazon Linux 2 (accelerated)][4]: Used for GPU instance
|
|
3924
3925
|
# families (for example, `P4` and `G4`) and can be used for all
|
|
3925
3926
|
# non Amazon Web Services Graviton-based instance types.
|
|
3926
3927
|
#
|
|
3927
3928
|
# EKS\_AL2023
|
|
3928
3929
|
#
|
|
3929
|
-
# : [Amazon Linux 2023][
|
|
3930
|
+
# : [Amazon Linux 2023][4]: Default for non-GPU instance families.
|
|
3930
3931
|
#
|
|
3931
3932
|
# <note markdown="1"> Amazon Linux 2023 does not support `A1` instances.
|
|
3932
3933
|
#
|
|
@@ -3934,18 +3935,17 @@ module Aws::Batch
|
|
|
3934
3935
|
#
|
|
3935
3936
|
# EKS\_AL2023\_NVIDIA
|
|
3936
3937
|
#
|
|
3937
|
-
# : [Amazon Linux 2023 (accelerated)][
|
|
3938
|
+
# : [Amazon Linux 2023 (accelerated)][4]: Default for GPU instance
|
|
3938
3939
|
# families and can be used for all non Amazon Web Services
|
|
3939
3940
|
# Graviton-based instance types.
|
|
3940
3941
|
#
|
|
3941
3942
|
#
|
|
3942
3943
|
#
|
|
3943
|
-
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html
|
|
3944
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html
|
|
3944
3945
|
# [2]: https://docs.aws.amazon.com/batch/latest/userguide/ecs-migration-2023.html
|
|
3945
3946
|
# [3]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#gpuami
|
|
3946
|
-
# [4]: https://docs.aws.amazon.com/
|
|
3947
|
-
# [5]: https://docs.aws.amazon.com/
|
|
3948
|
-
# [6]: https://docs.aws.amazon.com/batch/latest/userguide/eks-migration-2023.html
|
|
3947
|
+
# [4]: https://docs.aws.amazon.com/eks/latest/userguide/eks-optimized-ami.html
|
|
3948
|
+
# [5]: https://docs.aws.amazon.com/batch/latest/userguide/eks-migration-2023.html
|
|
3949
3949
|
# @return [String]
|
|
3950
3950
|
#
|
|
3951
3951
|
# @!attribute [rw] image_id_override
|
|
@@ -3958,9 +3958,9 @@ module Aws::Batch
|
|
|
3958
3958
|
# compute environment. For example, if your compute environment uses
|
|
3959
3959
|
# A1 instance types, the compute resource AMI that you choose must
|
|
3960
3960
|
# support ARM instances. Amazon ECS vends both x86 and ARM versions of
|
|
3961
|
-
# the Amazon ECS-optimized Amazon Linux
|
|
3962
|
-
# see [Amazon ECS-optimized Amazon Linux
|
|
3963
|
-
# Elastic Container Service Developer Guide*.
|
|
3961
|
+
# the Amazon ECS-optimized Amazon Linux 2023 AMI. For more
|
|
3962
|
+
# information, see [Amazon ECS-optimized Amazon Linux 2023 AMI][1] in
|
|
3963
|
+
# the *Amazon Elastic Container Service Developer Guide*.
|
|
3964
3964
|
#
|
|
3965
3965
|
# </note>
|
|
3966
3966
|
#
|
|
@@ -9056,6 +9056,38 @@ module Aws::Batch
|
|
|
9056
9056
|
include Aws::Structure
|
|
9057
9057
|
end
|
|
9058
9058
|
|
|
9059
|
+
# This is used when you're using an S3Files file system for job
|
|
9060
|
+
# storage.
|
|
9061
|
+
#
|
|
9062
|
+
# @!attribute [rw] file_system_arn
|
|
9063
|
+
# The Amazon Resource Name (ARN) of the S3Files file system to use.
|
|
9064
|
+
# @return [String]
|
|
9065
|
+
#
|
|
9066
|
+
# @!attribute [rw] root_directory
|
|
9067
|
+
# The directory within the S3Files file system to mount as the root
|
|
9068
|
+
# directory.
|
|
9069
|
+
# @return [String]
|
|
9070
|
+
#
|
|
9071
|
+
# @!attribute [rw] transit_encryption_port
|
|
9072
|
+
# The port to use when sending encrypted data between the Amazon ECS
|
|
9073
|
+
# host and the S3Files file system server.
|
|
9074
|
+
# @return [Integer]
|
|
9075
|
+
#
|
|
9076
|
+
# @!attribute [rw] access_point_arn
|
|
9077
|
+
# The Amazon Resource Name (ARN) of the S3Files access point to use.
|
|
9078
|
+
# @return [String]
|
|
9079
|
+
#
|
|
9080
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/S3FilesVolumeConfiguration AWS API Documentation
|
|
9081
|
+
#
|
|
9082
|
+
class S3FilesVolumeConfiguration < Struct.new(
|
|
9083
|
+
:file_system_arn,
|
|
9084
|
+
:root_directory,
|
|
9085
|
+
:transit_encryption_port,
|
|
9086
|
+
:access_point_arn)
|
|
9087
|
+
SENSITIVE = []
|
|
9088
|
+
include Aws::Structure
|
|
9089
|
+
end
|
|
9090
|
+
|
|
9059
9091
|
# An object that represents a scheduling policy.
|
|
9060
9092
|
#
|
|
9061
9093
|
# @!attribute [rw] name
|
|
@@ -10288,6 +10320,25 @@ module Aws::Batch
|
|
|
10288
10320
|
# </note>
|
|
10289
10321
|
# @return [String]
|
|
10290
10322
|
#
|
|
10323
|
+
# @!attribute [rw] start_timeout
|
|
10324
|
+
# Time duration (in seconds) to wait before giving up on resolving
|
|
10325
|
+
# dependencies for a container. The minimum value is 2 seconds and the
|
|
10326
|
+
# maximum value for Fargate is 120 seconds.
|
|
10327
|
+
# @return [Integer]
|
|
10328
|
+
#
|
|
10329
|
+
# @!attribute [rw] stop_timeout
|
|
10330
|
+
# Time duration (in seconds) to wait before the container is
|
|
10331
|
+
# forcefully killed if it doesn't exit normally on its own. The
|
|
10332
|
+
# minimum value is 2 seconds and the maximum value for Fargate is 120
|
|
10333
|
+
# seconds. If the parameter is not specified, the default value of 30
|
|
10334
|
+
# seconds is used. For tasks that use the EC2 launch type, if the
|
|
10335
|
+
# `stopTimeout` parameter isn't specified, the value set for the
|
|
10336
|
+
# Amazon ECS container agent configuration variable
|
|
10337
|
+
# `ECS_CONTAINER_STOP_TIMEOUT` is used. If neither the `stopTimeout`
|
|
10338
|
+
# parameter nor the `ECS_CONTAINER_STOP_TIMEOUT` agent configuration
|
|
10339
|
+
# variable are set, then the default value of 30 seconds is used.
|
|
10340
|
+
# @return [Integer]
|
|
10341
|
+
#
|
|
10291
10342
|
# @!attribute [rw] exit_code
|
|
10292
10343
|
# The exit code returned upon completion.
|
|
10293
10344
|
# @return [Integer]
|
|
@@ -10328,6 +10379,8 @@ module Aws::Batch
|
|
|
10328
10379
|
:secrets,
|
|
10329
10380
|
:ulimits,
|
|
10330
10381
|
:user,
|
|
10382
|
+
:start_timeout,
|
|
10383
|
+
:stop_timeout,
|
|
10331
10384
|
:exit_code,
|
|
10332
10385
|
:reason,
|
|
10333
10386
|
:log_stream_name,
|
|
@@ -10679,6 +10732,25 @@ module Aws::Batch
|
|
|
10679
10732
|
# </note>
|
|
10680
10733
|
# @return [String]
|
|
10681
10734
|
#
|
|
10735
|
+
# @!attribute [rw] start_timeout
|
|
10736
|
+
# Time duration (in seconds) to wait before giving up on resolving
|
|
10737
|
+
# dependencies for a container. The minimum value is 2 seconds and the
|
|
10738
|
+
# maximum value for Fargate is 120 seconds.
|
|
10739
|
+
# @return [Integer]
|
|
10740
|
+
#
|
|
10741
|
+
# @!attribute [rw] stop_timeout
|
|
10742
|
+
# Time duration (in seconds) to wait before the container is
|
|
10743
|
+
# forcefully killed if it doesn't exit normally on its own. The
|
|
10744
|
+
# minimum value is 2 seconds and the maximum value for Fargate is 120
|
|
10745
|
+
# seconds. If the parameter is not specified, the default value of 30
|
|
10746
|
+
# seconds is used. For tasks that use the EC2 launch type, if the
|
|
10747
|
+
# `stopTimeout` parameter isn't specified, the value set for the
|
|
10748
|
+
# Amazon ECS container agent configuration variable
|
|
10749
|
+
# `ECS_CONTAINER_STOP_TIMEOUT` is used. If neither the `stopTimeout`
|
|
10750
|
+
# parameter nor the `ECS_CONTAINER_STOP_TIMEOUT` agent configuration
|
|
10751
|
+
# variable are set, then the default value of 30 seconds is used.
|
|
10752
|
+
# @return [Integer]
|
|
10753
|
+
#
|
|
10682
10754
|
# @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/TaskContainerProperties AWS API Documentation
|
|
10683
10755
|
#
|
|
10684
10756
|
class TaskContainerProperties < Struct.new(
|
|
@@ -10698,7 +10770,9 @@ module Aws::Batch
|
|
|
10698
10770
|
:resource_requirements,
|
|
10699
10771
|
:secrets,
|
|
10700
10772
|
:ulimits,
|
|
10701
|
-
:user
|
|
10773
|
+
:user,
|
|
10774
|
+
:start_timeout,
|
|
10775
|
+
:stop_timeout)
|
|
10702
10776
|
SENSITIVE = []
|
|
10703
10777
|
include Aws::Structure
|
|
10704
10778
|
end
|
|
@@ -10897,9 +10971,10 @@ module Aws::Batch
|
|
|
10897
10971
|
# environments in the `DISABLED` state don't scale out.
|
|
10898
10972
|
#
|
|
10899
10973
|
# <note markdown="1"> Compute environments in a `DISABLED` state may continue to incur
|
|
10900
|
-
# billing charges
|
|
10901
|
-
#
|
|
10902
|
-
#
|
|
10974
|
+
# billing charges, for example, if they have running instances due to
|
|
10975
|
+
# jobs that are still executing or a non-zero `minvCpus` setting. To
|
|
10976
|
+
# prevent additional charges, disable and delete the compute
|
|
10977
|
+
# environment.
|
|
10903
10978
|
#
|
|
10904
10979
|
# </note>
|
|
10905
10980
|
#
|
|
@@ -10908,10 +10983,6 @@ module Aws::Batch
|
|
|
10908
10983
|
# consider a `c5.8xlarge` instance with a `minvCpus` value of `4` and
|
|
10909
10984
|
# a `desiredvCpus` value of `36`. This instance doesn't scale down to
|
|
10910
10985
|
# a `c5.large` instance.
|
|
10911
|
-
#
|
|
10912
|
-
#
|
|
10913
|
-
#
|
|
10914
|
-
# [1]: https://docs.aws.amazon.com/batch/latest/userguide/compute_environment_parameters.html#compute_environment_state
|
|
10915
10986
|
# @return [String]
|
|
10916
10987
|
#
|
|
10917
10988
|
# @!attribute [rw] unmanagedv_cpus
|
|
@@ -11413,12 +11484,18 @@ module Aws::Batch
|
|
|
11413
11484
|
# `1.4.0`.
|
|
11414
11485
|
# @return [Types::EFSVolumeConfiguration]
|
|
11415
11486
|
#
|
|
11487
|
+
# @!attribute [rw] s3files_volume_configuration
|
|
11488
|
+
# This parameter is specified when you're using an S3Files file
|
|
11489
|
+
# system for job storage.
|
|
11490
|
+
# @return [Types::S3FilesVolumeConfiguration]
|
|
11491
|
+
#
|
|
11416
11492
|
# @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/Volume AWS API Documentation
|
|
11417
11493
|
#
|
|
11418
11494
|
class Volume < Struct.new(
|
|
11419
11495
|
:host,
|
|
11420
11496
|
:name,
|
|
11421
|
-
:efs_volume_configuration
|
|
11497
|
+
:efs_volume_configuration,
|
|
11498
|
+
:s3files_volume_configuration)
|
|
11422
11499
|
SENSITIVE = []
|
|
11423
11500
|
include Aws::Structure
|
|
11424
11501
|
end
|
data/lib/aws-sdk-batch.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -639,6 +639,12 @@ module Aws
|
|
|
639
639
|
access_point_id: ::String?,
|
|
640
640
|
iam: ("ENABLED" | "DISABLED")?
|
|
641
641
|
}?
|
|
642
|
+
}?,
|
|
643
|
+
s3files_volume_configuration: {
|
|
644
|
+
file_system_arn: ::String,
|
|
645
|
+
root_directory: ::String?,
|
|
646
|
+
transit_encryption_port: ::Integer?,
|
|
647
|
+
access_point_arn: ::String?
|
|
642
648
|
}?
|
|
643
649
|
},
|
|
644
650
|
]?,
|
|
@@ -754,6 +760,12 @@ module Aws
|
|
|
754
760
|
access_point_id: ::String?,
|
|
755
761
|
iam: ("ENABLED" | "DISABLED")?
|
|
756
762
|
}?
|
|
763
|
+
}?,
|
|
764
|
+
s3files_volume_configuration: {
|
|
765
|
+
file_system_arn: ::String,
|
|
766
|
+
root_directory: ::String?,
|
|
767
|
+
transit_encryption_port: ::Integer?,
|
|
768
|
+
access_point_arn: ::String?
|
|
757
769
|
}?
|
|
758
770
|
},
|
|
759
771
|
]?,
|
|
@@ -928,7 +940,9 @@ module Aws
|
|
|
928
940
|
soft_limit: ::Integer
|
|
929
941
|
},
|
|
930
942
|
]?,
|
|
931
|
-
user: ::String
|
|
943
|
+
user: ::String?,
|
|
944
|
+
start_timeout: ::Integer?,
|
|
945
|
+
stop_timeout: ::Integer?
|
|
932
946
|
},
|
|
933
947
|
],
|
|
934
948
|
ephemeral_storage: {
|
|
@@ -961,6 +975,12 @@ module Aws
|
|
|
961
975
|
access_point_id: ::String?,
|
|
962
976
|
iam: ("ENABLED" | "DISABLED")?
|
|
963
977
|
}?
|
|
978
|
+
}?,
|
|
979
|
+
s3files_volume_configuration: {
|
|
980
|
+
file_system_arn: ::String,
|
|
981
|
+
root_directory: ::String?,
|
|
982
|
+
transit_encryption_port: ::Integer?,
|
|
983
|
+
access_point_arn: ::String?
|
|
964
984
|
}?
|
|
965
985
|
},
|
|
966
986
|
]?,
|
|
@@ -1298,7 +1318,9 @@ module Aws
|
|
|
1298
1318
|
soft_limit: ::Integer
|
|
1299
1319
|
},
|
|
1300
1320
|
]?,
|
|
1301
|
-
user: ::String
|
|
1321
|
+
user: ::String?,
|
|
1322
|
+
start_timeout: ::Integer?,
|
|
1323
|
+
stop_timeout: ::Integer?
|
|
1302
1324
|
},
|
|
1303
1325
|
],
|
|
1304
1326
|
ephemeral_storage: {
|
|
@@ -1331,6 +1353,12 @@ module Aws
|
|
|
1331
1353
|
access_point_id: ::String?,
|
|
1332
1354
|
iam: ("ENABLED" | "DISABLED")?
|
|
1333
1355
|
}?
|
|
1356
|
+
}?,
|
|
1357
|
+
s3files_volume_configuration: {
|
|
1358
|
+
file_system_arn: ::String,
|
|
1359
|
+
root_directory: ::String?,
|
|
1360
|
+
transit_encryption_port: ::Integer?,
|
|
1361
|
+
access_point_arn: ::String?
|
|
1334
1362
|
}?
|
|
1335
1363
|
},
|
|
1336
1364
|
]?,
|
data/sig/types.rbs
CHANGED
|
@@ -1364,6 +1364,14 @@ module Aws::Batch
|
|
|
1364
1364
|
SENSITIVE: []
|
|
1365
1365
|
end
|
|
1366
1366
|
|
|
1367
|
+
class S3FilesVolumeConfiguration
|
|
1368
|
+
attr_accessor file_system_arn: ::String
|
|
1369
|
+
attr_accessor root_directory: ::String
|
|
1370
|
+
attr_accessor transit_encryption_port: ::Integer
|
|
1371
|
+
attr_accessor access_point_arn: ::String
|
|
1372
|
+
SENSITIVE: []
|
|
1373
|
+
end
|
|
1374
|
+
|
|
1367
1375
|
class SchedulingPolicyDetail
|
|
1368
1376
|
attr_accessor name: ::String
|
|
1369
1377
|
attr_accessor arn: ::String
|
|
@@ -1576,6 +1584,8 @@ module Aws::Batch
|
|
|
1576
1584
|
attr_accessor secrets: ::Array[Types::Secret]
|
|
1577
1585
|
attr_accessor ulimits: ::Array[Types::Ulimit]
|
|
1578
1586
|
attr_accessor user: ::String
|
|
1587
|
+
attr_accessor start_timeout: ::Integer
|
|
1588
|
+
attr_accessor stop_timeout: ::Integer
|
|
1579
1589
|
attr_accessor exit_code: ::Integer
|
|
1580
1590
|
attr_accessor reason: ::String
|
|
1581
1591
|
attr_accessor log_stream_name: ::String
|
|
@@ -1609,6 +1619,8 @@ module Aws::Batch
|
|
|
1609
1619
|
attr_accessor secrets: ::Array[Types::Secret]
|
|
1610
1620
|
attr_accessor ulimits: ::Array[Types::Ulimit]
|
|
1611
1621
|
attr_accessor user: ::String
|
|
1622
|
+
attr_accessor start_timeout: ::Integer
|
|
1623
|
+
attr_accessor stop_timeout: ::Integer
|
|
1612
1624
|
SENSITIVE: []
|
|
1613
1625
|
end
|
|
1614
1626
|
|
|
@@ -1768,6 +1780,7 @@ module Aws::Batch
|
|
|
1768
1780
|
attr_accessor host: Types::Host
|
|
1769
1781
|
attr_accessor name: ::String
|
|
1770
1782
|
attr_accessor efs_volume_configuration: Types::EFSVolumeConfiguration
|
|
1783
|
+
attr_accessor s3files_volume_configuration: Types::S3FilesVolumeConfiguration
|
|
1771
1784
|
SENSITIVE: []
|
|
1772
1785
|
end
|
|
1773
1786
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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.142.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Amazon Web Services
|
|
@@ -18,7 +18,7 @@ dependencies:
|
|
|
18
18
|
version: '3'
|
|
19
19
|
- - ">="
|
|
20
20
|
- !ruby/object:Gem::Version
|
|
21
|
-
version: 3.
|
|
21
|
+
version: 3.247.0
|
|
22
22
|
type: :runtime
|
|
23
23
|
prerelease: false
|
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -28,7 +28,7 @@ dependencies:
|
|
|
28
28
|
version: '3'
|
|
29
29
|
- - ">="
|
|
30
30
|
- !ruby/object:Gem::Version
|
|
31
|
-
version: 3.
|
|
31
|
+
version: 3.247.0
|
|
32
32
|
- !ruby/object:Gem::Dependency
|
|
33
33
|
name: aws-sigv4
|
|
34
34
|
requirement: !ruby/object:Gem::Requirement
|