aws-sdk-batch 1.93.0 → 1.95.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 +306 -4
- data/lib/aws-sdk-batch/client_api.rb +6 -0
- data/lib/aws-sdk-batch/types.rb +37 -5
- data/lib/aws-sdk-batch.rb +1 -1
- data/sig/client.rbs +148 -3
- data/sig/types.rbs +6 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: df354f09b181f2685e1355b417d76d4f8b746e5aa37c2c46f8372d1575041288
|
4
|
+
data.tar.gz: 424c576cb65c02b0166b65daef7834945f8e28af73c012432ff7678c5156fa5b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ece8dbdf132ac38e4f05f1ce5915131c26fadb3a9fe5cccf6438875fc485128f049df8541b020dbbed5b48e91df153b439314b94d5f3e8fb80ea2a3d031b65be
|
7
|
+
data.tar.gz: 685beed1fd365d896149d13e145016a03920cd8ca244700445617139bf25c73962752e59c082ab72523ed5e91eadecded83fbe756f4c9839bd55210420593e5f
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.95.0 (2024-08-16)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Improvements of integration between AWS Batch and EC2.
|
8
|
+
|
9
|
+
1.94.0 (2024-07-10)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - This feature allows AWS Batch Jobs with EKS container orchestration type to be run as Multi-Node Parallel Jobs.
|
13
|
+
|
4
14
|
1.93.0 (2024-07-02)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.95.0
|
data/lib/aws-sdk-batch/client.rb
CHANGED
@@ -425,9 +425,8 @@ module Aws::Batch
|
|
425
425
|
|
426
426
|
# @!group API Operations
|
427
427
|
|
428
|
-
# Cancels a job in an Batch job queue. Jobs that are in
|
429
|
-
# or `
|
430
|
-
# until it reaches the head of the job queue. Then the job status is
|
428
|
+
# Cancels a job in an Batch job queue. Jobs that are in a `SUBMITTED`,
|
429
|
+
# `PENDING`, or `RUNNABLE` state are cancelled and the job status is
|
431
430
|
# updated to `FAILED`.
|
432
431
|
#
|
433
432
|
# <note markdown="1"> A `PENDING` job is canceled after all dependency jobs are completed.
|
@@ -712,6 +711,9 @@ module Aws::Batch
|
|
712
711
|
# The details for the Amazon EKS cluster that supports the compute
|
713
712
|
# environment.
|
714
713
|
#
|
714
|
+
# @option params [String] :context
|
715
|
+
# Reserved.
|
716
|
+
#
|
715
717
|
# @return [Types::CreateComputeEnvironmentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
716
718
|
#
|
717
719
|
# * {Types::CreateComputeEnvironmentResponse#compute_environment_name #compute_environment_name} => String
|
@@ -850,6 +852,7 @@ module Aws::Batch
|
|
850
852
|
# eks_cluster_arn: "String", # required
|
851
853
|
# kubernetes_namespace: "String", # required
|
852
854
|
# },
|
855
|
+
# context: "String",
|
853
856
|
# })
|
854
857
|
#
|
855
858
|
# @example Response structure
|
@@ -1388,6 +1391,7 @@ module Aws::Batch
|
|
1388
1391
|
# resp.compute_environments[0].eks_configuration.kubernetes_namespace #=> String
|
1389
1392
|
# resp.compute_environments[0].container_orchestration_type #=> String, one of "ECS", "EKS"
|
1390
1393
|
# resp.compute_environments[0].uuid #=> String
|
1394
|
+
# resp.compute_environments[0].context #=> String
|
1391
1395
|
# resp.next_token #=> String
|
1392
1396
|
#
|
1393
1397
|
# @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DescribeComputeEnvironments AWS API Documentation
|
@@ -1722,6 +1726,71 @@ module Aws::Batch
|
|
1722
1726
|
# resp.job_definitions[0].node_properties.node_range_properties[0].ecs_properties.task_properties[0].volumes[0].efs_volume_configuration.transit_encryption_port #=> Integer
|
1723
1727
|
# resp.job_definitions[0].node_properties.node_range_properties[0].ecs_properties.task_properties[0].volumes[0].efs_volume_configuration.authorization_config.access_point_id #=> String
|
1724
1728
|
# resp.job_definitions[0].node_properties.node_range_properties[0].ecs_properties.task_properties[0].volumes[0].efs_volume_configuration.authorization_config.iam #=> String, one of "ENABLED", "DISABLED"
|
1729
|
+
# resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.service_account_name #=> String
|
1730
|
+
# resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.host_network #=> Boolean
|
1731
|
+
# resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.dns_policy #=> String
|
1732
|
+
# resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.image_pull_secrets #=> Array
|
1733
|
+
# resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.image_pull_secrets[0].name #=> String
|
1734
|
+
# resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.containers #=> Array
|
1735
|
+
# resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.containers[0].name #=> String
|
1736
|
+
# resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.containers[0].image #=> String
|
1737
|
+
# resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.containers[0].image_pull_policy #=> String
|
1738
|
+
# resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.containers[0].command #=> Array
|
1739
|
+
# resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.containers[0].command[0] #=> String
|
1740
|
+
# resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.containers[0].args #=> Array
|
1741
|
+
# resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.containers[0].args[0] #=> String
|
1742
|
+
# resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.containers[0].env #=> Array
|
1743
|
+
# resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.containers[0].env[0].name #=> String
|
1744
|
+
# resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.containers[0].env[0].value #=> String
|
1745
|
+
# resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.containers[0].resources.limits #=> Hash
|
1746
|
+
# resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.containers[0].resources.limits["String"] #=> String
|
1747
|
+
# resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.containers[0].resources.requests #=> Hash
|
1748
|
+
# resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.containers[0].resources.requests["String"] #=> String
|
1749
|
+
# resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.containers[0].volume_mounts #=> Array
|
1750
|
+
# resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.containers[0].volume_mounts[0].name #=> String
|
1751
|
+
# resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.containers[0].volume_mounts[0].mount_path #=> String
|
1752
|
+
# resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.containers[0].volume_mounts[0].read_only #=> Boolean
|
1753
|
+
# resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.containers[0].security_context.run_as_user #=> Integer
|
1754
|
+
# resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.containers[0].security_context.run_as_group #=> Integer
|
1755
|
+
# resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.containers[0].security_context.privileged #=> Boolean
|
1756
|
+
# resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.containers[0].security_context.allow_privilege_escalation #=> Boolean
|
1757
|
+
# resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.containers[0].security_context.read_only_root_filesystem #=> Boolean
|
1758
|
+
# resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.containers[0].security_context.run_as_non_root #=> Boolean
|
1759
|
+
# resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.init_containers #=> Array
|
1760
|
+
# resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.init_containers[0].name #=> String
|
1761
|
+
# resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.init_containers[0].image #=> String
|
1762
|
+
# resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.init_containers[0].image_pull_policy #=> String
|
1763
|
+
# resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.init_containers[0].command #=> Array
|
1764
|
+
# resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.init_containers[0].command[0] #=> String
|
1765
|
+
# resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.init_containers[0].args #=> Array
|
1766
|
+
# resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.init_containers[0].args[0] #=> String
|
1767
|
+
# resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.init_containers[0].env #=> Array
|
1768
|
+
# resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.init_containers[0].env[0].name #=> String
|
1769
|
+
# resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.init_containers[0].env[0].value #=> String
|
1770
|
+
# resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.init_containers[0].resources.limits #=> Hash
|
1771
|
+
# resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.init_containers[0].resources.limits["String"] #=> String
|
1772
|
+
# resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.init_containers[0].resources.requests #=> Hash
|
1773
|
+
# resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.init_containers[0].resources.requests["String"] #=> String
|
1774
|
+
# resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.init_containers[0].volume_mounts #=> Array
|
1775
|
+
# resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.init_containers[0].volume_mounts[0].name #=> String
|
1776
|
+
# resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.init_containers[0].volume_mounts[0].mount_path #=> String
|
1777
|
+
# resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.init_containers[0].volume_mounts[0].read_only #=> Boolean
|
1778
|
+
# resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.init_containers[0].security_context.run_as_user #=> Integer
|
1779
|
+
# resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.init_containers[0].security_context.run_as_group #=> Integer
|
1780
|
+
# resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.init_containers[0].security_context.privileged #=> Boolean
|
1781
|
+
# resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.init_containers[0].security_context.allow_privilege_escalation #=> Boolean
|
1782
|
+
# resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.init_containers[0].security_context.read_only_root_filesystem #=> Boolean
|
1783
|
+
# resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.init_containers[0].security_context.run_as_non_root #=> Boolean
|
1784
|
+
# resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.volumes #=> Array
|
1785
|
+
# resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.volumes[0].name #=> String
|
1786
|
+
# resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.volumes[0].host_path.path #=> String
|
1787
|
+
# resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.volumes[0].empty_dir.medium #=> String
|
1788
|
+
# resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.volumes[0].empty_dir.size_limit #=> String
|
1789
|
+
# resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.volumes[0].secret.secret_name #=> String
|
1790
|
+
# resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.volumes[0].secret.optional #=> Boolean
|
1791
|
+
# resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.metadata.labels #=> Hash
|
1792
|
+
# resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.metadata.labels["String"] #=> String
|
1793
|
+
# resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.share_process_namespace #=> Boolean
|
1725
1794
|
# resp.job_definitions[0].tags #=> Hash
|
1726
1795
|
# resp.job_definitions[0].tags["TagKey"] #=> String
|
1727
1796
|
# resp.job_definitions[0].propagate_tags #=> Boolean
|
@@ -2306,6 +2375,71 @@ module Aws::Batch
|
|
2306
2375
|
# resp.jobs[0].node_properties.node_range_properties[0].ecs_properties.task_properties[0].volumes[0].efs_volume_configuration.transit_encryption_port #=> Integer
|
2307
2376
|
# resp.jobs[0].node_properties.node_range_properties[0].ecs_properties.task_properties[0].volumes[0].efs_volume_configuration.authorization_config.access_point_id #=> String
|
2308
2377
|
# resp.jobs[0].node_properties.node_range_properties[0].ecs_properties.task_properties[0].volumes[0].efs_volume_configuration.authorization_config.iam #=> String, one of "ENABLED", "DISABLED"
|
2378
|
+
# resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.service_account_name #=> String
|
2379
|
+
# resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.host_network #=> Boolean
|
2380
|
+
# resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.dns_policy #=> String
|
2381
|
+
# resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.image_pull_secrets #=> Array
|
2382
|
+
# resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.image_pull_secrets[0].name #=> String
|
2383
|
+
# resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.containers #=> Array
|
2384
|
+
# resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.containers[0].name #=> String
|
2385
|
+
# resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.containers[0].image #=> String
|
2386
|
+
# resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.containers[0].image_pull_policy #=> String
|
2387
|
+
# resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.containers[0].command #=> Array
|
2388
|
+
# resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.containers[0].command[0] #=> String
|
2389
|
+
# resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.containers[0].args #=> Array
|
2390
|
+
# resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.containers[0].args[0] #=> String
|
2391
|
+
# resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.containers[0].env #=> Array
|
2392
|
+
# resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.containers[0].env[0].name #=> String
|
2393
|
+
# resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.containers[0].env[0].value #=> String
|
2394
|
+
# resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.containers[0].resources.limits #=> Hash
|
2395
|
+
# resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.containers[0].resources.limits["String"] #=> String
|
2396
|
+
# resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.containers[0].resources.requests #=> Hash
|
2397
|
+
# resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.containers[0].resources.requests["String"] #=> String
|
2398
|
+
# resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.containers[0].volume_mounts #=> Array
|
2399
|
+
# resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.containers[0].volume_mounts[0].name #=> String
|
2400
|
+
# resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.containers[0].volume_mounts[0].mount_path #=> String
|
2401
|
+
# resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.containers[0].volume_mounts[0].read_only #=> Boolean
|
2402
|
+
# resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.containers[0].security_context.run_as_user #=> Integer
|
2403
|
+
# resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.containers[0].security_context.run_as_group #=> Integer
|
2404
|
+
# resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.containers[0].security_context.privileged #=> Boolean
|
2405
|
+
# resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.containers[0].security_context.allow_privilege_escalation #=> Boolean
|
2406
|
+
# resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.containers[0].security_context.read_only_root_filesystem #=> Boolean
|
2407
|
+
# resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.containers[0].security_context.run_as_non_root #=> Boolean
|
2408
|
+
# resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.init_containers #=> Array
|
2409
|
+
# resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.init_containers[0].name #=> String
|
2410
|
+
# resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.init_containers[0].image #=> String
|
2411
|
+
# resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.init_containers[0].image_pull_policy #=> String
|
2412
|
+
# resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.init_containers[0].command #=> Array
|
2413
|
+
# resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.init_containers[0].command[0] #=> String
|
2414
|
+
# resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.init_containers[0].args #=> Array
|
2415
|
+
# resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.init_containers[0].args[0] #=> String
|
2416
|
+
# resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.init_containers[0].env #=> Array
|
2417
|
+
# resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.init_containers[0].env[0].name #=> String
|
2418
|
+
# resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.init_containers[0].env[0].value #=> String
|
2419
|
+
# resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.init_containers[0].resources.limits #=> Hash
|
2420
|
+
# resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.init_containers[0].resources.limits["String"] #=> String
|
2421
|
+
# resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.init_containers[0].resources.requests #=> Hash
|
2422
|
+
# resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.init_containers[0].resources.requests["String"] #=> String
|
2423
|
+
# resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.init_containers[0].volume_mounts #=> Array
|
2424
|
+
# resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.init_containers[0].volume_mounts[0].name #=> String
|
2425
|
+
# resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.init_containers[0].volume_mounts[0].mount_path #=> String
|
2426
|
+
# resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.init_containers[0].volume_mounts[0].read_only #=> Boolean
|
2427
|
+
# resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.init_containers[0].security_context.run_as_user #=> Integer
|
2428
|
+
# resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.init_containers[0].security_context.run_as_group #=> Integer
|
2429
|
+
# resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.init_containers[0].security_context.privileged #=> Boolean
|
2430
|
+
# resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.init_containers[0].security_context.allow_privilege_escalation #=> Boolean
|
2431
|
+
# resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.init_containers[0].security_context.read_only_root_filesystem #=> Boolean
|
2432
|
+
# resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.init_containers[0].security_context.run_as_non_root #=> Boolean
|
2433
|
+
# resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.volumes #=> Array
|
2434
|
+
# resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.volumes[0].name #=> String
|
2435
|
+
# resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.volumes[0].host_path.path #=> String
|
2436
|
+
# resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.volumes[0].empty_dir.medium #=> String
|
2437
|
+
# resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.volumes[0].empty_dir.size_limit #=> String
|
2438
|
+
# resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.volumes[0].secret.secret_name #=> String
|
2439
|
+
# resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.volumes[0].secret.optional #=> Boolean
|
2440
|
+
# resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.metadata.labels #=> Hash
|
2441
|
+
# resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.metadata.labels["String"] #=> String
|
2442
|
+
# resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.share_process_namespace #=> Boolean
|
2309
2443
|
# resp.jobs[0].array_properties.status_summary #=> Hash
|
2310
2444
|
# resp.jobs[0].array_properties.status_summary["String"] #=> Integer
|
2311
2445
|
# resp.jobs[0].array_properties.size #=> Integer
|
@@ -2396,6 +2530,7 @@ module Aws::Batch
|
|
2396
2530
|
# resp.jobs[0].eks_attempts[0].init_containers[0].name #=> String
|
2397
2531
|
# resp.jobs[0].eks_attempts[0].init_containers[0].exit_code #=> Integer
|
2398
2532
|
# resp.jobs[0].eks_attempts[0].init_containers[0].reason #=> String
|
2533
|
+
# resp.jobs[0].eks_attempts[0].eks_cluster_arn #=> String
|
2399
2534
|
# resp.jobs[0].eks_attempts[0].pod_name #=> String
|
2400
2535
|
# resp.jobs[0].eks_attempts[0].node_name #=> String
|
2401
2536
|
# resp.jobs[0].eks_attempts[0].started_at #=> Integer
|
@@ -3444,6 +3579,116 @@ module Aws::Batch
|
|
3444
3579
|
# },
|
3445
3580
|
# ],
|
3446
3581
|
# },
|
3582
|
+
# eks_properties: {
|
3583
|
+
# pod_properties: {
|
3584
|
+
# service_account_name: "String",
|
3585
|
+
# host_network: false,
|
3586
|
+
# dns_policy: "String",
|
3587
|
+
# image_pull_secrets: [
|
3588
|
+
# {
|
3589
|
+
# name: "String", # required
|
3590
|
+
# },
|
3591
|
+
# ],
|
3592
|
+
# containers: [
|
3593
|
+
# {
|
3594
|
+
# name: "String",
|
3595
|
+
# image: "String", # required
|
3596
|
+
# image_pull_policy: "String",
|
3597
|
+
# command: ["String"],
|
3598
|
+
# args: ["String"],
|
3599
|
+
# env: [
|
3600
|
+
# {
|
3601
|
+
# name: "String", # required
|
3602
|
+
# value: "String",
|
3603
|
+
# },
|
3604
|
+
# ],
|
3605
|
+
# resources: {
|
3606
|
+
# limits: {
|
3607
|
+
# "String" => "Quantity",
|
3608
|
+
# },
|
3609
|
+
# requests: {
|
3610
|
+
# "String" => "Quantity",
|
3611
|
+
# },
|
3612
|
+
# },
|
3613
|
+
# volume_mounts: [
|
3614
|
+
# {
|
3615
|
+
# name: "String",
|
3616
|
+
# mount_path: "String",
|
3617
|
+
# read_only: false,
|
3618
|
+
# },
|
3619
|
+
# ],
|
3620
|
+
# security_context: {
|
3621
|
+
# run_as_user: 1,
|
3622
|
+
# run_as_group: 1,
|
3623
|
+
# privileged: false,
|
3624
|
+
# allow_privilege_escalation: false,
|
3625
|
+
# read_only_root_filesystem: false,
|
3626
|
+
# run_as_non_root: false,
|
3627
|
+
# },
|
3628
|
+
# },
|
3629
|
+
# ],
|
3630
|
+
# init_containers: [
|
3631
|
+
# {
|
3632
|
+
# name: "String",
|
3633
|
+
# image: "String", # required
|
3634
|
+
# image_pull_policy: "String",
|
3635
|
+
# command: ["String"],
|
3636
|
+
# args: ["String"],
|
3637
|
+
# env: [
|
3638
|
+
# {
|
3639
|
+
# name: "String", # required
|
3640
|
+
# value: "String",
|
3641
|
+
# },
|
3642
|
+
# ],
|
3643
|
+
# resources: {
|
3644
|
+
# limits: {
|
3645
|
+
# "String" => "Quantity",
|
3646
|
+
# },
|
3647
|
+
# requests: {
|
3648
|
+
# "String" => "Quantity",
|
3649
|
+
# },
|
3650
|
+
# },
|
3651
|
+
# volume_mounts: [
|
3652
|
+
# {
|
3653
|
+
# name: "String",
|
3654
|
+
# mount_path: "String",
|
3655
|
+
# read_only: false,
|
3656
|
+
# },
|
3657
|
+
# ],
|
3658
|
+
# security_context: {
|
3659
|
+
# run_as_user: 1,
|
3660
|
+
# run_as_group: 1,
|
3661
|
+
# privileged: false,
|
3662
|
+
# allow_privilege_escalation: false,
|
3663
|
+
# read_only_root_filesystem: false,
|
3664
|
+
# run_as_non_root: false,
|
3665
|
+
# },
|
3666
|
+
# },
|
3667
|
+
# ],
|
3668
|
+
# volumes: [
|
3669
|
+
# {
|
3670
|
+
# name: "String", # required
|
3671
|
+
# host_path: {
|
3672
|
+
# path: "String",
|
3673
|
+
# },
|
3674
|
+
# empty_dir: {
|
3675
|
+
# medium: "String",
|
3676
|
+
# size_limit: "Quantity",
|
3677
|
+
# },
|
3678
|
+
# secret: {
|
3679
|
+
# secret_name: "String", # required
|
3680
|
+
# optional: false,
|
3681
|
+
# },
|
3682
|
+
# },
|
3683
|
+
# ],
|
3684
|
+
# metadata: {
|
3685
|
+
# labels: {
|
3686
|
+
# "String" => "String",
|
3687
|
+
# },
|
3688
|
+
# },
|
3689
|
+
# share_process_namespace: false,
|
3690
|
+
# },
|
3691
|
+
# },
|
3447
3692
|
# },
|
3448
3693
|
# ],
|
3449
3694
|
# },
|
@@ -3974,6 +4219,59 @@ module Aws::Batch
|
|
3974
4219
|
# ],
|
3975
4220
|
# },
|
3976
4221
|
# instance_types: ["String"],
|
4222
|
+
# eks_properties_override: {
|
4223
|
+
# pod_properties: {
|
4224
|
+
# containers: [
|
4225
|
+
# {
|
4226
|
+
# name: "String",
|
4227
|
+
# image: "String",
|
4228
|
+
# command: ["String"],
|
4229
|
+
# args: ["String"],
|
4230
|
+
# env: [
|
4231
|
+
# {
|
4232
|
+
# name: "String", # required
|
4233
|
+
# value: "String",
|
4234
|
+
# },
|
4235
|
+
# ],
|
4236
|
+
# resources: {
|
4237
|
+
# limits: {
|
4238
|
+
# "String" => "Quantity",
|
4239
|
+
# },
|
4240
|
+
# requests: {
|
4241
|
+
# "String" => "Quantity",
|
4242
|
+
# },
|
4243
|
+
# },
|
4244
|
+
# },
|
4245
|
+
# ],
|
4246
|
+
# init_containers: [
|
4247
|
+
# {
|
4248
|
+
# name: "String",
|
4249
|
+
# image: "String",
|
4250
|
+
# command: ["String"],
|
4251
|
+
# args: ["String"],
|
4252
|
+
# env: [
|
4253
|
+
# {
|
4254
|
+
# name: "String", # required
|
4255
|
+
# value: "String",
|
4256
|
+
# },
|
4257
|
+
# ],
|
4258
|
+
# resources: {
|
4259
|
+
# limits: {
|
4260
|
+
# "String" => "Quantity",
|
4261
|
+
# },
|
4262
|
+
# requests: {
|
4263
|
+
# "String" => "Quantity",
|
4264
|
+
# },
|
4265
|
+
# },
|
4266
|
+
# },
|
4267
|
+
# ],
|
4268
|
+
# metadata: {
|
4269
|
+
# labels: {
|
4270
|
+
# "String" => "String",
|
4271
|
+
# },
|
4272
|
+
# },
|
4273
|
+
# },
|
4274
|
+
# },
|
3977
4275
|
# },
|
3978
4276
|
# ],
|
3979
4277
|
# },
|
@@ -4338,6 +4636,9 @@ module Aws::Batch
|
|
4338
4636
|
#
|
4339
4637
|
# [1]: https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html
|
4340
4638
|
#
|
4639
|
+
# @option params [String] :context
|
4640
|
+
# Reserved.
|
4641
|
+
#
|
4341
4642
|
# @return [Types::UpdateComputeEnvironmentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4342
4643
|
#
|
4343
4644
|
# * {Types::UpdateComputeEnvironmentResponse#compute_environment_name #compute_environment_name} => String
|
@@ -4401,6 +4702,7 @@ module Aws::Batch
|
|
4401
4702
|
# terminate_jobs_on_update: false,
|
4402
4703
|
# job_execution_timeout_minutes: 1,
|
4403
4704
|
# },
|
4705
|
+
# context: "String",
|
4404
4706
|
# })
|
4405
4707
|
#
|
4406
4708
|
# @example Response structure
|
@@ -4573,7 +4875,7 @@ module Aws::Batch
|
|
4573
4875
|
params: params,
|
4574
4876
|
config: config)
|
4575
4877
|
context[:gem_name] = 'aws-sdk-batch'
|
4576
|
-
context[:gem_version] = '1.
|
4878
|
+
context[:gem_version] = '1.95.0'
|
4577
4879
|
Seahorse::Client::Request.new(handlers, context)
|
4578
4880
|
end
|
4579
4881
|
|
@@ -316,6 +316,7 @@ module Aws::Batch
|
|
316
316
|
ComputeEnvironmentDetail.add_member(:eks_configuration, Shapes::ShapeRef.new(shape: EksConfiguration, location_name: "eksConfiguration"))
|
317
317
|
ComputeEnvironmentDetail.add_member(:container_orchestration_type, Shapes::ShapeRef.new(shape: OrchestrationType, location_name: "containerOrchestrationType"))
|
318
318
|
ComputeEnvironmentDetail.add_member(:uuid, Shapes::ShapeRef.new(shape: String, location_name: "uuid"))
|
319
|
+
ComputeEnvironmentDetail.add_member(:context, Shapes::ShapeRef.new(shape: String, location_name: "context"))
|
319
320
|
ComputeEnvironmentDetail.struct_class = Types::ComputeEnvironmentDetail
|
320
321
|
|
321
322
|
ComputeEnvironmentDetailList.member = Shapes::ShapeRef.new(shape: ComputeEnvironmentDetail)
|
@@ -440,6 +441,7 @@ module Aws::Batch
|
|
440
441
|
CreateComputeEnvironmentRequest.add_member(:service_role, Shapes::ShapeRef.new(shape: String, location_name: "serviceRole"))
|
441
442
|
CreateComputeEnvironmentRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagrisTagsMap, location_name: "tags"))
|
442
443
|
CreateComputeEnvironmentRequest.add_member(:eks_configuration, Shapes::ShapeRef.new(shape: EksConfiguration, location_name: "eksConfiguration"))
|
444
|
+
CreateComputeEnvironmentRequest.add_member(:context, Shapes::ShapeRef.new(shape: String, location_name: "context"))
|
443
445
|
CreateComputeEnvironmentRequest.struct_class = Types::CreateComputeEnvironmentRequest
|
444
446
|
|
445
447
|
CreateComputeEnvironmentResponse.add_member(:compute_environment_name, Shapes::ShapeRef.new(shape: String, location_name: "computeEnvironmentName"))
|
@@ -600,6 +602,7 @@ module Aws::Batch
|
|
600
602
|
|
601
603
|
EksAttemptDetail.add_member(:containers, Shapes::ShapeRef.new(shape: EksAttemptContainerDetails, location_name: "containers"))
|
602
604
|
EksAttemptDetail.add_member(:init_containers, Shapes::ShapeRef.new(shape: EksAttemptContainerDetails, location_name: "initContainers"))
|
605
|
+
EksAttemptDetail.add_member(:eks_cluster_arn, Shapes::ShapeRef.new(shape: String, location_name: "eksClusterArn"))
|
603
606
|
EksAttemptDetail.add_member(:pod_name, Shapes::ShapeRef.new(shape: String, location_name: "podName"))
|
604
607
|
EksAttemptDetail.add_member(:node_name, Shapes::ShapeRef.new(shape: String, location_name: "nodeName"))
|
605
608
|
EksAttemptDetail.add_member(:started_at, Shapes::ShapeRef.new(shape: Long, location_name: "startedAt"))
|
@@ -1004,6 +1007,7 @@ module Aws::Batch
|
|
1004
1007
|
NodePropertyOverride.add_member(:container_overrides, Shapes::ShapeRef.new(shape: ContainerOverrides, location_name: "containerOverrides"))
|
1005
1008
|
NodePropertyOverride.add_member(:ecs_properties_override, Shapes::ShapeRef.new(shape: EcsPropertiesOverride, location_name: "ecsPropertiesOverride"))
|
1006
1009
|
NodePropertyOverride.add_member(:instance_types, Shapes::ShapeRef.new(shape: StringList, location_name: "instanceTypes"))
|
1010
|
+
NodePropertyOverride.add_member(:eks_properties_override, Shapes::ShapeRef.new(shape: EksPropertiesOverride, location_name: "eksPropertiesOverride"))
|
1007
1011
|
NodePropertyOverride.struct_class = Types::NodePropertyOverride
|
1008
1012
|
|
1009
1013
|
NodePropertyOverrides.member = Shapes::ShapeRef.new(shape: NodePropertyOverride)
|
@@ -1014,6 +1018,7 @@ module Aws::Batch
|
|
1014
1018
|
NodeRangeProperty.add_member(:container, Shapes::ShapeRef.new(shape: ContainerProperties, location_name: "container"))
|
1015
1019
|
NodeRangeProperty.add_member(:instance_types, Shapes::ShapeRef.new(shape: StringList, location_name: "instanceTypes"))
|
1016
1020
|
NodeRangeProperty.add_member(:ecs_properties, Shapes::ShapeRef.new(shape: EcsProperties, location_name: "ecsProperties"))
|
1021
|
+
NodeRangeProperty.add_member(:eks_properties, Shapes::ShapeRef.new(shape: EksProperties, location_name: "eksProperties"))
|
1017
1022
|
NodeRangeProperty.struct_class = Types::NodeRangeProperty
|
1018
1023
|
|
1019
1024
|
ParametersMap.key = Shapes::ShapeRef.new(shape: String)
|
@@ -1212,6 +1217,7 @@ module Aws::Batch
|
|
1212
1217
|
UpdateComputeEnvironmentRequest.add_member(:compute_resources, Shapes::ShapeRef.new(shape: ComputeResourceUpdate, location_name: "computeResources"))
|
1213
1218
|
UpdateComputeEnvironmentRequest.add_member(:service_role, Shapes::ShapeRef.new(shape: String, location_name: "serviceRole"))
|
1214
1219
|
UpdateComputeEnvironmentRequest.add_member(:update_policy, Shapes::ShapeRef.new(shape: UpdatePolicy, location_name: "updatePolicy"))
|
1220
|
+
UpdateComputeEnvironmentRequest.add_member(:context, Shapes::ShapeRef.new(shape: String, location_name: "context"))
|
1215
1221
|
UpdateComputeEnvironmentRequest.struct_class = Types::UpdateComputeEnvironmentRequest
|
1216
1222
|
|
1217
1223
|
UpdateComputeEnvironmentResponse.add_member(:compute_environment_name, Shapes::ShapeRef.new(shape: String, location_name: "computeEnvironmentName"))
|
data/lib/aws-sdk-batch/types.rb
CHANGED
@@ -392,6 +392,10 @@ module Aws::Batch
|
|
392
392
|
# Unique identifier for the compute environment.
|
393
393
|
# @return [String]
|
394
394
|
#
|
395
|
+
# @!attribute [rw] context
|
396
|
+
# Reserved.
|
397
|
+
# @return [String]
|
398
|
+
#
|
395
399
|
# @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/ComputeEnvironmentDetail AWS API Documentation
|
396
400
|
#
|
397
401
|
class ComputeEnvironmentDetail < Struct.new(
|
@@ -409,7 +413,8 @@ module Aws::Batch
|
|
409
413
|
:update_policy,
|
410
414
|
:eks_configuration,
|
411
415
|
:container_orchestration_type,
|
412
|
-
:uuid
|
416
|
+
:uuid,
|
417
|
+
:context)
|
413
418
|
SENSITIVE = []
|
414
419
|
include Aws::Structure
|
415
420
|
end
|
@@ -2212,6 +2217,10 @@ module Aws::Batch
|
|
2212
2217
|
# environment.
|
2213
2218
|
# @return [Types::EksConfiguration]
|
2214
2219
|
#
|
2220
|
+
# @!attribute [rw] context
|
2221
|
+
# Reserved.
|
2222
|
+
# @return [String]
|
2223
|
+
#
|
2215
2224
|
# @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/CreateComputeEnvironmentRequest AWS API Documentation
|
2216
2225
|
#
|
2217
2226
|
class CreateComputeEnvironmentRequest < Struct.new(
|
@@ -2222,7 +2231,8 @@ module Aws::Batch
|
|
2222
2231
|
:compute_resources,
|
2223
2232
|
:service_role,
|
2224
2233
|
:tags,
|
2225
|
-
:eks_configuration
|
2234
|
+
:eks_configuration,
|
2235
|
+
:context)
|
2226
2236
|
SENSITIVE = []
|
2227
2237
|
include Aws::Structure
|
2228
2238
|
end
|
@@ -3318,6 +3328,10 @@ module Aws::Batch
|
|
3318
3328
|
# The details for the init containers.
|
3319
3329
|
# @return [Array<Types::EksAttemptContainerDetail>]
|
3320
3330
|
#
|
3331
|
+
# @!attribute [rw] eks_cluster_arn
|
3332
|
+
# The Amazon Resource Name (ARN) of the Amazon EKS cluster.
|
3333
|
+
# @return [String]
|
3334
|
+
#
|
3321
3335
|
# @!attribute [rw] pod_name
|
3322
3336
|
# The name of the pod for this job attempt.
|
3323
3337
|
# @return [String]
|
@@ -3349,6 +3363,7 @@ module Aws::Batch
|
|
3349
3363
|
class EksAttemptDetail < Struct.new(
|
3350
3364
|
:containers,
|
3351
3365
|
:init_containers,
|
3366
|
+
:eks_cluster_arn,
|
3352
3367
|
:pod_name,
|
3353
3368
|
:node_name,
|
3354
3369
|
:started_at,
|
@@ -6180,13 +6195,19 @@ module Aws::Batch
|
|
6180
6195
|
# for the existing resources of a job.
|
6181
6196
|
# @return [Array<String>]
|
6182
6197
|
#
|
6198
|
+
# @!attribute [rw] eks_properties_override
|
6199
|
+
# An object that contains the properties that you want to replace for
|
6200
|
+
# the existing Amazon EKS resources of a job.
|
6201
|
+
# @return [Types::EksPropertiesOverride]
|
6202
|
+
#
|
6183
6203
|
# @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/NodePropertyOverride AWS API Documentation
|
6184
6204
|
#
|
6185
6205
|
class NodePropertyOverride < Struct.new(
|
6186
6206
|
:target_nodes,
|
6187
6207
|
:container_overrides,
|
6188
6208
|
:ecs_properties_override,
|
6189
|
-
:instance_types
|
6209
|
+
:instance_types,
|
6210
|
+
:eks_properties_override)
|
6190
6211
|
SENSITIVE = []
|
6191
6212
|
include Aws::Structure
|
6192
6213
|
end
|
@@ -6226,13 +6247,19 @@ module Aws::Batch
|
|
6226
6247
|
# for a multi-node parallel job.
|
6227
6248
|
# @return [Types::EcsProperties]
|
6228
6249
|
#
|
6250
|
+
# @!attribute [rw] eks_properties
|
6251
|
+
# This is an object that represents the properties of the node range
|
6252
|
+
# for a multi-node parallel job.
|
6253
|
+
# @return [Types::EksProperties]
|
6254
|
+
#
|
6229
6255
|
# @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/NodeRangeProperty AWS API Documentation
|
6230
6256
|
#
|
6231
6257
|
class NodeRangeProperty < Struct.new(
|
6232
6258
|
:target_nodes,
|
6233
6259
|
:container,
|
6234
6260
|
:instance_types,
|
6235
|
-
:ecs_properties
|
6261
|
+
:ecs_properties,
|
6262
|
+
:eks_properties)
|
6236
6263
|
SENSITIVE = []
|
6237
6264
|
include Aws::Structure
|
6238
6265
|
end
|
@@ -8055,6 +8082,10 @@ module Aws::Batch
|
|
8055
8082
|
# [1]: https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html
|
8056
8083
|
# @return [Types::UpdatePolicy]
|
8057
8084
|
#
|
8085
|
+
# @!attribute [rw] context
|
8086
|
+
# Reserved.
|
8087
|
+
# @return [String]
|
8088
|
+
#
|
8058
8089
|
# @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/UpdateComputeEnvironmentRequest AWS API Documentation
|
8059
8090
|
#
|
8060
8091
|
class UpdateComputeEnvironmentRequest < Struct.new(
|
@@ -8063,7 +8094,8 @@ module Aws::Batch
|
|
8063
8094
|
:unmanagedv_cpus,
|
8064
8095
|
:compute_resources,
|
8065
8096
|
:service_role,
|
8066
|
-
:update_policy
|
8097
|
+
:update_policy,
|
8098
|
+
:context)
|
8067
8099
|
SENSITIVE = []
|
8068
8100
|
include Aws::Structure
|
8069
8101
|
end
|
data/lib/aws-sdk-batch.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -128,7 +128,8 @@ module Aws
|
|
128
128
|
?eks_configuration: {
|
129
129
|
eks_cluster_arn: ::String,
|
130
130
|
kubernetes_namespace: ::String
|
131
|
-
}
|
131
|
+
},
|
132
|
+
?context: ::String
|
132
133
|
) -> _CreateComputeEnvironmentResponseSuccess
|
133
134
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateComputeEnvironmentResponseSuccess
|
134
135
|
|
@@ -689,6 +690,106 @@ module Aws
|
|
689
690
|
]?
|
690
691
|
},
|
691
692
|
]
|
693
|
+
}?,
|
694
|
+
eks_properties: {
|
695
|
+
pod_properties: {
|
696
|
+
service_account_name: ::String?,
|
697
|
+
host_network: bool?,
|
698
|
+
dns_policy: ::String?,
|
699
|
+
image_pull_secrets: Array[
|
700
|
+
{
|
701
|
+
name: ::String
|
702
|
+
},
|
703
|
+
]?,
|
704
|
+
containers: Array[
|
705
|
+
{
|
706
|
+
name: ::String?,
|
707
|
+
image: ::String,
|
708
|
+
image_pull_policy: ::String?,
|
709
|
+
command: Array[::String]?,
|
710
|
+
args: Array[::String]?,
|
711
|
+
env: Array[
|
712
|
+
{
|
713
|
+
name: ::String,
|
714
|
+
value: ::String?
|
715
|
+
},
|
716
|
+
]?,
|
717
|
+
resources: {
|
718
|
+
limits: Hash[::String, ::String]?,
|
719
|
+
requests: Hash[::String, ::String]?
|
720
|
+
}?,
|
721
|
+
volume_mounts: Array[
|
722
|
+
{
|
723
|
+
name: ::String?,
|
724
|
+
mount_path: ::String?,
|
725
|
+
read_only: bool?
|
726
|
+
},
|
727
|
+
]?,
|
728
|
+
security_context: {
|
729
|
+
run_as_user: ::Integer?,
|
730
|
+
run_as_group: ::Integer?,
|
731
|
+
privileged: bool?,
|
732
|
+
allow_privilege_escalation: bool?,
|
733
|
+
read_only_root_filesystem: bool?,
|
734
|
+
run_as_non_root: bool?
|
735
|
+
}?
|
736
|
+
},
|
737
|
+
]?,
|
738
|
+
init_containers: Array[
|
739
|
+
{
|
740
|
+
name: ::String?,
|
741
|
+
image: ::String,
|
742
|
+
image_pull_policy: ::String?,
|
743
|
+
command: Array[::String]?,
|
744
|
+
args: Array[::String]?,
|
745
|
+
env: Array[
|
746
|
+
{
|
747
|
+
name: ::String,
|
748
|
+
value: ::String?
|
749
|
+
},
|
750
|
+
]?,
|
751
|
+
resources: {
|
752
|
+
limits: Hash[::String, ::String]?,
|
753
|
+
requests: Hash[::String, ::String]?
|
754
|
+
}?,
|
755
|
+
volume_mounts: Array[
|
756
|
+
{
|
757
|
+
name: ::String?,
|
758
|
+
mount_path: ::String?,
|
759
|
+
read_only: bool?
|
760
|
+
},
|
761
|
+
]?,
|
762
|
+
security_context: {
|
763
|
+
run_as_user: ::Integer?,
|
764
|
+
run_as_group: ::Integer?,
|
765
|
+
privileged: bool?,
|
766
|
+
allow_privilege_escalation: bool?,
|
767
|
+
read_only_root_filesystem: bool?,
|
768
|
+
run_as_non_root: bool?
|
769
|
+
}?
|
770
|
+
},
|
771
|
+
]?,
|
772
|
+
volumes: Array[
|
773
|
+
{
|
774
|
+
name: ::String,
|
775
|
+
host_path: {
|
776
|
+
path: ::String?
|
777
|
+
}?,
|
778
|
+
empty_dir: {
|
779
|
+
medium: ::String?,
|
780
|
+
size_limit: ::String?
|
781
|
+
}?,
|
782
|
+
secret: {
|
783
|
+
secret_name: ::String,
|
784
|
+
optional: bool?
|
785
|
+
}?
|
786
|
+
},
|
787
|
+
]?,
|
788
|
+
metadata: {
|
789
|
+
labels: Hash[::String, ::String]?
|
790
|
+
}?,
|
791
|
+
share_process_namespace: bool?
|
792
|
+
}?
|
692
793
|
}?
|
693
794
|
},
|
694
795
|
]
|
@@ -1022,7 +1123,50 @@ module Aws
|
|
1022
1123
|
},
|
1023
1124
|
]?
|
1024
1125
|
}?,
|
1025
|
-
instance_types: Array[::String]
|
1126
|
+
instance_types: Array[::String]?,
|
1127
|
+
eks_properties_override: {
|
1128
|
+
pod_properties: {
|
1129
|
+
containers: Array[
|
1130
|
+
{
|
1131
|
+
name: ::String?,
|
1132
|
+
image: ::String?,
|
1133
|
+
command: Array[::String]?,
|
1134
|
+
args: Array[::String]?,
|
1135
|
+
env: Array[
|
1136
|
+
{
|
1137
|
+
name: ::String,
|
1138
|
+
value: ::String?
|
1139
|
+
},
|
1140
|
+
]?,
|
1141
|
+
resources: {
|
1142
|
+
limits: Hash[::String, ::String]?,
|
1143
|
+
requests: Hash[::String, ::String]?
|
1144
|
+
}?
|
1145
|
+
},
|
1146
|
+
]?,
|
1147
|
+
init_containers: Array[
|
1148
|
+
{
|
1149
|
+
name: ::String?,
|
1150
|
+
image: ::String?,
|
1151
|
+
command: Array[::String]?,
|
1152
|
+
args: Array[::String]?,
|
1153
|
+
env: Array[
|
1154
|
+
{
|
1155
|
+
name: ::String,
|
1156
|
+
value: ::String?
|
1157
|
+
},
|
1158
|
+
]?,
|
1159
|
+
resources: {
|
1160
|
+
limits: Hash[::String, ::String]?,
|
1161
|
+
requests: Hash[::String, ::String]?
|
1162
|
+
}?
|
1163
|
+
},
|
1164
|
+
]?,
|
1165
|
+
metadata: {
|
1166
|
+
labels: Hash[::String, ::String]?
|
1167
|
+
}?
|
1168
|
+
}?
|
1169
|
+
}?
|
1026
1170
|
},
|
1027
1171
|
]?
|
1028
1172
|
},
|
@@ -1185,7 +1329,8 @@ module Aws
|
|
1185
1329
|
?update_policy: {
|
1186
1330
|
terminate_jobs_on_update: bool?,
|
1187
1331
|
job_execution_timeout_minutes: ::Integer?
|
1188
|
-
}
|
1332
|
+
},
|
1333
|
+
?context: ::String
|
1189
1334
|
) -> _UpdateComputeEnvironmentResponseSuccess
|
1190
1335
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateComputeEnvironmentResponseSuccess
|
1191
1336
|
|
data/sig/types.rbs
CHANGED
@@ -91,6 +91,7 @@ module Aws::Batch
|
|
91
91
|
attr_accessor eks_configuration: Types::EksConfiguration
|
92
92
|
attr_accessor container_orchestration_type: ("ECS" | "EKS")
|
93
93
|
attr_accessor uuid: ::String
|
94
|
+
attr_accessor context: ::String
|
94
95
|
SENSITIVE: []
|
95
96
|
end
|
96
97
|
|
@@ -227,6 +228,7 @@ module Aws::Batch
|
|
227
228
|
attr_accessor service_role: ::String
|
228
229
|
attr_accessor tags: ::Hash[::String, ::String]
|
229
230
|
attr_accessor eks_configuration: Types::EksConfiguration
|
231
|
+
attr_accessor context: ::String
|
230
232
|
SENSITIVE: []
|
231
233
|
end
|
232
234
|
|
@@ -443,6 +445,7 @@ module Aws::Batch
|
|
443
445
|
class EksAttemptDetail
|
444
446
|
attr_accessor containers: ::Array[Types::EksAttemptContainerDetail]
|
445
447
|
attr_accessor init_containers: ::Array[Types::EksAttemptContainerDetail]
|
448
|
+
attr_accessor eks_cluster_arn: ::String
|
446
449
|
attr_accessor pod_name: ::String
|
447
450
|
attr_accessor node_name: ::String
|
448
451
|
attr_accessor started_at: ::Integer
|
@@ -889,6 +892,7 @@ module Aws::Batch
|
|
889
892
|
attr_accessor container_overrides: Types::ContainerOverrides
|
890
893
|
attr_accessor ecs_properties_override: Types::EcsPropertiesOverride
|
891
894
|
attr_accessor instance_types: ::Array[::String]
|
895
|
+
attr_accessor eks_properties_override: Types::EksPropertiesOverride
|
892
896
|
SENSITIVE: []
|
893
897
|
end
|
894
898
|
|
@@ -897,6 +901,7 @@ module Aws::Batch
|
|
897
901
|
attr_accessor container: Types::ContainerProperties
|
898
902
|
attr_accessor instance_types: ::Array[::String]
|
899
903
|
attr_accessor ecs_properties: Types::EcsProperties
|
904
|
+
attr_accessor eks_properties: Types::EksProperties
|
900
905
|
SENSITIVE: []
|
901
906
|
end
|
902
907
|
|
@@ -1115,6 +1120,7 @@ module Aws::Batch
|
|
1115
1120
|
attr_accessor compute_resources: Types::ComputeResourceUpdate
|
1116
1121
|
attr_accessor service_role: ::String
|
1117
1122
|
attr_accessor update_policy: Types::UpdatePolicy
|
1123
|
+
attr_accessor context: ::String
|
1118
1124
|
SENSITIVE: []
|
1119
1125
|
end
|
1120
1126
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-batch
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.95.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
|
+
date: 2024-08-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|