aws-sdk-batch 1.64.0 → 1.66.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-batch/client.rb +8 -1
- data/lib/aws-sdk-batch/client_api.rb +2 -0
- data/lib/aws-sdk-batch/endpoint_parameters.rb +3 -0
- data/lib/aws-sdk-batch/endpoint_provider.rb +84 -86
- data/lib/aws-sdk-batch/types.rb +110 -1807
- data/lib/aws-sdk-batch.rb +1 -1
- metadata +2 -2
data/lib/aws-sdk-batch/types.rb
CHANGED
@@ -12,13 +12,6 @@ module Aws::Batch
|
|
12
12
|
|
13
13
|
# An object that represents an Batch array job.
|
14
14
|
#
|
15
|
-
# @note When making an API call, you may pass ArrayProperties
|
16
|
-
# data as a hash:
|
17
|
-
#
|
18
|
-
# {
|
19
|
-
# size: 1,
|
20
|
-
# }
|
21
|
-
#
|
22
15
|
# @!attribute [rw] size
|
23
16
|
# The size of the array job.
|
24
17
|
# @return [Integer]
|
@@ -163,14 +156,6 @@ module Aws::Batch
|
|
163
156
|
|
164
157
|
# Contains the parameters for `CancelJob`.
|
165
158
|
#
|
166
|
-
# @note When making an API call, you may pass CancelJobRequest
|
167
|
-
# data as a hash:
|
168
|
-
#
|
169
|
-
# {
|
170
|
-
# job_id: "String", # required
|
171
|
-
# reason: "String", # required
|
172
|
-
# }
|
173
|
-
#
|
174
159
|
# @!attribute [rw] job_id
|
175
160
|
# The Batch job ID of the job to cancel.
|
176
161
|
# @return [String]
|
@@ -358,14 +343,6 @@ module Aws::Batch
|
|
358
343
|
#
|
359
344
|
# </note>
|
360
345
|
#
|
361
|
-
# @note When making an API call, you may pass ComputeEnvironmentOrder
|
362
|
-
# data as a hash:
|
363
|
-
#
|
364
|
-
# {
|
365
|
-
# order: 1, # required
|
366
|
-
# compute_environment: "String", # required
|
367
|
-
# }
|
368
|
-
#
|
369
346
|
# @!attribute [rw] order
|
370
347
|
# The order of the compute environment. Compute environments are tried
|
371
348
|
# in ascending order. For example, if two compute environments are
|
@@ -393,41 +370,6 @@ module Aws::Batch
|
|
393
370
|
#
|
394
371
|
# [1]: https://docs.aws.amazon.com/batch/latest/userguide/compute_environments.html
|
395
372
|
#
|
396
|
-
# @note When making an API call, you may pass ComputeResource
|
397
|
-
# data as a hash:
|
398
|
-
#
|
399
|
-
# {
|
400
|
-
# type: "EC2", # required, accepts EC2, SPOT, FARGATE, FARGATE_SPOT
|
401
|
-
# allocation_strategy: "BEST_FIT", # accepts BEST_FIT, BEST_FIT_PROGRESSIVE, SPOT_CAPACITY_OPTIMIZED
|
402
|
-
# minv_cpus: 1,
|
403
|
-
# maxv_cpus: 1, # required
|
404
|
-
# desiredv_cpus: 1,
|
405
|
-
# instance_types: ["String"],
|
406
|
-
# image_id: "String",
|
407
|
-
# subnets: ["String"], # required
|
408
|
-
# security_group_ids: ["String"],
|
409
|
-
# ec2_key_pair: "String",
|
410
|
-
# instance_role: "String",
|
411
|
-
# tags: {
|
412
|
-
# "String" => "String",
|
413
|
-
# },
|
414
|
-
# placement_group: "String",
|
415
|
-
# bid_percentage: 1,
|
416
|
-
# spot_iam_fleet_role: "String",
|
417
|
-
# launch_template: {
|
418
|
-
# launch_template_id: "String",
|
419
|
-
# launch_template_name: "String",
|
420
|
-
# version: "String",
|
421
|
-
# },
|
422
|
-
# ec2_configuration: [
|
423
|
-
# {
|
424
|
-
# image_type: "ImageType", # required
|
425
|
-
# image_id_override: "ImageIdOverride",
|
426
|
-
# image_kubernetes_version: "KubernetesVersion",
|
427
|
-
# },
|
428
|
-
# ],
|
429
|
-
# }
|
430
|
-
#
|
431
373
|
# @!attribute [rw] type
|
432
374
|
# The type of compute environment: `EC2`, `SPOT`, `FARGATE`, or
|
433
375
|
# `FARGATE_SPOT`. For more information, see [Compute environments][1]
|
@@ -596,9 +538,23 @@ module Aws::Batch
|
|
596
538
|
# contain up to 16 subnets. For more information, see [VPCs and
|
597
539
|
# subnets][1] in the *Amazon VPC User Guide*.
|
598
540
|
#
|
541
|
+
# <note markdown="1"> Batch on Amazon EC2 and Batch on Amazon EKS support Local Zones. For
|
542
|
+
# more information, see [ Local Zones][2] in the *Amazon EC2 User
|
543
|
+
# Guide for Linux Instances*, [Amazon EKS and Amazon Web Services
|
544
|
+
# Local Zones][3] in the *Amazon EKS User Guide* and [ Amazon ECS
|
545
|
+
# clusters in Local Zones, Wavelength Zones, and Amazon Web Services
|
546
|
+
# Outposts][4] in the *Amazon ECS Developer Guide*.
|
547
|
+
#
|
548
|
+
# Batch on Fargate doesn't currently support Local Zones.
|
549
|
+
#
|
550
|
+
# </note>
|
551
|
+
#
|
599
552
|
#
|
600
553
|
#
|
601
554
|
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html
|
555
|
+
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html#concepts-local-zones
|
556
|
+
# [3]: https://docs.aws.amazon.com/eks/latest/userguide/local-zones.html
|
557
|
+
# [4]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cluster-regions-zones.html#clusters-local-zones
|
602
558
|
# @return [Array<String>]
|
603
559
|
#
|
604
560
|
# @!attribute [rw] security_group_ids
|
@@ -692,7 +648,8 @@ module Aws::Batch
|
|
692
648
|
# On-Demand price for that Amazon EC2 instance. You always pay the
|
693
649
|
# lowest (market) price and never more than your maximum percentage.
|
694
650
|
# If you leave this field empty, the default value is 100% of the
|
695
|
-
# On-Demand price.
|
651
|
+
# On-Demand price. For most use cases, we recommend leaving this field
|
652
|
+
# empty.
|
696
653
|
#
|
697
654
|
# <note markdown="1"> This parameter isn't applicable to jobs that are running on Fargate
|
698
655
|
# resources. Don't specify it.
|
@@ -789,41 +746,6 @@ module Aws::Batch
|
|
789
746
|
#
|
790
747
|
# [1]: https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html
|
791
748
|
#
|
792
|
-
# @note When making an API call, you may pass ComputeResourceUpdate
|
793
|
-
# data as a hash:
|
794
|
-
#
|
795
|
-
# {
|
796
|
-
# minv_cpus: 1,
|
797
|
-
# maxv_cpus: 1,
|
798
|
-
# desiredv_cpus: 1,
|
799
|
-
# subnets: ["String"],
|
800
|
-
# security_group_ids: ["String"],
|
801
|
-
# allocation_strategy: "BEST_FIT_PROGRESSIVE", # accepts BEST_FIT_PROGRESSIVE, SPOT_CAPACITY_OPTIMIZED
|
802
|
-
# instance_types: ["String"],
|
803
|
-
# ec2_key_pair: "String",
|
804
|
-
# instance_role: "String",
|
805
|
-
# tags: {
|
806
|
-
# "String" => "String",
|
807
|
-
# },
|
808
|
-
# placement_group: "String",
|
809
|
-
# bid_percentage: 1,
|
810
|
-
# launch_template: {
|
811
|
-
# launch_template_id: "String",
|
812
|
-
# launch_template_name: "String",
|
813
|
-
# version: "String",
|
814
|
-
# },
|
815
|
-
# ec2_configuration: [
|
816
|
-
# {
|
817
|
-
# image_type: "ImageType", # required
|
818
|
-
# image_id_override: "ImageIdOverride",
|
819
|
-
# image_kubernetes_version: "KubernetesVersion",
|
820
|
-
# },
|
821
|
-
# ],
|
822
|
-
# update_to_latest_image_version: false,
|
823
|
-
# type: "EC2", # accepts EC2, SPOT, FARGATE, FARGATE_SPOT
|
824
|
-
# image_id: "String",
|
825
|
-
# }
|
826
|
-
#
|
827
749
|
# @!attribute [rw] minv_cpus
|
828
750
|
# The minimum number of Amazon EC2 vCPUs that an environment should
|
829
751
|
# maintain (even if the compute environment is `DISABLED`).
|
@@ -858,6 +780,12 @@ module Aws::Batch
|
|
858
780
|
# resources. Don't specify it.
|
859
781
|
#
|
860
782
|
# </note>
|
783
|
+
#
|
784
|
+
# <note markdown="1"> Batch doesn't support changing the desired number of vCPUs of an
|
785
|
+
# existing compute environment. Don't specify this parameter for
|
786
|
+
# compute environments using Amazon EKS clusters.
|
787
|
+
#
|
788
|
+
# </note>
|
861
789
|
# @return [Integer]
|
862
790
|
#
|
863
791
|
# @!attribute [rw] subnets
|
@@ -874,10 +802,24 @@ module Aws::Batch
|
|
874
802
|
# more information, see [Updating compute environments][2] in the
|
875
803
|
# *Batch User Guide*.
|
876
804
|
#
|
805
|
+
# <note markdown="1"> Batch on Amazon EC2 and Batch on Amazon EKS support Local Zones. For
|
806
|
+
# more information, see [ Local Zones][3] in the *Amazon EC2 User
|
807
|
+
# Guide for Linux Instances*, [Amazon EKS and Amazon Web Services
|
808
|
+
# Local Zones][4] in the *Amazon EKS User Guide* and [ Amazon ECS
|
809
|
+
# clusters in Local Zones, Wavelength Zones, and Amazon Web Services
|
810
|
+
# Outposts][5] in the *Amazon ECS Developer Guide*.
|
811
|
+
#
|
812
|
+
# Batch on Fargate doesn't currently support Local Zones.
|
813
|
+
#
|
814
|
+
# </note>
|
815
|
+
#
|
877
816
|
#
|
878
817
|
#
|
879
818
|
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html
|
880
819
|
# [2]: https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html
|
820
|
+
# [3]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html#concepts-local-zones
|
821
|
+
# [4]: https://docs.aws.amazon.com/eks/latest/userguide/local-zones.html
|
822
|
+
# [5]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cluster-regions-zones.html#clusters-local-zones
|
881
823
|
# @return [Array<String>]
|
882
824
|
#
|
883
825
|
# @!attribute [rw] security_group_ids
|
@@ -1086,7 +1028,8 @@ module Aws::Batch
|
|
1086
1028
|
# instances are launched. For example, if your maximum percentage is
|
1087
1029
|
# 20%, the Spot price must be less than 20% of the current On-Demand
|
1088
1030
|
# price for that Amazon EC2 instance. You always pay the lowest
|
1089
|
-
# (market) price and never more than your maximum percentage.
|
1031
|
+
# (market) price and never more than your maximum percentage. For most
|
1032
|
+
# use cases, we recommend leaving this field empty.
|
1090
1033
|
#
|
1091
1034
|
# When updating a compute environment, changing the bid percentage
|
1092
1035
|
# requires an infrastructure update of the compute environment. For
|
@@ -1542,28 +1485,6 @@ module Aws::Batch
|
|
1542
1485
|
|
1543
1486
|
# The overrides that should be sent to a container.
|
1544
1487
|
#
|
1545
|
-
# @note When making an API call, you may pass ContainerOverrides
|
1546
|
-
# data as a hash:
|
1547
|
-
#
|
1548
|
-
# {
|
1549
|
-
# vcpus: 1,
|
1550
|
-
# memory: 1,
|
1551
|
-
# command: ["String"],
|
1552
|
-
# instance_type: "String",
|
1553
|
-
# environment: [
|
1554
|
-
# {
|
1555
|
-
# name: "String",
|
1556
|
-
# value: "String",
|
1557
|
-
# },
|
1558
|
-
# ],
|
1559
|
-
# resource_requirements: [
|
1560
|
-
# {
|
1561
|
-
# value: "String", # required
|
1562
|
-
# type: "GPU", # required, accepts GPU, VCPU, MEMORY
|
1563
|
-
# },
|
1564
|
-
# ],
|
1565
|
-
# }
|
1566
|
-
#
|
1567
1488
|
# @!attribute [rw] vcpus
|
1568
1489
|
# This parameter is deprecated, use `resourceRequirements` to override
|
1569
1490
|
# the `vcpus` parameter that's set in the job definition. It's not
|
@@ -1651,110 +1572,6 @@ module Aws::Batch
|
|
1651
1572
|
# These properties to describe the container that's launched as part of
|
1652
1573
|
# a job.
|
1653
1574
|
#
|
1654
|
-
# @note When making an API call, you may pass ContainerProperties
|
1655
|
-
# data as a hash:
|
1656
|
-
#
|
1657
|
-
# {
|
1658
|
-
# image: "String",
|
1659
|
-
# vcpus: 1,
|
1660
|
-
# memory: 1,
|
1661
|
-
# command: ["String"],
|
1662
|
-
# job_role_arn: "String",
|
1663
|
-
# execution_role_arn: "String",
|
1664
|
-
# volumes: [
|
1665
|
-
# {
|
1666
|
-
# host: {
|
1667
|
-
# source_path: "String",
|
1668
|
-
# },
|
1669
|
-
# name: "String",
|
1670
|
-
# efs_volume_configuration: {
|
1671
|
-
# file_system_id: "String", # required
|
1672
|
-
# root_directory: "String",
|
1673
|
-
# transit_encryption: "ENABLED", # accepts ENABLED, DISABLED
|
1674
|
-
# transit_encryption_port: 1,
|
1675
|
-
# authorization_config: {
|
1676
|
-
# access_point_id: "String",
|
1677
|
-
# iam: "ENABLED", # accepts ENABLED, DISABLED
|
1678
|
-
# },
|
1679
|
-
# },
|
1680
|
-
# },
|
1681
|
-
# ],
|
1682
|
-
# environment: [
|
1683
|
-
# {
|
1684
|
-
# name: "String",
|
1685
|
-
# value: "String",
|
1686
|
-
# },
|
1687
|
-
# ],
|
1688
|
-
# mount_points: [
|
1689
|
-
# {
|
1690
|
-
# container_path: "String",
|
1691
|
-
# read_only: false,
|
1692
|
-
# source_volume: "String",
|
1693
|
-
# },
|
1694
|
-
# ],
|
1695
|
-
# readonly_root_filesystem: false,
|
1696
|
-
# privileged: false,
|
1697
|
-
# ulimits: [
|
1698
|
-
# {
|
1699
|
-
# hard_limit: 1, # required
|
1700
|
-
# name: "String", # required
|
1701
|
-
# soft_limit: 1, # required
|
1702
|
-
# },
|
1703
|
-
# ],
|
1704
|
-
# user: "String",
|
1705
|
-
# instance_type: "String",
|
1706
|
-
# resource_requirements: [
|
1707
|
-
# {
|
1708
|
-
# value: "String", # required
|
1709
|
-
# type: "GPU", # required, accepts GPU, VCPU, MEMORY
|
1710
|
-
# },
|
1711
|
-
# ],
|
1712
|
-
# linux_parameters: {
|
1713
|
-
# devices: [
|
1714
|
-
# {
|
1715
|
-
# host_path: "String", # required
|
1716
|
-
# container_path: "String",
|
1717
|
-
# permissions: ["READ"], # accepts READ, WRITE, MKNOD
|
1718
|
-
# },
|
1719
|
-
# ],
|
1720
|
-
# init_process_enabled: false,
|
1721
|
-
# shared_memory_size: 1,
|
1722
|
-
# tmpfs: [
|
1723
|
-
# {
|
1724
|
-
# container_path: "String", # required
|
1725
|
-
# size: 1, # required
|
1726
|
-
# mount_options: ["String"],
|
1727
|
-
# },
|
1728
|
-
# ],
|
1729
|
-
# max_swap: 1,
|
1730
|
-
# swappiness: 1,
|
1731
|
-
# },
|
1732
|
-
# log_configuration: {
|
1733
|
-
# log_driver: "json-file", # required, accepts json-file, syslog, journald, gelf, fluentd, awslogs, splunk
|
1734
|
-
# options: {
|
1735
|
-
# "String" => "String",
|
1736
|
-
# },
|
1737
|
-
# secret_options: [
|
1738
|
-
# {
|
1739
|
-
# name: "String", # required
|
1740
|
-
# value_from: "String", # required
|
1741
|
-
# },
|
1742
|
-
# ],
|
1743
|
-
# },
|
1744
|
-
# secrets: [
|
1745
|
-
# {
|
1746
|
-
# name: "String", # required
|
1747
|
-
# value_from: "String", # required
|
1748
|
-
# },
|
1749
|
-
# ],
|
1750
|
-
# network_configuration: {
|
1751
|
-
# assign_public_ip: "ENABLED", # accepts ENABLED, DISABLED
|
1752
|
-
# },
|
1753
|
-
# fargate_platform_configuration: {
|
1754
|
-
# platform_version: "String",
|
1755
|
-
# },
|
1756
|
-
# }
|
1757
|
-
#
|
1758
1575
|
# @!attribute [rw] image
|
1759
1576
|
# The image used to start a container. This string is passed directly
|
1760
1577
|
# to the Docker daemon. Images in the Docker Hub registry are
|
@@ -2097,55 +1914,6 @@ module Aws::Batch
|
|
2097
1914
|
|
2098
1915
|
# Contains the parameters for `CreateComputeEnvironment`.
|
2099
1916
|
#
|
2100
|
-
# @note When making an API call, you may pass CreateComputeEnvironmentRequest
|
2101
|
-
# data as a hash:
|
2102
|
-
#
|
2103
|
-
# {
|
2104
|
-
# compute_environment_name: "String", # required
|
2105
|
-
# type: "MANAGED", # required, accepts MANAGED, UNMANAGED
|
2106
|
-
# state: "ENABLED", # accepts ENABLED, DISABLED
|
2107
|
-
# unmanagedv_cpus: 1,
|
2108
|
-
# compute_resources: {
|
2109
|
-
# type: "EC2", # required, accepts EC2, SPOT, FARGATE, FARGATE_SPOT
|
2110
|
-
# allocation_strategy: "BEST_FIT", # accepts BEST_FIT, BEST_FIT_PROGRESSIVE, SPOT_CAPACITY_OPTIMIZED
|
2111
|
-
# minv_cpus: 1,
|
2112
|
-
# maxv_cpus: 1, # required
|
2113
|
-
# desiredv_cpus: 1,
|
2114
|
-
# instance_types: ["String"],
|
2115
|
-
# image_id: "String",
|
2116
|
-
# subnets: ["String"], # required
|
2117
|
-
# security_group_ids: ["String"],
|
2118
|
-
# ec2_key_pair: "String",
|
2119
|
-
# instance_role: "String",
|
2120
|
-
# tags: {
|
2121
|
-
# "String" => "String",
|
2122
|
-
# },
|
2123
|
-
# placement_group: "String",
|
2124
|
-
# bid_percentage: 1,
|
2125
|
-
# spot_iam_fleet_role: "String",
|
2126
|
-
# launch_template: {
|
2127
|
-
# launch_template_id: "String",
|
2128
|
-
# launch_template_name: "String",
|
2129
|
-
# version: "String",
|
2130
|
-
# },
|
2131
|
-
# ec2_configuration: [
|
2132
|
-
# {
|
2133
|
-
# image_type: "ImageType", # required
|
2134
|
-
# image_id_override: "ImageIdOverride",
|
2135
|
-
# image_kubernetes_version: "KubernetesVersion",
|
2136
|
-
# },
|
2137
|
-
# ],
|
2138
|
-
# },
|
2139
|
-
# service_role: "String",
|
2140
|
-
# tags: {
|
2141
|
-
# "TagKey" => "TagValue",
|
2142
|
-
# },
|
2143
|
-
# eks_configuration: {
|
2144
|
-
# eks_cluster_arn: "String", # required
|
2145
|
-
# kubernetes_namespace: "String", # required
|
2146
|
-
# },
|
2147
|
-
# }
|
2148
|
-
#
|
2149
1917
|
# @!attribute [rw] compute_environment_name
|
2150
1918
|
# The name for your compute environment. It can be up to 128
|
2151
1919
|
# characters long. It can contain uppercase and lowercase letters,
|
@@ -2296,25 +2064,6 @@ module Aws::Batch
|
|
2296
2064
|
|
2297
2065
|
# Contains the parameters for `CreateJobQueue`.
|
2298
2066
|
#
|
2299
|
-
# @note When making an API call, you may pass CreateJobQueueRequest
|
2300
|
-
# data as a hash:
|
2301
|
-
#
|
2302
|
-
# {
|
2303
|
-
# job_queue_name: "String", # required
|
2304
|
-
# state: "ENABLED", # accepts ENABLED, DISABLED
|
2305
|
-
# scheduling_policy_arn: "String",
|
2306
|
-
# priority: 1, # required
|
2307
|
-
# compute_environment_order: [ # required
|
2308
|
-
# {
|
2309
|
-
# order: 1, # required
|
2310
|
-
# compute_environment: "String", # required
|
2311
|
-
# },
|
2312
|
-
# ],
|
2313
|
-
# tags: {
|
2314
|
-
# "TagKey" => "TagValue",
|
2315
|
-
# },
|
2316
|
-
# }
|
2317
|
-
#
|
2318
2067
|
# @!attribute [rw] job_queue_name
|
2319
2068
|
# The name of the job queue. It can be up to 128 letters long. It can
|
2320
2069
|
# contain uppercase and lowercase letters, numbers, hyphens (-), and
|
@@ -2413,26 +2162,6 @@ module Aws::Batch
|
|
2413
2162
|
|
2414
2163
|
# Contains the parameters for `CreateSchedulingPolicy`.
|
2415
2164
|
#
|
2416
|
-
# @note When making an API call, you may pass CreateSchedulingPolicyRequest
|
2417
|
-
# data as a hash:
|
2418
|
-
#
|
2419
|
-
# {
|
2420
|
-
# name: "String", # required
|
2421
|
-
# fairshare_policy: {
|
2422
|
-
# share_decay_seconds: 1,
|
2423
|
-
# compute_reservation: 1,
|
2424
|
-
# share_distribution: [
|
2425
|
-
# {
|
2426
|
-
# share_identifier: "String", # required
|
2427
|
-
# weight_factor: 1.0,
|
2428
|
-
# },
|
2429
|
-
# ],
|
2430
|
-
# },
|
2431
|
-
# tags: {
|
2432
|
-
# "TagKey" => "TagValue",
|
2433
|
-
# },
|
2434
|
-
# }
|
2435
|
-
#
|
2436
2165
|
# @!attribute [rw] name
|
2437
2166
|
# The name of the scheduling policy. It can be up to 128 letters long.
|
2438
2167
|
# It can contain uppercase and lowercase letters, numbers, hyphens
|
@@ -2491,13 +2220,6 @@ module Aws::Batch
|
|
2491
2220
|
|
2492
2221
|
# Contains the parameters for `DeleteComputeEnvironment`.
|
2493
2222
|
#
|
2494
|
-
# @note When making an API call, you may pass DeleteComputeEnvironmentRequest
|
2495
|
-
# data as a hash:
|
2496
|
-
#
|
2497
|
-
# {
|
2498
|
-
# compute_environment: "String", # required
|
2499
|
-
# }
|
2500
|
-
#
|
2501
2223
|
# @!attribute [rw] compute_environment
|
2502
2224
|
# The name or Amazon Resource Name (ARN) of the compute environment to
|
2503
2225
|
# delete.
|
@@ -2517,13 +2239,6 @@ module Aws::Batch
|
|
2517
2239
|
|
2518
2240
|
# Contains the parameters for `DeleteJobQueue`.
|
2519
2241
|
#
|
2520
|
-
# @note When making an API call, you may pass DeleteJobQueueRequest
|
2521
|
-
# data as a hash:
|
2522
|
-
#
|
2523
|
-
# {
|
2524
|
-
# job_queue: "String", # required
|
2525
|
-
# }
|
2526
|
-
#
|
2527
2242
|
# @!attribute [rw] job_queue
|
2528
2243
|
# The short name or full Amazon Resource Name (ARN) of the queue to
|
2529
2244
|
# delete.
|
@@ -2543,13 +2258,6 @@ module Aws::Batch
|
|
2543
2258
|
|
2544
2259
|
# Contains the parameters for `DeleteSchedulingPolicy`.
|
2545
2260
|
#
|
2546
|
-
# @note When making an API call, you may pass DeleteSchedulingPolicyRequest
|
2547
|
-
# data as a hash:
|
2548
|
-
#
|
2549
|
-
# {
|
2550
|
-
# arn: "String", # required
|
2551
|
-
# }
|
2552
|
-
#
|
2553
2261
|
# @!attribute [rw] arn
|
2554
2262
|
# The Amazon Resource Name (ARN) of the scheduling policy to delete.
|
2555
2263
|
# @return [String]
|
@@ -2566,13 +2274,6 @@ module Aws::Batch
|
|
2566
2274
|
#
|
2567
2275
|
class DeleteSchedulingPolicyResponse < Aws::EmptyStructure; end
|
2568
2276
|
|
2569
|
-
# @note When making an API call, you may pass DeregisterJobDefinitionRequest
|
2570
|
-
# data as a hash:
|
2571
|
-
#
|
2572
|
-
# {
|
2573
|
-
# job_definition: "String", # required
|
2574
|
-
# }
|
2575
|
-
#
|
2576
2277
|
# @!attribute [rw] job_definition
|
2577
2278
|
# The name and revision (`name:revision`) or full Amazon Resource Name
|
2578
2279
|
# (ARN) of the job definition to deregister.
|
@@ -2592,15 +2293,6 @@ module Aws::Batch
|
|
2592
2293
|
|
2593
2294
|
# Contains the parameters for `DescribeComputeEnvironments`.
|
2594
2295
|
#
|
2595
|
-
# @note When making an API call, you may pass DescribeComputeEnvironmentsRequest
|
2596
|
-
# data as a hash:
|
2597
|
-
#
|
2598
|
-
# {
|
2599
|
-
# compute_environments: ["String"],
|
2600
|
-
# max_results: 1,
|
2601
|
-
# next_token: "String",
|
2602
|
-
# }
|
2603
|
-
#
|
2604
2296
|
# @!attribute [rw] compute_environments
|
2605
2297
|
# A list of up to 100 compute environment names or full Amazon
|
2606
2298
|
# Resource Name (ARN) entries.
|
@@ -2667,17 +2359,6 @@ module Aws::Batch
|
|
2667
2359
|
|
2668
2360
|
# Contains the parameters for `DescribeJobDefinitions`.
|
2669
2361
|
#
|
2670
|
-
# @note When making an API call, you may pass DescribeJobDefinitionsRequest
|
2671
|
-
# data as a hash:
|
2672
|
-
#
|
2673
|
-
# {
|
2674
|
-
# job_definitions: ["String"],
|
2675
|
-
# max_results: 1,
|
2676
|
-
# job_definition_name: "String",
|
2677
|
-
# status: "String",
|
2678
|
-
# next_token: "String",
|
2679
|
-
# }
|
2680
|
-
#
|
2681
2362
|
# @!attribute [rw] job_definitions
|
2682
2363
|
# A list of up to 100 job definitions. Each entry in the list can
|
2683
2364
|
# either be an ARN in the format
|
@@ -2756,15 +2437,6 @@ module Aws::Batch
|
|
2756
2437
|
|
2757
2438
|
# Contains the parameters for `DescribeJobQueues`.
|
2758
2439
|
#
|
2759
|
-
# @note When making an API call, you may pass DescribeJobQueuesRequest
|
2760
|
-
# data as a hash:
|
2761
|
-
#
|
2762
|
-
# {
|
2763
|
-
# job_queues: ["String"],
|
2764
|
-
# max_results: 1,
|
2765
|
-
# next_token: "String",
|
2766
|
-
# }
|
2767
|
-
#
|
2768
2440
|
# @!attribute [rw] job_queues
|
2769
2441
|
# A list of up to 100 queue names or full queue Amazon Resource Name
|
2770
2442
|
# (ARN) entries.
|
@@ -2829,13 +2501,6 @@ module Aws::Batch
|
|
2829
2501
|
|
2830
2502
|
# Contains the parameters for `DescribeJobs`.
|
2831
2503
|
#
|
2832
|
-
# @note When making an API call, you may pass DescribeJobsRequest
|
2833
|
-
# data as a hash:
|
2834
|
-
#
|
2835
|
-
# {
|
2836
|
-
# jobs: ["String"], # required
|
2837
|
-
# }
|
2838
|
-
#
|
2839
2504
|
# @!attribute [rw] jobs
|
2840
2505
|
# A list of up to 100 job IDs.
|
2841
2506
|
# @return [Array<String>]
|
@@ -2862,13 +2527,6 @@ module Aws::Batch
|
|
2862
2527
|
|
2863
2528
|
# Contains the parameters for `DescribeSchedulingPolicies`.
|
2864
2529
|
#
|
2865
|
-
# @note When making an API call, you may pass DescribeSchedulingPoliciesRequest
|
2866
|
-
# data as a hash:
|
2867
|
-
#
|
2868
|
-
# {
|
2869
|
-
# arns: ["String"], # required
|
2870
|
-
# }
|
2871
|
-
#
|
2872
2530
|
# @!attribute [rw] arns
|
2873
2531
|
# A list of up to 100 scheduling policy Amazon Resource Name (ARN)
|
2874
2532
|
# entries.
|
@@ -2901,15 +2559,6 @@ module Aws::Batch
|
|
2901
2559
|
#
|
2902
2560
|
# </note>
|
2903
2561
|
#
|
2904
|
-
# @note When making an API call, you may pass Device
|
2905
|
-
# data as a hash:
|
2906
|
-
#
|
2907
|
-
# {
|
2908
|
-
# host_path: "String", # required
|
2909
|
-
# container_path: "String",
|
2910
|
-
# permissions: ["READ"], # accepts READ, WRITE, MKNOD
|
2911
|
-
# }
|
2912
|
-
#
|
2913
2562
|
# @!attribute [rw] host_path
|
2914
2563
|
# The path for the device on the host container instance.
|
2915
2564
|
# @return [String]
|
@@ -2938,14 +2587,6 @@ module Aws::Batch
|
|
2938
2587
|
# The authorization configuration details for the Amazon EFS file
|
2939
2588
|
# system.
|
2940
2589
|
#
|
2941
|
-
# @note When making an API call, you may pass EFSAuthorizationConfig
|
2942
|
-
# data as a hash:
|
2943
|
-
#
|
2944
|
-
# {
|
2945
|
-
# access_point_id: "String",
|
2946
|
-
# iam: "ENABLED", # accepts ENABLED, DISABLED
|
2947
|
-
# }
|
2948
|
-
#
|
2949
2590
|
# @!attribute [rw] access_point_id
|
2950
2591
|
# The Amazon EFS access point ID to use. If an access point is
|
2951
2592
|
# specified, the root directory value specified in the
|
@@ -2993,20 +2634,6 @@ module Aws::Batch
|
|
2993
2634
|
#
|
2994
2635
|
# [1]: https://docs.aws.amazon.com/batch/latest/userguide/efs-volumes.html
|
2995
2636
|
#
|
2996
|
-
# @note When making an API call, you may pass EFSVolumeConfiguration
|
2997
|
-
# data as a hash:
|
2998
|
-
#
|
2999
|
-
# {
|
3000
|
-
# file_system_id: "String", # required
|
3001
|
-
# root_directory: "String",
|
3002
|
-
# transit_encryption: "ENABLED", # accepts ENABLED, DISABLED
|
3003
|
-
# transit_encryption_port: 1,
|
3004
|
-
# authorization_config: {
|
3005
|
-
# access_point_id: "String",
|
3006
|
-
# iam: "ENABLED", # accepts ENABLED, DISABLED
|
3007
|
-
# },
|
3008
|
-
# }
|
3009
|
-
#
|
3010
2637
|
# @!attribute [rw] file_system_id
|
3011
2638
|
# The Amazon EFS file system ID to use.
|
3012
2639
|
# @return [String]
|
@@ -3079,15 +2706,6 @@ module Aws::Batch
|
|
3079
2706
|
#
|
3080
2707
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#al2ami
|
3081
2708
|
#
|
3082
|
-
# @note When making an API call, you may pass Ec2Configuration
|
3083
|
-
# data as a hash:
|
3084
|
-
#
|
3085
|
-
# {
|
3086
|
-
# image_type: "ImageType", # required
|
3087
|
-
# image_id_override: "ImageIdOverride",
|
3088
|
-
# image_kubernetes_version: "KubernetesVersion",
|
3089
|
-
# }
|
3090
|
-
#
|
3091
2709
|
# @!attribute [rw] image_type
|
3092
2710
|
# The image type to match with the instance type to select an AMI. The
|
3093
2711
|
# supported values are different for `ECS` and `EKS` resources.
|
@@ -3254,14 +2872,6 @@ module Aws::Batch
|
|
3254
2872
|
# compute environment. The cluster must exist before the compute
|
3255
2873
|
# environment can be created.
|
3256
2874
|
#
|
3257
|
-
# @note When making an API call, you may pass EksConfiguration
|
3258
|
-
# data as a hash:
|
3259
|
-
#
|
3260
|
-
# {
|
3261
|
-
# eks_cluster_arn: "String", # required
|
3262
|
-
# kubernetes_namespace: "String", # required
|
3263
|
-
# }
|
3264
|
-
#
|
3265
2875
|
# @!attribute [rw] eks_cluster_arn
|
3266
2876
|
# The Amazon Resource Name (ARN) of the Amazon EKS cluster. An example
|
3267
2877
|
# is `arn:aws:eks:us-east-1:123456789012:cluster/ClusterForBatch `.
|
@@ -3294,45 +2904,6 @@ module Aws::Batch
|
|
3294
2904
|
# in the pod that's launched as part of a job. This can't be specified
|
3295
2905
|
# for Amazon ECS based job definitions.
|
3296
2906
|
#
|
3297
|
-
# @note When making an API call, you may pass EksContainer
|
3298
|
-
# data as a hash:
|
3299
|
-
#
|
3300
|
-
# {
|
3301
|
-
# name: "String",
|
3302
|
-
# image: "String", # required
|
3303
|
-
# image_pull_policy: "String",
|
3304
|
-
# command: ["String"],
|
3305
|
-
# args: ["String"],
|
3306
|
-
# env: [
|
3307
|
-
# {
|
3308
|
-
# name: "String", # required
|
3309
|
-
# value: "String",
|
3310
|
-
# },
|
3311
|
-
# ],
|
3312
|
-
# resources: {
|
3313
|
-
# limits: {
|
3314
|
-
# "String" => "Quantity",
|
3315
|
-
# },
|
3316
|
-
# requests: {
|
3317
|
-
# "String" => "Quantity",
|
3318
|
-
# },
|
3319
|
-
# },
|
3320
|
-
# volume_mounts: [
|
3321
|
-
# {
|
3322
|
-
# name: "String",
|
3323
|
-
# mount_path: "String",
|
3324
|
-
# read_only: false,
|
3325
|
-
# },
|
3326
|
-
# ],
|
3327
|
-
# security_context: {
|
3328
|
-
# run_as_user: 1,
|
3329
|
-
# run_as_group: 1,
|
3330
|
-
# privileged: false,
|
3331
|
-
# read_only_root_filesystem: false,
|
3332
|
-
# run_as_non_root: false,
|
3333
|
-
# },
|
3334
|
-
# }
|
3335
|
-
#
|
3336
2907
|
# @!attribute [rw] name
|
3337
2908
|
# The name of the container. If the name isn't specified, the default
|
3338
2909
|
# name "`Default`" is used. Each container in a pod must have a
|
@@ -3591,14 +3162,6 @@ module Aws::Batch
|
|
3591
3162
|
|
3592
3163
|
# An environment variable.
|
3593
3164
|
#
|
3594
|
-
# @note When making an API call, you may pass EksContainerEnvironmentVariable
|
3595
|
-
# data as a hash:
|
3596
|
-
#
|
3597
|
-
# {
|
3598
|
-
# name: "String", # required
|
3599
|
-
# value: "String",
|
3600
|
-
# }
|
3601
|
-
#
|
3602
3165
|
# @!attribute [rw] name
|
3603
3166
|
# The name of the environment variable.
|
3604
3167
|
# @return [String]
|
@@ -3619,29 +3182,6 @@ module Aws::Batch
|
|
3619
3182
|
# Object representing any Kubernetes overrides to a job definition
|
3620
3183
|
# that's used in a SubmitJob API operation.
|
3621
3184
|
#
|
3622
|
-
# @note When making an API call, you may pass EksContainerOverride
|
3623
|
-
# data as a hash:
|
3624
|
-
#
|
3625
|
-
# {
|
3626
|
-
# image: "String",
|
3627
|
-
# command: ["String"],
|
3628
|
-
# args: ["String"],
|
3629
|
-
# env: [
|
3630
|
-
# {
|
3631
|
-
# name: "String", # required
|
3632
|
-
# value: "String",
|
3633
|
-
# },
|
3634
|
-
# ],
|
3635
|
-
# resources: {
|
3636
|
-
# limits: {
|
3637
|
-
# "String" => "Quantity",
|
3638
|
-
# },
|
3639
|
-
# requests: {
|
3640
|
-
# "String" => "Quantity",
|
3641
|
-
# },
|
3642
|
-
# },
|
3643
|
-
# }
|
3644
|
-
#
|
3645
3185
|
# @!attribute [rw] image
|
3646
3186
|
# The override of the Docker image that's used to start the
|
3647
3187
|
# container.
|
@@ -3710,18 +3250,6 @@ module Aws::Batch
|
|
3710
3250
|
#
|
3711
3251
|
# [1]: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
|
3712
3252
|
#
|
3713
|
-
# @note When making an API call, you may pass EksContainerResourceRequirements
|
3714
|
-
# data as a hash:
|
3715
|
-
#
|
3716
|
-
# {
|
3717
|
-
# limits: {
|
3718
|
-
# "String" => "Quantity",
|
3719
|
-
# },
|
3720
|
-
# requests: {
|
3721
|
-
# "String" => "Quantity",
|
3722
|
-
# },
|
3723
|
-
# }
|
3724
|
-
#
|
3725
3253
|
# @!attribute [rw] limits
|
3726
3254
|
# The type and quantity of the resources to reserve for the container.
|
3727
3255
|
# The values vary based on the `name` that's specified. Resources can
|
@@ -3826,17 +3354,6 @@ module Aws::Batch
|
|
3826
3354
|
#
|
3827
3355
|
# [1]: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
|
3828
3356
|
#
|
3829
|
-
# @note When making an API call, you may pass EksContainerSecurityContext
|
3830
|
-
# data as a hash:
|
3831
|
-
#
|
3832
|
-
# {
|
3833
|
-
# run_as_user: 1,
|
3834
|
-
# run_as_group: 1,
|
3835
|
-
# privileged: false,
|
3836
|
-
# read_only_root_filesystem: false,
|
3837
|
-
# run_as_non_root: false,
|
3838
|
-
# }
|
3839
|
-
#
|
3840
3357
|
# @!attribute [rw] run_as_user
|
3841
3358
|
# When this parameter is specified, the container is run as the
|
3842
3359
|
# specified user ID (`uid`). If this parameter isn't specified, the
|
@@ -3920,15 +3437,6 @@ module Aws::Batch
|
|
3920
3437
|
#
|
3921
3438
|
# [1]: https://kubernetes.io/docs/concepts/storage/volumes/
|
3922
3439
|
#
|
3923
|
-
# @note When making an API call, you may pass EksContainerVolumeMount
|
3924
|
-
# data as a hash:
|
3925
|
-
#
|
3926
|
-
# {
|
3927
|
-
# name: "String",
|
3928
|
-
# mount_path: "String",
|
3929
|
-
# read_only: false,
|
3930
|
-
# }
|
3931
|
-
#
|
3932
3440
|
# @!attribute [rw] name
|
3933
3441
|
# The name the volume mount. This must match the name of one of the
|
3934
3442
|
# volumes in the pod.
|
@@ -3968,14 +3476,6 @@ module Aws::Batch
|
|
3968
3476
|
#
|
3969
3477
|
# [1]: https://kubernetes.io/docs/concepts/storage/volumes/#emptydir
|
3970
3478
|
#
|
3971
|
-
# @note When making an API call, you may pass EksEmptyDir
|
3972
|
-
# data as a hash:
|
3973
|
-
#
|
3974
|
-
# {
|
3975
|
-
# medium: "String",
|
3976
|
-
# size_limit: "Quantity",
|
3977
|
-
# }
|
3978
|
-
#
|
3979
3479
|
# @!attribute [rw] medium
|
3980
3480
|
# The medium to store the volume. The default value is an empty
|
3981
3481
|
# string, which uses the storage of the node.
|
@@ -4015,13 +3515,6 @@ module Aws::Batch
|
|
4015
3515
|
#
|
4016
3516
|
# [1]: https://kubernetes.io/docs/concepts/storage/volumes/#hostpath
|
4017
3517
|
#
|
4018
|
-
# @note When making an API call, you may pass EksHostPath
|
4019
|
-
# data as a hash:
|
4020
|
-
#
|
4021
|
-
# {
|
4022
|
-
# path: "String",
|
4023
|
-
# }
|
4024
|
-
#
|
4025
3518
|
# @!attribute [rw] path
|
4026
3519
|
# The path of the file or directory on the host to mount into
|
4027
3520
|
# containers on the pod.
|
@@ -4037,68 +3530,6 @@ module Aws::Batch
|
|
4037
3530
|
|
4038
3531
|
# The properties for the pod.
|
4039
3532
|
#
|
4040
|
-
# @note When making an API call, you may pass EksPodProperties
|
4041
|
-
# data as a hash:
|
4042
|
-
#
|
4043
|
-
# {
|
4044
|
-
# service_account_name: "String",
|
4045
|
-
# host_network: false,
|
4046
|
-
# dns_policy: "String",
|
4047
|
-
# containers: [
|
4048
|
-
# {
|
4049
|
-
# name: "String",
|
4050
|
-
# image: "String", # required
|
4051
|
-
# image_pull_policy: "String",
|
4052
|
-
# command: ["String"],
|
4053
|
-
# args: ["String"],
|
4054
|
-
# env: [
|
4055
|
-
# {
|
4056
|
-
# name: "String", # required
|
4057
|
-
# value: "String",
|
4058
|
-
# },
|
4059
|
-
# ],
|
4060
|
-
# resources: {
|
4061
|
-
# limits: {
|
4062
|
-
# "String" => "Quantity",
|
4063
|
-
# },
|
4064
|
-
# requests: {
|
4065
|
-
# "String" => "Quantity",
|
4066
|
-
# },
|
4067
|
-
# },
|
4068
|
-
# volume_mounts: [
|
4069
|
-
# {
|
4070
|
-
# name: "String",
|
4071
|
-
# mount_path: "String",
|
4072
|
-
# read_only: false,
|
4073
|
-
# },
|
4074
|
-
# ],
|
4075
|
-
# security_context: {
|
4076
|
-
# run_as_user: 1,
|
4077
|
-
# run_as_group: 1,
|
4078
|
-
# privileged: false,
|
4079
|
-
# read_only_root_filesystem: false,
|
4080
|
-
# run_as_non_root: false,
|
4081
|
-
# },
|
4082
|
-
# },
|
4083
|
-
# ],
|
4084
|
-
# volumes: [
|
4085
|
-
# {
|
4086
|
-
# name: "String", # required
|
4087
|
-
# host_path: {
|
4088
|
-
# path: "String",
|
4089
|
-
# },
|
4090
|
-
# empty_dir: {
|
4091
|
-
# medium: "String",
|
4092
|
-
# size_limit: "Quantity",
|
4093
|
-
# },
|
4094
|
-
# secret: {
|
4095
|
-
# secret_name: "String", # required
|
4096
|
-
# optional: false,
|
4097
|
-
# },
|
4098
|
-
# },
|
4099
|
-
# ],
|
4100
|
-
# }
|
4101
|
-
#
|
4102
3533
|
# @!attribute [rw] service_account_name
|
4103
3534
|
# The name of the service account that's used to run the pod. For
|
4104
3535
|
# more information, see [Kubernetes service accounts][1] and
|
@@ -4138,7 +3569,7 @@ module Aws::Batch
|
|
4138
3569
|
# documentation*.
|
4139
3570
|
#
|
4140
3571
|
# Valid values: `Default` \| `ClusterFirst` \|
|
4141
|
-
# `ClusterFirstWithHostNet`
|
3572
|
+
# `ClusterFirstWithHostNet`
|
4142
3573
|
#
|
4143
3574
|
#
|
4144
3575
|
#
|
@@ -4202,16 +3633,24 @@ module Aws::Batch
|
|
4202
3633
|
# the `hostNetwork` parameter is not specified, the default is
|
4203
3634
|
# `ClusterFirstWithHostNet`. `ClusterFirst` indicates that any DNS
|
4204
3635
|
# query that does not match the configured cluster domain suffix is
|
4205
|
-
# forwarded to the upstream nameserver inherited from the node.
|
4206
|
-
#
|
4207
|
-
#
|
3636
|
+
# forwarded to the upstream nameserver inherited from the node. If no
|
3637
|
+
# value was specified for `dnsPolicy` in the
|
3638
|
+
# [RegisterJobDefinition][1] API operation, then no value will be
|
3639
|
+
# returned for `dnsPolicy` by either of [DescribeJobDefinitions][2] or
|
3640
|
+
# [DescribeJobs][3] API operations. The pod spec setting will contain
|
3641
|
+
# either `ClusterFirst` or `ClusterFirstWithHostNet`, depending on the
|
3642
|
+
# value of the `hostNetwork` parameter. For more information, see
|
3643
|
+
# [Pod's DNS policy][4] in the *Kubernetes documentation*.
|
4208
3644
|
#
|
4209
3645
|
# Valid values: `Default` \| `ClusterFirst` \|
|
4210
|
-
# `ClusterFirstWithHostNet`
|
3646
|
+
# `ClusterFirstWithHostNet`
|
4211
3647
|
#
|
4212
3648
|
#
|
4213
3649
|
#
|
4214
|
-
# [1]: https://
|
3650
|
+
# [1]: https://docs.aws.amazon.com/batch/latest/APIReference/API_RegisterJobDefinition.html
|
3651
|
+
# [2]: https://docs.aws.amazon.com/batch/latest/APIReference/API_DescribeJobDefinitions.html
|
3652
|
+
# [3]: https://docs.aws.amazon.com/batch/latest/APIReference/API_DescribeJobs.html
|
3653
|
+
# [4]: https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-s-dns-policy
|
4215
3654
|
# @return [String]
|
4216
3655
|
#
|
4217
3656
|
# @!attribute [rw] containers
|
@@ -4248,33 +3687,6 @@ module Aws::Batch
|
|
4248
3687
|
# An object that contains overrides for the Kubernetes pod properties of
|
4249
3688
|
# a job.
|
4250
3689
|
#
|
4251
|
-
# @note When making an API call, you may pass EksPodPropertiesOverride
|
4252
|
-
# data as a hash:
|
4253
|
-
#
|
4254
|
-
# {
|
4255
|
-
# containers: [
|
4256
|
-
# {
|
4257
|
-
# image: "String",
|
4258
|
-
# command: ["String"],
|
4259
|
-
# args: ["String"],
|
4260
|
-
# env: [
|
4261
|
-
# {
|
4262
|
-
# name: "String", # required
|
4263
|
-
# value: "String",
|
4264
|
-
# },
|
4265
|
-
# ],
|
4266
|
-
# resources: {
|
4267
|
-
# limits: {
|
4268
|
-
# "String" => "Quantity",
|
4269
|
-
# },
|
4270
|
-
# requests: {
|
4271
|
-
# "String" => "Quantity",
|
4272
|
-
# },
|
4273
|
-
# },
|
4274
|
-
# },
|
4275
|
-
# ],
|
4276
|
-
# }
|
4277
|
-
#
|
4278
3690
|
# @!attribute [rw] containers
|
4279
3691
|
# The overrides for the container that's used on the Amazon EKS pod.
|
4280
3692
|
# @return [Array<Types::EksContainerOverride>]
|
@@ -4290,70 +3702,6 @@ module Aws::Batch
|
|
4290
3702
|
# An object that contains the properties for the Kubernetes resources of
|
4291
3703
|
# a job.
|
4292
3704
|
#
|
4293
|
-
# @note When making an API call, you may pass EksProperties
|
4294
|
-
# data as a hash:
|
4295
|
-
#
|
4296
|
-
# {
|
4297
|
-
# pod_properties: {
|
4298
|
-
# service_account_name: "String",
|
4299
|
-
# host_network: false,
|
4300
|
-
# dns_policy: "String",
|
4301
|
-
# containers: [
|
4302
|
-
# {
|
4303
|
-
# name: "String",
|
4304
|
-
# image: "String", # required
|
4305
|
-
# image_pull_policy: "String",
|
4306
|
-
# command: ["String"],
|
4307
|
-
# args: ["String"],
|
4308
|
-
# env: [
|
4309
|
-
# {
|
4310
|
-
# name: "String", # required
|
4311
|
-
# value: "String",
|
4312
|
-
# },
|
4313
|
-
# ],
|
4314
|
-
# resources: {
|
4315
|
-
# limits: {
|
4316
|
-
# "String" => "Quantity",
|
4317
|
-
# },
|
4318
|
-
# requests: {
|
4319
|
-
# "String" => "Quantity",
|
4320
|
-
# },
|
4321
|
-
# },
|
4322
|
-
# volume_mounts: [
|
4323
|
-
# {
|
4324
|
-
# name: "String",
|
4325
|
-
# mount_path: "String",
|
4326
|
-
# read_only: false,
|
4327
|
-
# },
|
4328
|
-
# ],
|
4329
|
-
# security_context: {
|
4330
|
-
# run_as_user: 1,
|
4331
|
-
# run_as_group: 1,
|
4332
|
-
# privileged: false,
|
4333
|
-
# read_only_root_filesystem: false,
|
4334
|
-
# run_as_non_root: false,
|
4335
|
-
# },
|
4336
|
-
# },
|
4337
|
-
# ],
|
4338
|
-
# volumes: [
|
4339
|
-
# {
|
4340
|
-
# name: "String", # required
|
4341
|
-
# host_path: {
|
4342
|
-
# path: "String",
|
4343
|
-
# },
|
4344
|
-
# empty_dir: {
|
4345
|
-
# medium: "String",
|
4346
|
-
# size_limit: "Quantity",
|
4347
|
-
# },
|
4348
|
-
# secret: {
|
4349
|
-
# secret_name: "String", # required
|
4350
|
-
# optional: false,
|
4351
|
-
# },
|
4352
|
-
# },
|
4353
|
-
# ],
|
4354
|
-
# },
|
4355
|
-
# }
|
4356
|
-
#
|
4357
3705
|
# @!attribute [rw] pod_properties
|
4358
3706
|
# The properties for the Kubernetes pod resources of a job.
|
4359
3707
|
# @return [Types::EksPodProperties]
|
@@ -4384,35 +3732,6 @@ module Aws::Batch
|
|
4384
3732
|
# An object that contains overrides for the Kubernetes resources of a
|
4385
3733
|
# job.
|
4386
3734
|
#
|
4387
|
-
# @note When making an API call, you may pass EksPropertiesOverride
|
4388
|
-
# data as a hash:
|
4389
|
-
#
|
4390
|
-
# {
|
4391
|
-
# pod_properties: {
|
4392
|
-
# containers: [
|
4393
|
-
# {
|
4394
|
-
# image: "String",
|
4395
|
-
# command: ["String"],
|
4396
|
-
# args: ["String"],
|
4397
|
-
# env: [
|
4398
|
-
# {
|
4399
|
-
# name: "String", # required
|
4400
|
-
# value: "String",
|
4401
|
-
# },
|
4402
|
-
# ],
|
4403
|
-
# resources: {
|
4404
|
-
# limits: {
|
4405
|
-
# "String" => "Quantity",
|
4406
|
-
# },
|
4407
|
-
# requests: {
|
4408
|
-
# "String" => "Quantity",
|
4409
|
-
# },
|
4410
|
-
# },
|
4411
|
-
# },
|
4412
|
-
# ],
|
4413
|
-
# },
|
4414
|
-
# }
|
4415
|
-
#
|
4416
3735
|
# @!attribute [rw] pod_properties
|
4417
3736
|
# The overrides for the Kubernetes pod resources of a job.
|
4418
3737
|
# @return [Types::EksPodPropertiesOverride]
|
@@ -4432,14 +3751,6 @@ module Aws::Batch
|
|
4432
3751
|
#
|
4433
3752
|
# [1]: https://kubernetes.io/docs/concepts/storage/volumes/#secret
|
4434
3753
|
#
|
4435
|
-
# @note When making an API call, you may pass EksSecret
|
4436
|
-
# data as a hash:
|
4437
|
-
#
|
4438
|
-
# {
|
4439
|
-
# secret_name: "String", # required
|
4440
|
-
# optional: false,
|
4441
|
-
# }
|
4442
|
-
#
|
4443
3754
|
# @!attribute [rw] secret_name
|
4444
3755
|
# The name of the secret. The name must be allowed as a DNS subdomain
|
4445
3756
|
# name. For more information, see [DNS subdomain names][1] in the
|
@@ -4465,24 +3776,6 @@ module Aws::Batch
|
|
4465
3776
|
|
4466
3777
|
# Specifies an Amazon EKS volume for a job definition.
|
4467
3778
|
#
|
4468
|
-
# @note When making an API call, you may pass EksVolume
|
4469
|
-
# data as a hash:
|
4470
|
-
#
|
4471
|
-
# {
|
4472
|
-
# name: "String", # required
|
4473
|
-
# host_path: {
|
4474
|
-
# path: "String",
|
4475
|
-
# },
|
4476
|
-
# empty_dir: {
|
4477
|
-
# medium: "String",
|
4478
|
-
# size_limit: "Quantity",
|
4479
|
-
# },
|
4480
|
-
# secret: {
|
4481
|
-
# secret_name: "String", # required
|
4482
|
-
# optional: false,
|
4483
|
-
# },
|
4484
|
-
# }
|
4485
|
-
#
|
4486
3779
|
# @!attribute [rw] name
|
4487
3780
|
# The name of the volume. The name must be allowed as a DNS subdomain
|
4488
3781
|
# name. For more information, see [DNS subdomain names][1] in the
|
@@ -4538,16 +3831,6 @@ module Aws::Batch
|
|
4538
3831
|
# `EvaluateOnExit` conditions in a `RetryStrategy` match, then the job
|
4539
3832
|
# is retried.
|
4540
3833
|
#
|
4541
|
-
# @note When making an API call, you may pass EvaluateOnExit
|
4542
|
-
# data as a hash:
|
4543
|
-
#
|
4544
|
-
# {
|
4545
|
-
# on_status_reason: "String",
|
4546
|
-
# on_reason: "String",
|
4547
|
-
# on_exit_code: "String",
|
4548
|
-
# action: "RETRY", # required, accepts RETRY, EXIT
|
4549
|
-
# }
|
4550
|
-
#
|
4551
3834
|
# @!attribute [rw] on_status_reason
|
4552
3835
|
# Contains a glob pattern to match against the `StatusReason` returned
|
4553
3836
|
# for a job. The pattern can contain up to 512 characters. It can
|
@@ -4595,20 +3878,6 @@ module Aws::Batch
|
|
4595
3878
|
|
4596
3879
|
# The fair share policy for a scheduling policy.
|
4597
3880
|
#
|
4598
|
-
# @note When making an API call, you may pass FairsharePolicy
|
4599
|
-
# data as a hash:
|
4600
|
-
#
|
4601
|
-
# {
|
4602
|
-
# share_decay_seconds: 1,
|
4603
|
-
# compute_reservation: 1,
|
4604
|
-
# share_distribution: [
|
4605
|
-
# {
|
4606
|
-
# share_identifier: "String", # required
|
4607
|
-
# weight_factor: 1.0,
|
4608
|
-
# },
|
4609
|
-
# ],
|
4610
|
-
# }
|
4611
|
-
#
|
4612
3881
|
# @!attribute [rw] share_decay_seconds
|
4613
3882
|
# The amount of time (in seconds) to use to calculate a fair share
|
4614
3883
|
# percentage for each fair share identifier in use. A value of zero
|
@@ -4657,13 +3926,6 @@ module Aws::Batch
|
|
4657
3926
|
# resources. Jobs that run on EC2 resources must not specify this
|
4658
3927
|
# parameter.
|
4659
3928
|
#
|
4660
|
-
# @note When making an API call, you may pass FargatePlatformConfiguration
|
4661
|
-
# data as a hash:
|
4662
|
-
#
|
4663
|
-
# {
|
4664
|
-
# platform_version: "String",
|
4665
|
-
# }
|
4666
|
-
#
|
4667
3929
|
# @!attribute [rw] platform_version
|
4668
3930
|
# The Fargate platform version where the jobs are running. A platform
|
4669
3931
|
# version is specified only for jobs that are running on Fargate
|
@@ -4692,13 +3954,6 @@ module Aws::Batch
|
|
4692
3954
|
# data isn't guaranteed to persist after the containers that are
|
4693
3955
|
# associated with it stop running.
|
4694
3956
|
#
|
4695
|
-
# @note When making an API call, you may pass Host
|
4696
|
-
# data as a hash:
|
4697
|
-
#
|
4698
|
-
# {
|
4699
|
-
# source_path: "String",
|
4700
|
-
# }
|
4701
|
-
#
|
4702
3957
|
# @!attribute [rw] source_path
|
4703
3958
|
# The path on the host container instance that's presented to the
|
4704
3959
|
# container. If this parameter is empty, then the Docker daemon has
|
@@ -4857,14 +4112,6 @@ module Aws::Batch
|
|
4857
4112
|
|
4858
4113
|
# An object that represents an Batch job dependency.
|
4859
4114
|
#
|
4860
|
-
# @note When making an API call, you may pass JobDependency
|
4861
|
-
# data as a hash:
|
4862
|
-
#
|
4863
|
-
# {
|
4864
|
-
# job_id: "String",
|
4865
|
-
# type: "N_TO_N", # accepts N_TO_N, SEQUENTIAL
|
4866
|
-
# }
|
4867
|
-
#
|
4868
4115
|
# @!attribute [rw] job_id
|
4869
4116
|
# The job ID of the Batch job that's associated with this dependency.
|
4870
4117
|
# @return [String]
|
@@ -5034,6 +4281,14 @@ module Aws::Batch
|
|
5034
4281
|
# A list of job attempts that are associated with this job.
|
5035
4282
|
# @return [Array<Types::EksAttemptDetail>]
|
5036
4283
|
#
|
4284
|
+
# @!attribute [rw] is_cancelled
|
4285
|
+
# Indicates whether the job is canceled.
|
4286
|
+
# @return [Boolean]
|
4287
|
+
#
|
4288
|
+
# @!attribute [rw] is_terminated
|
4289
|
+
# Indicates whether the job is terminated.
|
4290
|
+
# @return [Boolean]
|
4291
|
+
#
|
5037
4292
|
# @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/JobDetail AWS API Documentation
|
5038
4293
|
#
|
5039
4294
|
class JobDetail < Struct.new(
|
@@ -5062,7 +4317,9 @@ module Aws::Batch
|
|
5062
4317
|
:propagate_tags,
|
5063
4318
|
:platform_capabilities,
|
5064
4319
|
:eks_properties,
|
5065
|
-
:eks_attempts
|
4320
|
+
:eks_attempts,
|
4321
|
+
:is_cancelled,
|
4322
|
+
:is_terminated)
|
5066
4323
|
SENSITIVE = []
|
5067
4324
|
include Aws::Structure
|
5068
4325
|
end
|
@@ -5229,18 +4486,17 @@ module Aws::Batch
|
|
5229
4486
|
|
5230
4487
|
# An object that represents a job timeout configuration.
|
5231
4488
|
#
|
5232
|
-
# @note When making an API call, you may pass JobTimeout
|
5233
|
-
# data as a hash:
|
5234
|
-
#
|
5235
|
-
# {
|
5236
|
-
# attempt_duration_seconds: 1,
|
5237
|
-
# }
|
5238
|
-
#
|
5239
4489
|
# @!attribute [rw] attempt_duration_seconds
|
5240
4490
|
# The job timeout time (in seconds) that's measured from the job
|
5241
4491
|
# attempt's `startedAt` timestamp. After this time passes, Batch
|
5242
4492
|
# terminates your jobs if they aren't finished. The minimum value for
|
5243
4493
|
# the timeout is 60 seconds.
|
4494
|
+
#
|
4495
|
+
# For array jobs, the timeout applies to the child jobs, not to the
|
4496
|
+
# parent array job.
|
4497
|
+
#
|
4498
|
+
# For multi-node parallel (MNP) jobs, the timeout applies to the whole
|
4499
|
+
# job, not to the individual nodes.
|
5244
4500
|
# @return [Integer]
|
5245
4501
|
#
|
5246
4502
|
# @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/JobTimeout AWS API Documentation
|
@@ -5253,14 +4509,6 @@ module Aws::Batch
|
|
5253
4509
|
|
5254
4510
|
# A key-value pair object.
|
5255
4511
|
#
|
5256
|
-
# @note When making an API call, you may pass KeyValuePair
|
5257
|
-
# data as a hash:
|
5258
|
-
#
|
5259
|
-
# {
|
5260
|
-
# name: "String",
|
5261
|
-
# value: "String",
|
5262
|
-
# }
|
5263
|
-
#
|
5264
4512
|
# @!attribute [rw] name
|
5265
4513
|
# The name of the key-value pair. For environment variables, this is
|
5266
4514
|
# the name of the environment variable.
|
@@ -5283,14 +4531,6 @@ module Aws::Batch
|
|
5283
4531
|
# A filter name and value pair that's used to return a more specific
|
5284
4532
|
# list of results from a `ListJobs` API operation.
|
5285
4533
|
#
|
5286
|
-
# @note When making an API call, you may pass KeyValuesPair
|
5287
|
-
# data as a hash:
|
5288
|
-
#
|
5289
|
-
# {
|
5290
|
-
# name: "String",
|
5291
|
-
# values: ["String"],
|
5292
|
-
# }
|
5293
|
-
#
|
5294
4534
|
# @!attribute [rw] name
|
5295
4535
|
# The name of the filter. Filter names are case sensitive.
|
5296
4536
|
# @return [String]
|
@@ -5322,15 +4562,6 @@ module Aws::Batch
|
|
5322
4562
|
#
|
5323
4563
|
# </note>
|
5324
4564
|
#
|
5325
|
-
# @note When making an API call, you may pass LaunchTemplateSpecification
|
5326
|
-
# data as a hash:
|
5327
|
-
#
|
5328
|
-
# {
|
5329
|
-
# launch_template_id: "String",
|
5330
|
-
# launch_template_name: "String",
|
5331
|
-
# version: "String",
|
5332
|
-
# }
|
5333
|
-
#
|
5334
4565
|
# @!attribute [rw] launch_template_id
|
5335
4566
|
# The ID of the launch template.
|
5336
4567
|
# @return [String]
|
@@ -5379,30 +4610,6 @@ module Aws::Batch
|
|
5379
4610
|
# Linux-specific modifications that are applied to the container, such
|
5380
4611
|
# as details for device mappings.
|
5381
4612
|
#
|
5382
|
-
# @note When making an API call, you may pass LinuxParameters
|
5383
|
-
# data as a hash:
|
5384
|
-
#
|
5385
|
-
# {
|
5386
|
-
# devices: [
|
5387
|
-
# {
|
5388
|
-
# host_path: "String", # required
|
5389
|
-
# container_path: "String",
|
5390
|
-
# permissions: ["READ"], # accepts READ, WRITE, MKNOD
|
5391
|
-
# },
|
5392
|
-
# ],
|
5393
|
-
# init_process_enabled: false,
|
5394
|
-
# shared_memory_size: 1,
|
5395
|
-
# tmpfs: [
|
5396
|
-
# {
|
5397
|
-
# container_path: "String", # required
|
5398
|
-
# size: 1, # required
|
5399
|
-
# mount_options: ["String"],
|
5400
|
-
# },
|
5401
|
-
# ],
|
5402
|
-
# max_swap: 1,
|
5403
|
-
# swappiness: 1,
|
5404
|
-
# }
|
5405
|
-
#
|
5406
4613
|
# @!attribute [rw] devices
|
5407
4614
|
# Any of the host devices to expose to the container. This parameter
|
5408
4615
|
# maps to `Devices` in the [Create a container][1] section of the
|
@@ -5550,24 +4757,6 @@ module Aws::Batch
|
|
5550
4757
|
|
5551
4758
|
# Contains the parameters for `ListJobs`.
|
5552
4759
|
#
|
5553
|
-
# @note When making an API call, you may pass ListJobsRequest
|
5554
|
-
# data as a hash:
|
5555
|
-
#
|
5556
|
-
# {
|
5557
|
-
# job_queue: "String",
|
5558
|
-
# array_job_id: "String",
|
5559
|
-
# multi_node_job_id: "String",
|
5560
|
-
# job_status: "SUBMITTED", # accepts SUBMITTED, PENDING, RUNNABLE, STARTING, RUNNING, SUCCEEDED, FAILED
|
5561
|
-
# max_results: 1,
|
5562
|
-
# next_token: "String",
|
5563
|
-
# filters: [
|
5564
|
-
# {
|
5565
|
-
# name: "String",
|
5566
|
-
# values: ["String"],
|
5567
|
-
# },
|
5568
|
-
# ],
|
5569
|
-
# }
|
5570
|
-
#
|
5571
4760
|
# @!attribute [rw] job_queue
|
5572
4761
|
# The name or full Amazon Resource Name (ARN) of the job queue used to
|
5573
4762
|
# list jobs.
|
@@ -5702,14 +4891,6 @@ module Aws::Batch
|
|
5702
4891
|
|
5703
4892
|
# Contains the parameters for `ListSchedulingPolicies`.
|
5704
4893
|
#
|
5705
|
-
# @note When making an API call, you may pass ListSchedulingPoliciesRequest
|
5706
|
-
# data as a hash:
|
5707
|
-
#
|
5708
|
-
# {
|
5709
|
-
# max_results: 1,
|
5710
|
-
# next_token: "String",
|
5711
|
-
# }
|
5712
|
-
#
|
5713
4894
|
# @!attribute [rw] max_results
|
5714
4895
|
# The maximum number of results that's returned by
|
5715
4896
|
# `ListSchedulingPolicies` in paginated output. When this parameter is
|
@@ -5769,13 +4950,6 @@ module Aws::Batch
|
|
5769
4950
|
|
5770
4951
|
# Contains the parameters for `ListTagsForResource`.
|
5771
4952
|
#
|
5772
|
-
# @note When making an API call, you may pass ListTagsForResourceRequest
|
5773
|
-
# data as a hash:
|
5774
|
-
#
|
5775
|
-
# {
|
5776
|
-
# resource_arn: "String", # required
|
5777
|
-
# }
|
5778
|
-
#
|
5779
4953
|
# @!attribute [rw] resource_arn
|
5780
4954
|
# The Amazon Resource Name (ARN) that identifies the resource that
|
5781
4955
|
# tags are listed for. Batch resources that support tags are compute
|
@@ -5807,22 +4981,6 @@ module Aws::Batch
|
|
5807
4981
|
# Log configuration options to send to a custom log driver for the
|
5808
4982
|
# container.
|
5809
4983
|
#
|
5810
|
-
# @note When making an API call, you may pass LogConfiguration
|
5811
|
-
# data as a hash:
|
5812
|
-
#
|
5813
|
-
# {
|
5814
|
-
# log_driver: "json-file", # required, accepts json-file, syslog, journald, gelf, fluentd, awslogs, splunk
|
5815
|
-
# options: {
|
5816
|
-
# "String" => "String",
|
5817
|
-
# },
|
5818
|
-
# secret_options: [
|
5819
|
-
# {
|
5820
|
-
# name: "String", # required
|
5821
|
-
# value_from: "String", # required
|
5822
|
-
# },
|
5823
|
-
# ],
|
5824
|
-
# }
|
5825
|
-
#
|
5826
4984
|
# @!attribute [rw] log_driver
|
5827
4985
|
# The log driver to use for the container. The valid values that are
|
5828
4986
|
# listed for this parameter are log drivers that the Amazon ECS
|
@@ -5944,15 +5102,6 @@ module Aws::Batch
|
|
5944
5102
|
#
|
5945
5103
|
# [1]: https://docs.docker.com/engine/reference/api/docker_remote_api_v1.19/#create-a-container
|
5946
5104
|
#
|
5947
|
-
# @note When making an API call, you may pass MountPoint
|
5948
|
-
# data as a hash:
|
5949
|
-
#
|
5950
|
-
# {
|
5951
|
-
# container_path: "String",
|
5952
|
-
# read_only: false,
|
5953
|
-
# source_volume: "String",
|
5954
|
-
# }
|
5955
|
-
#
|
5956
5105
|
# @!attribute [rw] container_path
|
5957
5106
|
# The path on the container where the host volume is mounted.
|
5958
5107
|
# @return [String]
|
@@ -5981,13 +5130,6 @@ module Aws::Batch
|
|
5981
5130
|
# resources. Jobs that are running on EC2 resources must not specify
|
5982
5131
|
# this parameter.
|
5983
5132
|
#
|
5984
|
-
# @note When making an API call, you may pass NetworkConfiguration
|
5985
|
-
# data as a hash:
|
5986
|
-
#
|
5987
|
-
# {
|
5988
|
-
# assign_public_ip: "ENABLED", # accepts ENABLED, DISABLED
|
5989
|
-
# }
|
5990
|
-
#
|
5991
5133
|
# @!attribute [rw] assign_public_ip
|
5992
5134
|
# Indicates whether the job has a public IP address. For a job that's
|
5993
5135
|
# running on Fargate resources in a private subnet to send outbound
|
@@ -6067,36 +5209,6 @@ module Aws::Batch
|
|
6067
5209
|
#
|
6068
5210
|
# </note>
|
6069
5211
|
#
|
6070
|
-
# @note When making an API call, you may pass NodeOverrides
|
6071
|
-
# data as a hash:
|
6072
|
-
#
|
6073
|
-
# {
|
6074
|
-
# num_nodes: 1,
|
6075
|
-
# node_property_overrides: [
|
6076
|
-
# {
|
6077
|
-
# target_nodes: "String", # required
|
6078
|
-
# container_overrides: {
|
6079
|
-
# vcpus: 1,
|
6080
|
-
# memory: 1,
|
6081
|
-
# command: ["String"],
|
6082
|
-
# instance_type: "String",
|
6083
|
-
# environment: [
|
6084
|
-
# {
|
6085
|
-
# name: "String",
|
6086
|
-
# value: "String",
|
6087
|
-
# },
|
6088
|
-
# ],
|
6089
|
-
# resource_requirements: [
|
6090
|
-
# {
|
6091
|
-
# value: "String", # required
|
6092
|
-
# type: "GPU", # required, accepts GPU, VCPU, MEMORY
|
6093
|
-
# },
|
6094
|
-
# ],
|
6095
|
-
# },
|
6096
|
-
# },
|
6097
|
-
# ],
|
6098
|
-
# }
|
6099
|
-
#
|
6100
5212
|
# @!attribute [rw] num_nodes
|
6101
5213
|
# The number of nodes to use with a multi-node parallel job. This
|
6102
5214
|
# value overrides the number of nodes that are specified in the job
|
@@ -6135,119 +5247,6 @@ module Aws::Batch
|
|
6135
5247
|
#
|
6136
5248
|
# </note>
|
6137
5249
|
#
|
6138
|
-
# @note When making an API call, you may pass NodeProperties
|
6139
|
-
# data as a hash:
|
6140
|
-
#
|
6141
|
-
# {
|
6142
|
-
# num_nodes: 1, # required
|
6143
|
-
# main_node: 1, # required
|
6144
|
-
# node_range_properties: [ # required
|
6145
|
-
# {
|
6146
|
-
# target_nodes: "String", # required
|
6147
|
-
# container: {
|
6148
|
-
# image: "String",
|
6149
|
-
# vcpus: 1,
|
6150
|
-
# memory: 1,
|
6151
|
-
# command: ["String"],
|
6152
|
-
# job_role_arn: "String",
|
6153
|
-
# execution_role_arn: "String",
|
6154
|
-
# volumes: [
|
6155
|
-
# {
|
6156
|
-
# host: {
|
6157
|
-
# source_path: "String",
|
6158
|
-
# },
|
6159
|
-
# name: "String",
|
6160
|
-
# efs_volume_configuration: {
|
6161
|
-
# file_system_id: "String", # required
|
6162
|
-
# root_directory: "String",
|
6163
|
-
# transit_encryption: "ENABLED", # accepts ENABLED, DISABLED
|
6164
|
-
# transit_encryption_port: 1,
|
6165
|
-
# authorization_config: {
|
6166
|
-
# access_point_id: "String",
|
6167
|
-
# iam: "ENABLED", # accepts ENABLED, DISABLED
|
6168
|
-
# },
|
6169
|
-
# },
|
6170
|
-
# },
|
6171
|
-
# ],
|
6172
|
-
# environment: [
|
6173
|
-
# {
|
6174
|
-
# name: "String",
|
6175
|
-
# value: "String",
|
6176
|
-
# },
|
6177
|
-
# ],
|
6178
|
-
# mount_points: [
|
6179
|
-
# {
|
6180
|
-
# container_path: "String",
|
6181
|
-
# read_only: false,
|
6182
|
-
# source_volume: "String",
|
6183
|
-
# },
|
6184
|
-
# ],
|
6185
|
-
# readonly_root_filesystem: false,
|
6186
|
-
# privileged: false,
|
6187
|
-
# ulimits: [
|
6188
|
-
# {
|
6189
|
-
# hard_limit: 1, # required
|
6190
|
-
# name: "String", # required
|
6191
|
-
# soft_limit: 1, # required
|
6192
|
-
# },
|
6193
|
-
# ],
|
6194
|
-
# user: "String",
|
6195
|
-
# instance_type: "String",
|
6196
|
-
# resource_requirements: [
|
6197
|
-
# {
|
6198
|
-
# value: "String", # required
|
6199
|
-
# type: "GPU", # required, accepts GPU, VCPU, MEMORY
|
6200
|
-
# },
|
6201
|
-
# ],
|
6202
|
-
# linux_parameters: {
|
6203
|
-
# devices: [
|
6204
|
-
# {
|
6205
|
-
# host_path: "String", # required
|
6206
|
-
# container_path: "String",
|
6207
|
-
# permissions: ["READ"], # accepts READ, WRITE, MKNOD
|
6208
|
-
# },
|
6209
|
-
# ],
|
6210
|
-
# init_process_enabled: false,
|
6211
|
-
# shared_memory_size: 1,
|
6212
|
-
# tmpfs: [
|
6213
|
-
# {
|
6214
|
-
# container_path: "String", # required
|
6215
|
-
# size: 1, # required
|
6216
|
-
# mount_options: ["String"],
|
6217
|
-
# },
|
6218
|
-
# ],
|
6219
|
-
# max_swap: 1,
|
6220
|
-
# swappiness: 1,
|
6221
|
-
# },
|
6222
|
-
# log_configuration: {
|
6223
|
-
# log_driver: "json-file", # required, accepts json-file, syslog, journald, gelf, fluentd, awslogs, splunk
|
6224
|
-
# options: {
|
6225
|
-
# "String" => "String",
|
6226
|
-
# },
|
6227
|
-
# secret_options: [
|
6228
|
-
# {
|
6229
|
-
# name: "String", # required
|
6230
|
-
# value_from: "String", # required
|
6231
|
-
# },
|
6232
|
-
# ],
|
6233
|
-
# },
|
6234
|
-
# secrets: [
|
6235
|
-
# {
|
6236
|
-
# name: "String", # required
|
6237
|
-
# value_from: "String", # required
|
6238
|
-
# },
|
6239
|
-
# ],
|
6240
|
-
# network_configuration: {
|
6241
|
-
# assign_public_ip: "ENABLED", # accepts ENABLED, DISABLED
|
6242
|
-
# },
|
6243
|
-
# fargate_platform_configuration: {
|
6244
|
-
# platform_version: "String",
|
6245
|
-
# },
|
6246
|
-
# },
|
6247
|
-
# },
|
6248
|
-
# ],
|
6249
|
-
# }
|
6250
|
-
#
|
6251
5250
|
# @!attribute [rw] num_nodes
|
6252
5251
|
# The number of nodes that are associated with a multi-node parallel
|
6253
5252
|
# job.
|
@@ -6305,31 +5304,6 @@ module Aws::Batch
|
|
6305
5304
|
# The object that represents any node overrides to a job definition
|
6306
5305
|
# that's used in a SubmitJob API operation.
|
6307
5306
|
#
|
6308
|
-
# @note When making an API call, you may pass NodePropertyOverride
|
6309
|
-
# data as a hash:
|
6310
|
-
#
|
6311
|
-
# {
|
6312
|
-
# target_nodes: "String", # required
|
6313
|
-
# container_overrides: {
|
6314
|
-
# vcpus: 1,
|
6315
|
-
# memory: 1,
|
6316
|
-
# command: ["String"],
|
6317
|
-
# instance_type: "String",
|
6318
|
-
# environment: [
|
6319
|
-
# {
|
6320
|
-
# name: "String",
|
6321
|
-
# value: "String",
|
6322
|
-
# },
|
6323
|
-
# ],
|
6324
|
-
# resource_requirements: [
|
6325
|
-
# {
|
6326
|
-
# value: "String", # required
|
6327
|
-
# type: "GPU", # required, accepts GPU, VCPU, MEMORY
|
6328
|
-
# },
|
6329
|
-
# ],
|
6330
|
-
# },
|
6331
|
-
# }
|
6332
|
-
#
|
6333
5307
|
# @!attribute [rw] target_nodes
|
6334
5308
|
# The range of nodes, using node index values, that's used to
|
6335
5309
|
# override. A range of `0:3` indicates nodes with index values of `0`
|
@@ -6355,113 +5329,6 @@ module Aws::Batch
|
|
6355
5329
|
# An object that represents the properties of the node range for a
|
6356
5330
|
# multi-node parallel job.
|
6357
5331
|
#
|
6358
|
-
# @note When making an API call, you may pass NodeRangeProperty
|
6359
|
-
# data as a hash:
|
6360
|
-
#
|
6361
|
-
# {
|
6362
|
-
# target_nodes: "String", # required
|
6363
|
-
# container: {
|
6364
|
-
# image: "String",
|
6365
|
-
# vcpus: 1,
|
6366
|
-
# memory: 1,
|
6367
|
-
# command: ["String"],
|
6368
|
-
# job_role_arn: "String",
|
6369
|
-
# execution_role_arn: "String",
|
6370
|
-
# volumes: [
|
6371
|
-
# {
|
6372
|
-
# host: {
|
6373
|
-
# source_path: "String",
|
6374
|
-
# },
|
6375
|
-
# name: "String",
|
6376
|
-
# efs_volume_configuration: {
|
6377
|
-
# file_system_id: "String", # required
|
6378
|
-
# root_directory: "String",
|
6379
|
-
# transit_encryption: "ENABLED", # accepts ENABLED, DISABLED
|
6380
|
-
# transit_encryption_port: 1,
|
6381
|
-
# authorization_config: {
|
6382
|
-
# access_point_id: "String",
|
6383
|
-
# iam: "ENABLED", # accepts ENABLED, DISABLED
|
6384
|
-
# },
|
6385
|
-
# },
|
6386
|
-
# },
|
6387
|
-
# ],
|
6388
|
-
# environment: [
|
6389
|
-
# {
|
6390
|
-
# name: "String",
|
6391
|
-
# value: "String",
|
6392
|
-
# },
|
6393
|
-
# ],
|
6394
|
-
# mount_points: [
|
6395
|
-
# {
|
6396
|
-
# container_path: "String",
|
6397
|
-
# read_only: false,
|
6398
|
-
# source_volume: "String",
|
6399
|
-
# },
|
6400
|
-
# ],
|
6401
|
-
# readonly_root_filesystem: false,
|
6402
|
-
# privileged: false,
|
6403
|
-
# ulimits: [
|
6404
|
-
# {
|
6405
|
-
# hard_limit: 1, # required
|
6406
|
-
# name: "String", # required
|
6407
|
-
# soft_limit: 1, # required
|
6408
|
-
# },
|
6409
|
-
# ],
|
6410
|
-
# user: "String",
|
6411
|
-
# instance_type: "String",
|
6412
|
-
# resource_requirements: [
|
6413
|
-
# {
|
6414
|
-
# value: "String", # required
|
6415
|
-
# type: "GPU", # required, accepts GPU, VCPU, MEMORY
|
6416
|
-
# },
|
6417
|
-
# ],
|
6418
|
-
# linux_parameters: {
|
6419
|
-
# devices: [
|
6420
|
-
# {
|
6421
|
-
# host_path: "String", # required
|
6422
|
-
# container_path: "String",
|
6423
|
-
# permissions: ["READ"], # accepts READ, WRITE, MKNOD
|
6424
|
-
# },
|
6425
|
-
# ],
|
6426
|
-
# init_process_enabled: false,
|
6427
|
-
# shared_memory_size: 1,
|
6428
|
-
# tmpfs: [
|
6429
|
-
# {
|
6430
|
-
# container_path: "String", # required
|
6431
|
-
# size: 1, # required
|
6432
|
-
# mount_options: ["String"],
|
6433
|
-
# },
|
6434
|
-
# ],
|
6435
|
-
# max_swap: 1,
|
6436
|
-
# swappiness: 1,
|
6437
|
-
# },
|
6438
|
-
# log_configuration: {
|
6439
|
-
# log_driver: "json-file", # required, accepts json-file, syslog, journald, gelf, fluentd, awslogs, splunk
|
6440
|
-
# options: {
|
6441
|
-
# "String" => "String",
|
6442
|
-
# },
|
6443
|
-
# secret_options: [
|
6444
|
-
# {
|
6445
|
-
# name: "String", # required
|
6446
|
-
# value_from: "String", # required
|
6447
|
-
# },
|
6448
|
-
# ],
|
6449
|
-
# },
|
6450
|
-
# secrets: [
|
6451
|
-
# {
|
6452
|
-
# name: "String", # required
|
6453
|
-
# value_from: "String", # required
|
6454
|
-
# },
|
6455
|
-
# ],
|
6456
|
-
# network_configuration: {
|
6457
|
-
# assign_public_ip: "ENABLED", # accepts ENABLED, DISABLED
|
6458
|
-
# },
|
6459
|
-
# fargate_platform_configuration: {
|
6460
|
-
# platform_version: "String",
|
6461
|
-
# },
|
6462
|
-
# },
|
6463
|
-
# }
|
6464
|
-
#
|
6465
5332
|
# @!attribute [rw] target_nodes
|
6466
5333
|
# The range of nodes, using node index values. A range of `0:3`
|
6467
5334
|
# indicates nodes with index values of `0` through `3`. If the
|
@@ -6488,306 +5355,6 @@ module Aws::Batch
|
|
6488
5355
|
|
6489
5356
|
# Contains the parameters for `RegisterJobDefinition`.
|
6490
5357
|
#
|
6491
|
-
# @note When making an API call, you may pass RegisterJobDefinitionRequest
|
6492
|
-
# data as a hash:
|
6493
|
-
#
|
6494
|
-
# {
|
6495
|
-
# job_definition_name: "String", # required
|
6496
|
-
# type: "container", # required, accepts container, multinode
|
6497
|
-
# parameters: {
|
6498
|
-
# "String" => "String",
|
6499
|
-
# },
|
6500
|
-
# scheduling_priority: 1,
|
6501
|
-
# container_properties: {
|
6502
|
-
# image: "String",
|
6503
|
-
# vcpus: 1,
|
6504
|
-
# memory: 1,
|
6505
|
-
# command: ["String"],
|
6506
|
-
# job_role_arn: "String",
|
6507
|
-
# execution_role_arn: "String",
|
6508
|
-
# volumes: [
|
6509
|
-
# {
|
6510
|
-
# host: {
|
6511
|
-
# source_path: "String",
|
6512
|
-
# },
|
6513
|
-
# name: "String",
|
6514
|
-
# efs_volume_configuration: {
|
6515
|
-
# file_system_id: "String", # required
|
6516
|
-
# root_directory: "String",
|
6517
|
-
# transit_encryption: "ENABLED", # accepts ENABLED, DISABLED
|
6518
|
-
# transit_encryption_port: 1,
|
6519
|
-
# authorization_config: {
|
6520
|
-
# access_point_id: "String",
|
6521
|
-
# iam: "ENABLED", # accepts ENABLED, DISABLED
|
6522
|
-
# },
|
6523
|
-
# },
|
6524
|
-
# },
|
6525
|
-
# ],
|
6526
|
-
# environment: [
|
6527
|
-
# {
|
6528
|
-
# name: "String",
|
6529
|
-
# value: "String",
|
6530
|
-
# },
|
6531
|
-
# ],
|
6532
|
-
# mount_points: [
|
6533
|
-
# {
|
6534
|
-
# container_path: "String",
|
6535
|
-
# read_only: false,
|
6536
|
-
# source_volume: "String",
|
6537
|
-
# },
|
6538
|
-
# ],
|
6539
|
-
# readonly_root_filesystem: false,
|
6540
|
-
# privileged: false,
|
6541
|
-
# ulimits: [
|
6542
|
-
# {
|
6543
|
-
# hard_limit: 1, # required
|
6544
|
-
# name: "String", # required
|
6545
|
-
# soft_limit: 1, # required
|
6546
|
-
# },
|
6547
|
-
# ],
|
6548
|
-
# user: "String",
|
6549
|
-
# instance_type: "String",
|
6550
|
-
# resource_requirements: [
|
6551
|
-
# {
|
6552
|
-
# value: "String", # required
|
6553
|
-
# type: "GPU", # required, accepts GPU, VCPU, MEMORY
|
6554
|
-
# },
|
6555
|
-
# ],
|
6556
|
-
# linux_parameters: {
|
6557
|
-
# devices: [
|
6558
|
-
# {
|
6559
|
-
# host_path: "String", # required
|
6560
|
-
# container_path: "String",
|
6561
|
-
# permissions: ["READ"], # accepts READ, WRITE, MKNOD
|
6562
|
-
# },
|
6563
|
-
# ],
|
6564
|
-
# init_process_enabled: false,
|
6565
|
-
# shared_memory_size: 1,
|
6566
|
-
# tmpfs: [
|
6567
|
-
# {
|
6568
|
-
# container_path: "String", # required
|
6569
|
-
# size: 1, # required
|
6570
|
-
# mount_options: ["String"],
|
6571
|
-
# },
|
6572
|
-
# ],
|
6573
|
-
# max_swap: 1,
|
6574
|
-
# swappiness: 1,
|
6575
|
-
# },
|
6576
|
-
# log_configuration: {
|
6577
|
-
# log_driver: "json-file", # required, accepts json-file, syslog, journald, gelf, fluentd, awslogs, splunk
|
6578
|
-
# options: {
|
6579
|
-
# "String" => "String",
|
6580
|
-
# },
|
6581
|
-
# secret_options: [
|
6582
|
-
# {
|
6583
|
-
# name: "String", # required
|
6584
|
-
# value_from: "String", # required
|
6585
|
-
# },
|
6586
|
-
# ],
|
6587
|
-
# },
|
6588
|
-
# secrets: [
|
6589
|
-
# {
|
6590
|
-
# name: "String", # required
|
6591
|
-
# value_from: "String", # required
|
6592
|
-
# },
|
6593
|
-
# ],
|
6594
|
-
# network_configuration: {
|
6595
|
-
# assign_public_ip: "ENABLED", # accepts ENABLED, DISABLED
|
6596
|
-
# },
|
6597
|
-
# fargate_platform_configuration: {
|
6598
|
-
# platform_version: "String",
|
6599
|
-
# },
|
6600
|
-
# },
|
6601
|
-
# node_properties: {
|
6602
|
-
# num_nodes: 1, # required
|
6603
|
-
# main_node: 1, # required
|
6604
|
-
# node_range_properties: [ # required
|
6605
|
-
# {
|
6606
|
-
# target_nodes: "String", # required
|
6607
|
-
# container: {
|
6608
|
-
# image: "String",
|
6609
|
-
# vcpus: 1,
|
6610
|
-
# memory: 1,
|
6611
|
-
# command: ["String"],
|
6612
|
-
# job_role_arn: "String",
|
6613
|
-
# execution_role_arn: "String",
|
6614
|
-
# volumes: [
|
6615
|
-
# {
|
6616
|
-
# host: {
|
6617
|
-
# source_path: "String",
|
6618
|
-
# },
|
6619
|
-
# name: "String",
|
6620
|
-
# efs_volume_configuration: {
|
6621
|
-
# file_system_id: "String", # required
|
6622
|
-
# root_directory: "String",
|
6623
|
-
# transit_encryption: "ENABLED", # accepts ENABLED, DISABLED
|
6624
|
-
# transit_encryption_port: 1,
|
6625
|
-
# authorization_config: {
|
6626
|
-
# access_point_id: "String",
|
6627
|
-
# iam: "ENABLED", # accepts ENABLED, DISABLED
|
6628
|
-
# },
|
6629
|
-
# },
|
6630
|
-
# },
|
6631
|
-
# ],
|
6632
|
-
# environment: [
|
6633
|
-
# {
|
6634
|
-
# name: "String",
|
6635
|
-
# value: "String",
|
6636
|
-
# },
|
6637
|
-
# ],
|
6638
|
-
# mount_points: [
|
6639
|
-
# {
|
6640
|
-
# container_path: "String",
|
6641
|
-
# read_only: false,
|
6642
|
-
# source_volume: "String",
|
6643
|
-
# },
|
6644
|
-
# ],
|
6645
|
-
# readonly_root_filesystem: false,
|
6646
|
-
# privileged: false,
|
6647
|
-
# ulimits: [
|
6648
|
-
# {
|
6649
|
-
# hard_limit: 1, # required
|
6650
|
-
# name: "String", # required
|
6651
|
-
# soft_limit: 1, # required
|
6652
|
-
# },
|
6653
|
-
# ],
|
6654
|
-
# user: "String",
|
6655
|
-
# instance_type: "String",
|
6656
|
-
# resource_requirements: [
|
6657
|
-
# {
|
6658
|
-
# value: "String", # required
|
6659
|
-
# type: "GPU", # required, accepts GPU, VCPU, MEMORY
|
6660
|
-
# },
|
6661
|
-
# ],
|
6662
|
-
# linux_parameters: {
|
6663
|
-
# devices: [
|
6664
|
-
# {
|
6665
|
-
# host_path: "String", # required
|
6666
|
-
# container_path: "String",
|
6667
|
-
# permissions: ["READ"], # accepts READ, WRITE, MKNOD
|
6668
|
-
# },
|
6669
|
-
# ],
|
6670
|
-
# init_process_enabled: false,
|
6671
|
-
# shared_memory_size: 1,
|
6672
|
-
# tmpfs: [
|
6673
|
-
# {
|
6674
|
-
# container_path: "String", # required
|
6675
|
-
# size: 1, # required
|
6676
|
-
# mount_options: ["String"],
|
6677
|
-
# },
|
6678
|
-
# ],
|
6679
|
-
# max_swap: 1,
|
6680
|
-
# swappiness: 1,
|
6681
|
-
# },
|
6682
|
-
# log_configuration: {
|
6683
|
-
# log_driver: "json-file", # required, accepts json-file, syslog, journald, gelf, fluentd, awslogs, splunk
|
6684
|
-
# options: {
|
6685
|
-
# "String" => "String",
|
6686
|
-
# },
|
6687
|
-
# secret_options: [
|
6688
|
-
# {
|
6689
|
-
# name: "String", # required
|
6690
|
-
# value_from: "String", # required
|
6691
|
-
# },
|
6692
|
-
# ],
|
6693
|
-
# },
|
6694
|
-
# secrets: [
|
6695
|
-
# {
|
6696
|
-
# name: "String", # required
|
6697
|
-
# value_from: "String", # required
|
6698
|
-
# },
|
6699
|
-
# ],
|
6700
|
-
# network_configuration: {
|
6701
|
-
# assign_public_ip: "ENABLED", # accepts ENABLED, DISABLED
|
6702
|
-
# },
|
6703
|
-
# fargate_platform_configuration: {
|
6704
|
-
# platform_version: "String",
|
6705
|
-
# },
|
6706
|
-
# },
|
6707
|
-
# },
|
6708
|
-
# ],
|
6709
|
-
# },
|
6710
|
-
# retry_strategy: {
|
6711
|
-
# attempts: 1,
|
6712
|
-
# evaluate_on_exit: [
|
6713
|
-
# {
|
6714
|
-
# on_status_reason: "String",
|
6715
|
-
# on_reason: "String",
|
6716
|
-
# on_exit_code: "String",
|
6717
|
-
# action: "RETRY", # required, accepts RETRY, EXIT
|
6718
|
-
# },
|
6719
|
-
# ],
|
6720
|
-
# },
|
6721
|
-
# propagate_tags: false,
|
6722
|
-
# timeout: {
|
6723
|
-
# attempt_duration_seconds: 1,
|
6724
|
-
# },
|
6725
|
-
# tags: {
|
6726
|
-
# "TagKey" => "TagValue",
|
6727
|
-
# },
|
6728
|
-
# platform_capabilities: ["EC2"], # accepts EC2, FARGATE
|
6729
|
-
# eks_properties: {
|
6730
|
-
# pod_properties: {
|
6731
|
-
# service_account_name: "String",
|
6732
|
-
# host_network: false,
|
6733
|
-
# dns_policy: "String",
|
6734
|
-
# containers: [
|
6735
|
-
# {
|
6736
|
-
# name: "String",
|
6737
|
-
# image: "String", # required
|
6738
|
-
# image_pull_policy: "String",
|
6739
|
-
# command: ["String"],
|
6740
|
-
# args: ["String"],
|
6741
|
-
# env: [
|
6742
|
-
# {
|
6743
|
-
# name: "String", # required
|
6744
|
-
# value: "String",
|
6745
|
-
# },
|
6746
|
-
# ],
|
6747
|
-
# resources: {
|
6748
|
-
# limits: {
|
6749
|
-
# "String" => "Quantity",
|
6750
|
-
# },
|
6751
|
-
# requests: {
|
6752
|
-
# "String" => "Quantity",
|
6753
|
-
# },
|
6754
|
-
# },
|
6755
|
-
# volume_mounts: [
|
6756
|
-
# {
|
6757
|
-
# name: "String",
|
6758
|
-
# mount_path: "String",
|
6759
|
-
# read_only: false,
|
6760
|
-
# },
|
6761
|
-
# ],
|
6762
|
-
# security_context: {
|
6763
|
-
# run_as_user: 1,
|
6764
|
-
# run_as_group: 1,
|
6765
|
-
# privileged: false,
|
6766
|
-
# read_only_root_filesystem: false,
|
6767
|
-
# run_as_non_root: false,
|
6768
|
-
# },
|
6769
|
-
# },
|
6770
|
-
# ],
|
6771
|
-
# volumes: [
|
6772
|
-
# {
|
6773
|
-
# name: "String", # required
|
6774
|
-
# host_path: {
|
6775
|
-
# path: "String",
|
6776
|
-
# },
|
6777
|
-
# empty_dir: {
|
6778
|
-
# medium: "String",
|
6779
|
-
# size_limit: "Quantity",
|
6780
|
-
# },
|
6781
|
-
# secret: {
|
6782
|
-
# secret_name: "String", # required
|
6783
|
-
# optional: false,
|
6784
|
-
# },
|
6785
|
-
# },
|
6786
|
-
# ],
|
6787
|
-
# },
|
6788
|
-
# },
|
6789
|
-
# }
|
6790
|
-
#
|
6791
5358
|
# @!attribute [rw] job_definition_name
|
6792
5359
|
# The name of the job definition to register. It can be up to 128
|
6793
5360
|
# letters long. It can contain uppercase and lowercase letters,
|
@@ -6970,14 +5537,6 @@ module Aws::Batch
|
|
6970
5537
|
# The type and amount of a resource to assign to a container. The
|
6971
5538
|
# supported resources include `GPU`, `MEMORY`, and `VCPU`.
|
6972
5539
|
#
|
6973
|
-
# @note When making an API call, you may pass ResourceRequirement
|
6974
|
-
# data as a hash:
|
6975
|
-
#
|
6976
|
-
# {
|
6977
|
-
# value: "String", # required
|
6978
|
-
# type: "GPU", # required, accepts GPU, VCPU, MEMORY
|
6979
|
-
# }
|
6980
|
-
#
|
6981
5540
|
# @!attribute [rw] value
|
6982
5541
|
# The quantity of the specified resource to reserve for the container.
|
6983
5542
|
# The values vary based on the `type` specified.
|
@@ -7046,16 +5605,36 @@ module Aws::Batch
|
|
7046
5605
|
#
|
7047
5606
|
# value = 8192
|
7048
5607
|
#
|
7049
|
-
# : `VCPU` = 1, 2, or
|
5608
|
+
# : `VCPU` = 1, 2, 4, or 8
|
7050
5609
|
#
|
7051
|
-
# value = 9216, 10240, 11264, 12288, 13312, 14336,
|
5610
|
+
# value = 9216, 10240, 11264, 12288, 13312, 14336, or 15360
|
7052
5611
|
#
|
7053
5612
|
# : `VCPU` = 2 or 4
|
7054
5613
|
#
|
7055
|
-
# value =
|
5614
|
+
# value = 16384
|
5615
|
+
#
|
5616
|
+
# : `VCPU` = 2, 4, or 8
|
5617
|
+
#
|
5618
|
+
# value = 17408, 18432, 19456, 21504, 22528, 23552, 25600, 26624, 27648, 29696, or 30720
|
7056
5619
|
#
|
7057
5620
|
# : `VCPU` = 4
|
7058
5621
|
#
|
5622
|
+
# value = 20480, 24576, or 28672
|
5623
|
+
#
|
5624
|
+
# : `VCPU` = 4 or 8
|
5625
|
+
#
|
5626
|
+
# value = 36864, 45056, 53248, or 61440
|
5627
|
+
#
|
5628
|
+
# : `VCPU` = 8
|
5629
|
+
#
|
5630
|
+
# value = 32768, 40960, 49152, or 57344
|
5631
|
+
#
|
5632
|
+
# : `VCPU` = 8 or 16
|
5633
|
+
#
|
5634
|
+
# value = 65536, 73728, 81920, 90112, 98304, 106496, 114688, or 122880
|
5635
|
+
#
|
5636
|
+
# : `VCPU` = 16
|
5637
|
+
#
|
7059
5638
|
# type="VCPU"
|
7060
5639
|
#
|
7061
5640
|
# : The number of vCPUs reserved for the container. This parameter
|
@@ -7066,10 +5645,14 @@ module Aws::Batch
|
|
7066
5645
|
# but can be specified in several places; it must be specified for
|
7067
5646
|
# each node at least once.
|
7068
5647
|
#
|
5648
|
+
# The default for the Fargate On-Demand vCPU resource count quota is
|
5649
|
+
# 6 vCPUs. For more information about Fargate quotas, see [Fargate
|
5650
|
+
# quotas][5] in the *Amazon Web Services General Reference*.
|
5651
|
+
#
|
7069
5652
|
# For jobs that are running on Fargate resources, then `value` must
|
7070
5653
|
# match one of the supported values and the `MEMORY` values must be
|
7071
5654
|
# one of the values supported for that `VCPU` value. The supported
|
7072
|
-
# values are 0.25, 0.5, 1, 2, and
|
5655
|
+
# values are 0.25, 0.5, 1, 2, 4, 8, and 16
|
7073
5656
|
#
|
7074
5657
|
# value = 0.25
|
7075
5658
|
#
|
@@ -7094,12 +5677,23 @@ module Aws::Batch
|
|
7094
5677
|
# 16384, 17408, 18432, 19456, 20480, 21504, 22528, 23552, 24576,
|
7095
5678
|
# 25600, 26624, 27648, 28672, 29696, or 30720
|
7096
5679
|
#
|
5680
|
+
# value = 8
|
5681
|
+
#
|
5682
|
+
# : `MEMORY` = 16384, 20480, 24576, 28672, 32768, 36864, 40960,
|
5683
|
+
# 45056, 49152, 53248, 57344, or 61440
|
5684
|
+
#
|
5685
|
+
# value = 16
|
5686
|
+
#
|
5687
|
+
# : `MEMORY` = 32768, 40960, 49152, 57344, 65536, 73728, 81920,
|
5688
|
+
# 90112, 98304, 106496, 114688, or 122880
|
5689
|
+
#
|
7097
5690
|
#
|
7098
5691
|
#
|
7099
5692
|
# [1]: https://docs.docker.com/engine/api/v1.23/#create-a-container
|
7100
5693
|
# [2]: https://docs.docker.com/engine/api/v1.23/
|
7101
5694
|
# [3]: https://docs.docker.com/engine/reference/run/
|
7102
5695
|
# [4]: https://docs.aws.amazon.com/batch/latest/userguide/memory-management.html
|
5696
|
+
# [5]: https://docs.aws.amazon.com/general/latest/gr/ecs-service.html#service-quotas-fargate
|
7103
5697
|
# @return [String]
|
7104
5698
|
#
|
7105
5699
|
# @!attribute [rw] type
|
@@ -7123,21 +5717,6 @@ module Aws::Batch
|
|
7123
5717
|
#
|
7124
5718
|
# [1]: https://docs.aws.amazon.com/batch/latest/userguide/job_retries.html
|
7125
5719
|
#
|
7126
|
-
# @note When making an API call, you may pass RetryStrategy
|
7127
|
-
# data as a hash:
|
7128
|
-
#
|
7129
|
-
# {
|
7130
|
-
# attempts: 1,
|
7131
|
-
# evaluate_on_exit: [
|
7132
|
-
# {
|
7133
|
-
# on_status_reason: "String",
|
7134
|
-
# on_reason: "String",
|
7135
|
-
# on_exit_code: "String",
|
7136
|
-
# action: "RETRY", # required, accepts RETRY, EXIT
|
7137
|
-
# },
|
7138
|
-
# ],
|
7139
|
-
# }
|
7140
|
-
#
|
7141
5720
|
# @!attribute [rw] attempts
|
7142
5721
|
# The number of times to move a job to the `RUNNABLE` status. You can
|
7143
5722
|
# specify between 1 and 10 attempts. If the value of `attempts` is
|
@@ -7231,14 +5810,6 @@ module Aws::Batch
|
|
7231
5810
|
#
|
7232
5811
|
# [1]: https://docs.aws.amazon.com/batch/latest/userguide/specifying-sensitive-data.html
|
7233
5812
|
#
|
7234
|
-
# @note When making an API call, you may pass Secret
|
7235
|
-
# data as a hash:
|
7236
|
-
#
|
7237
|
-
# {
|
7238
|
-
# name: "String", # required
|
7239
|
-
# value_from: "String", # required
|
7240
|
-
# }
|
7241
|
-
#
|
7242
5813
|
# @!attribute [rw] name
|
7243
5814
|
# The name of the secret.
|
7244
5815
|
# @return [String]
|
@@ -7284,14 +5855,6 @@ module Aws::Batch
|
|
7284
5855
|
# share policy. Fair share identifiers that aren't included have a
|
7285
5856
|
# default weight of `1.0`.
|
7286
5857
|
#
|
7287
|
-
# @note When making an API call, you may pass ShareAttributes
|
7288
|
-
# data as a hash:
|
7289
|
-
#
|
7290
|
-
# {
|
7291
|
-
# share_identifier: "String", # required
|
7292
|
-
# weight_factor: 1.0,
|
7293
|
-
# }
|
7294
|
-
#
|
7295
5858
|
# @!attribute [rw] share_identifier
|
7296
5859
|
# A fair share identifier or fair share identifier prefix. If the
|
7297
5860
|
# string ends with an asterisk (*), this entry specifies the weight
|
@@ -7330,116 +5893,6 @@ module Aws::Batch
|
|
7330
5893
|
|
7331
5894
|
# Contains the parameters for `SubmitJob`.
|
7332
5895
|
#
|
7333
|
-
# @note When making an API call, you may pass SubmitJobRequest
|
7334
|
-
# data as a hash:
|
7335
|
-
#
|
7336
|
-
# {
|
7337
|
-
# job_name: "String", # required
|
7338
|
-
# job_queue: "String", # required
|
7339
|
-
# share_identifier: "String",
|
7340
|
-
# scheduling_priority_override: 1,
|
7341
|
-
# array_properties: {
|
7342
|
-
# size: 1,
|
7343
|
-
# },
|
7344
|
-
# depends_on: [
|
7345
|
-
# {
|
7346
|
-
# job_id: "String",
|
7347
|
-
# type: "N_TO_N", # accepts N_TO_N, SEQUENTIAL
|
7348
|
-
# },
|
7349
|
-
# ],
|
7350
|
-
# job_definition: "String", # required
|
7351
|
-
# parameters: {
|
7352
|
-
# "String" => "String",
|
7353
|
-
# },
|
7354
|
-
# container_overrides: {
|
7355
|
-
# vcpus: 1,
|
7356
|
-
# memory: 1,
|
7357
|
-
# command: ["String"],
|
7358
|
-
# instance_type: "String",
|
7359
|
-
# environment: [
|
7360
|
-
# {
|
7361
|
-
# name: "String",
|
7362
|
-
# value: "String",
|
7363
|
-
# },
|
7364
|
-
# ],
|
7365
|
-
# resource_requirements: [
|
7366
|
-
# {
|
7367
|
-
# value: "String", # required
|
7368
|
-
# type: "GPU", # required, accepts GPU, VCPU, MEMORY
|
7369
|
-
# },
|
7370
|
-
# ],
|
7371
|
-
# },
|
7372
|
-
# node_overrides: {
|
7373
|
-
# num_nodes: 1,
|
7374
|
-
# node_property_overrides: [
|
7375
|
-
# {
|
7376
|
-
# target_nodes: "String", # required
|
7377
|
-
# container_overrides: {
|
7378
|
-
# vcpus: 1,
|
7379
|
-
# memory: 1,
|
7380
|
-
# command: ["String"],
|
7381
|
-
# instance_type: "String",
|
7382
|
-
# environment: [
|
7383
|
-
# {
|
7384
|
-
# name: "String",
|
7385
|
-
# value: "String",
|
7386
|
-
# },
|
7387
|
-
# ],
|
7388
|
-
# resource_requirements: [
|
7389
|
-
# {
|
7390
|
-
# value: "String", # required
|
7391
|
-
# type: "GPU", # required, accepts GPU, VCPU, MEMORY
|
7392
|
-
# },
|
7393
|
-
# ],
|
7394
|
-
# },
|
7395
|
-
# },
|
7396
|
-
# ],
|
7397
|
-
# },
|
7398
|
-
# retry_strategy: {
|
7399
|
-
# attempts: 1,
|
7400
|
-
# evaluate_on_exit: [
|
7401
|
-
# {
|
7402
|
-
# on_status_reason: "String",
|
7403
|
-
# on_reason: "String",
|
7404
|
-
# on_exit_code: "String",
|
7405
|
-
# action: "RETRY", # required, accepts RETRY, EXIT
|
7406
|
-
# },
|
7407
|
-
# ],
|
7408
|
-
# },
|
7409
|
-
# propagate_tags: false,
|
7410
|
-
# timeout: {
|
7411
|
-
# attempt_duration_seconds: 1,
|
7412
|
-
# },
|
7413
|
-
# tags: {
|
7414
|
-
# "TagKey" => "TagValue",
|
7415
|
-
# },
|
7416
|
-
# eks_properties_override: {
|
7417
|
-
# pod_properties: {
|
7418
|
-
# containers: [
|
7419
|
-
# {
|
7420
|
-
# image: "String",
|
7421
|
-
# command: ["String"],
|
7422
|
-
# args: ["String"],
|
7423
|
-
# env: [
|
7424
|
-
# {
|
7425
|
-
# name: "String", # required
|
7426
|
-
# value: "String",
|
7427
|
-
# },
|
7428
|
-
# ],
|
7429
|
-
# resources: {
|
7430
|
-
# limits: {
|
7431
|
-
# "String" => "Quantity",
|
7432
|
-
# },
|
7433
|
-
# requests: {
|
7434
|
-
# "String" => "Quantity",
|
7435
|
-
# },
|
7436
|
-
# },
|
7437
|
-
# },
|
7438
|
-
# ],
|
7439
|
-
# },
|
7440
|
-
# },
|
7441
|
-
# }
|
7442
|
-
#
|
7443
5896
|
# @!attribute [rw] job_name
|
7444
5897
|
# The name of the job. It can be up to 128 letters long. The first
|
7445
5898
|
# character must be alphanumeric, can contain uppercase and lowercase
|
@@ -7620,16 +6073,6 @@ module Aws::Batch
|
|
7620
6073
|
|
7621
6074
|
# Contains the parameters for `TagResource`.
|
7622
6075
|
#
|
7623
|
-
# @note When making an API call, you may pass TagResourceRequest
|
7624
|
-
# data as a hash:
|
7625
|
-
#
|
7626
|
-
# {
|
7627
|
-
# resource_arn: "String", # required
|
7628
|
-
# tags: { # required
|
7629
|
-
# "TagKey" => "TagValue",
|
7630
|
-
# },
|
7631
|
-
# }
|
7632
|
-
#
|
7633
6076
|
# @!attribute [rw] resource_arn
|
7634
6077
|
# The Amazon Resource Name (ARN) of the resource that tags are added
|
7635
6078
|
# to. Batch resources that support tags are compute environments,
|
@@ -7664,14 +6107,6 @@ module Aws::Batch
|
|
7664
6107
|
|
7665
6108
|
# Contains the parameters for `TerminateJob`.
|
7666
6109
|
#
|
7667
|
-
# @note When making an API call, you may pass TerminateJobRequest
|
7668
|
-
# data as a hash:
|
7669
|
-
#
|
7670
|
-
# {
|
7671
|
-
# job_id: "String", # required
|
7672
|
-
# reason: "String", # required
|
7673
|
-
# }
|
7674
|
-
#
|
7675
6110
|
# @!attribute [rw] job_id
|
7676
6111
|
# The Batch job ID of the job to terminate.
|
7677
6112
|
# @return [String]
|
@@ -7703,15 +6138,6 @@ module Aws::Batch
|
|
7703
6138
|
#
|
7704
6139
|
# </note>
|
7705
6140
|
#
|
7706
|
-
# @note When making an API call, you may pass Tmpfs
|
7707
|
-
# data as a hash:
|
7708
|
-
#
|
7709
|
-
# {
|
7710
|
-
# container_path: "String", # required
|
7711
|
-
# size: 1, # required
|
7712
|
-
# mount_options: ["String"],
|
7713
|
-
# }
|
7714
|
-
#
|
7715
6141
|
# @!attribute [rw] container_path
|
7716
6142
|
# The absolute file path in the container where the `tmpfs` volume is
|
7717
6143
|
# mounted.
|
@@ -7753,15 +6179,6 @@ module Aws::Batch
|
|
7753
6179
|
#
|
7754
6180
|
# </note>
|
7755
6181
|
#
|
7756
|
-
# @note When making an API call, you may pass Ulimit
|
7757
|
-
# data as a hash:
|
7758
|
-
#
|
7759
|
-
# {
|
7760
|
-
# hard_limit: 1, # required
|
7761
|
-
# name: "String", # required
|
7762
|
-
# soft_limit: 1, # required
|
7763
|
-
# }
|
7764
|
-
#
|
7765
6182
|
# @!attribute [rw] hard_limit
|
7766
6183
|
# The hard limit for the `ulimit` type.
|
7767
6184
|
# @return [Integer]
|
@@ -7786,14 +6203,6 @@ module Aws::Batch
|
|
7786
6203
|
|
7787
6204
|
# Contains the parameters for `UntagResource`.
|
7788
6205
|
#
|
7789
|
-
# @note When making an API call, you may pass UntagResourceRequest
|
7790
|
-
# data as a hash:
|
7791
|
-
#
|
7792
|
-
# {
|
7793
|
-
# resource_arn: "String", # required
|
7794
|
-
# tag_keys: ["TagKey"], # required
|
7795
|
-
# }
|
7796
|
-
#
|
7797
6206
|
# @!attribute [rw] resource_arn
|
7798
6207
|
# The Amazon Resource Name (ARN) of the resource from which to delete
|
7799
6208
|
# tags. Batch resources that support tags are compute environments,
|
@@ -7821,51 +6230,6 @@ module Aws::Batch
|
|
7821
6230
|
|
7822
6231
|
# Contains the parameters for `UpdateComputeEnvironment`.
|
7823
6232
|
#
|
7824
|
-
# @note When making an API call, you may pass UpdateComputeEnvironmentRequest
|
7825
|
-
# data as a hash:
|
7826
|
-
#
|
7827
|
-
# {
|
7828
|
-
# compute_environment: "String", # required
|
7829
|
-
# state: "ENABLED", # accepts ENABLED, DISABLED
|
7830
|
-
# unmanagedv_cpus: 1,
|
7831
|
-
# compute_resources: {
|
7832
|
-
# minv_cpus: 1,
|
7833
|
-
# maxv_cpus: 1,
|
7834
|
-
# desiredv_cpus: 1,
|
7835
|
-
# subnets: ["String"],
|
7836
|
-
# security_group_ids: ["String"],
|
7837
|
-
# allocation_strategy: "BEST_FIT_PROGRESSIVE", # accepts BEST_FIT_PROGRESSIVE, SPOT_CAPACITY_OPTIMIZED
|
7838
|
-
# instance_types: ["String"],
|
7839
|
-
# ec2_key_pair: "String",
|
7840
|
-
# instance_role: "String",
|
7841
|
-
# tags: {
|
7842
|
-
# "String" => "String",
|
7843
|
-
# },
|
7844
|
-
# placement_group: "String",
|
7845
|
-
# bid_percentage: 1,
|
7846
|
-
# launch_template: {
|
7847
|
-
# launch_template_id: "String",
|
7848
|
-
# launch_template_name: "String",
|
7849
|
-
# version: "String",
|
7850
|
-
# },
|
7851
|
-
# ec2_configuration: [
|
7852
|
-
# {
|
7853
|
-
# image_type: "ImageType", # required
|
7854
|
-
# image_id_override: "ImageIdOverride",
|
7855
|
-
# image_kubernetes_version: "KubernetesVersion",
|
7856
|
-
# },
|
7857
|
-
# ],
|
7858
|
-
# update_to_latest_image_version: false,
|
7859
|
-
# type: "EC2", # accepts EC2, SPOT, FARGATE, FARGATE_SPOT
|
7860
|
-
# image_id: "String",
|
7861
|
-
# },
|
7862
|
-
# service_role: "String",
|
7863
|
-
# update_policy: {
|
7864
|
-
# terminate_jobs_on_update: false,
|
7865
|
-
# job_execution_timeout_minutes: 1,
|
7866
|
-
# },
|
7867
|
-
# }
|
7868
|
-
#
|
7869
6233
|
# @!attribute [rw] compute_environment
|
7870
6234
|
# The name or full Amazon Resource Name (ARN) of the compute
|
7871
6235
|
# environment to update.
|
@@ -7986,22 +6350,6 @@ module Aws::Batch
|
|
7986
6350
|
|
7987
6351
|
# Contains the parameters for `UpdateJobQueue`.
|
7988
6352
|
#
|
7989
|
-
# @note When making an API call, you may pass UpdateJobQueueRequest
|
7990
|
-
# data as a hash:
|
7991
|
-
#
|
7992
|
-
# {
|
7993
|
-
# job_queue: "String", # required
|
7994
|
-
# state: "ENABLED", # accepts ENABLED, DISABLED
|
7995
|
-
# scheduling_policy_arn: "String",
|
7996
|
-
# priority: 1,
|
7997
|
-
# compute_environment_order: [
|
7998
|
-
# {
|
7999
|
-
# order: 1, # required
|
8000
|
-
# compute_environment: "String", # required
|
8001
|
-
# },
|
8002
|
-
# ],
|
8003
|
-
# }
|
8004
|
-
#
|
8005
6353
|
# @!attribute [rw] job_queue
|
8006
6354
|
# The name or the Amazon Resource Name (ARN) of the job queue.
|
8007
6355
|
# @return [String]
|
@@ -8082,19 +6430,11 @@ module Aws::Batch
|
|
8082
6430
|
|
8083
6431
|
# Specifies the infrastructure update policy for the compute
|
8084
6432
|
# environment. For more information about infrastructure updates, see
|
8085
|
-
# [
|
8086
|
-
#
|
6433
|
+
# [Updating compute environments][1] in the *Batch User Guide*.
|
8087
6434
|
#
|
8088
6435
|
#
|
8089
|
-
# [1]: https://docs.aws.amazon.com/batch/latest/userguide/infrastructure-updates.html
|
8090
6436
|
#
|
8091
|
-
#
|
8092
|
-
# data as a hash:
|
8093
|
-
#
|
8094
|
-
# {
|
8095
|
-
# terminate_jobs_on_update: false,
|
8096
|
-
# job_execution_timeout_minutes: 1,
|
8097
|
-
# }
|
6437
|
+
# [1]: https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html
|
8098
6438
|
#
|
8099
6439
|
# @!attribute [rw] terminate_jobs_on_update
|
8100
6440
|
# Specifies whether jobs are automatically terminated when the
|
@@ -8118,23 +6458,6 @@ module Aws::Batch
|
|
8118
6458
|
|
8119
6459
|
# Contains the parameters for `UpdateSchedulingPolicy`.
|
8120
6460
|
#
|
8121
|
-
# @note When making an API call, you may pass UpdateSchedulingPolicyRequest
|
8122
|
-
# data as a hash:
|
8123
|
-
#
|
8124
|
-
# {
|
8125
|
-
# arn: "String", # required
|
8126
|
-
# fairshare_policy: {
|
8127
|
-
# share_decay_seconds: 1,
|
8128
|
-
# compute_reservation: 1,
|
8129
|
-
# share_distribution: [
|
8130
|
-
# {
|
8131
|
-
# share_identifier: "String", # required
|
8132
|
-
# weight_factor: 1.0,
|
8133
|
-
# },
|
8134
|
-
# ],
|
8135
|
-
# },
|
8136
|
-
# }
|
8137
|
-
#
|
8138
6461
|
# @!attribute [rw] arn
|
8139
6462
|
# The Amazon Resource Name (ARN) of the scheduling policy to update.
|
8140
6463
|
# @return [String]
|
@@ -8158,26 +6481,6 @@ module Aws::Batch
|
|
8158
6481
|
|
8159
6482
|
# A data volume that's used in a job's container properties.
|
8160
6483
|
#
|
8161
|
-
# @note When making an API call, you may pass Volume
|
8162
|
-
# data as a hash:
|
8163
|
-
#
|
8164
|
-
# {
|
8165
|
-
# host: {
|
8166
|
-
# source_path: "String",
|
8167
|
-
# },
|
8168
|
-
# name: "String",
|
8169
|
-
# efs_volume_configuration: {
|
8170
|
-
# file_system_id: "String", # required
|
8171
|
-
# root_directory: "String",
|
8172
|
-
# transit_encryption: "ENABLED", # accepts ENABLED, DISABLED
|
8173
|
-
# transit_encryption_port: 1,
|
8174
|
-
# authorization_config: {
|
8175
|
-
# access_point_id: "String",
|
8176
|
-
# iam: "ENABLED", # accepts ENABLED, DISABLED
|
8177
|
-
# },
|
8178
|
-
# },
|
8179
|
-
# }
|
8180
|
-
#
|
8181
6484
|
# @!attribute [rw] host
|
8182
6485
|
# The contents of the `host` parameter determine whether your data
|
8183
6486
|
# volume persists on the host container instance and where it's
|