aws-sdk-batch 1.105.0 → 1.107.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-batch/client.rb +80 -1
- data/lib/aws-sdk-batch/client_api.rb +13 -0
- data/lib/aws-sdk-batch/types.rb +112 -3
- data/lib/aws-sdk-batch.rb +1 -1
- data/sig/client.rbs +26 -4
- data/sig/resource.rbs +2 -0
- data/sig/types.rbs +10 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ae39fde95308d448b492df807f2949709fd45e5b2711317f3c3e91aa9fc54f2c
|
4
|
+
data.tar.gz: c6abaf7eac41e8a63ab5fb99ed0fae5fb50b78de5f694dc9d2bdb2009d3b92d7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ce2b3838f99b3a4983f05ae97e7c13f2a1aab170fe4ca70a29bb09eb46bb4a43d4317a3cb97903bf8c63c6d4dd7f5d5776289d5099bf31588044614076c9fe94
|
7
|
+
data.tar.gz: b429dcc1bdcaee25c90cc9e8b08b23f542bcd1480f929cffd0c6105519fb0ca9d6e515ab6a7a45573e629dfc14f3fa410cd69a31b21b6f439bef10a6cc960673
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.107.0 (2025-01-15)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.106.0 (2024-12-17)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - This feature allows AWS Batch on Amazon EKS to support configuration of Pod Annotations, overriding Namespace on which the Batch job's Pod runs on, and allows Subpath and Persistent Volume claim to be set for AWS Batch on Amazon EKS jobs.
|
13
|
+
|
4
14
|
1.105.0 (2024-11-08)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.107.0
|
data/lib/aws-sdk-batch/client.rb
CHANGED
@@ -257,11 +257,34 @@ module Aws::Batch
|
|
257
257
|
# Used when loading credentials from the shared credentials file
|
258
258
|
# at HOME/.aws/credentials. When not specified, 'default' is used.
|
259
259
|
#
|
260
|
+
# @option options [String] :request_checksum_calculation ("when_supported")
|
261
|
+
# Determines when a checksum will be calculated for request payloads. Values are:
|
262
|
+
#
|
263
|
+
# * `when_supported` - (default) When set, a checksum will be
|
264
|
+
# calculated for all request payloads of operations modeled with the
|
265
|
+
# `httpChecksum` trait where `requestChecksumRequired` is `true` and/or a
|
266
|
+
# `requestAlgorithmMember` is modeled.
|
267
|
+
# * `when_required` - When set, a checksum will only be calculated for
|
268
|
+
# request payloads of operations modeled with the `httpChecksum` trait where
|
269
|
+
# `requestChecksumRequired` is `true` or where a `requestAlgorithmMember`
|
270
|
+
# is modeled and supplied.
|
271
|
+
#
|
260
272
|
# @option options [Integer] :request_min_compression_size_bytes (10240)
|
261
273
|
# The minimum size in bytes that triggers compression for request
|
262
274
|
# bodies. The value must be non-negative integer value between 0
|
263
275
|
# and 10485780 bytes inclusive.
|
264
276
|
#
|
277
|
+
# @option options [String] :response_checksum_validation ("when_supported")
|
278
|
+
# Determines when checksum validation will be performed on response payloads. Values are:
|
279
|
+
#
|
280
|
+
# * `when_supported` - (default) When set, checksum validation is performed on all
|
281
|
+
# response payloads of operations modeled with the `httpChecksum` trait where
|
282
|
+
# `responseAlgorithms` is modeled, except when no modeled checksum algorithms
|
283
|
+
# are supported.
|
284
|
+
# * `when_required` - When set, checksum validation is not performed on
|
285
|
+
# response payloads of operations unless the checksum algorithm is supported and
|
286
|
+
# the `requestValidationModeMember` member is set to `ENABLED`.
|
287
|
+
#
|
265
288
|
# @option options [Proc] :retry_backoff
|
266
289
|
# A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
|
267
290
|
# This option is only used in the `legacy` retry mode.
|
@@ -1795,6 +1818,7 @@ module Aws::Batch
|
|
1795
1818
|
# resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.containers[0].volume_mounts #=> Array
|
1796
1819
|
# resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.containers[0].volume_mounts[0].name #=> String
|
1797
1820
|
# resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.containers[0].volume_mounts[0].mount_path #=> String
|
1821
|
+
# resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.containers[0].volume_mounts[0].sub_path #=> String
|
1798
1822
|
# resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.containers[0].volume_mounts[0].read_only #=> Boolean
|
1799
1823
|
# resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.containers[0].security_context.run_as_user #=> Integer
|
1800
1824
|
# resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.containers[0].security_context.run_as_group #=> Integer
|
@@ -1820,6 +1844,7 @@ module Aws::Batch
|
|
1820
1844
|
# resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.init_containers[0].volume_mounts #=> Array
|
1821
1845
|
# resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.init_containers[0].volume_mounts[0].name #=> String
|
1822
1846
|
# resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.init_containers[0].volume_mounts[0].mount_path #=> String
|
1847
|
+
# resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.init_containers[0].volume_mounts[0].sub_path #=> String
|
1823
1848
|
# resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.init_containers[0].volume_mounts[0].read_only #=> Boolean
|
1824
1849
|
# resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.init_containers[0].security_context.run_as_user #=> Integer
|
1825
1850
|
# resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.init_containers[0].security_context.run_as_group #=> Integer
|
@@ -1834,8 +1859,13 @@ module Aws::Batch
|
|
1834
1859
|
# resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.volumes[0].empty_dir.size_limit #=> String
|
1835
1860
|
# resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.volumes[0].secret.secret_name #=> String
|
1836
1861
|
# resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.volumes[0].secret.optional #=> Boolean
|
1862
|
+
# resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.volumes[0].persistent_volume_claim.claim_name #=> String
|
1863
|
+
# resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.volumes[0].persistent_volume_claim.read_only #=> Boolean
|
1837
1864
|
# resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.metadata.labels #=> Hash
|
1838
1865
|
# resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.metadata.labels["String"] #=> String
|
1866
|
+
# resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.metadata.annotations #=> Hash
|
1867
|
+
# resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.metadata.annotations["String"] #=> String
|
1868
|
+
# resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.metadata.namespace #=> String
|
1839
1869
|
# resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.share_process_namespace #=> Boolean
|
1840
1870
|
# resp.job_definitions[0].tags #=> Hash
|
1841
1871
|
# resp.job_definitions[0].tags["TagKey"] #=> String
|
@@ -1934,6 +1964,7 @@ module Aws::Batch
|
|
1934
1964
|
# resp.job_definitions[0].eks_properties.pod_properties.containers[0].volume_mounts #=> Array
|
1935
1965
|
# resp.job_definitions[0].eks_properties.pod_properties.containers[0].volume_mounts[0].name #=> String
|
1936
1966
|
# resp.job_definitions[0].eks_properties.pod_properties.containers[0].volume_mounts[0].mount_path #=> String
|
1967
|
+
# resp.job_definitions[0].eks_properties.pod_properties.containers[0].volume_mounts[0].sub_path #=> String
|
1937
1968
|
# resp.job_definitions[0].eks_properties.pod_properties.containers[0].volume_mounts[0].read_only #=> Boolean
|
1938
1969
|
# resp.job_definitions[0].eks_properties.pod_properties.containers[0].security_context.run_as_user #=> Integer
|
1939
1970
|
# resp.job_definitions[0].eks_properties.pod_properties.containers[0].security_context.run_as_group #=> Integer
|
@@ -1959,6 +1990,7 @@ module Aws::Batch
|
|
1959
1990
|
# resp.job_definitions[0].eks_properties.pod_properties.init_containers[0].volume_mounts #=> Array
|
1960
1991
|
# resp.job_definitions[0].eks_properties.pod_properties.init_containers[0].volume_mounts[0].name #=> String
|
1961
1992
|
# resp.job_definitions[0].eks_properties.pod_properties.init_containers[0].volume_mounts[0].mount_path #=> String
|
1993
|
+
# resp.job_definitions[0].eks_properties.pod_properties.init_containers[0].volume_mounts[0].sub_path #=> String
|
1962
1994
|
# resp.job_definitions[0].eks_properties.pod_properties.init_containers[0].volume_mounts[0].read_only #=> Boolean
|
1963
1995
|
# resp.job_definitions[0].eks_properties.pod_properties.init_containers[0].security_context.run_as_user #=> Integer
|
1964
1996
|
# resp.job_definitions[0].eks_properties.pod_properties.init_containers[0].security_context.run_as_group #=> Integer
|
@@ -1973,8 +2005,13 @@ module Aws::Batch
|
|
1973
2005
|
# resp.job_definitions[0].eks_properties.pod_properties.volumes[0].empty_dir.size_limit #=> String
|
1974
2006
|
# resp.job_definitions[0].eks_properties.pod_properties.volumes[0].secret.secret_name #=> String
|
1975
2007
|
# resp.job_definitions[0].eks_properties.pod_properties.volumes[0].secret.optional #=> Boolean
|
2008
|
+
# resp.job_definitions[0].eks_properties.pod_properties.volumes[0].persistent_volume_claim.claim_name #=> String
|
2009
|
+
# resp.job_definitions[0].eks_properties.pod_properties.volumes[0].persistent_volume_claim.read_only #=> Boolean
|
1976
2010
|
# resp.job_definitions[0].eks_properties.pod_properties.metadata.labels #=> Hash
|
1977
2011
|
# resp.job_definitions[0].eks_properties.pod_properties.metadata.labels["String"] #=> String
|
2012
|
+
# resp.job_definitions[0].eks_properties.pod_properties.metadata.annotations #=> Hash
|
2013
|
+
# resp.job_definitions[0].eks_properties.pod_properties.metadata.annotations["String"] #=> String
|
2014
|
+
# resp.job_definitions[0].eks_properties.pod_properties.metadata.namespace #=> String
|
1978
2015
|
# resp.job_definitions[0].eks_properties.pod_properties.share_process_namespace #=> Boolean
|
1979
2016
|
# resp.job_definitions[0].container_orchestration_type #=> String, one of "ECS", "EKS"
|
1980
2017
|
# resp.next_token #=> String
|
@@ -2444,6 +2481,7 @@ module Aws::Batch
|
|
2444
2481
|
# resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.containers[0].volume_mounts #=> Array
|
2445
2482
|
# resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.containers[0].volume_mounts[0].name #=> String
|
2446
2483
|
# resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.containers[0].volume_mounts[0].mount_path #=> String
|
2484
|
+
# resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.containers[0].volume_mounts[0].sub_path #=> String
|
2447
2485
|
# resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.containers[0].volume_mounts[0].read_only #=> Boolean
|
2448
2486
|
# resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.containers[0].security_context.run_as_user #=> Integer
|
2449
2487
|
# resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.containers[0].security_context.run_as_group #=> Integer
|
@@ -2469,6 +2507,7 @@ module Aws::Batch
|
|
2469
2507
|
# resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.init_containers[0].volume_mounts #=> Array
|
2470
2508
|
# resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.init_containers[0].volume_mounts[0].name #=> String
|
2471
2509
|
# resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.init_containers[0].volume_mounts[0].mount_path #=> String
|
2510
|
+
# resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.init_containers[0].volume_mounts[0].sub_path #=> String
|
2472
2511
|
# resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.init_containers[0].volume_mounts[0].read_only #=> Boolean
|
2473
2512
|
# resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.init_containers[0].security_context.run_as_user #=> Integer
|
2474
2513
|
# resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.init_containers[0].security_context.run_as_group #=> Integer
|
@@ -2483,8 +2522,13 @@ module Aws::Batch
|
|
2483
2522
|
# resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.volumes[0].empty_dir.size_limit #=> String
|
2484
2523
|
# resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.volumes[0].secret.secret_name #=> String
|
2485
2524
|
# resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.volumes[0].secret.optional #=> Boolean
|
2525
|
+
# resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.volumes[0].persistent_volume_claim.claim_name #=> String
|
2526
|
+
# resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.volumes[0].persistent_volume_claim.read_only #=> Boolean
|
2486
2527
|
# resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.metadata.labels #=> Hash
|
2487
2528
|
# resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.metadata.labels["String"] #=> String
|
2529
|
+
# resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.metadata.annotations #=> Hash
|
2530
|
+
# resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.metadata.annotations["String"] #=> String
|
2531
|
+
# resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.metadata.namespace #=> String
|
2488
2532
|
# resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.share_process_namespace #=> Boolean
|
2489
2533
|
# resp.jobs[0].array_properties.status_summary #=> Hash
|
2490
2534
|
# resp.jobs[0].array_properties.status_summary["String"] #=> Integer
|
@@ -2521,6 +2565,7 @@ module Aws::Batch
|
|
2521
2565
|
# resp.jobs[0].eks_properties.pod_properties.containers[0].volume_mounts #=> Array
|
2522
2566
|
# resp.jobs[0].eks_properties.pod_properties.containers[0].volume_mounts[0].name #=> String
|
2523
2567
|
# resp.jobs[0].eks_properties.pod_properties.containers[0].volume_mounts[0].mount_path #=> String
|
2568
|
+
# resp.jobs[0].eks_properties.pod_properties.containers[0].volume_mounts[0].sub_path #=> String
|
2524
2569
|
# resp.jobs[0].eks_properties.pod_properties.containers[0].volume_mounts[0].read_only #=> Boolean
|
2525
2570
|
# resp.jobs[0].eks_properties.pod_properties.containers[0].security_context.run_as_user #=> Integer
|
2526
2571
|
# resp.jobs[0].eks_properties.pod_properties.containers[0].security_context.run_as_group #=> Integer
|
@@ -2548,6 +2593,7 @@ module Aws::Batch
|
|
2548
2593
|
# resp.jobs[0].eks_properties.pod_properties.init_containers[0].volume_mounts #=> Array
|
2549
2594
|
# resp.jobs[0].eks_properties.pod_properties.init_containers[0].volume_mounts[0].name #=> String
|
2550
2595
|
# resp.jobs[0].eks_properties.pod_properties.init_containers[0].volume_mounts[0].mount_path #=> String
|
2596
|
+
# resp.jobs[0].eks_properties.pod_properties.init_containers[0].volume_mounts[0].sub_path #=> String
|
2551
2597
|
# resp.jobs[0].eks_properties.pod_properties.init_containers[0].volume_mounts[0].read_only #=> Boolean
|
2552
2598
|
# resp.jobs[0].eks_properties.pod_properties.init_containers[0].security_context.run_as_user #=> Integer
|
2553
2599
|
# resp.jobs[0].eks_properties.pod_properties.init_containers[0].security_context.run_as_group #=> Integer
|
@@ -2562,10 +2608,15 @@ module Aws::Batch
|
|
2562
2608
|
# resp.jobs[0].eks_properties.pod_properties.volumes[0].empty_dir.size_limit #=> String
|
2563
2609
|
# resp.jobs[0].eks_properties.pod_properties.volumes[0].secret.secret_name #=> String
|
2564
2610
|
# resp.jobs[0].eks_properties.pod_properties.volumes[0].secret.optional #=> Boolean
|
2611
|
+
# resp.jobs[0].eks_properties.pod_properties.volumes[0].persistent_volume_claim.claim_name #=> String
|
2612
|
+
# resp.jobs[0].eks_properties.pod_properties.volumes[0].persistent_volume_claim.read_only #=> Boolean
|
2565
2613
|
# resp.jobs[0].eks_properties.pod_properties.pod_name #=> String
|
2566
2614
|
# resp.jobs[0].eks_properties.pod_properties.node_name #=> String
|
2567
2615
|
# resp.jobs[0].eks_properties.pod_properties.metadata.labels #=> Hash
|
2568
2616
|
# resp.jobs[0].eks_properties.pod_properties.metadata.labels["String"] #=> String
|
2617
|
+
# resp.jobs[0].eks_properties.pod_properties.metadata.annotations #=> Hash
|
2618
|
+
# resp.jobs[0].eks_properties.pod_properties.metadata.annotations["String"] #=> String
|
2619
|
+
# resp.jobs[0].eks_properties.pod_properties.metadata.namespace #=> String
|
2569
2620
|
# resp.jobs[0].eks_properties.pod_properties.share_process_namespace #=> Boolean
|
2570
2621
|
# resp.jobs[0].eks_attempts #=> Array
|
2571
2622
|
# resp.jobs[0].eks_attempts[0].containers #=> Array
|
@@ -3663,6 +3714,7 @@ module Aws::Batch
|
|
3663
3714
|
# {
|
3664
3715
|
# name: "String",
|
3665
3716
|
# mount_path: "String",
|
3717
|
+
# sub_path: "String",
|
3666
3718
|
# read_only: false,
|
3667
3719
|
# },
|
3668
3720
|
# ],
|
@@ -3701,6 +3753,7 @@ module Aws::Batch
|
|
3701
3753
|
# {
|
3702
3754
|
# name: "String",
|
3703
3755
|
# mount_path: "String",
|
3756
|
+
# sub_path: "String",
|
3704
3757
|
# read_only: false,
|
3705
3758
|
# },
|
3706
3759
|
# ],
|
@@ -3728,12 +3781,20 @@ module Aws::Batch
|
|
3728
3781
|
# secret_name: "String", # required
|
3729
3782
|
# optional: false,
|
3730
3783
|
# },
|
3784
|
+
# persistent_volume_claim: {
|
3785
|
+
# claim_name: "String", # required
|
3786
|
+
# read_only: false,
|
3787
|
+
# },
|
3731
3788
|
# },
|
3732
3789
|
# ],
|
3733
3790
|
# metadata: {
|
3734
3791
|
# labels: {
|
3735
3792
|
# "String" => "String",
|
3736
3793
|
# },
|
3794
|
+
# annotations: {
|
3795
|
+
# "String" => "String",
|
3796
|
+
# },
|
3797
|
+
# namespace: "String",
|
3737
3798
|
# },
|
3738
3799
|
# share_process_namespace: false,
|
3739
3800
|
# },
|
@@ -3795,6 +3856,7 @@ module Aws::Batch
|
|
3795
3856
|
# {
|
3796
3857
|
# name: "String",
|
3797
3858
|
# mount_path: "String",
|
3859
|
+
# sub_path: "String",
|
3798
3860
|
# read_only: false,
|
3799
3861
|
# },
|
3800
3862
|
# ],
|
@@ -3833,6 +3895,7 @@ module Aws::Batch
|
|
3833
3895
|
# {
|
3834
3896
|
# name: "String",
|
3835
3897
|
# mount_path: "String",
|
3898
|
+
# sub_path: "String",
|
3836
3899
|
# read_only: false,
|
3837
3900
|
# },
|
3838
3901
|
# ],
|
@@ -3860,12 +3923,20 @@ module Aws::Batch
|
|
3860
3923
|
# secret_name: "String", # required
|
3861
3924
|
# optional: false,
|
3862
3925
|
# },
|
3926
|
+
# persistent_volume_claim: {
|
3927
|
+
# claim_name: "String", # required
|
3928
|
+
# read_only: false,
|
3929
|
+
# },
|
3863
3930
|
# },
|
3864
3931
|
# ],
|
3865
3932
|
# metadata: {
|
3866
3933
|
# labels: {
|
3867
3934
|
# "String" => "String",
|
3868
3935
|
# },
|
3936
|
+
# annotations: {
|
3937
|
+
# "String" => "String",
|
3938
|
+
# },
|
3939
|
+
# namespace: "String",
|
3869
3940
|
# },
|
3870
3941
|
# share_process_namespace: false,
|
3871
3942
|
# },
|
@@ -4318,6 +4389,10 @@ module Aws::Batch
|
|
4318
4389
|
# labels: {
|
4319
4390
|
# "String" => "String",
|
4320
4391
|
# },
|
4392
|
+
# annotations: {
|
4393
|
+
# "String" => "String",
|
4394
|
+
# },
|
4395
|
+
# namespace: "String",
|
4321
4396
|
# },
|
4322
4397
|
# },
|
4323
4398
|
# },
|
@@ -4392,6 +4467,10 @@ module Aws::Batch
|
|
4392
4467
|
# labels: {
|
4393
4468
|
# "String" => "String",
|
4394
4469
|
# },
|
4470
|
+
# annotations: {
|
4471
|
+
# "String" => "String",
|
4472
|
+
# },
|
4473
|
+
# namespace: "String",
|
4395
4474
|
# },
|
4396
4475
|
# },
|
4397
4476
|
# },
|
@@ -4941,7 +5020,7 @@ module Aws::Batch
|
|
4941
5020
|
tracer: tracer
|
4942
5021
|
)
|
4943
5022
|
context[:gem_name] = 'aws-sdk-batch'
|
4944
|
-
context[:gem_version] = '1.
|
5023
|
+
context[:gem_version] = '1.107.0'
|
4945
5024
|
Seahorse::Client::Request.new(handlers, context)
|
4946
5025
|
end
|
4947
5026
|
|
@@ -84,6 +84,7 @@ module Aws::Batch
|
|
84
84
|
EcsPropertiesOverride = Shapes::StructureShape.new(name: 'EcsPropertiesOverride')
|
85
85
|
EcsTaskDetails = Shapes::StructureShape.new(name: 'EcsTaskDetails')
|
86
86
|
EcsTaskProperties = Shapes::StructureShape.new(name: 'EcsTaskProperties')
|
87
|
+
EksAnnotationsMap = Shapes::MapShape.new(name: 'EksAnnotationsMap')
|
87
88
|
EksAttemptContainerDetail = Shapes::StructureShape.new(name: 'EksAttemptContainerDetail')
|
88
89
|
EksAttemptContainerDetails = Shapes::ListShape.new(name: 'EksAttemptContainerDetails')
|
89
90
|
EksAttemptDetail = Shapes::StructureShape.new(name: 'EksAttemptDetail')
|
@@ -106,6 +107,7 @@ module Aws::Batch
|
|
106
107
|
EksLabelsMap = Shapes::MapShape.new(name: 'EksLabelsMap')
|
107
108
|
EksLimits = Shapes::MapShape.new(name: 'EksLimits')
|
108
109
|
EksMetadata = Shapes::StructureShape.new(name: 'EksMetadata')
|
110
|
+
EksPersistentVolumeClaim = Shapes::StructureShape.new(name: 'EksPersistentVolumeClaim')
|
109
111
|
EksPodProperties = Shapes::StructureShape.new(name: 'EksPodProperties')
|
110
112
|
EksPodPropertiesDetail = Shapes::StructureShape.new(name: 'EksPodPropertiesDetail')
|
111
113
|
EksPodPropertiesOverride = Shapes::StructureShape.new(name: 'EksPodPropertiesOverride')
|
@@ -596,6 +598,9 @@ module Aws::Batch
|
|
596
598
|
EcsTaskProperties.add_member(:volumes, Shapes::ShapeRef.new(shape: Volumes, location_name: "volumes"))
|
597
599
|
EcsTaskProperties.struct_class = Types::EcsTaskProperties
|
598
600
|
|
601
|
+
EksAnnotationsMap.key = Shapes::ShapeRef.new(shape: String)
|
602
|
+
EksAnnotationsMap.value = Shapes::ShapeRef.new(shape: String)
|
603
|
+
|
599
604
|
EksAttemptContainerDetail.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
|
600
605
|
EksAttemptContainerDetail.add_member(:container_id, Shapes::ShapeRef.new(shape: String, location_name: "containerID"))
|
601
606
|
EksAttemptContainerDetail.add_member(:exit_code, Shapes::ShapeRef.new(shape: Integer, location_name: "exitCode"))
|
@@ -677,6 +682,7 @@ module Aws::Batch
|
|
677
682
|
|
678
683
|
EksContainerVolumeMount.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
|
679
684
|
EksContainerVolumeMount.add_member(:mount_path, Shapes::ShapeRef.new(shape: String, location_name: "mountPath"))
|
685
|
+
EksContainerVolumeMount.add_member(:sub_path, Shapes::ShapeRef.new(shape: String, location_name: "subPath"))
|
680
686
|
EksContainerVolumeMount.add_member(:read_only, Shapes::ShapeRef.new(shape: Boolean, location_name: "readOnly"))
|
681
687
|
EksContainerVolumeMount.struct_class = Types::EksContainerVolumeMount
|
682
688
|
|
@@ -698,8 +704,14 @@ module Aws::Batch
|
|
698
704
|
EksLimits.value = Shapes::ShapeRef.new(shape: Quantity)
|
699
705
|
|
700
706
|
EksMetadata.add_member(:labels, Shapes::ShapeRef.new(shape: EksLabelsMap, location_name: "labels"))
|
707
|
+
EksMetadata.add_member(:annotations, Shapes::ShapeRef.new(shape: EksAnnotationsMap, location_name: "annotations"))
|
708
|
+
EksMetadata.add_member(:namespace, Shapes::ShapeRef.new(shape: String, location_name: "namespace"))
|
701
709
|
EksMetadata.struct_class = Types::EksMetadata
|
702
710
|
|
711
|
+
EksPersistentVolumeClaim.add_member(:claim_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "claimName"))
|
712
|
+
EksPersistentVolumeClaim.add_member(:read_only, Shapes::ShapeRef.new(shape: Boolean, location_name: "readOnly"))
|
713
|
+
EksPersistentVolumeClaim.struct_class = Types::EksPersistentVolumeClaim
|
714
|
+
|
703
715
|
EksPodProperties.add_member(:service_account_name, Shapes::ShapeRef.new(shape: String, location_name: "serviceAccountName"))
|
704
716
|
EksPodProperties.add_member(:host_network, Shapes::ShapeRef.new(shape: Boolean, location_name: "hostNetwork"))
|
705
717
|
EksPodProperties.add_member(:dns_policy, Shapes::ShapeRef.new(shape: String, location_name: "dnsPolicy"))
|
@@ -749,6 +761,7 @@ module Aws::Batch
|
|
749
761
|
EksVolume.add_member(:host_path, Shapes::ShapeRef.new(shape: EksHostPath, location_name: "hostPath"))
|
750
762
|
EksVolume.add_member(:empty_dir, Shapes::ShapeRef.new(shape: EksEmptyDir, location_name: "emptyDir"))
|
751
763
|
EksVolume.add_member(:secret, Shapes::ShapeRef.new(shape: EksSecret, location_name: "secret"))
|
764
|
+
EksVolume.add_member(:persistent_volume_claim, Shapes::ShapeRef.new(shape: EksPersistentVolumeClaim, location_name: "persistentVolumeClaim"))
|
752
765
|
EksVolume.struct_class = Types::EksVolume
|
753
766
|
|
754
767
|
EksVolumes.member = Shapes::ShapeRef.new(shape: EksVolume)
|
data/lib/aws-sdk-batch/types.rb
CHANGED
@@ -3989,6 +3989,10 @@ module Aws::Batch
|
|
3989
3989
|
# The path on the container where the volume is mounted.
|
3990
3990
|
# @return [String]
|
3991
3991
|
#
|
3992
|
+
# @!attribute [rw] sub_path
|
3993
|
+
# A sub-path inside the referenced volume instead of its root.
|
3994
|
+
# @return [String]
|
3995
|
+
#
|
3992
3996
|
# @!attribute [rw] read_only
|
3993
3997
|
# If this value is `true`, the container has read-only access to the
|
3994
3998
|
# volume. Otherwise, the container can write to the volume. The
|
@@ -4000,6 +4004,7 @@ module Aws::Batch
|
|
4000
4004
|
class EksContainerVolumeMount < Struct.new(
|
4001
4005
|
:name,
|
4002
4006
|
:mount_path,
|
4007
|
+
:sub_path,
|
4003
4008
|
:read_only)
|
4004
4009
|
SENSITIVE = []
|
4005
4010
|
include Aws::Structure
|
@@ -4073,7 +4078,7 @@ module Aws::Batch
|
|
4073
4078
|
|
4074
4079
|
# Describes and uniquely identifies Kubernetes resources. For example,
|
4075
4080
|
# the compute environment that a pod runs in or the `jobID` for a job
|
4076
|
-
# running in the pod. For more information, see [Understanding
|
4081
|
+
# running in the pod. For more information, see [ Understanding
|
4077
4082
|
# Kubernetes Objects][1] in the *Kubernetes documentation*.
|
4078
4083
|
#
|
4079
4084
|
#
|
@@ -4088,10 +4093,103 @@ module Aws::Batch
|
|
4088
4093
|
# must be unique for a given object.
|
4089
4094
|
# @return [Hash<String,String>]
|
4090
4095
|
#
|
4096
|
+
# @!attribute [rw] annotations
|
4097
|
+
# Key-value pairs used to attach arbitrary, non-identifying metadata
|
4098
|
+
# to Kubernetes objects. Valid annotation keys have two segments: an
|
4099
|
+
# optional prefix and a name, separated by a slash (/).
|
4100
|
+
#
|
4101
|
+
# * The prefix is optional and must be 253 characters or less. If
|
4102
|
+
# specified, the prefix must be a DNS subdomain− a series of DNS
|
4103
|
+
# labels separated by dots (.), and it must end with a slash (/).
|
4104
|
+
#
|
4105
|
+
# * The name segment is required and must be 63 characters or less. It
|
4106
|
+
# can include alphanumeric characters (\[a-z0-9A-Z\]), dashes (-),
|
4107
|
+
# underscores (\_), and dots (.), but must begin and end with an
|
4108
|
+
# alphanumeric character.
|
4109
|
+
#
|
4110
|
+
# <note markdown="1"> Annotation values must be 255 characters or less.
|
4111
|
+
#
|
4112
|
+
# </note>
|
4113
|
+
#
|
4114
|
+
# Annotations can be added or modified at any time. Each resource can
|
4115
|
+
# have multiple annotations.
|
4116
|
+
# @return [Hash<String,String>]
|
4117
|
+
#
|
4118
|
+
# @!attribute [rw] namespace
|
4119
|
+
# The namespace of the Amazon EKS cluster. In Kubernetes, namespaces
|
4120
|
+
# provide a mechanism for isolating groups of resources within a
|
4121
|
+
# single cluster. Names of resources need to be unique within a
|
4122
|
+
# namespace, but not across namespaces. Batch places Batch Job pods in
|
4123
|
+
# this namespace. If this field is provided, the value can't be empty
|
4124
|
+
# or null. It must meet the following requirements:
|
4125
|
+
#
|
4126
|
+
# * 1-63 characters long
|
4127
|
+
#
|
4128
|
+
# * Can't be set to default
|
4129
|
+
#
|
4130
|
+
# * Can't start with `kube`
|
4131
|
+
#
|
4132
|
+
# * Must match the following regular expression:
|
4133
|
+
# `^[a-z0-9]([-a-z0-9]*[a-z0-9])?$`
|
4134
|
+
#
|
4135
|
+
# For more information, see [Namespaces][1] in the *Kubernetes
|
4136
|
+
# documentation*. This namespace can be different from the
|
4137
|
+
# `kubernetesNamespace` set in the compute environment's
|
4138
|
+
# `EksConfiguration`, but must have identical role-based access
|
4139
|
+
# control (RBAC) roles as the compute environment's
|
4140
|
+
# `kubernetesNamespace`. For multi-node parallel jobs, the same value
|
4141
|
+
# must be provided across all the node ranges.
|
4142
|
+
#
|
4143
|
+
#
|
4144
|
+
#
|
4145
|
+
# [1]: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/
|
4146
|
+
# @return [String]
|
4147
|
+
#
|
4091
4148
|
# @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/EksMetadata AWS API Documentation
|
4092
4149
|
#
|
4093
4150
|
class EksMetadata < Struct.new(
|
4094
|
-
:labels
|
4151
|
+
:labels,
|
4152
|
+
:annotations,
|
4153
|
+
:namespace)
|
4154
|
+
SENSITIVE = []
|
4155
|
+
include Aws::Structure
|
4156
|
+
end
|
4157
|
+
|
4158
|
+
# A `persistentVolumeClaim` volume is used to mount a
|
4159
|
+
# [PersistentVolume][1] into a Pod. PersistentVolumeClaims are a way for
|
4160
|
+
# users to "claim" durable storage without knowing the details of the
|
4161
|
+
# particular cloud environment. See the information about
|
4162
|
+
# [PersistentVolumes][1] in the *Kubernetes documentation*.
|
4163
|
+
#
|
4164
|
+
#
|
4165
|
+
#
|
4166
|
+
# [1]: https://kubernetes.io/docs/concepts/storage/persistent-volumes/
|
4167
|
+
#
|
4168
|
+
# @!attribute [rw] claim_name
|
4169
|
+
# The name of the `persistentVolumeClaim` bounded to a
|
4170
|
+
# `persistentVolume`. For more information, see [ Persistent Volume
|
4171
|
+
# Claims][1] in the *Kubernetes documentation*.
|
4172
|
+
#
|
4173
|
+
#
|
4174
|
+
#
|
4175
|
+
# [1]: https://kubernetes.io/docs/concepts/storage/persistent-volumes/#persistentvolumeclaims
|
4176
|
+
# @return [String]
|
4177
|
+
#
|
4178
|
+
# @!attribute [rw] read_only
|
4179
|
+
# An optional boolean value indicating if the mount is read only.
|
4180
|
+
# Default is false. For more information, see [ Read Only Mounts][1]
|
4181
|
+
# in the *Kubernetes documentation*.
|
4182
|
+
#
|
4183
|
+
#
|
4184
|
+
#
|
4185
|
+
# [1]: https://kubernetes.io/docs/concepts/storage/volumes/#read-only-mounts
|
4186
|
+
# @return [Boolean]
|
4187
|
+
#
|
4188
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/EksPersistentVolumeClaim AWS API Documentation
|
4189
|
+
#
|
4190
|
+
class EksPersistentVolumeClaim < Struct.new(
|
4191
|
+
:claim_name,
|
4192
|
+
:read_only)
|
4095
4193
|
SENSITIVE = []
|
4096
4194
|
include Aws::Structure
|
4097
4195
|
end
|
@@ -4494,13 +4592,24 @@ module Aws::Batch
|
|
4494
4592
|
# [1]: https://kubernetes.io/docs/concepts/storage/volumes/#secret
|
4495
4593
|
# @return [Types::EksSecret]
|
4496
4594
|
#
|
4595
|
+
# @!attribute [rw] persistent_volume_claim
|
4596
|
+
# Specifies the configuration of a Kubernetes `persistentVolumeClaim`
|
4597
|
+
# bounded to a `persistentVolume`. For more information, see [
|
4598
|
+
# Persistent Volume Claims][1] in the *Kubernetes documentation*.
|
4599
|
+
#
|
4600
|
+
#
|
4601
|
+
#
|
4602
|
+
# [1]: https://kubernetes.io/docs/concepts/storage/persistent-volumes/#persistentvolumeclaims
|
4603
|
+
# @return [Types::EksPersistentVolumeClaim]
|
4604
|
+
#
|
4497
4605
|
# @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/EksVolume AWS API Documentation
|
4498
4606
|
#
|
4499
4607
|
class EksVolume < Struct.new(
|
4500
4608
|
:name,
|
4501
4609
|
:host_path,
|
4502
4610
|
:empty_dir,
|
4503
|
-
:secret
|
4611
|
+
:secret,
|
4612
|
+
:persistent_volume_claim)
|
4504
4613
|
SENSITIVE = []
|
4505
4614
|
include Aws::Structure
|
4506
4615
|
end
|
data/lib/aws-sdk-batch.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -39,7 +39,9 @@ module Aws
|
|
39
39
|
?logger: untyped,
|
40
40
|
?max_attempts: Integer,
|
41
41
|
?profile: String,
|
42
|
+
?request_checksum_calculation: String,
|
42
43
|
?request_min_compression_size_bytes: Integer,
|
44
|
+
?response_checksum_validation: String,
|
43
45
|
?retry_backoff: Proc,
|
44
46
|
?retry_base_delay: Float,
|
45
47
|
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
@@ -732,6 +734,7 @@ module Aws
|
|
732
734
|
{
|
733
735
|
name: ::String?,
|
734
736
|
mount_path: ::String?,
|
737
|
+
sub_path: ::String?,
|
735
738
|
read_only: bool?
|
736
739
|
},
|
737
740
|
]?,
|
@@ -766,6 +769,7 @@ module Aws
|
|
766
769
|
{
|
767
770
|
name: ::String?,
|
768
771
|
mount_path: ::String?,
|
772
|
+
sub_path: ::String?,
|
769
773
|
read_only: bool?
|
770
774
|
},
|
771
775
|
]?,
|
@@ -792,11 +796,17 @@ module Aws
|
|
792
796
|
secret: {
|
793
797
|
secret_name: ::String,
|
794
798
|
optional: bool?
|
799
|
+
}?,
|
800
|
+
persistent_volume_claim: {
|
801
|
+
claim_name: ::String,
|
802
|
+
read_only: bool?
|
795
803
|
}?
|
796
804
|
},
|
797
805
|
]?,
|
798
806
|
metadata: {
|
799
|
-
labels: Hash[::String, ::String]
|
807
|
+
labels: Hash[::String, ::String]?,
|
808
|
+
annotations: Hash[::String, ::String]?,
|
809
|
+
namespace: ::String?
|
800
810
|
}?,
|
801
811
|
share_process_namespace: bool?
|
802
812
|
}?
|
@@ -852,6 +862,7 @@ module Aws
|
|
852
862
|
{
|
853
863
|
name: ::String?,
|
854
864
|
mount_path: ::String?,
|
865
|
+
sub_path: ::String?,
|
855
866
|
read_only: bool?
|
856
867
|
},
|
857
868
|
]?,
|
@@ -886,6 +897,7 @@ module Aws
|
|
886
897
|
{
|
887
898
|
name: ::String?,
|
888
899
|
mount_path: ::String?,
|
900
|
+
sub_path: ::String?,
|
889
901
|
read_only: bool?
|
890
902
|
},
|
891
903
|
]?,
|
@@ -912,11 +924,17 @@ module Aws
|
|
912
924
|
secret: {
|
913
925
|
secret_name: ::String,
|
914
926
|
optional: bool?
|
927
|
+
}?,
|
928
|
+
persistent_volume_claim: {
|
929
|
+
claim_name: ::String,
|
930
|
+
read_only: bool?
|
915
931
|
}?
|
916
932
|
},
|
917
933
|
]?,
|
918
934
|
metadata: {
|
919
|
-
labels: Hash[::String, ::String]
|
935
|
+
labels: Hash[::String, ::String]?,
|
936
|
+
annotations: Hash[::String, ::String]?,
|
937
|
+
namespace: ::String?
|
920
938
|
}?,
|
921
939
|
share_process_namespace: bool?
|
922
940
|
}?
|
@@ -1173,7 +1191,9 @@ module Aws
|
|
1173
1191
|
},
|
1174
1192
|
]?,
|
1175
1193
|
metadata: {
|
1176
|
-
labels: Hash[::String, ::String]
|
1194
|
+
labels: Hash[::String, ::String]?,
|
1195
|
+
annotations: Hash[::String, ::String]?,
|
1196
|
+
namespace: ::String?
|
1177
1197
|
}?
|
1178
1198
|
}?
|
1179
1199
|
}?
|
@@ -1235,7 +1255,9 @@ module Aws
|
|
1235
1255
|
},
|
1236
1256
|
]?,
|
1237
1257
|
metadata: {
|
1238
|
-
labels: Hash[::String, ::String]
|
1258
|
+
labels: Hash[::String, ::String]?,
|
1259
|
+
annotations: Hash[::String, ::String]?,
|
1260
|
+
namespace: ::String?
|
1239
1261
|
}?
|
1240
1262
|
}?
|
1241
1263
|
},
|
data/sig/resource.rbs
CHANGED
@@ -39,7 +39,9 @@ module Aws
|
|
39
39
|
?logger: untyped,
|
40
40
|
?max_attempts: Integer,
|
41
41
|
?profile: String,
|
42
|
+
?request_checksum_calculation: String,
|
42
43
|
?request_min_compression_size_bytes: Integer,
|
44
|
+
?response_checksum_validation: String,
|
43
45
|
?retry_backoff: Proc,
|
44
46
|
?retry_base_delay: Float,
|
45
47
|
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
data/sig/types.rbs
CHANGED
@@ -525,6 +525,7 @@ module Aws::Batch
|
|
525
525
|
class EksContainerVolumeMount
|
526
526
|
attr_accessor name: ::String
|
527
527
|
attr_accessor mount_path: ::String
|
528
|
+
attr_accessor sub_path: ::String
|
528
529
|
attr_accessor read_only: bool
|
529
530
|
SENSITIVE: []
|
530
531
|
end
|
@@ -542,6 +543,14 @@ module Aws::Batch
|
|
542
543
|
|
543
544
|
class EksMetadata
|
544
545
|
attr_accessor labels: ::Hash[::String, ::String]
|
546
|
+
attr_accessor annotations: ::Hash[::String, ::String]
|
547
|
+
attr_accessor namespace: ::String
|
548
|
+
SENSITIVE: []
|
549
|
+
end
|
550
|
+
|
551
|
+
class EksPersistentVolumeClaim
|
552
|
+
attr_accessor claim_name: ::String
|
553
|
+
attr_accessor read_only: bool
|
545
554
|
SENSITIVE: []
|
546
555
|
end
|
547
556
|
|
@@ -606,6 +615,7 @@ module Aws::Batch
|
|
606
615
|
attr_accessor host_path: Types::EksHostPath
|
607
616
|
attr_accessor empty_dir: Types::EksEmptyDir
|
608
617
|
attr_accessor secret: Types::EksSecret
|
618
|
+
attr_accessor persistent_volume_claim: Types::EksPersistentVolumeClaim
|
609
619
|
SENSITIVE: []
|
610
620
|
end
|
611
621
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-batch
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.107.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2025-01-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.216.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.216.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|