aws-sdk-batch 1.104.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: 4f764f139f43e281a19f709d761ba0f0a5c3a3da6d0e9b0bf24e9131ca31ca59
4
- data.tar.gz: 5fc7d65f0ff6a214e1378eaa0d9aeda7b1354e1c2dd43ceb2812554d1955c44c
3
+ metadata.gz: 99a4c964e748b2ca859e4369954dc142584487eac45cb49ba5e0ca85a359b9c0
4
+ data.tar.gz: 492cd9cda483ca29955b53ff1e9053767e440cbc98cb3677b71fff7a93300b56
5
5
  SHA512:
6
- metadata.gz: 9ef4f0ebe5fdf3fac6541f988fcbfb553036dc304d4568743561c73d15957994e24a9b90a8f3a1204fbd5f0a812d74db112ae1a1bb36deddbebabf5f951d1d2d
7
- data.tar.gz: c8f21f5339e919e849452b6d603d457fd45516493db89a2bf1a2f589076d5790ede2337caa5ec705d1dcecadb2765481a6bbf76124f2242853ca33702f8722de
6
+ metadata.gz: aff2e8164c631d9fc2ebf8d2151380e380f9a9ff32b58c245b5ab3060a91681c2b570fce4aa700880805365c0a0f58175ef647f437f9e8e3e1094f17054fcea7
7
+ data.tar.gz: 401131593b2721f7c3da5196cc116b8696dfa6fe21ad5bc529fd2ebb2b71040a69ade14f3ad2aa6a3de99c1aa6ccc80d0965c60980a47640307cc2afd3598c3f
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
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
+
9
+ 1.105.0 (2024-11-08)
10
+ ------------------
11
+
12
+ * Feature - This feature allows override LaunchTemplates to be specified in an AWS Batch Compute Environment.
13
+
4
14
  1.104.0 (2024-11-06)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.104.0
1
+ 1.106.0
@@ -859,6 +859,14 @@ module Aws::Batch
859
859
  # launch_template_id: "String",
860
860
  # launch_template_name: "String",
861
861
  # version: "String",
862
+ # overrides: [
863
+ # {
864
+ # launch_template_id: "String",
865
+ # launch_template_name: "String",
866
+ # version: "String",
867
+ # target_instance_types: ["String"],
868
+ # },
869
+ # ],
862
870
  # },
863
871
  # ec2_configuration: [
864
872
  # {
@@ -1413,6 +1421,12 @@ module Aws::Batch
1413
1421
  # resp.compute_environments[0].compute_resources.launch_template.launch_template_id #=> String
1414
1422
  # resp.compute_environments[0].compute_resources.launch_template.launch_template_name #=> String
1415
1423
  # resp.compute_environments[0].compute_resources.launch_template.version #=> String
1424
+ # resp.compute_environments[0].compute_resources.launch_template.overrides #=> Array
1425
+ # resp.compute_environments[0].compute_resources.launch_template.overrides[0].launch_template_id #=> String
1426
+ # resp.compute_environments[0].compute_resources.launch_template.overrides[0].launch_template_name #=> String
1427
+ # resp.compute_environments[0].compute_resources.launch_template.overrides[0].version #=> String
1428
+ # resp.compute_environments[0].compute_resources.launch_template.overrides[0].target_instance_types #=> Array
1429
+ # resp.compute_environments[0].compute_resources.launch_template.overrides[0].target_instance_types[0] #=> String
1416
1430
  # resp.compute_environments[0].compute_resources.ec2_configuration #=> Array
1417
1431
  # resp.compute_environments[0].compute_resources.ec2_configuration[0].image_type #=> String
1418
1432
  # resp.compute_environments[0].compute_resources.ec2_configuration[0].image_id_override #=> String
@@ -1781,6 +1795,7 @@ module Aws::Batch
1781
1795
  # resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.containers[0].volume_mounts #=> Array
1782
1796
  # resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.containers[0].volume_mounts[0].name #=> String
1783
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
1784
1799
  # resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.containers[0].volume_mounts[0].read_only #=> Boolean
1785
1800
  # resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.containers[0].security_context.run_as_user #=> Integer
1786
1801
  # resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.containers[0].security_context.run_as_group #=> Integer
@@ -1806,6 +1821,7 @@ module Aws::Batch
1806
1821
  # resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.init_containers[0].volume_mounts #=> Array
1807
1822
  # resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.init_containers[0].volume_mounts[0].name #=> String
1808
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
1809
1825
  # resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.init_containers[0].volume_mounts[0].read_only #=> Boolean
1810
1826
  # resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.init_containers[0].security_context.run_as_user #=> Integer
1811
1827
  # resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.init_containers[0].security_context.run_as_group #=> Integer
@@ -1820,8 +1836,13 @@ module Aws::Batch
1820
1836
  # resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.volumes[0].empty_dir.size_limit #=> String
1821
1837
  # resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.volumes[0].secret.secret_name #=> String
1822
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
1823
1841
  # resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.metadata.labels #=> Hash
1824
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
1825
1846
  # resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.share_process_namespace #=> Boolean
1826
1847
  # resp.job_definitions[0].tags #=> Hash
1827
1848
  # resp.job_definitions[0].tags["TagKey"] #=> String
@@ -1920,6 +1941,7 @@ module Aws::Batch
1920
1941
  # resp.job_definitions[0].eks_properties.pod_properties.containers[0].volume_mounts #=> Array
1921
1942
  # resp.job_definitions[0].eks_properties.pod_properties.containers[0].volume_mounts[0].name #=> String
1922
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
1923
1945
  # resp.job_definitions[0].eks_properties.pod_properties.containers[0].volume_mounts[0].read_only #=> Boolean
1924
1946
  # resp.job_definitions[0].eks_properties.pod_properties.containers[0].security_context.run_as_user #=> Integer
1925
1947
  # resp.job_definitions[0].eks_properties.pod_properties.containers[0].security_context.run_as_group #=> Integer
@@ -1945,6 +1967,7 @@ module Aws::Batch
1945
1967
  # resp.job_definitions[0].eks_properties.pod_properties.init_containers[0].volume_mounts #=> Array
1946
1968
  # resp.job_definitions[0].eks_properties.pod_properties.init_containers[0].volume_mounts[0].name #=> String
1947
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
1948
1971
  # resp.job_definitions[0].eks_properties.pod_properties.init_containers[0].volume_mounts[0].read_only #=> Boolean
1949
1972
  # resp.job_definitions[0].eks_properties.pod_properties.init_containers[0].security_context.run_as_user #=> Integer
1950
1973
  # resp.job_definitions[0].eks_properties.pod_properties.init_containers[0].security_context.run_as_group #=> Integer
@@ -1959,8 +1982,13 @@ module Aws::Batch
1959
1982
  # resp.job_definitions[0].eks_properties.pod_properties.volumes[0].empty_dir.size_limit #=> String
1960
1983
  # resp.job_definitions[0].eks_properties.pod_properties.volumes[0].secret.secret_name #=> String
1961
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
1962
1987
  # resp.job_definitions[0].eks_properties.pod_properties.metadata.labels #=> Hash
1963
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
1964
1992
  # resp.job_definitions[0].eks_properties.pod_properties.share_process_namespace #=> Boolean
1965
1993
  # resp.job_definitions[0].container_orchestration_type #=> String, one of "ECS", "EKS"
1966
1994
  # resp.next_token #=> String
@@ -2430,6 +2458,7 @@ module Aws::Batch
2430
2458
  # resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.containers[0].volume_mounts #=> Array
2431
2459
  # resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.containers[0].volume_mounts[0].name #=> String
2432
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
2433
2462
  # resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.containers[0].volume_mounts[0].read_only #=> Boolean
2434
2463
  # resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.containers[0].security_context.run_as_user #=> Integer
2435
2464
  # resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.containers[0].security_context.run_as_group #=> Integer
@@ -2455,6 +2484,7 @@ module Aws::Batch
2455
2484
  # resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.init_containers[0].volume_mounts #=> Array
2456
2485
  # resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.init_containers[0].volume_mounts[0].name #=> String
2457
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
2458
2488
  # resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.init_containers[0].volume_mounts[0].read_only #=> Boolean
2459
2489
  # resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.init_containers[0].security_context.run_as_user #=> Integer
2460
2490
  # resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.init_containers[0].security_context.run_as_group #=> Integer
@@ -2469,8 +2499,13 @@ module Aws::Batch
2469
2499
  # resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.volumes[0].empty_dir.size_limit #=> String
2470
2500
  # resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.volumes[0].secret.secret_name #=> String
2471
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
2472
2504
  # resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.metadata.labels #=> Hash
2473
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
2474
2509
  # resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.share_process_namespace #=> Boolean
2475
2510
  # resp.jobs[0].array_properties.status_summary #=> Hash
2476
2511
  # resp.jobs[0].array_properties.status_summary["String"] #=> Integer
@@ -2507,6 +2542,7 @@ module Aws::Batch
2507
2542
  # resp.jobs[0].eks_properties.pod_properties.containers[0].volume_mounts #=> Array
2508
2543
  # resp.jobs[0].eks_properties.pod_properties.containers[0].volume_mounts[0].name #=> String
2509
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
2510
2546
  # resp.jobs[0].eks_properties.pod_properties.containers[0].volume_mounts[0].read_only #=> Boolean
2511
2547
  # resp.jobs[0].eks_properties.pod_properties.containers[0].security_context.run_as_user #=> Integer
2512
2548
  # resp.jobs[0].eks_properties.pod_properties.containers[0].security_context.run_as_group #=> Integer
@@ -2534,6 +2570,7 @@ module Aws::Batch
2534
2570
  # resp.jobs[0].eks_properties.pod_properties.init_containers[0].volume_mounts #=> Array
2535
2571
  # resp.jobs[0].eks_properties.pod_properties.init_containers[0].volume_mounts[0].name #=> String
2536
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
2537
2574
  # resp.jobs[0].eks_properties.pod_properties.init_containers[0].volume_mounts[0].read_only #=> Boolean
2538
2575
  # resp.jobs[0].eks_properties.pod_properties.init_containers[0].security_context.run_as_user #=> Integer
2539
2576
  # resp.jobs[0].eks_properties.pod_properties.init_containers[0].security_context.run_as_group #=> Integer
@@ -2548,10 +2585,15 @@ module Aws::Batch
2548
2585
  # resp.jobs[0].eks_properties.pod_properties.volumes[0].empty_dir.size_limit #=> String
2549
2586
  # resp.jobs[0].eks_properties.pod_properties.volumes[0].secret.secret_name #=> String
2550
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
2551
2590
  # resp.jobs[0].eks_properties.pod_properties.pod_name #=> String
2552
2591
  # resp.jobs[0].eks_properties.pod_properties.node_name #=> String
2553
2592
  # resp.jobs[0].eks_properties.pod_properties.metadata.labels #=> Hash
2554
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
2555
2597
  # resp.jobs[0].eks_properties.pod_properties.share_process_namespace #=> Boolean
2556
2598
  # resp.jobs[0].eks_attempts #=> Array
2557
2599
  # resp.jobs[0].eks_attempts[0].containers #=> Array
@@ -3649,6 +3691,7 @@ module Aws::Batch
3649
3691
  # {
3650
3692
  # name: "String",
3651
3693
  # mount_path: "String",
3694
+ # sub_path: "String",
3652
3695
  # read_only: false,
3653
3696
  # },
3654
3697
  # ],
@@ -3687,6 +3730,7 @@ module Aws::Batch
3687
3730
  # {
3688
3731
  # name: "String",
3689
3732
  # mount_path: "String",
3733
+ # sub_path: "String",
3690
3734
  # read_only: false,
3691
3735
  # },
3692
3736
  # ],
@@ -3714,12 +3758,20 @@ module Aws::Batch
3714
3758
  # secret_name: "String", # required
3715
3759
  # optional: false,
3716
3760
  # },
3761
+ # persistent_volume_claim: {
3762
+ # claim_name: "String", # required
3763
+ # read_only: false,
3764
+ # },
3717
3765
  # },
3718
3766
  # ],
3719
3767
  # metadata: {
3720
3768
  # labels: {
3721
3769
  # "String" => "String",
3722
3770
  # },
3771
+ # annotations: {
3772
+ # "String" => "String",
3773
+ # },
3774
+ # namespace: "String",
3723
3775
  # },
3724
3776
  # share_process_namespace: false,
3725
3777
  # },
@@ -3781,6 +3833,7 @@ module Aws::Batch
3781
3833
  # {
3782
3834
  # name: "String",
3783
3835
  # mount_path: "String",
3836
+ # sub_path: "String",
3784
3837
  # read_only: false,
3785
3838
  # },
3786
3839
  # ],
@@ -3819,6 +3872,7 @@ module Aws::Batch
3819
3872
  # {
3820
3873
  # name: "String",
3821
3874
  # mount_path: "String",
3875
+ # sub_path: "String",
3822
3876
  # read_only: false,
3823
3877
  # },
3824
3878
  # ],
@@ -3846,12 +3900,20 @@ module Aws::Batch
3846
3900
  # secret_name: "String", # required
3847
3901
  # optional: false,
3848
3902
  # },
3903
+ # persistent_volume_claim: {
3904
+ # claim_name: "String", # required
3905
+ # read_only: false,
3906
+ # },
3849
3907
  # },
3850
3908
  # ],
3851
3909
  # metadata: {
3852
3910
  # labels: {
3853
3911
  # "String" => "String",
3854
3912
  # },
3913
+ # annotations: {
3914
+ # "String" => "String",
3915
+ # },
3916
+ # namespace: "String",
3855
3917
  # },
3856
3918
  # share_process_namespace: false,
3857
3919
  # },
@@ -4304,6 +4366,10 @@ module Aws::Batch
4304
4366
  # labels: {
4305
4367
  # "String" => "String",
4306
4368
  # },
4369
+ # annotations: {
4370
+ # "String" => "String",
4371
+ # },
4372
+ # namespace: "String",
4307
4373
  # },
4308
4374
  # },
4309
4375
  # },
@@ -4378,6 +4444,10 @@ module Aws::Batch
4378
4444
  # labels: {
4379
4445
  # "String" => "String",
4380
4446
  # },
4447
+ # annotations: {
4448
+ # "String" => "String",
4449
+ # },
4450
+ # namespace: "String",
4381
4451
  # },
4382
4452
  # },
4383
4453
  # },
@@ -4722,6 +4792,14 @@ module Aws::Batch
4722
4792
  # launch_template_id: "String",
4723
4793
  # launch_template_name: "String",
4724
4794
  # version: "String",
4795
+ # overrides: [
4796
+ # {
4797
+ # launch_template_id: "String",
4798
+ # launch_template_name: "String",
4799
+ # version: "String",
4800
+ # target_instance_types: ["String"],
4801
+ # },
4802
+ # ],
4725
4803
  # },
4726
4804
  # ec2_configuration: [
4727
4805
  # {
@@ -4919,7 +4997,7 @@ module Aws::Batch
4919
4997
  tracer: tracer
4920
4998
  )
4921
4999
  context[:gem_name] = 'aws-sdk-batch'
4922
- context[:gem_version] = '1.104.0'
5000
+ context[:gem_version] = '1.106.0'
4923
5001
  Seahorse::Client::Request.new(handlers, context)
4924
5002
  end
4925
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')
@@ -158,6 +160,8 @@ module Aws::Batch
158
160
  KeyValuesPair = Shapes::StructureShape.new(name: 'KeyValuesPair')
159
161
  KubernetesVersion = Shapes::StringShape.new(name: 'KubernetesVersion')
160
162
  LaunchTemplateSpecification = Shapes::StructureShape.new(name: 'LaunchTemplateSpecification')
163
+ LaunchTemplateSpecificationOverride = Shapes::StructureShape.new(name: 'LaunchTemplateSpecificationOverride')
164
+ LaunchTemplateSpecificationOverrideList = Shapes::ListShape.new(name: 'LaunchTemplateSpecificationOverrideList')
161
165
  LinuxParameters = Shapes::StructureShape.new(name: 'LinuxParameters')
162
166
  ListAttemptEcsTaskDetails = Shapes::ListShape.new(name: 'ListAttemptEcsTaskDetails')
163
167
  ListAttemptTaskContainerDetails = Shapes::ListShape.new(name: 'ListAttemptTaskContainerDetails')
@@ -594,6 +598,9 @@ module Aws::Batch
594
598
  EcsTaskProperties.add_member(:volumes, Shapes::ShapeRef.new(shape: Volumes, location_name: "volumes"))
595
599
  EcsTaskProperties.struct_class = Types::EcsTaskProperties
596
600
 
601
+ EksAnnotationsMap.key = Shapes::ShapeRef.new(shape: String)
602
+ EksAnnotationsMap.value = Shapes::ShapeRef.new(shape: String)
603
+
597
604
  EksAttemptContainerDetail.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
598
605
  EksAttemptContainerDetail.add_member(:container_id, Shapes::ShapeRef.new(shape: String, location_name: "containerID"))
599
606
  EksAttemptContainerDetail.add_member(:exit_code, Shapes::ShapeRef.new(shape: Integer, location_name: "exitCode"))
@@ -675,6 +682,7 @@ module Aws::Batch
675
682
 
676
683
  EksContainerVolumeMount.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
677
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"))
678
686
  EksContainerVolumeMount.add_member(:read_only, Shapes::ShapeRef.new(shape: Boolean, location_name: "readOnly"))
679
687
  EksContainerVolumeMount.struct_class = Types::EksContainerVolumeMount
680
688
 
@@ -696,8 +704,14 @@ module Aws::Batch
696
704
  EksLimits.value = Shapes::ShapeRef.new(shape: Quantity)
697
705
 
698
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"))
699
709
  EksMetadata.struct_class = Types::EksMetadata
700
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
+
701
715
  EksPodProperties.add_member(:service_account_name, Shapes::ShapeRef.new(shape: String, location_name: "serviceAccountName"))
702
716
  EksPodProperties.add_member(:host_network, Shapes::ShapeRef.new(shape: Boolean, location_name: "hostNetwork"))
703
717
  EksPodProperties.add_member(:dns_policy, Shapes::ShapeRef.new(shape: String, location_name: "dnsPolicy"))
@@ -747,6 +761,7 @@ module Aws::Batch
747
761
  EksVolume.add_member(:host_path, Shapes::ShapeRef.new(shape: EksHostPath, location_name: "hostPath"))
748
762
  EksVolume.add_member(:empty_dir, Shapes::ShapeRef.new(shape: EksEmptyDir, location_name: "emptyDir"))
749
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"))
750
765
  EksVolume.struct_class = Types::EksVolume
751
766
 
752
767
  EksVolumes.member = Shapes::ShapeRef.new(shape: EksVolume)
@@ -908,8 +923,17 @@ module Aws::Batch
908
923
  LaunchTemplateSpecification.add_member(:launch_template_id, Shapes::ShapeRef.new(shape: String, location_name: "launchTemplateId"))
909
924
  LaunchTemplateSpecification.add_member(:launch_template_name, Shapes::ShapeRef.new(shape: String, location_name: "launchTemplateName"))
910
925
  LaunchTemplateSpecification.add_member(:version, Shapes::ShapeRef.new(shape: String, location_name: "version"))
926
+ LaunchTemplateSpecification.add_member(:overrides, Shapes::ShapeRef.new(shape: LaunchTemplateSpecificationOverrideList, location_name: "overrides"))
911
927
  LaunchTemplateSpecification.struct_class = Types::LaunchTemplateSpecification
912
928
 
929
+ LaunchTemplateSpecificationOverride.add_member(:launch_template_id, Shapes::ShapeRef.new(shape: String, location_name: "launchTemplateId"))
930
+ LaunchTemplateSpecificationOverride.add_member(:launch_template_name, Shapes::ShapeRef.new(shape: String, location_name: "launchTemplateName"))
931
+ LaunchTemplateSpecificationOverride.add_member(:version, Shapes::ShapeRef.new(shape: String, location_name: "version"))
932
+ LaunchTemplateSpecificationOverride.add_member(:target_instance_types, Shapes::ShapeRef.new(shape: StringList, location_name: "targetInstanceTypes"))
933
+ LaunchTemplateSpecificationOverride.struct_class = Types::LaunchTemplateSpecificationOverride
934
+
935
+ LaunchTemplateSpecificationOverrideList.member = Shapes::ShapeRef.new(shape: LaunchTemplateSpecificationOverride)
936
+
913
937
  LinuxParameters.add_member(:devices, Shapes::ShapeRef.new(shape: DevicesList, location_name: "devices"))
914
938
  LinuxParameters.add_member(:init_process_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "initProcessEnabled"))
915
939
  LinuxParameters.add_member(:shared_memory_size, Shapes::ShapeRef.new(shape: Integer, location_name: "sharedMemorySize"))
@@ -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
@@ -5442,17 +5551,17 @@ module Aws::Batch
5442
5551
  # @return [String]
5443
5552
  #
5444
5553
  # @!attribute [rw] version
5445
- # The version number of the launch template, `$Latest`, or `$Default`.
5554
+ # The version number of the launch template, `$Default`, or `$Latest`.
5446
5555
  #
5447
- # If the value is `$Latest`, the latest version of the launch template
5448
- # is used. If the value is `$Default`, the default version of the
5449
- # launch template is used.
5556
+ # If the value is `$Default`, the default version of the launch
5557
+ # template is used. If the value is `$Latest`, the latest version of
5558
+ # the launch template is used.
5450
5559
  #
5451
5560
  # If the AMI ID that's used in a compute environment is from the
5452
5561
  # launch template, the AMI isn't changed when the compute environment
5453
5562
  # is updated. It's only changed if the `updateToLatestImageVersion`
5454
5563
  # parameter for the compute environment is set to `true`. During an
5455
- # infrastructure update, if either `$Latest` or `$Default` is
5564
+ # infrastructure update, if either `$Default` or `$Latest` is
5456
5565
  # specified, Batch re-evaluates the launch template version, and it
5457
5566
  # might use a different version of the launch template. This is the
5458
5567
  # case even if the launch template isn't specified in the update.
@@ -5461,19 +5570,156 @@ module Aws::Batch
5461
5570
  # more information, see [Updating compute environments][1] in the
5462
5571
  # *Batch User Guide*.
5463
5572
  #
5464
- # Default: `$Default`.
5573
+ # Default: `$Default`
5574
+ #
5575
+ # Latest: `$Latest`
5465
5576
  #
5466
5577
  #
5467
5578
  #
5468
5579
  # [1]: https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html
5469
5580
  # @return [String]
5470
5581
  #
5582
+ # @!attribute [rw] overrides
5583
+ # A launch template to use in place of the default launch template.
5584
+ # You must specify either the launch template ID or launch template
5585
+ # name in the request, but not both.
5586
+ #
5587
+ # You can specify up to ten (10) launch template overrides that are
5588
+ # associated to unique instance types or families for each compute
5589
+ # environment.
5590
+ #
5591
+ # <note markdown="1"> To unset all override templates for a compute environment, you can
5592
+ # pass an empty array to the [UpdateComputeEnvironment.overrides][1]
5593
+ # parameter, or not include the `overrides` parameter when submitting
5594
+ # the `UpdateComputeEnvironment` API operation.
5595
+ #
5596
+ # </note>
5597
+ #
5598
+ #
5599
+ #
5600
+ # [1]: https://docs.aws.amazon.com/batch/latest/APIReference/API_UpdateComputeEnvironment.html
5601
+ # @return [Array<Types::LaunchTemplateSpecificationOverride>]
5602
+ #
5471
5603
  # @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/LaunchTemplateSpecification AWS API Documentation
5472
5604
  #
5473
5605
  class LaunchTemplateSpecification < Struct.new(
5474
5606
  :launch_template_id,
5475
5607
  :launch_template_name,
5476
- :version)
5608
+ :version,
5609
+ :overrides)
5610
+ SENSITIVE = []
5611
+ include Aws::Structure
5612
+ end
5613
+
5614
+ # An object that represents a launch template to use in place of the
5615
+ # default launch template. You must specify either the launch template
5616
+ # ID or launch template name in the request, but not both.
5617
+ #
5618
+ # If security groups are specified using both the `securityGroupIds`
5619
+ # parameter of `CreateComputeEnvironment` and the launch template, the
5620
+ # values in the `securityGroupIds` parameter of
5621
+ # `CreateComputeEnvironment` will be used.
5622
+ #
5623
+ # You can define up to ten (10) overrides for each compute environment.
5624
+ #
5625
+ # <note markdown="1"> This object isn't applicable to jobs that are running on Fargate
5626
+ # resources.
5627
+ #
5628
+ # </note>
5629
+ #
5630
+ # <note markdown="1"> To unset all override templates for a compute environment, you can
5631
+ # pass an empty array to the [UpdateComputeEnvironment.overrides][1]
5632
+ # parameter, or not include the `overrides` parameter when submitting
5633
+ # the `UpdateComputeEnvironment` API operation.
5634
+ #
5635
+ # </note>
5636
+ #
5637
+ #
5638
+ #
5639
+ # [1]: https://docs.aws.amazon.com/batch/latest/APIReference/API_UpdateComputeEnvironment.html
5640
+ #
5641
+ # @!attribute [rw] launch_template_id
5642
+ # The ID of the launch template.
5643
+ #
5644
+ # **Note:** If you specify the `launchTemplateId` you can't specify
5645
+ # the `launchTemplateName` as well.
5646
+ # @return [String]
5647
+ #
5648
+ # @!attribute [rw] launch_template_name
5649
+ # The name of the launch template.
5650
+ #
5651
+ # **Note:** If you specify the `launchTemplateName` you can't specify
5652
+ # the `launchTemplateId` as well.
5653
+ # @return [String]
5654
+ #
5655
+ # @!attribute [rw] version
5656
+ # The version number of the launch template, `$Default`, or `$Latest`.
5657
+ #
5658
+ # If the value is `$Default`, the default version of the launch
5659
+ # template is used. If the value is `$Latest`, the latest version of
5660
+ # the launch template is used.
5661
+ #
5662
+ # If the AMI ID that's used in a compute environment is from the
5663
+ # launch template, the AMI isn't changed when the compute environment
5664
+ # is updated. It's only changed if the `updateToLatestImageVersion`
5665
+ # parameter for the compute environment is set to `true`. During an
5666
+ # infrastructure update, if either `$Default` or `$Latest` is
5667
+ # specified, Batch re-evaluates the launch template version, and it
5668
+ # might use a different version of the launch template. This is the
5669
+ # case even if the launch template isn't specified in the update.
5670
+ # When updating a compute environment, changing the launch template
5671
+ # requires an infrastructure update of the compute environment. For
5672
+ # more information, see [Updating compute environments][1] in the
5673
+ # *Batch User Guide*.
5674
+ #
5675
+ # Default: `$Default`
5676
+ #
5677
+ # Latest: `$Latest`
5678
+ #
5679
+ #
5680
+ #
5681
+ # [1]: https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html
5682
+ # @return [String]
5683
+ #
5684
+ # @!attribute [rw] target_instance_types
5685
+ # The instance type or family that this this override launch template
5686
+ # should be applied to.
5687
+ #
5688
+ # This parameter is required when defining a launch template override.
5689
+ #
5690
+ # Information included in this parameter must meet the following
5691
+ # requirements:
5692
+ #
5693
+ # * Must be a valid Amazon EC2 instance type or family.
5694
+ #
5695
+ # * `optimal` isn't allowed.
5696
+ #
5697
+ # * `targetInstanceTypes` can target only instance types and families
5698
+ # that are included within the [ `ComputeResource.instanceTypes`
5699
+ # ][1] set. `targetInstanceTypes` doesn't need to include all of
5700
+ # the instances from the `instanceType` set, but at least a subset.
5701
+ # For example, if `ComputeResource.instanceTypes` includes `[m5,
5702
+ # g5]`, `targetInstanceTypes` can include `[m5.2xlarge]` and
5703
+ # `[m5.large]` but not `[c5.large]`.
5704
+ #
5705
+ # * `targetInstanceTypes` included within the same launch template
5706
+ # override or across launch template overrides can't overlap for
5707
+ # the same compute environment. For example, you can't define one
5708
+ # launch template override to target an instance family and another
5709
+ # define an instance type within this same family.
5710
+ #
5711
+ #
5712
+ #
5713
+ # [1]: https://docs.aws.amazon.com/batch/latest/APIReference/API_ComputeResource.html#Batch-Type-ComputeResource-instanceTypes
5714
+ # @return [Array<String>]
5715
+ #
5716
+ # @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/LaunchTemplateSpecificationOverride AWS API Documentation
5717
+ #
5718
+ class LaunchTemplateSpecificationOverride < Struct.new(
5719
+ :launch_template_id,
5720
+ :launch_template_name,
5721
+ :version,
5722
+ :target_instance_types)
5477
5723
  SENSITIVE = []
5478
5724
  include Aws::Structure
5479
5725
  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.104.0'
57
+ GEM_VERSION = '1.106.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -115,7 +115,15 @@ module Aws
115
115
  launch_template: {
116
116
  launch_template_id: ::String?,
117
117
  launch_template_name: ::String?,
118
- version: ::String?
118
+ version: ::String?,
119
+ overrides: Array[
120
+ {
121
+ launch_template_id: ::String?,
122
+ launch_template_name: ::String?,
123
+ version: ::String?,
124
+ target_instance_types: Array[::String]?
125
+ },
126
+ ]?
119
127
  }?,
120
128
  ec2_configuration: Array[
121
129
  {
@@ -724,6 +732,7 @@ module Aws
724
732
  {
725
733
  name: ::String?,
726
734
  mount_path: ::String?,
735
+ sub_path: ::String?,
727
736
  read_only: bool?
728
737
  },
729
738
  ]?,
@@ -758,6 +767,7 @@ module Aws
758
767
  {
759
768
  name: ::String?,
760
769
  mount_path: ::String?,
770
+ sub_path: ::String?,
761
771
  read_only: bool?
762
772
  },
763
773
  ]?,
@@ -784,11 +794,17 @@ module Aws
784
794
  secret: {
785
795
  secret_name: ::String,
786
796
  optional: bool?
797
+ }?,
798
+ persistent_volume_claim: {
799
+ claim_name: ::String,
800
+ read_only: bool?
787
801
  }?
788
802
  },
789
803
  ]?,
790
804
  metadata: {
791
- labels: Hash[::String, ::String]?
805
+ labels: Hash[::String, ::String]?,
806
+ annotations: Hash[::String, ::String]?,
807
+ namespace: ::String?
792
808
  }?,
793
809
  share_process_namespace: bool?
794
810
  }?
@@ -844,6 +860,7 @@ module Aws
844
860
  {
845
861
  name: ::String?,
846
862
  mount_path: ::String?,
863
+ sub_path: ::String?,
847
864
  read_only: bool?
848
865
  },
849
866
  ]?,
@@ -878,6 +895,7 @@ module Aws
878
895
  {
879
896
  name: ::String?,
880
897
  mount_path: ::String?,
898
+ sub_path: ::String?,
881
899
  read_only: bool?
882
900
  },
883
901
  ]?,
@@ -904,11 +922,17 @@ module Aws
904
922
  secret: {
905
923
  secret_name: ::String,
906
924
  optional: bool?
925
+ }?,
926
+ persistent_volume_claim: {
927
+ claim_name: ::String,
928
+ read_only: bool?
907
929
  }?
908
930
  },
909
931
  ]?,
910
932
  metadata: {
911
- labels: Hash[::String, ::String]?
933
+ labels: Hash[::String, ::String]?,
934
+ annotations: Hash[::String, ::String]?,
935
+ namespace: ::String?
912
936
  }?,
913
937
  share_process_namespace: bool?
914
938
  }?
@@ -1165,7 +1189,9 @@ module Aws
1165
1189
  },
1166
1190
  ]?,
1167
1191
  metadata: {
1168
- labels: Hash[::String, ::String]?
1192
+ labels: Hash[::String, ::String]?,
1193
+ annotations: Hash[::String, ::String]?,
1194
+ namespace: ::String?
1169
1195
  }?
1170
1196
  }?
1171
1197
  }?
@@ -1227,7 +1253,9 @@ module Aws
1227
1253
  },
1228
1254
  ]?,
1229
1255
  metadata: {
1230
- labels: Hash[::String, ::String]?
1256
+ labels: Hash[::String, ::String]?,
1257
+ annotations: Hash[::String, ::String]?,
1258
+ namespace: ::String?
1231
1259
  }?
1232
1260
  }?
1233
1261
  },
@@ -1314,7 +1342,15 @@ module Aws
1314
1342
  launch_template: {
1315
1343
  launch_template_id: ::String?,
1316
1344
  launch_template_name: ::String?,
1317
- version: ::String?
1345
+ version: ::String?,
1346
+ overrides: Array[
1347
+ {
1348
+ launch_template_id: ::String?,
1349
+ launch_template_name: ::String?,
1350
+ version: ::String?,
1351
+ target_instance_types: Array[::String]?
1352
+ },
1353
+ ]?
1318
1354
  }?,
1319
1355
  ec2_configuration: Array[
1320
1356
  {
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
 
@@ -785,6 +795,15 @@ module Aws::Batch
785
795
  attr_accessor launch_template_id: ::String
786
796
  attr_accessor launch_template_name: ::String
787
797
  attr_accessor version: ::String
798
+ attr_accessor overrides: ::Array[Types::LaunchTemplateSpecificationOverride]
799
+ SENSITIVE: []
800
+ end
801
+
802
+ class LaunchTemplateSpecificationOverride
803
+ attr_accessor launch_template_id: ::String
804
+ attr_accessor launch_template_name: ::String
805
+ attr_accessor version: ::String
806
+ attr_accessor target_instance_types: ::Array[::String]
788
807
  SENSITIVE: []
789
808
  end
790
809
 
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.104.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-06 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