aws-sdk-batch 1.140.0 → 1.141.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 +69 -1
- data/lib/aws-sdk-batch/client_api.rb +12 -0
- data/lib/aws-sdk-batch/types.rb +135 -54
- data/lib/aws-sdk-batch.rb +1 -1
- data/sig/client.rbs +30 -2
- data/sig/types.rbs +13 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5f49141cbc0727089e22ceff5ff79a4a738487855bf70a1d056d58eba5fda8cd
|
|
4
|
+
data.tar.gz: f9f83319a91581744e6b3441229c1dd1a864116649b5a888393e1898b1422e82
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c997fa68e145dd6b7728c28b88a9618791aa329a31bee2ffb635913ed96f889a38ac1cdb18f59691a6c60d09f980e5ff2321ccc5d034230fc12ba2fda3306192
|
|
7
|
+
data.tar.gz: 77d6c984198c71dd897a63c43cc34dfb682455a3a42cddd156b8cf368eb4f1b7090f0f60523042ee25c0bc0ccefc09bbceb8a90aa7bea13e0f6dfd0c49eb8f24
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.141.0
|
data/lib/aws-sdk-batch/client.rb
CHANGED
|
@@ -1978,6 +1978,10 @@ module Aws::Batch
|
|
|
1978
1978
|
# resp.job_definitions[0].container_properties.volumes[0].efs_volume_configuration.transit_encryption_port #=> Integer
|
|
1979
1979
|
# resp.job_definitions[0].container_properties.volumes[0].efs_volume_configuration.authorization_config.access_point_id #=> String
|
|
1980
1980
|
# resp.job_definitions[0].container_properties.volumes[0].efs_volume_configuration.authorization_config.iam #=> String, one of "ENABLED", "DISABLED"
|
|
1981
|
+
# resp.job_definitions[0].container_properties.volumes[0].s3files_volume_configuration.file_system_arn #=> String
|
|
1982
|
+
# resp.job_definitions[0].container_properties.volumes[0].s3files_volume_configuration.root_directory #=> String
|
|
1983
|
+
# resp.job_definitions[0].container_properties.volumes[0].s3files_volume_configuration.transit_encryption_port #=> Integer
|
|
1984
|
+
# resp.job_definitions[0].container_properties.volumes[0].s3files_volume_configuration.access_point_arn #=> String
|
|
1981
1985
|
# resp.job_definitions[0].container_properties.environment #=> Array
|
|
1982
1986
|
# resp.job_definitions[0].container_properties.environment[0].name #=> String
|
|
1983
1987
|
# resp.job_definitions[0].container_properties.environment[0].value #=> String
|
|
@@ -2047,6 +2051,10 @@ module Aws::Batch
|
|
|
2047
2051
|
# resp.job_definitions[0].node_properties.node_range_properties[0].container.volumes[0].efs_volume_configuration.transit_encryption_port #=> Integer
|
|
2048
2052
|
# resp.job_definitions[0].node_properties.node_range_properties[0].container.volumes[0].efs_volume_configuration.authorization_config.access_point_id #=> String
|
|
2049
2053
|
# resp.job_definitions[0].node_properties.node_range_properties[0].container.volumes[0].efs_volume_configuration.authorization_config.iam #=> String, one of "ENABLED", "DISABLED"
|
|
2054
|
+
# resp.job_definitions[0].node_properties.node_range_properties[0].container.volumes[0].s3files_volume_configuration.file_system_arn #=> String
|
|
2055
|
+
# resp.job_definitions[0].node_properties.node_range_properties[0].container.volumes[0].s3files_volume_configuration.root_directory #=> String
|
|
2056
|
+
# resp.job_definitions[0].node_properties.node_range_properties[0].container.volumes[0].s3files_volume_configuration.transit_encryption_port #=> Integer
|
|
2057
|
+
# resp.job_definitions[0].node_properties.node_range_properties[0].container.volumes[0].s3files_volume_configuration.access_point_arn #=> String
|
|
2050
2058
|
# resp.job_definitions[0].node_properties.node_range_properties[0].container.environment #=> Array
|
|
2051
2059
|
# resp.job_definitions[0].node_properties.node_range_properties[0].container.environment[0].name #=> String
|
|
2052
2060
|
# resp.job_definitions[0].node_properties.node_range_properties[0].container.environment[0].value #=> String
|
|
@@ -2151,6 +2159,8 @@ module Aws::Batch
|
|
|
2151
2159
|
# resp.job_definitions[0].node_properties.node_range_properties[0].ecs_properties.task_properties[0].containers[0].ulimits[0].name #=> String
|
|
2152
2160
|
# resp.job_definitions[0].node_properties.node_range_properties[0].ecs_properties.task_properties[0].containers[0].ulimits[0].soft_limit #=> Integer
|
|
2153
2161
|
# resp.job_definitions[0].node_properties.node_range_properties[0].ecs_properties.task_properties[0].containers[0].user #=> String
|
|
2162
|
+
# resp.job_definitions[0].node_properties.node_range_properties[0].ecs_properties.task_properties[0].containers[0].start_timeout #=> Integer
|
|
2163
|
+
# resp.job_definitions[0].node_properties.node_range_properties[0].ecs_properties.task_properties[0].containers[0].stop_timeout #=> Integer
|
|
2154
2164
|
# resp.job_definitions[0].node_properties.node_range_properties[0].ecs_properties.task_properties[0].ephemeral_storage.size_in_gi_b #=> Integer
|
|
2155
2165
|
# resp.job_definitions[0].node_properties.node_range_properties[0].ecs_properties.task_properties[0].execution_role_arn #=> String
|
|
2156
2166
|
# resp.job_definitions[0].node_properties.node_range_properties[0].ecs_properties.task_properties[0].platform_version #=> String
|
|
@@ -2169,6 +2179,10 @@ module Aws::Batch
|
|
|
2169
2179
|
# 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
2180
|
# 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
2181
|
# 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"
|
|
2182
|
+
# resp.job_definitions[0].node_properties.node_range_properties[0].ecs_properties.task_properties[0].volumes[0].s3files_volume_configuration.file_system_arn #=> String
|
|
2183
|
+
# resp.job_definitions[0].node_properties.node_range_properties[0].ecs_properties.task_properties[0].volumes[0].s3files_volume_configuration.root_directory #=> String
|
|
2184
|
+
# resp.job_definitions[0].node_properties.node_range_properties[0].ecs_properties.task_properties[0].volumes[0].s3files_volume_configuration.transit_encryption_port #=> Integer
|
|
2185
|
+
# 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
2186
|
# resp.job_definitions[0].node_properties.node_range_properties[0].ecs_properties.task_properties[0].enable_execute_command #=> Boolean
|
|
2173
2187
|
# resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.service_account_name #=> String
|
|
2174
2188
|
# resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.host_network #=> Boolean
|
|
@@ -2304,6 +2318,8 @@ module Aws::Batch
|
|
|
2304
2318
|
# resp.job_definitions[0].ecs_properties.task_properties[0].containers[0].ulimits[0].name #=> String
|
|
2305
2319
|
# resp.job_definitions[0].ecs_properties.task_properties[0].containers[0].ulimits[0].soft_limit #=> Integer
|
|
2306
2320
|
# resp.job_definitions[0].ecs_properties.task_properties[0].containers[0].user #=> String
|
|
2321
|
+
# resp.job_definitions[0].ecs_properties.task_properties[0].containers[0].start_timeout #=> Integer
|
|
2322
|
+
# resp.job_definitions[0].ecs_properties.task_properties[0].containers[0].stop_timeout #=> Integer
|
|
2307
2323
|
# resp.job_definitions[0].ecs_properties.task_properties[0].ephemeral_storage.size_in_gi_b #=> Integer
|
|
2308
2324
|
# resp.job_definitions[0].ecs_properties.task_properties[0].execution_role_arn #=> String
|
|
2309
2325
|
# resp.job_definitions[0].ecs_properties.task_properties[0].platform_version #=> String
|
|
@@ -2322,6 +2338,10 @@ module Aws::Batch
|
|
|
2322
2338
|
# resp.job_definitions[0].ecs_properties.task_properties[0].volumes[0].efs_volume_configuration.transit_encryption_port #=> Integer
|
|
2323
2339
|
# resp.job_definitions[0].ecs_properties.task_properties[0].volumes[0].efs_volume_configuration.authorization_config.access_point_id #=> String
|
|
2324
2340
|
# resp.job_definitions[0].ecs_properties.task_properties[0].volumes[0].efs_volume_configuration.authorization_config.iam #=> String, one of "ENABLED", "DISABLED"
|
|
2341
|
+
# resp.job_definitions[0].ecs_properties.task_properties[0].volumes[0].s3files_volume_configuration.file_system_arn #=> String
|
|
2342
|
+
# resp.job_definitions[0].ecs_properties.task_properties[0].volumes[0].s3files_volume_configuration.root_directory #=> String
|
|
2343
|
+
# resp.job_definitions[0].ecs_properties.task_properties[0].volumes[0].s3files_volume_configuration.transit_encryption_port #=> Integer
|
|
2344
|
+
# resp.job_definitions[0].ecs_properties.task_properties[0].volumes[0].s3files_volume_configuration.access_point_arn #=> String
|
|
2325
2345
|
# resp.job_definitions[0].ecs_properties.task_properties[0].enable_execute_command #=> Boolean
|
|
2326
2346
|
# resp.job_definitions[0].eks_properties.pod_properties.service_account_name #=> String
|
|
2327
2347
|
# resp.job_definitions[0].eks_properties.pod_properties.host_network #=> Boolean
|
|
@@ -2651,6 +2671,10 @@ module Aws::Batch
|
|
|
2651
2671
|
# resp.jobs[0].container.volumes[0].efs_volume_configuration.transit_encryption_port #=> Integer
|
|
2652
2672
|
# resp.jobs[0].container.volumes[0].efs_volume_configuration.authorization_config.access_point_id #=> String
|
|
2653
2673
|
# resp.jobs[0].container.volumes[0].efs_volume_configuration.authorization_config.iam #=> String, one of "ENABLED", "DISABLED"
|
|
2674
|
+
# resp.jobs[0].container.volumes[0].s3files_volume_configuration.file_system_arn #=> String
|
|
2675
|
+
# resp.jobs[0].container.volumes[0].s3files_volume_configuration.root_directory #=> String
|
|
2676
|
+
# resp.jobs[0].container.volumes[0].s3files_volume_configuration.transit_encryption_port #=> Integer
|
|
2677
|
+
# resp.jobs[0].container.volumes[0].s3files_volume_configuration.access_point_arn #=> String
|
|
2654
2678
|
# resp.jobs[0].container.environment #=> Array
|
|
2655
2679
|
# resp.jobs[0].container.environment[0].name #=> String
|
|
2656
2680
|
# resp.jobs[0].container.environment[0].value #=> String
|
|
@@ -2730,6 +2754,10 @@ module Aws::Batch
|
|
|
2730
2754
|
# resp.jobs[0].node_properties.node_range_properties[0].container.volumes[0].efs_volume_configuration.transit_encryption_port #=> Integer
|
|
2731
2755
|
# resp.jobs[0].node_properties.node_range_properties[0].container.volumes[0].efs_volume_configuration.authorization_config.access_point_id #=> String
|
|
2732
2756
|
# resp.jobs[0].node_properties.node_range_properties[0].container.volumes[0].efs_volume_configuration.authorization_config.iam #=> String, one of "ENABLED", "DISABLED"
|
|
2757
|
+
# resp.jobs[0].node_properties.node_range_properties[0].container.volumes[0].s3files_volume_configuration.file_system_arn #=> String
|
|
2758
|
+
# resp.jobs[0].node_properties.node_range_properties[0].container.volumes[0].s3files_volume_configuration.root_directory #=> String
|
|
2759
|
+
# resp.jobs[0].node_properties.node_range_properties[0].container.volumes[0].s3files_volume_configuration.transit_encryption_port #=> Integer
|
|
2760
|
+
# resp.jobs[0].node_properties.node_range_properties[0].container.volumes[0].s3files_volume_configuration.access_point_arn #=> String
|
|
2733
2761
|
# resp.jobs[0].node_properties.node_range_properties[0].container.environment #=> Array
|
|
2734
2762
|
# resp.jobs[0].node_properties.node_range_properties[0].container.environment[0].name #=> String
|
|
2735
2763
|
# resp.jobs[0].node_properties.node_range_properties[0].container.environment[0].value #=> String
|
|
@@ -2834,6 +2862,8 @@ module Aws::Batch
|
|
|
2834
2862
|
# resp.jobs[0].node_properties.node_range_properties[0].ecs_properties.task_properties[0].containers[0].ulimits[0].name #=> String
|
|
2835
2863
|
# resp.jobs[0].node_properties.node_range_properties[0].ecs_properties.task_properties[0].containers[0].ulimits[0].soft_limit #=> Integer
|
|
2836
2864
|
# resp.jobs[0].node_properties.node_range_properties[0].ecs_properties.task_properties[0].containers[0].user #=> String
|
|
2865
|
+
# resp.jobs[0].node_properties.node_range_properties[0].ecs_properties.task_properties[0].containers[0].start_timeout #=> Integer
|
|
2866
|
+
# resp.jobs[0].node_properties.node_range_properties[0].ecs_properties.task_properties[0].containers[0].stop_timeout #=> Integer
|
|
2837
2867
|
# resp.jobs[0].node_properties.node_range_properties[0].ecs_properties.task_properties[0].ephemeral_storage.size_in_gi_b #=> Integer
|
|
2838
2868
|
# resp.jobs[0].node_properties.node_range_properties[0].ecs_properties.task_properties[0].execution_role_arn #=> String
|
|
2839
2869
|
# resp.jobs[0].node_properties.node_range_properties[0].ecs_properties.task_properties[0].platform_version #=> String
|
|
@@ -2852,6 +2882,10 @@ module Aws::Batch
|
|
|
2852
2882
|
# resp.jobs[0].node_properties.node_range_properties[0].ecs_properties.task_properties[0].volumes[0].efs_volume_configuration.transit_encryption_port #=> Integer
|
|
2853
2883
|
# 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
2884
|
# 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"
|
|
2885
|
+
# resp.jobs[0].node_properties.node_range_properties[0].ecs_properties.task_properties[0].volumes[0].s3files_volume_configuration.file_system_arn #=> String
|
|
2886
|
+
# resp.jobs[0].node_properties.node_range_properties[0].ecs_properties.task_properties[0].volumes[0].s3files_volume_configuration.root_directory #=> String
|
|
2887
|
+
# resp.jobs[0].node_properties.node_range_properties[0].ecs_properties.task_properties[0].volumes[0].s3files_volume_configuration.transit_encryption_port #=> Integer
|
|
2888
|
+
# resp.jobs[0].node_properties.node_range_properties[0].ecs_properties.task_properties[0].volumes[0].s3files_volume_configuration.access_point_arn #=> String
|
|
2855
2889
|
# resp.jobs[0].node_properties.node_range_properties[0].ecs_properties.task_properties[0].enable_execute_command #=> Boolean
|
|
2856
2890
|
# resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.service_account_name #=> String
|
|
2857
2891
|
# resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.host_network #=> Boolean
|
|
@@ -3089,6 +3123,8 @@ module Aws::Batch
|
|
|
3089
3123
|
# resp.jobs[0].ecs_properties.task_properties[0].containers[0].ulimits[0].name #=> String
|
|
3090
3124
|
# resp.jobs[0].ecs_properties.task_properties[0].containers[0].ulimits[0].soft_limit #=> Integer
|
|
3091
3125
|
# resp.jobs[0].ecs_properties.task_properties[0].containers[0].user #=> String
|
|
3126
|
+
# resp.jobs[0].ecs_properties.task_properties[0].containers[0].start_timeout #=> Integer
|
|
3127
|
+
# resp.jobs[0].ecs_properties.task_properties[0].containers[0].stop_timeout #=> Integer
|
|
3092
3128
|
# resp.jobs[0].ecs_properties.task_properties[0].containers[0].exit_code #=> Integer
|
|
3093
3129
|
# resp.jobs[0].ecs_properties.task_properties[0].containers[0].reason #=> String
|
|
3094
3130
|
# resp.jobs[0].ecs_properties.task_properties[0].containers[0].log_stream_name #=> String
|
|
@@ -3116,6 +3152,10 @@ module Aws::Batch
|
|
|
3116
3152
|
# resp.jobs[0].ecs_properties.task_properties[0].volumes[0].efs_volume_configuration.transit_encryption_port #=> Integer
|
|
3117
3153
|
# resp.jobs[0].ecs_properties.task_properties[0].volumes[0].efs_volume_configuration.authorization_config.access_point_id #=> String
|
|
3118
3154
|
# resp.jobs[0].ecs_properties.task_properties[0].volumes[0].efs_volume_configuration.authorization_config.iam #=> String, one of "ENABLED", "DISABLED"
|
|
3155
|
+
# resp.jobs[0].ecs_properties.task_properties[0].volumes[0].s3files_volume_configuration.file_system_arn #=> String
|
|
3156
|
+
# resp.jobs[0].ecs_properties.task_properties[0].volumes[0].s3files_volume_configuration.root_directory #=> String
|
|
3157
|
+
# resp.jobs[0].ecs_properties.task_properties[0].volumes[0].s3files_volume_configuration.transit_encryption_port #=> Integer
|
|
3158
|
+
# resp.jobs[0].ecs_properties.task_properties[0].volumes[0].s3files_volume_configuration.access_point_arn #=> String
|
|
3119
3159
|
# resp.jobs[0].ecs_properties.task_properties[0].enable_execute_command #=> Boolean
|
|
3120
3160
|
# resp.jobs[0].is_cancelled #=> Boolean
|
|
3121
3161
|
# resp.jobs[0].is_terminated #=> Boolean
|
|
@@ -4467,6 +4507,12 @@ module Aws::Batch
|
|
|
4467
4507
|
# iam: "ENABLED", # accepts ENABLED, DISABLED
|
|
4468
4508
|
# },
|
|
4469
4509
|
# },
|
|
4510
|
+
# s3files_volume_configuration: {
|
|
4511
|
+
# file_system_arn: "String", # required
|
|
4512
|
+
# root_directory: "String",
|
|
4513
|
+
# transit_encryption_port: 1,
|
|
4514
|
+
# access_point_arn: "String",
|
|
4515
|
+
# },
|
|
4470
4516
|
# },
|
|
4471
4517
|
# ],
|
|
4472
4518
|
# environment: [
|
|
@@ -4584,6 +4630,12 @@ module Aws::Batch
|
|
|
4584
4630
|
# iam: "ENABLED", # accepts ENABLED, DISABLED
|
|
4585
4631
|
# },
|
|
4586
4632
|
# },
|
|
4633
|
+
# s3files_volume_configuration: {
|
|
4634
|
+
# file_system_arn: "String", # required
|
|
4635
|
+
# root_directory: "String",
|
|
4636
|
+
# transit_encryption_port: 1,
|
|
4637
|
+
# access_point_arn: "String",
|
|
4638
|
+
# },
|
|
4587
4639
|
# },
|
|
4588
4640
|
# ],
|
|
4589
4641
|
# environment: [
|
|
@@ -4764,6 +4816,8 @@ module Aws::Batch
|
|
|
4764
4816
|
# },
|
|
4765
4817
|
# ],
|
|
4766
4818
|
# user: "String",
|
|
4819
|
+
# start_timeout: 1,
|
|
4820
|
+
# stop_timeout: 1,
|
|
4767
4821
|
# },
|
|
4768
4822
|
# ],
|
|
4769
4823
|
# ephemeral_storage: {
|
|
@@ -4797,6 +4851,12 @@ module Aws::Batch
|
|
|
4797
4851
|
# iam: "ENABLED", # accepts ENABLED, DISABLED
|
|
4798
4852
|
# },
|
|
4799
4853
|
# },
|
|
4854
|
+
# s3files_volume_configuration: {
|
|
4855
|
+
# file_system_arn: "String", # required
|
|
4856
|
+
# root_directory: "String",
|
|
4857
|
+
# transit_encryption_port: 1,
|
|
4858
|
+
# access_point_arn: "String",
|
|
4859
|
+
# },
|
|
4800
4860
|
# },
|
|
4801
4861
|
# ],
|
|
4802
4862
|
# enable_execute_command: false,
|
|
@@ -5164,6 +5224,8 @@ module Aws::Batch
|
|
|
5164
5224
|
# },
|
|
5165
5225
|
# ],
|
|
5166
5226
|
# user: "String",
|
|
5227
|
+
# start_timeout: 1,
|
|
5228
|
+
# stop_timeout: 1,
|
|
5167
5229
|
# },
|
|
5168
5230
|
# ],
|
|
5169
5231
|
# ephemeral_storage: {
|
|
@@ -5197,6 +5259,12 @@ module Aws::Batch
|
|
|
5197
5259
|
# iam: "ENABLED", # accepts ENABLED, DISABLED
|
|
5198
5260
|
# },
|
|
5199
5261
|
# },
|
|
5262
|
+
# s3files_volume_configuration: {
|
|
5263
|
+
# file_system_arn: "String", # required
|
|
5264
|
+
# root_directory: "String",
|
|
5265
|
+
# transit_encryption_port: 1,
|
|
5266
|
+
# access_point_arn: "String",
|
|
5267
|
+
# },
|
|
5200
5268
|
# },
|
|
5201
5269
|
# ],
|
|
5202
5270
|
# enable_execute_command: false,
|
|
@@ -6598,7 +6666,7 @@ module Aws::Batch
|
|
|
6598
6666
|
tracer: tracer
|
|
6599
6667
|
)
|
|
6600
6668
|
context[:gem_name] = 'aws-sdk-batch'
|
|
6601
|
-
context[:gem_version] = '1.
|
|
6669
|
+
context[:gem_version] = '1.141.0'
|
|
6602
6670
|
Seahorse::Client::Request.new(handlers, context)
|
|
6603
6671
|
end
|
|
6604
6672
|
|
|
@@ -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
|
@@ -731,9 +731,9 @@ module Aws::Batch
|
|
|
731
731
|
# compute environment. For example, if your compute environment uses
|
|
732
732
|
# A1 instance types, the compute resource AMI that you choose must
|
|
733
733
|
# 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*.
|
|
734
|
+
# the Amazon ECS-optimized Amazon Linux 2023 AMI. For more
|
|
735
|
+
# information, see [Amazon ECS-optimized Amazon Linux 2023 AMI][1] in
|
|
736
|
+
# the *Amazon Elastic Container Service Developer Guide*.
|
|
737
737
|
#
|
|
738
738
|
# </note>
|
|
739
739
|
#
|
|
@@ -916,7 +916,7 @@ module Aws::Batch
|
|
|
916
916
|
# @!attribute [rw] ec2_configuration
|
|
917
917
|
# Provides information that's used to select Amazon Machine Images
|
|
918
918
|
# (AMIs) for Amazon EC2 instances in the compute environment. If
|
|
919
|
-
# `Ec2Configuration` isn't specified, the default is `
|
|
919
|
+
# `Ec2Configuration` isn't specified, the default is `ECS_AL2023` for
|
|
920
920
|
# EC2 (ECS) compute environments and `EKS_AL2023` for EKS compute
|
|
921
921
|
# environments.
|
|
922
922
|
#
|
|
@@ -1359,7 +1359,7 @@ module Aws::Batch
|
|
|
1359
1359
|
# @!attribute [rw] ec2_configuration
|
|
1360
1360
|
# Provides information used to select Amazon Machine Images (AMIs) for
|
|
1361
1361
|
# Amazon EC2 instances in the compute environment. If
|
|
1362
|
-
# `Ec2Configuration` isn't specified, the default is `
|
|
1362
|
+
# `Ec2Configuration` isn't specified, the default is `ECS_AL2023` for
|
|
1363
1363
|
# EC2 (ECS) compute environments and `EKS_AL2023` for EKS compute
|
|
1364
1364
|
# environments.
|
|
1365
1365
|
#
|
|
@@ -1450,9 +1450,9 @@ module Aws::Batch
|
|
|
1450
1450
|
# compute environment. For example, if your compute environment uses
|
|
1451
1451
|
# A1 instance types, the compute resource AMI that you choose must
|
|
1452
1452
|
# 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*.
|
|
1453
|
+
# the Amazon ECS-optimized Amazon Linux 2023 AMI. For more
|
|
1454
|
+
# information, see [Amazon ECS-optimized Amazon Linux 2023 AMI][2] in
|
|
1455
|
+
# the *Amazon Elastic Container Service Developer Guide*.
|
|
1456
1456
|
#
|
|
1457
1457
|
# </note>
|
|
1458
1458
|
#
|
|
@@ -3827,8 +3827,8 @@ module Aws::Batch
|
|
|
3827
3827
|
|
|
3828
3828
|
# Provides information used to select Amazon Machine Images (AMIs) for
|
|
3829
3829
|
# instances in the compute environment. If `Ec2Configuration` isn't
|
|
3830
|
-
# specified, the default is `
|
|
3831
|
-
# Linux
|
|
3830
|
+
# specified, the default is `ECS_AL2023` ([Amazon ECS-optimized Amazon
|
|
3831
|
+
# Linux 2023][1]) for EC2 (ECS) compute environments and `EKS_AL2023`
|
|
3832
3832
|
# ([Amazon EKS-optimized Amazon Linux 2023 AMI][2]) for EKS compute
|
|
3833
3833
|
# environments.
|
|
3834
3834
|
#
|
|
@@ -3839,7 +3839,7 @@ module Aws::Batch
|
|
|
3839
3839
|
#
|
|
3840
3840
|
#
|
|
3841
3841
|
#
|
|
3842
|
-
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html
|
|
3842
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html
|
|
3843
3843
|
# [2]: https://docs.aws.amazon.com/eks/latest/userguide/eks-optimized-ami.html
|
|
3844
3844
|
#
|
|
3845
3845
|
# @!attribute [rw] image_type
|
|
@@ -3849,34 +3849,37 @@ module Aws::Batch
|
|
|
3849
3849
|
# ECS
|
|
3850
3850
|
#
|
|
3851
3851
|
# : 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
|
|
3852
|
+
# [Amazon ECS-optimized Amazon Linux 2023 AMI][1] (`ECS_AL2023`) is
|
|
3853
|
+
# used. If a new image type is specified in an update, but neither
|
|
3854
|
+
# an `imageId` nor a `imageIdOverride` parameter is specified, then
|
|
3855
|
+
# the latest Amazon ECS optimized AMI for that image type that's
|
|
3856
3856
|
# supported by Batch is used.
|
|
3857
3857
|
#
|
|
3858
|
-
# Amazon Web Services
|
|
3859
|
-
#
|
|
3860
|
-
# Batch
|
|
3861
|
-
# environments from Amazon Linux 2 to Amazon Linux 2023.
|
|
3862
|
-
#
|
|
3863
|
-
#
|
|
3864
|
-
#
|
|
3865
|
-
#
|
|
3858
|
+
# Amazon Web Services is ending support for Amazon ECS Amazon Linux
|
|
3859
|
+
# 2-optimized and accelerated AMIs on June 30, 2026. On January 12,
|
|
3860
|
+
# 2026, Batch changed the default AMI for new Amazon ECS compute
|
|
3861
|
+
# environments from Amazon Linux 2 to Amazon Linux 2023. Effective
|
|
3862
|
+
# June 30, 2026, Batch will block creation of new Amazon ECS compute
|
|
3863
|
+
# environments using Batch-provided Amazon Linux 2 AMIs. We strongly
|
|
3864
|
+
# recommend migrating your existing Batch Amazon ECS compute
|
|
3865
|
+
# environments to Amazon Linux 2023 prior to June 30, 2026. For more
|
|
3866
|
+
# information on upgrading from AL2 to AL2023, see [How to migrate
|
|
3867
|
+
# from ECS AL2 to ECS AL2023][2] in the *Batch User Guide*.
|
|
3866
3868
|
#
|
|
3867
3869
|
# ECS\_AL2
|
|
3868
3870
|
#
|
|
3869
|
-
# : [Amazon Linux 2][1]:
|
|
3871
|
+
# : [Amazon Linux 2][1]: Used for non-GPU instance families.
|
|
3870
3872
|
#
|
|
3871
3873
|
# ECS\_AL2\_NVIDIA
|
|
3872
3874
|
#
|
|
3873
|
-
# : [Amazon Linux 2 (GPU)][3]:
|
|
3874
|
-
#
|
|
3875
|
-
#
|
|
3875
|
+
# : [Amazon Linux 2 (GPU)][3]: Used for GPU instance families (for
|
|
3876
|
+
# example `P4` and `G4`) and non Amazon Web Services
|
|
3877
|
+
# Graviton-based instance types.
|
|
3876
3878
|
#
|
|
3877
3879
|
# ECS\_AL2023
|
|
3878
3880
|
#
|
|
3879
|
-
# : [Amazon Linux 2023][
|
|
3881
|
+
# : [Amazon Linux 2023][1]: Default for all non-GPU instance
|
|
3882
|
+
# families.
|
|
3880
3883
|
#
|
|
3881
3884
|
# <note markdown="1"> Amazon Linux 2023 does not support `A1` instances.
|
|
3882
3885
|
#
|
|
@@ -3884,9 +3887,9 @@ module Aws::Batch
|
|
|
3884
3887
|
#
|
|
3885
3888
|
# ECS\_AL2023\_NVIDIA
|
|
3886
3889
|
#
|
|
3887
|
-
# : [Amazon Linux 2023 (GPU)][3]:
|
|
3888
|
-
# can be used for all non Amazon Web Services
|
|
3889
|
-
# instance types.
|
|
3890
|
+
# : [Amazon Linux 2023 (GPU)][3]: Default for all GPU instance
|
|
3891
|
+
# families and can be used for all non Amazon Web Services
|
|
3892
|
+
# Graviton-based instance types.
|
|
3890
3893
|
#
|
|
3891
3894
|
# <note markdown="1"> ECS\_AL2023\_NVIDIA doesn't support `p3` and `g3` instance
|
|
3892
3895
|
# types.
|
|
@@ -3896,7 +3899,7 @@ module Aws::Batch
|
|
|
3896
3899
|
# EKS
|
|
3897
3900
|
#
|
|
3898
3901
|
# : If the `imageIdOverride` parameter isn't specified, then a recent
|
|
3899
|
-
# [Amazon EKS-optimized Amazon Linux 2023 AMI][
|
|
3902
|
+
# [Amazon EKS-optimized Amazon Linux 2023 AMI][4] (`EKS_AL2023`) is
|
|
3900
3903
|
# used. If a new image type is specified in an update, but neither
|
|
3901
3904
|
# an `imageId` nor a `imageIdOverride` parameter is specified, then
|
|
3902
3905
|
# the latest Amazon EKS optimized AMI for that image type that Batch
|
|
@@ -3904,29 +3907,28 @@ module Aws::Batch
|
|
|
3904
3907
|
#
|
|
3905
3908
|
# Amazon Linux 2023 AMIs are the default on Batch for Amazon EKS.
|
|
3906
3909
|
#
|
|
3907
|
-
# Amazon Web Services
|
|
3908
|
-
# and
|
|
3909
|
-
#
|
|
3910
|
-
#
|
|
3911
|
-
#
|
|
3912
|
-
#
|
|
3913
|
-
#
|
|
3914
|
-
#
|
|
3915
|
-
# in the *Batch User Guide*.
|
|
3910
|
+
# Amazon Web Services ended support for Amazon EKS AL2-optimized
|
|
3911
|
+
# and
|
|
3912
|
+
# AL2-accelerated AMIs on November 26, 2025. Batch Amazon EKS
|
|
3913
|
+
# compute environments using Amazon Linux 2 will no longer receive
|
|
3914
|
+
# software updates, security patches, or bug fixes from Amazon Web
|
|
3915
|
+
# Services. We recommend migrating to Amazon Linux 2023. For more
|
|
3916
|
+
# information on upgrading from AL2 to AL2023, see [How to upgrade
|
|
3917
|
+
# from EKS AL2 to EKS AL2023][5] in the *Batch User Guide*.
|
|
3916
3918
|
#
|
|
3917
3919
|
# EKS\_AL2
|
|
3918
3920
|
#
|
|
3919
|
-
# : [Amazon Linux 2][
|
|
3921
|
+
# : [Amazon Linux 2][4]: Used for non-GPU instance families.
|
|
3920
3922
|
#
|
|
3921
3923
|
# EKS\_AL2\_NVIDIA
|
|
3922
3924
|
#
|
|
3923
|
-
# : [Amazon Linux 2 (accelerated)][
|
|
3925
|
+
# : [Amazon Linux 2 (accelerated)][4]: Used for GPU instance
|
|
3924
3926
|
# families (for example, `P4` and `G4`) and can be used for all
|
|
3925
3927
|
# non Amazon Web Services Graviton-based instance types.
|
|
3926
3928
|
#
|
|
3927
3929
|
# EKS\_AL2023
|
|
3928
3930
|
#
|
|
3929
|
-
# : [Amazon Linux 2023][
|
|
3931
|
+
# : [Amazon Linux 2023][4]: Default for non-GPU instance families.
|
|
3930
3932
|
#
|
|
3931
3933
|
# <note markdown="1"> Amazon Linux 2023 does not support `A1` instances.
|
|
3932
3934
|
#
|
|
@@ -3934,18 +3936,17 @@ module Aws::Batch
|
|
|
3934
3936
|
#
|
|
3935
3937
|
# EKS\_AL2023\_NVIDIA
|
|
3936
3938
|
#
|
|
3937
|
-
# : [Amazon Linux 2023 (accelerated)][
|
|
3939
|
+
# : [Amazon Linux 2023 (accelerated)][4]: Default for GPU instance
|
|
3938
3940
|
# families and can be used for all non Amazon Web Services
|
|
3939
3941
|
# Graviton-based instance types.
|
|
3940
3942
|
#
|
|
3941
3943
|
#
|
|
3942
3944
|
#
|
|
3943
|
-
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html
|
|
3945
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html
|
|
3944
3946
|
# [2]: https://docs.aws.amazon.com/batch/latest/userguide/ecs-migration-2023.html
|
|
3945
3947
|
# [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
|
|
3948
|
+
# [4]: https://docs.aws.amazon.com/eks/latest/userguide/eks-optimized-ami.html
|
|
3949
|
+
# [5]: https://docs.aws.amazon.com/batch/latest/userguide/eks-migration-2023.html
|
|
3949
3950
|
# @return [String]
|
|
3950
3951
|
#
|
|
3951
3952
|
# @!attribute [rw] image_id_override
|
|
@@ -3958,9 +3959,9 @@ module Aws::Batch
|
|
|
3958
3959
|
# compute environment. For example, if your compute environment uses
|
|
3959
3960
|
# A1 instance types, the compute resource AMI that you choose must
|
|
3960
3961
|
# 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*.
|
|
3962
|
+
# the Amazon ECS-optimized Amazon Linux 2023 AMI. For more
|
|
3963
|
+
# information, see [Amazon ECS-optimized Amazon Linux 2023 AMI][1] in
|
|
3964
|
+
# the *Amazon Elastic Container Service Developer Guide*.
|
|
3964
3965
|
#
|
|
3965
3966
|
# </note>
|
|
3966
3967
|
#
|
|
@@ -9056,6 +9057,38 @@ module Aws::Batch
|
|
|
9056
9057
|
include Aws::Structure
|
|
9057
9058
|
end
|
|
9058
9059
|
|
|
9060
|
+
# This is used when you're using an S3Files file system for job
|
|
9061
|
+
# storage.
|
|
9062
|
+
#
|
|
9063
|
+
# @!attribute [rw] file_system_arn
|
|
9064
|
+
# The Amazon Resource Name (ARN) of the S3Files file system to use.
|
|
9065
|
+
# @return [String]
|
|
9066
|
+
#
|
|
9067
|
+
# @!attribute [rw] root_directory
|
|
9068
|
+
# The directory within the S3Files file system to mount as the root
|
|
9069
|
+
# directory.
|
|
9070
|
+
# @return [String]
|
|
9071
|
+
#
|
|
9072
|
+
# @!attribute [rw] transit_encryption_port
|
|
9073
|
+
# The port to use when sending encrypted data between the Amazon ECS
|
|
9074
|
+
# host and the S3Files file system server.
|
|
9075
|
+
# @return [Integer]
|
|
9076
|
+
#
|
|
9077
|
+
# @!attribute [rw] access_point_arn
|
|
9078
|
+
# The Amazon Resource Name (ARN) of the S3Files access point to use.
|
|
9079
|
+
# @return [String]
|
|
9080
|
+
#
|
|
9081
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/S3FilesVolumeConfiguration AWS API Documentation
|
|
9082
|
+
#
|
|
9083
|
+
class S3FilesVolumeConfiguration < Struct.new(
|
|
9084
|
+
:file_system_arn,
|
|
9085
|
+
:root_directory,
|
|
9086
|
+
:transit_encryption_port,
|
|
9087
|
+
:access_point_arn)
|
|
9088
|
+
SENSITIVE = []
|
|
9089
|
+
include Aws::Structure
|
|
9090
|
+
end
|
|
9091
|
+
|
|
9059
9092
|
# An object that represents a scheduling policy.
|
|
9060
9093
|
#
|
|
9061
9094
|
# @!attribute [rw] name
|
|
@@ -10288,6 +10321,25 @@ module Aws::Batch
|
|
|
10288
10321
|
# </note>
|
|
10289
10322
|
# @return [String]
|
|
10290
10323
|
#
|
|
10324
|
+
# @!attribute [rw] start_timeout
|
|
10325
|
+
# Time duration (in seconds) to wait before giving up on resolving
|
|
10326
|
+
# dependencies for a container. The minimum value is 2 seconds and the
|
|
10327
|
+
# maximum value for Fargate is 120 seconds.
|
|
10328
|
+
# @return [Integer]
|
|
10329
|
+
#
|
|
10330
|
+
# @!attribute [rw] stop_timeout
|
|
10331
|
+
# Time duration (in seconds) to wait before the container is
|
|
10332
|
+
# forcefully killed if it doesn't exit normally on its own. The
|
|
10333
|
+
# minimum value is 2 seconds and the maximum value for Fargate is 120
|
|
10334
|
+
# seconds. If the parameter is not specified, the default value of 30
|
|
10335
|
+
# seconds is used. For tasks that use the EC2 launch type, if the
|
|
10336
|
+
# `stopTimeout` parameter isn't specified, the value set for the
|
|
10337
|
+
# Amazon ECS container agent configuration variable
|
|
10338
|
+
# `ECS_CONTAINER_STOP_TIMEOUT` is used. If neither the `stopTimeout`
|
|
10339
|
+
# parameter nor the `ECS_CONTAINER_STOP_TIMEOUT` agent configuration
|
|
10340
|
+
# variable are set, then the default value of 30 seconds is used.
|
|
10341
|
+
# @return [Integer]
|
|
10342
|
+
#
|
|
10291
10343
|
# @!attribute [rw] exit_code
|
|
10292
10344
|
# The exit code returned upon completion.
|
|
10293
10345
|
# @return [Integer]
|
|
@@ -10328,6 +10380,8 @@ module Aws::Batch
|
|
|
10328
10380
|
:secrets,
|
|
10329
10381
|
:ulimits,
|
|
10330
10382
|
:user,
|
|
10383
|
+
:start_timeout,
|
|
10384
|
+
:stop_timeout,
|
|
10331
10385
|
:exit_code,
|
|
10332
10386
|
:reason,
|
|
10333
10387
|
:log_stream_name,
|
|
@@ -10679,6 +10733,25 @@ module Aws::Batch
|
|
|
10679
10733
|
# </note>
|
|
10680
10734
|
# @return [String]
|
|
10681
10735
|
#
|
|
10736
|
+
# @!attribute [rw] start_timeout
|
|
10737
|
+
# Time duration (in seconds) to wait before giving up on resolving
|
|
10738
|
+
# dependencies for a container. The minimum value is 2 seconds and the
|
|
10739
|
+
# maximum value for Fargate is 120 seconds.
|
|
10740
|
+
# @return [Integer]
|
|
10741
|
+
#
|
|
10742
|
+
# @!attribute [rw] stop_timeout
|
|
10743
|
+
# Time duration (in seconds) to wait before the container is
|
|
10744
|
+
# forcefully killed if it doesn't exit normally on its own. The
|
|
10745
|
+
# minimum value is 2 seconds and the maximum value for Fargate is 120
|
|
10746
|
+
# seconds. If the parameter is not specified, the default value of 30
|
|
10747
|
+
# seconds is used. For tasks that use the EC2 launch type, if the
|
|
10748
|
+
# `stopTimeout` parameter isn't specified, the value set for the
|
|
10749
|
+
# Amazon ECS container agent configuration variable
|
|
10750
|
+
# `ECS_CONTAINER_STOP_TIMEOUT` is used. If neither the `stopTimeout`
|
|
10751
|
+
# parameter nor the `ECS_CONTAINER_STOP_TIMEOUT` agent configuration
|
|
10752
|
+
# variable are set, then the default value of 30 seconds is used.
|
|
10753
|
+
# @return [Integer]
|
|
10754
|
+
#
|
|
10682
10755
|
# @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/TaskContainerProperties AWS API Documentation
|
|
10683
10756
|
#
|
|
10684
10757
|
class TaskContainerProperties < Struct.new(
|
|
@@ -10698,7 +10771,9 @@ module Aws::Batch
|
|
|
10698
10771
|
:resource_requirements,
|
|
10699
10772
|
:secrets,
|
|
10700
10773
|
:ulimits,
|
|
10701
|
-
:user
|
|
10774
|
+
:user,
|
|
10775
|
+
:start_timeout,
|
|
10776
|
+
:stop_timeout)
|
|
10702
10777
|
SENSITIVE = []
|
|
10703
10778
|
include Aws::Structure
|
|
10704
10779
|
end
|
|
@@ -11413,12 +11488,18 @@ module Aws::Batch
|
|
|
11413
11488
|
# `1.4.0`.
|
|
11414
11489
|
# @return [Types::EFSVolumeConfiguration]
|
|
11415
11490
|
#
|
|
11491
|
+
# @!attribute [rw] s3files_volume_configuration
|
|
11492
|
+
# This parameter is specified when you're using an S3Files file
|
|
11493
|
+
# system for job storage.
|
|
11494
|
+
# @return [Types::S3FilesVolumeConfiguration]
|
|
11495
|
+
#
|
|
11416
11496
|
# @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/Volume AWS API Documentation
|
|
11417
11497
|
#
|
|
11418
11498
|
class Volume < Struct.new(
|
|
11419
11499
|
:host,
|
|
11420
11500
|
:name,
|
|
11421
|
-
:efs_volume_configuration
|
|
11501
|
+
:efs_volume_configuration,
|
|
11502
|
+
:s3files_volume_configuration)
|
|
11422
11503
|
SENSITIVE = []
|
|
11423
11504
|
include Aws::Structure
|
|
11424
11505
|
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
|