aws-sdk-batch 1.105.0 → 1.106.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0d8335f038a725dd0cb8a14fb5e05ec020df31f4efdb3b8758d123952f05d7a2
4
- data.tar.gz: 8d3914d19a2ff35392b2a9c57a9db7ebf0cb52b94978c6d644cd3ed1a93c61c6
3
+ metadata.gz: 99a4c964e748b2ca859e4369954dc142584487eac45cb49ba5e0ca85a359b9c0
4
+ data.tar.gz: 492cd9cda483ca29955b53ff1e9053767e440cbc98cb3677b71fff7a93300b56
5
5
  SHA512:
6
- metadata.gz: eaf8cccfdc0fe084493e82e8244b4635dfbc55c44295db0761caa60092a6fd117be5f2a4a4067e29222b74be091e5967883fc8b9b02561c79c68fbf3a0417ade
7
- data.tar.gz: 6535d1de5fc18233731aa52307ac5e3f4b5ebc80e85e97a781a2b973068b62c702490cbb84966e32ee88568bcd0e16391416d219b64c1569bdc2ea497379e969
6
+ metadata.gz: aff2e8164c631d9fc2ebf8d2151380e380f9a9ff32b58c245b5ab3060a91681c2b570fce4aa700880805365c0a0f58175ef647f437f9e8e3e1094f17054fcea7
7
+ data.tar.gz: 401131593b2721f7c3da5196cc116b8696dfa6fe21ad5bc529fd2ebb2b71040a69ade14f3ad2aa6a3de99c1aa6ccc80d0965c60980a47640307cc2afd3598c3f
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.106.0 (2024-12-17)
5
+ ------------------
6
+
7
+ * 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.
8
+
4
9
  1.105.0 (2024-11-08)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.105.0
1
+ 1.106.0
@@ -1795,6 +1795,7 @@ module Aws::Batch
1795
1795
  # resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.containers[0].volume_mounts #=> Array
1796
1796
  # resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.containers[0].volume_mounts[0].name #=> String
1797
1797
  # resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.containers[0].volume_mounts[0].mount_path #=> String
1798
+ # resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.containers[0].volume_mounts[0].sub_path #=> String
1798
1799
  # resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.containers[0].volume_mounts[0].read_only #=> Boolean
1799
1800
  # resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.containers[0].security_context.run_as_user #=> Integer
1800
1801
  # resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.containers[0].security_context.run_as_group #=> Integer
@@ -1820,6 +1821,7 @@ module Aws::Batch
1820
1821
  # resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.init_containers[0].volume_mounts #=> Array
1821
1822
  # resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.init_containers[0].volume_mounts[0].name #=> String
1822
1823
  # resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.init_containers[0].volume_mounts[0].mount_path #=> String
1824
+ # resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.init_containers[0].volume_mounts[0].sub_path #=> String
1823
1825
  # resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.init_containers[0].volume_mounts[0].read_only #=> Boolean
1824
1826
  # resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.init_containers[0].security_context.run_as_user #=> Integer
1825
1827
  # 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 +1836,13 @@ module Aws::Batch
1834
1836
  # resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.volumes[0].empty_dir.size_limit #=> String
1835
1837
  # resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.volumes[0].secret.secret_name #=> String
1836
1838
  # resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.volumes[0].secret.optional #=> Boolean
1839
+ # resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.volumes[0].persistent_volume_claim.claim_name #=> String
1840
+ # resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.volumes[0].persistent_volume_claim.read_only #=> Boolean
1837
1841
  # resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.metadata.labels #=> Hash
1838
1842
  # resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.metadata.labels["String"] #=> String
1843
+ # resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.metadata.annotations #=> Hash
1844
+ # resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.metadata.annotations["String"] #=> String
1845
+ # resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.metadata.namespace #=> String
1839
1846
  # resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.share_process_namespace #=> Boolean
1840
1847
  # resp.job_definitions[0].tags #=> Hash
1841
1848
  # resp.job_definitions[0].tags["TagKey"] #=> String
@@ -1934,6 +1941,7 @@ module Aws::Batch
1934
1941
  # resp.job_definitions[0].eks_properties.pod_properties.containers[0].volume_mounts #=> Array
1935
1942
  # resp.job_definitions[0].eks_properties.pod_properties.containers[0].volume_mounts[0].name #=> String
1936
1943
  # resp.job_definitions[0].eks_properties.pod_properties.containers[0].volume_mounts[0].mount_path #=> String
1944
+ # resp.job_definitions[0].eks_properties.pod_properties.containers[0].volume_mounts[0].sub_path #=> String
1937
1945
  # resp.job_definitions[0].eks_properties.pod_properties.containers[0].volume_mounts[0].read_only #=> Boolean
1938
1946
  # resp.job_definitions[0].eks_properties.pod_properties.containers[0].security_context.run_as_user #=> Integer
1939
1947
  # resp.job_definitions[0].eks_properties.pod_properties.containers[0].security_context.run_as_group #=> Integer
@@ -1959,6 +1967,7 @@ module Aws::Batch
1959
1967
  # resp.job_definitions[0].eks_properties.pod_properties.init_containers[0].volume_mounts #=> Array
1960
1968
  # resp.job_definitions[0].eks_properties.pod_properties.init_containers[0].volume_mounts[0].name #=> String
1961
1969
  # resp.job_definitions[0].eks_properties.pod_properties.init_containers[0].volume_mounts[0].mount_path #=> String
1970
+ # resp.job_definitions[0].eks_properties.pod_properties.init_containers[0].volume_mounts[0].sub_path #=> String
1962
1971
  # resp.job_definitions[0].eks_properties.pod_properties.init_containers[0].volume_mounts[0].read_only #=> Boolean
1963
1972
  # resp.job_definitions[0].eks_properties.pod_properties.init_containers[0].security_context.run_as_user #=> Integer
1964
1973
  # resp.job_definitions[0].eks_properties.pod_properties.init_containers[0].security_context.run_as_group #=> Integer
@@ -1973,8 +1982,13 @@ module Aws::Batch
1973
1982
  # resp.job_definitions[0].eks_properties.pod_properties.volumes[0].empty_dir.size_limit #=> String
1974
1983
  # resp.job_definitions[0].eks_properties.pod_properties.volumes[0].secret.secret_name #=> String
1975
1984
  # resp.job_definitions[0].eks_properties.pod_properties.volumes[0].secret.optional #=> Boolean
1985
+ # resp.job_definitions[0].eks_properties.pod_properties.volumes[0].persistent_volume_claim.claim_name #=> String
1986
+ # resp.job_definitions[0].eks_properties.pod_properties.volumes[0].persistent_volume_claim.read_only #=> Boolean
1976
1987
  # resp.job_definitions[0].eks_properties.pod_properties.metadata.labels #=> Hash
1977
1988
  # resp.job_definitions[0].eks_properties.pod_properties.metadata.labels["String"] #=> String
1989
+ # resp.job_definitions[0].eks_properties.pod_properties.metadata.annotations #=> Hash
1990
+ # resp.job_definitions[0].eks_properties.pod_properties.metadata.annotations["String"] #=> String
1991
+ # resp.job_definitions[0].eks_properties.pod_properties.metadata.namespace #=> String
1978
1992
  # resp.job_definitions[0].eks_properties.pod_properties.share_process_namespace #=> Boolean
1979
1993
  # resp.job_definitions[0].container_orchestration_type #=> String, one of "ECS", "EKS"
1980
1994
  # resp.next_token #=> String
@@ -2444,6 +2458,7 @@ module Aws::Batch
2444
2458
  # resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.containers[0].volume_mounts #=> Array
2445
2459
  # resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.containers[0].volume_mounts[0].name #=> String
2446
2460
  # resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.containers[0].volume_mounts[0].mount_path #=> String
2461
+ # resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.containers[0].volume_mounts[0].sub_path #=> String
2447
2462
  # resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.containers[0].volume_mounts[0].read_only #=> Boolean
2448
2463
  # resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.containers[0].security_context.run_as_user #=> Integer
2449
2464
  # resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.containers[0].security_context.run_as_group #=> Integer
@@ -2469,6 +2484,7 @@ module Aws::Batch
2469
2484
  # resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.init_containers[0].volume_mounts #=> Array
2470
2485
  # resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.init_containers[0].volume_mounts[0].name #=> String
2471
2486
  # resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.init_containers[0].volume_mounts[0].mount_path #=> String
2487
+ # resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.init_containers[0].volume_mounts[0].sub_path #=> String
2472
2488
  # resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.init_containers[0].volume_mounts[0].read_only #=> Boolean
2473
2489
  # resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.init_containers[0].security_context.run_as_user #=> Integer
2474
2490
  # resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.init_containers[0].security_context.run_as_group #=> Integer
@@ -2483,8 +2499,13 @@ module Aws::Batch
2483
2499
  # resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.volumes[0].empty_dir.size_limit #=> String
2484
2500
  # resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.volumes[0].secret.secret_name #=> String
2485
2501
  # resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.volumes[0].secret.optional #=> Boolean
2502
+ # resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.volumes[0].persistent_volume_claim.claim_name #=> String
2503
+ # resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.volumes[0].persistent_volume_claim.read_only #=> Boolean
2486
2504
  # resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.metadata.labels #=> Hash
2487
2505
  # resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.metadata.labels["String"] #=> String
2506
+ # resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.metadata.annotations #=> Hash
2507
+ # resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.metadata.annotations["String"] #=> String
2508
+ # resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.metadata.namespace #=> String
2488
2509
  # resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.share_process_namespace #=> Boolean
2489
2510
  # resp.jobs[0].array_properties.status_summary #=> Hash
2490
2511
  # resp.jobs[0].array_properties.status_summary["String"] #=> Integer
@@ -2521,6 +2542,7 @@ module Aws::Batch
2521
2542
  # resp.jobs[0].eks_properties.pod_properties.containers[0].volume_mounts #=> Array
2522
2543
  # resp.jobs[0].eks_properties.pod_properties.containers[0].volume_mounts[0].name #=> String
2523
2544
  # resp.jobs[0].eks_properties.pod_properties.containers[0].volume_mounts[0].mount_path #=> String
2545
+ # resp.jobs[0].eks_properties.pod_properties.containers[0].volume_mounts[0].sub_path #=> String
2524
2546
  # resp.jobs[0].eks_properties.pod_properties.containers[0].volume_mounts[0].read_only #=> Boolean
2525
2547
  # resp.jobs[0].eks_properties.pod_properties.containers[0].security_context.run_as_user #=> Integer
2526
2548
  # resp.jobs[0].eks_properties.pod_properties.containers[0].security_context.run_as_group #=> Integer
@@ -2548,6 +2570,7 @@ module Aws::Batch
2548
2570
  # resp.jobs[0].eks_properties.pod_properties.init_containers[0].volume_mounts #=> Array
2549
2571
  # resp.jobs[0].eks_properties.pod_properties.init_containers[0].volume_mounts[0].name #=> String
2550
2572
  # resp.jobs[0].eks_properties.pod_properties.init_containers[0].volume_mounts[0].mount_path #=> String
2573
+ # resp.jobs[0].eks_properties.pod_properties.init_containers[0].volume_mounts[0].sub_path #=> String
2551
2574
  # resp.jobs[0].eks_properties.pod_properties.init_containers[0].volume_mounts[0].read_only #=> Boolean
2552
2575
  # resp.jobs[0].eks_properties.pod_properties.init_containers[0].security_context.run_as_user #=> Integer
2553
2576
  # resp.jobs[0].eks_properties.pod_properties.init_containers[0].security_context.run_as_group #=> Integer
@@ -2562,10 +2585,15 @@ module Aws::Batch
2562
2585
  # resp.jobs[0].eks_properties.pod_properties.volumes[0].empty_dir.size_limit #=> String
2563
2586
  # resp.jobs[0].eks_properties.pod_properties.volumes[0].secret.secret_name #=> String
2564
2587
  # resp.jobs[0].eks_properties.pod_properties.volumes[0].secret.optional #=> Boolean
2588
+ # resp.jobs[0].eks_properties.pod_properties.volumes[0].persistent_volume_claim.claim_name #=> String
2589
+ # resp.jobs[0].eks_properties.pod_properties.volumes[0].persistent_volume_claim.read_only #=> Boolean
2565
2590
  # resp.jobs[0].eks_properties.pod_properties.pod_name #=> String
2566
2591
  # resp.jobs[0].eks_properties.pod_properties.node_name #=> String
2567
2592
  # resp.jobs[0].eks_properties.pod_properties.metadata.labels #=> Hash
2568
2593
  # resp.jobs[0].eks_properties.pod_properties.metadata.labels["String"] #=> String
2594
+ # resp.jobs[0].eks_properties.pod_properties.metadata.annotations #=> Hash
2595
+ # resp.jobs[0].eks_properties.pod_properties.metadata.annotations["String"] #=> String
2596
+ # resp.jobs[0].eks_properties.pod_properties.metadata.namespace #=> String
2569
2597
  # resp.jobs[0].eks_properties.pod_properties.share_process_namespace #=> Boolean
2570
2598
  # resp.jobs[0].eks_attempts #=> Array
2571
2599
  # resp.jobs[0].eks_attempts[0].containers #=> Array
@@ -3663,6 +3691,7 @@ module Aws::Batch
3663
3691
  # {
3664
3692
  # name: "String",
3665
3693
  # mount_path: "String",
3694
+ # sub_path: "String",
3666
3695
  # read_only: false,
3667
3696
  # },
3668
3697
  # ],
@@ -3701,6 +3730,7 @@ module Aws::Batch
3701
3730
  # {
3702
3731
  # name: "String",
3703
3732
  # mount_path: "String",
3733
+ # sub_path: "String",
3704
3734
  # read_only: false,
3705
3735
  # },
3706
3736
  # ],
@@ -3728,12 +3758,20 @@ module Aws::Batch
3728
3758
  # secret_name: "String", # required
3729
3759
  # optional: false,
3730
3760
  # },
3761
+ # persistent_volume_claim: {
3762
+ # claim_name: "String", # required
3763
+ # read_only: false,
3764
+ # },
3731
3765
  # },
3732
3766
  # ],
3733
3767
  # metadata: {
3734
3768
  # labels: {
3735
3769
  # "String" => "String",
3736
3770
  # },
3771
+ # annotations: {
3772
+ # "String" => "String",
3773
+ # },
3774
+ # namespace: "String",
3737
3775
  # },
3738
3776
  # share_process_namespace: false,
3739
3777
  # },
@@ -3795,6 +3833,7 @@ module Aws::Batch
3795
3833
  # {
3796
3834
  # name: "String",
3797
3835
  # mount_path: "String",
3836
+ # sub_path: "String",
3798
3837
  # read_only: false,
3799
3838
  # },
3800
3839
  # ],
@@ -3833,6 +3872,7 @@ module Aws::Batch
3833
3872
  # {
3834
3873
  # name: "String",
3835
3874
  # mount_path: "String",
3875
+ # sub_path: "String",
3836
3876
  # read_only: false,
3837
3877
  # },
3838
3878
  # ],
@@ -3860,12 +3900,20 @@ module Aws::Batch
3860
3900
  # secret_name: "String", # required
3861
3901
  # optional: false,
3862
3902
  # },
3903
+ # persistent_volume_claim: {
3904
+ # claim_name: "String", # required
3905
+ # read_only: false,
3906
+ # },
3863
3907
  # },
3864
3908
  # ],
3865
3909
  # metadata: {
3866
3910
  # labels: {
3867
3911
  # "String" => "String",
3868
3912
  # },
3913
+ # annotations: {
3914
+ # "String" => "String",
3915
+ # },
3916
+ # namespace: "String",
3869
3917
  # },
3870
3918
  # share_process_namespace: false,
3871
3919
  # },
@@ -4318,6 +4366,10 @@ module Aws::Batch
4318
4366
  # labels: {
4319
4367
  # "String" => "String",
4320
4368
  # },
4369
+ # annotations: {
4370
+ # "String" => "String",
4371
+ # },
4372
+ # namespace: "String",
4321
4373
  # },
4322
4374
  # },
4323
4375
  # },
@@ -4392,6 +4444,10 @@ module Aws::Batch
4392
4444
  # labels: {
4393
4445
  # "String" => "String",
4394
4446
  # },
4447
+ # annotations: {
4448
+ # "String" => "String",
4449
+ # },
4450
+ # namespace: "String",
4395
4451
  # },
4396
4452
  # },
4397
4453
  # },
@@ -4941,7 +4997,7 @@ module Aws::Batch
4941
4997
  tracer: tracer
4942
4998
  )
4943
4999
  context[:gem_name] = 'aws-sdk-batch'
4944
- context[:gem_version] = '1.105.0'
5000
+ context[:gem_version] = '1.106.0'
4945
5001
  Seahorse::Client::Request.new(handlers, context)
4946
5002
  end
4947
5003
 
@@ -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)
@@ -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
@@ -54,7 +54,7 @@ module Aws::Batch
54
54
  autoload :EndpointProvider, 'aws-sdk-batch/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-batch/endpoints'
56
56
 
57
- GEM_VERSION = '1.105.0'
57
+ GEM_VERSION = '1.106.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -732,6 +732,7 @@ module Aws
732
732
  {
733
733
  name: ::String?,
734
734
  mount_path: ::String?,
735
+ sub_path: ::String?,
735
736
  read_only: bool?
736
737
  },
737
738
  ]?,
@@ -766,6 +767,7 @@ module Aws
766
767
  {
767
768
  name: ::String?,
768
769
  mount_path: ::String?,
770
+ sub_path: ::String?,
769
771
  read_only: bool?
770
772
  },
771
773
  ]?,
@@ -792,11 +794,17 @@ module Aws
792
794
  secret: {
793
795
  secret_name: ::String,
794
796
  optional: bool?
797
+ }?,
798
+ persistent_volume_claim: {
799
+ claim_name: ::String,
800
+ read_only: bool?
795
801
  }?
796
802
  },
797
803
  ]?,
798
804
  metadata: {
799
- labels: Hash[::String, ::String]?
805
+ labels: Hash[::String, ::String]?,
806
+ annotations: Hash[::String, ::String]?,
807
+ namespace: ::String?
800
808
  }?,
801
809
  share_process_namespace: bool?
802
810
  }?
@@ -852,6 +860,7 @@ module Aws
852
860
  {
853
861
  name: ::String?,
854
862
  mount_path: ::String?,
863
+ sub_path: ::String?,
855
864
  read_only: bool?
856
865
  },
857
866
  ]?,
@@ -886,6 +895,7 @@ module Aws
886
895
  {
887
896
  name: ::String?,
888
897
  mount_path: ::String?,
898
+ sub_path: ::String?,
889
899
  read_only: bool?
890
900
  },
891
901
  ]?,
@@ -912,11 +922,17 @@ module Aws
912
922
  secret: {
913
923
  secret_name: ::String,
914
924
  optional: bool?
925
+ }?,
926
+ persistent_volume_claim: {
927
+ claim_name: ::String,
928
+ read_only: bool?
915
929
  }?
916
930
  },
917
931
  ]?,
918
932
  metadata: {
919
- labels: Hash[::String, ::String]?
933
+ labels: Hash[::String, ::String]?,
934
+ annotations: Hash[::String, ::String]?,
935
+ namespace: ::String?
920
936
  }?,
921
937
  share_process_namespace: bool?
922
938
  }?
@@ -1173,7 +1189,9 @@ module Aws
1173
1189
  },
1174
1190
  ]?,
1175
1191
  metadata: {
1176
- labels: Hash[::String, ::String]?
1192
+ labels: Hash[::String, ::String]?,
1193
+ annotations: Hash[::String, ::String]?,
1194
+ namespace: ::String?
1177
1195
  }?
1178
1196
  }?
1179
1197
  }?
@@ -1235,7 +1253,9 @@ module Aws
1235
1253
  },
1236
1254
  ]?,
1237
1255
  metadata: {
1238
- labels: Hash[::String, ::String]?
1256
+ labels: Hash[::String, ::String]?,
1257
+ annotations: Hash[::String, ::String]?,
1258
+ namespace: ::String?
1239
1259
  }?
1240
1260
  }?
1241
1261
  },
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.105.0
4
+ version: 1.106.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-11-08 00:00:00.000000000 Z
11
+ date: 2024-12-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core