aws-sdk-batch 1.153.0 → 1.154.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-batch/client.rb +49 -2
- data/lib/aws-sdk-batch/client_api.rb +13 -0
- data/lib/aws-sdk-batch/types.rb +152 -5
- data/lib/aws-sdk-batch.rb +1 -1
- data/sig/client.rbs +11 -1
- data/sig/types.rbs +13 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ba786436ff14560699e825e94ff398a18d0ebacef4e7c64805f75a33681c8215
|
|
4
|
+
data.tar.gz: 401dde7c0532bb4ee15ccb6406ca7b488047b30a12f4e84b53c01b9a2ba849c5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 57da98d09d7389968f61eb0e8eb25d7ea799bf35dd5c1065cb9e0db2f2dba966b70627e4f2fc346bcb114e92cb21400f13b65f5afb20aa10d3ff5c0d9a7d6a55
|
|
7
|
+
data.tar.gz: 4d202ee0f53477584df65ab5cd3e1a2f6566d8a2daa4bd8b5d9e70d190026e62ff1000a0bb24c78f17fd15ea724a432475e3a71b6ad7f9c35d82d90e332f4aed
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.154.0 (2026-09-30)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - AWS Batch adds support for Amazon EKS access entries on EKS compute environments through the new accessEntry setting in CreateComputeEnvironment and UpdateComputeEnvironment.
|
|
8
|
+
|
|
4
9
|
1.153.0 (2026-09-11)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.154.0
|
data/lib/aws-sdk-batch/client.rb
CHANGED
|
@@ -560,6 +560,11 @@ module Aws::Batch
|
|
|
560
560
|
# encountered errors, so check the `errors` list. Jobs that can't be
|
|
561
561
|
# found are treated as successfully processed.
|
|
562
562
|
#
|
|
563
|
+
# This operation requires `batch:CancelJob` permission for each job in
|
|
564
|
+
# the request. There is no separate `batch:CancelJobs` IAM action. If a
|
|
565
|
+
# caller's IAM policy grants `batch:CancelJob`, they can use both the
|
|
566
|
+
# singular CancelJob and bulk `CancelJobs` operations.
|
|
567
|
+
#
|
|
563
568
|
# @option params [required, Array<String>] :jobs
|
|
564
569
|
# An array of up to 50 Batch job IDs of the jobs to cancel.
|
|
565
570
|
#
|
|
@@ -794,10 +799,17 @@ module Aws::Batch
|
|
|
794
799
|
# environment.
|
|
795
800
|
#
|
|
796
801
|
# <note markdown="1"> To create a compute environment that uses EKS resources, the caller
|
|
797
|
-
# must have permissions to call `eks:DescribeCluster`.
|
|
802
|
+
# must have permissions to call `eks:DescribeCluster`. Additional Amazon
|
|
803
|
+
# EKS permissions are required for Batch to manage an access entry on
|
|
804
|
+
# the cluster; see [Amazon EKS access entry authentication][1] in the
|
|
805
|
+
# *Batch User Guide*.
|
|
798
806
|
#
|
|
799
807
|
# </note>
|
|
800
808
|
#
|
|
809
|
+
#
|
|
810
|
+
#
|
|
811
|
+
# [1]: https://docs.aws.amazon.com/batch/latest/userguide/eks-access-entries.html
|
|
812
|
+
#
|
|
801
813
|
# @option params [String] :context
|
|
802
814
|
# Reserved.
|
|
803
815
|
#
|
|
@@ -1116,6 +1128,10 @@ module Aws::Batch
|
|
|
1116
1128
|
# eks_configuration: {
|
|
1117
1129
|
# eks_cluster_arn: "String", # required
|
|
1118
1130
|
# kubernetes_namespace: "String", # required
|
|
1131
|
+
# access_entry: {
|
|
1132
|
+
# desired_state: "ENABLED", # required, accepts ENABLED, DISABLED, INHERIT_FROM_CLUSTER
|
|
1133
|
+
# status: "ACTIVE", # accepts ACTIVE, INACTIVE
|
|
1134
|
+
# },
|
|
1119
1135
|
# },
|
|
1120
1136
|
# context: "String",
|
|
1121
1137
|
# ecs_settings: {
|
|
@@ -2089,6 +2105,8 @@ module Aws::Batch
|
|
|
2089
2105
|
# resp.compute_environments[0].update_policy.job_execution_timeout_minutes #=> Integer
|
|
2090
2106
|
# resp.compute_environments[0].eks_configuration.eks_cluster_arn #=> String
|
|
2091
2107
|
# resp.compute_environments[0].eks_configuration.kubernetes_namespace #=> String
|
|
2108
|
+
# resp.compute_environments[0].eks_configuration.access_entry.desired_state #=> String, one of "ENABLED", "DISABLED", "INHERIT_FROM_CLUSTER"
|
|
2109
|
+
# resp.compute_environments[0].eks_configuration.access_entry.status #=> String, one of "ACTIVE", "INACTIVE"
|
|
2092
2110
|
# resp.compute_environments[0].container_orchestration_type #=> String, one of "ECS", "EKS"
|
|
2093
2111
|
# resp.compute_environments[0].uuid #=> String
|
|
2094
2112
|
# resp.compute_environments[0].context #=> String
|
|
@@ -6497,6 +6515,11 @@ module Aws::Batch
|
|
|
6497
6515
|
# encountered errors, so check the `errors` list. Jobs that can't be
|
|
6498
6516
|
# found are treated as successfully processed.
|
|
6499
6517
|
#
|
|
6518
|
+
# This operation requires `batch:TerminateJob` permission for each job
|
|
6519
|
+
# in the request. There is no separate `batch:TerminateJobs` IAM action.
|
|
6520
|
+
# If a caller's IAM policy grants `batch:TerminateJob`, they can use
|
|
6521
|
+
# both the singular TerminateJob and bulk `TerminateJobs` operations.
|
|
6522
|
+
#
|
|
6500
6523
|
# @option params [required, Array<String>] :jobs
|
|
6501
6524
|
# An array of up to 50 Batch job IDs of the jobs to terminate.
|
|
6502
6525
|
#
|
|
@@ -6603,6 +6626,12 @@ module Aws::Batch
|
|
|
6603
6626
|
# the `errors` list. Service jobs that can't be found are treated as
|
|
6604
6627
|
# successfully processed.
|
|
6605
6628
|
#
|
|
6629
|
+
# This operation requires `batch:TerminateServiceJob` permission for
|
|
6630
|
+
# each service job in the request. There is no separate
|
|
6631
|
+
# `batch:TerminateServiceJobs` IAM action. If a caller's IAM policy
|
|
6632
|
+
# grants `batch:TerminateServiceJob`, they can use both the singular
|
|
6633
|
+
# `TerminateServiceJob` and bulk `TerminateServiceJobs` operations.
|
|
6634
|
+
#
|
|
6606
6635
|
# @option params [required, Array<String>] :jobs
|
|
6607
6636
|
# An array of up to 50 service job IDs of the service jobs to terminate.
|
|
6608
6637
|
#
|
|
@@ -6817,6 +6846,18 @@ module Aws::Batch
|
|
|
6817
6846
|
# control CloudWatch Container Insights collection for the compute
|
|
6818
6847
|
# environment.
|
|
6819
6848
|
#
|
|
6849
|
+
# @option params [Types::EksConfigurationUpdate] :eks_configuration
|
|
6850
|
+
# Updates the Amazon EKS configuration for the compute environment. Only
|
|
6851
|
+
# specify this parameter if the compute environment's
|
|
6852
|
+
# `containerOrchestrationType` is `EKS`. Currently, the `accessEntry`
|
|
6853
|
+
# setting is the only Amazon EKS configuration that you can change after
|
|
6854
|
+
# the compute environment is created. For more information, see [Amazon
|
|
6855
|
+
# EKS access entry authentication][1] in the *Batch User Guide*.
|
|
6856
|
+
#
|
|
6857
|
+
#
|
|
6858
|
+
#
|
|
6859
|
+
# [1]: https://docs.aws.amazon.com/batch/latest/userguide/eks-access-entries.html
|
|
6860
|
+
#
|
|
6820
6861
|
# @return [Types::UpdateComputeEnvironmentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
6821
6862
|
#
|
|
6822
6863
|
# * {Types::UpdateComputeEnvironmentResponse#compute_environment_name #compute_environment_name} => String
|
|
@@ -6930,6 +6971,12 @@ module Aws::Batch
|
|
|
6930
6971
|
# ecs_settings: {
|
|
6931
6972
|
# container_insights: "ENABLED", # accepts ENABLED, ENHANCED, DISABLED
|
|
6932
6973
|
# },
|
|
6974
|
+
# eks_configuration: {
|
|
6975
|
+
# access_entry: {
|
|
6976
|
+
# desired_state: "ENABLED", # required, accepts ENABLED, DISABLED, INHERIT_FROM_CLUSTER
|
|
6977
|
+
# status: "ACTIVE", # accepts ACTIVE, INACTIVE
|
|
6978
|
+
# },
|
|
6979
|
+
# },
|
|
6933
6980
|
# })
|
|
6934
6981
|
#
|
|
6935
6982
|
# @example Response structure
|
|
@@ -7364,7 +7411,7 @@ module Aws::Batch
|
|
|
7364
7411
|
tracer: tracer
|
|
7365
7412
|
)
|
|
7366
7413
|
context[:gem_name] = 'aws-sdk-batch'
|
|
7367
|
-
context[:gem_version] = '1.
|
|
7414
|
+
context[:gem_version] = '1.154.0'
|
|
7368
7415
|
Seahorse::Client::Request.new(handlers, context)
|
|
7369
7416
|
end
|
|
7370
7417
|
|
|
@@ -121,12 +121,16 @@ module Aws::Batch
|
|
|
121
121
|
EcsSettings = Shapes::StructureShape.new(name: 'EcsSettings')
|
|
122
122
|
EcsTaskDetails = Shapes::StructureShape.new(name: 'EcsTaskDetails')
|
|
123
123
|
EcsTaskProperties = Shapes::StructureShape.new(name: 'EcsTaskProperties')
|
|
124
|
+
EksAccessEntry = Shapes::StructureShape.new(name: 'EksAccessEntry')
|
|
125
|
+
EksAccessEntryDesiredState = Shapes::StringShape.new(name: 'EksAccessEntryDesiredState')
|
|
126
|
+
EksAccessEntryStatus = Shapes::StringShape.new(name: 'EksAccessEntryStatus')
|
|
124
127
|
EksAnnotationsMap = Shapes::MapShape.new(name: 'EksAnnotationsMap')
|
|
125
128
|
EksAttemptContainerDetail = Shapes::StructureShape.new(name: 'EksAttemptContainerDetail')
|
|
126
129
|
EksAttemptContainerDetails = Shapes::ListShape.new(name: 'EksAttemptContainerDetails')
|
|
127
130
|
EksAttemptDetail = Shapes::StructureShape.new(name: 'EksAttemptDetail')
|
|
128
131
|
EksAttemptDetails = Shapes::ListShape.new(name: 'EksAttemptDetails')
|
|
129
132
|
EksConfiguration = Shapes::StructureShape.new(name: 'EksConfiguration')
|
|
133
|
+
EksConfigurationUpdate = Shapes::StructureShape.new(name: 'EksConfigurationUpdate')
|
|
130
134
|
EksContainer = Shapes::StructureShape.new(name: 'EksContainer')
|
|
131
135
|
EksContainerDetail = Shapes::StructureShape.new(name: 'EksContainerDetail')
|
|
132
136
|
EksContainerDetails = Shapes::ListShape.new(name: 'EksContainerDetails')
|
|
@@ -926,6 +930,10 @@ module Aws::Batch
|
|
|
926
930
|
EcsTaskProperties.add_member(:network_mode, Shapes::ShapeRef.new(shape: String, location_name: "networkMode"))
|
|
927
931
|
EcsTaskProperties.struct_class = Types::EcsTaskProperties
|
|
928
932
|
|
|
933
|
+
EksAccessEntry.add_member(:desired_state, Shapes::ShapeRef.new(shape: EksAccessEntryDesiredState, required: true, location_name: "desiredState"))
|
|
934
|
+
EksAccessEntry.add_member(:status, Shapes::ShapeRef.new(shape: EksAccessEntryStatus, location_name: "status"))
|
|
935
|
+
EksAccessEntry.struct_class = Types::EksAccessEntry
|
|
936
|
+
|
|
929
937
|
EksAnnotationsMap.key = Shapes::ShapeRef.new(shape: String)
|
|
930
938
|
EksAnnotationsMap.value = Shapes::ShapeRef.new(shape: String)
|
|
931
939
|
|
|
@@ -952,8 +960,12 @@ module Aws::Batch
|
|
|
952
960
|
|
|
953
961
|
EksConfiguration.add_member(:eks_cluster_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "eksClusterArn"))
|
|
954
962
|
EksConfiguration.add_member(:kubernetes_namespace, Shapes::ShapeRef.new(shape: String, required: true, location_name: "kubernetesNamespace"))
|
|
963
|
+
EksConfiguration.add_member(:access_entry, Shapes::ShapeRef.new(shape: EksAccessEntry, location_name: "accessEntry"))
|
|
955
964
|
EksConfiguration.struct_class = Types::EksConfiguration
|
|
956
965
|
|
|
966
|
+
EksConfigurationUpdate.add_member(:access_entry, Shapes::ShapeRef.new(shape: EksAccessEntry, location_name: "accessEntry"))
|
|
967
|
+
EksConfigurationUpdate.struct_class = Types::EksConfigurationUpdate
|
|
968
|
+
|
|
957
969
|
EksContainer.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
|
|
958
970
|
EksContainer.add_member(:image, Shapes::ShapeRef.new(shape: String, required: true, location_name: "image"))
|
|
959
971
|
EksContainer.add_member(:image_pull_policy, Shapes::ShapeRef.new(shape: String, location_name: "imagePullPolicy"))
|
|
@@ -1949,6 +1961,7 @@ module Aws::Batch
|
|
|
1949
1961
|
UpdateComputeEnvironmentRequest.add_member(:update_policy, Shapes::ShapeRef.new(shape: UpdatePolicy, location_name: "updatePolicy"))
|
|
1950
1962
|
UpdateComputeEnvironmentRequest.add_member(:context, Shapes::ShapeRef.new(shape: String, location_name: "context"))
|
|
1951
1963
|
UpdateComputeEnvironmentRequest.add_member(:ecs_settings, Shapes::ShapeRef.new(shape: EcsSettings, location_name: "ecsSettings"))
|
|
1964
|
+
UpdateComputeEnvironmentRequest.add_member(:eks_configuration, Shapes::ShapeRef.new(shape: EksConfigurationUpdate, location_name: "eksConfiguration"))
|
|
1952
1965
|
UpdateComputeEnvironmentRequest.struct_class = Types::UpdateComputeEnvironmentRequest
|
|
1953
1966
|
|
|
1954
1967
|
UpdateComputeEnvironmentResponse.add_member(:compute_environment_name, Shapes::ShapeRef.new(shape: String, location_name: "computeEnvironmentName"))
|
data/lib/aws-sdk-batch/types.rb
CHANGED
|
@@ -2772,9 +2772,16 @@ module Aws::Batch
|
|
|
2772
2772
|
# environment.
|
|
2773
2773
|
#
|
|
2774
2774
|
# <note markdown="1"> To create a compute environment that uses EKS resources, the caller
|
|
2775
|
-
# must have permissions to call `eks:DescribeCluster`.
|
|
2775
|
+
# must have permissions to call `eks:DescribeCluster`. Additional
|
|
2776
|
+
# Amazon EKS permissions are required for Batch to manage an access
|
|
2777
|
+
# entry on the cluster; see [Amazon EKS access entry
|
|
2778
|
+
# authentication][1] in the *Batch User Guide*.
|
|
2776
2779
|
#
|
|
2777
2780
|
# </note>
|
|
2781
|
+
#
|
|
2782
|
+
#
|
|
2783
|
+
#
|
|
2784
|
+
# [1]: https://docs.aws.amazon.com/batch/latest/userguide/eks-access-entries.html
|
|
2778
2785
|
# @return [Types::EksConfiguration]
|
|
2779
2786
|
#
|
|
2780
2787
|
# @!attribute [rw] context
|
|
@@ -4678,6 +4685,73 @@ module Aws::Batch
|
|
|
4678
4685
|
include Aws::Structure
|
|
4679
4686
|
end
|
|
4680
4687
|
|
|
4688
|
+
# Configures whether Batch manages an Amazon EKS access entry on the
|
|
4689
|
+
# cluster for the compute environment. For information on how the fields
|
|
4690
|
+
# interact with the cluster's `authenticationMode` and with other
|
|
4691
|
+
# compute environments that share the cluster, see [Amazon EKS access
|
|
4692
|
+
# entry authentication][1] in the *Batch User Guide*.
|
|
4693
|
+
#
|
|
4694
|
+
# <note markdown="1"> Setting `desiredState=ENABLED` on a single compute environment does
|
|
4695
|
+
# not guarantee that Batch creates an access entry, and setting
|
|
4696
|
+
# `desiredState=DISABLED` on a single compute environment does not
|
|
4697
|
+
# guarantee that Batch deletes one. Batch compares the `desiredState`
|
|
4698
|
+
# across all compute environments that target the same cluster. The
|
|
4699
|
+
# Batch-managed access entry is created only when all compute
|
|
4700
|
+
# environments have `desiredState=ENABLED`, and deleted only when all
|
|
4701
|
+
# have `desiredState=DISABLED`. If you have multiple compute
|
|
4702
|
+
# environments on the same cluster, set `desiredState` consistently
|
|
4703
|
+
# across all of them to avoid uncertainty. For more information, see
|
|
4704
|
+
# [Reconciling desiredState across compute environments][2] in the
|
|
4705
|
+
# *Batch User Guide*.
|
|
4706
|
+
#
|
|
4707
|
+
# </note>
|
|
4708
|
+
#
|
|
4709
|
+
#
|
|
4710
|
+
#
|
|
4711
|
+
# [1]: https://docs.aws.amazon.com/batch/latest/userguide/eks-access-entries.html
|
|
4712
|
+
# [2]: https://docs.aws.amazon.com/batch/latest/userguide/eks-access-entries.html#eks-access-entries-reconciliation
|
|
4713
|
+
#
|
|
4714
|
+
# @!attribute [rw] desired_state
|
|
4715
|
+
# The desired access entry state for the compute environment. Valid
|
|
4716
|
+
# values:
|
|
4717
|
+
#
|
|
4718
|
+
# ENABLED
|
|
4719
|
+
#
|
|
4720
|
+
# : Batch manages an access entry on the cluster for the compute
|
|
4721
|
+
# environment.
|
|
4722
|
+
#
|
|
4723
|
+
# DISABLED
|
|
4724
|
+
#
|
|
4725
|
+
# : Batch deletes the Batch-managed access entry for the cluster. This
|
|
4726
|
+
# value is rejected if the cluster's `authenticationMode` is `API`,
|
|
4727
|
+
# because such a cluster doesn't support the `aws-auth` ConfigMap.
|
|
4728
|
+
#
|
|
4729
|
+
# INHERIT\_FROM\_CLUSTER
|
|
4730
|
+
#
|
|
4731
|
+
# : Batch defers to the cluster's current access entry `status`. On a
|
|
4732
|
+
# cluster whose authentication mode is `API`, Batch creates and
|
|
4733
|
+
# manages an access entry. On a cluster whose authentication mode is
|
|
4734
|
+
# `API_AND_CONFIG_MAP` or `CONFIG_MAP`, Batch neither adds nor
|
|
4735
|
+
# removes an access entry.
|
|
4736
|
+
# @return [String]
|
|
4737
|
+
#
|
|
4738
|
+
# @!attribute [rw] status
|
|
4739
|
+
# The observed state of the access entry on the cluster. `ACTIVE`
|
|
4740
|
+
# means that an access entry for the compute environment exists on the
|
|
4741
|
+
# cluster and takes precedence over the `aws-auth` ConfigMap.
|
|
4742
|
+
# `INACTIVE` means that no Batch-managed access entry is present. This
|
|
4743
|
+
# is a read-only field returned by `DescribeComputeEnvironments`.
|
|
4744
|
+
# @return [String]
|
|
4745
|
+
#
|
|
4746
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/EksAccessEntry AWS API Documentation
|
|
4747
|
+
#
|
|
4748
|
+
class EksAccessEntry < Struct.new(
|
|
4749
|
+
:desired_state,
|
|
4750
|
+
:status)
|
|
4751
|
+
SENSITIVE = []
|
|
4752
|
+
include Aws::Structure
|
|
4753
|
+
end
|
|
4754
|
+
|
|
4681
4755
|
# An object that represents the details for an attempt for a job attempt
|
|
4682
4756
|
# that an Amazon EKS container runs.
|
|
4683
4757
|
#
|
|
@@ -4794,11 +4868,69 @@ module Aws::Batch
|
|
|
4794
4868
|
# [1]: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/
|
|
4795
4869
|
# @return [String]
|
|
4796
4870
|
#
|
|
4871
|
+
# @!attribute [rw] access_entry
|
|
4872
|
+
# The Batch-managed Amazon EKS access entry for the compute
|
|
4873
|
+
# environment. Set `desiredState` to declare whether Batch manages an
|
|
4874
|
+
# access entry on the cluster. In a `DescribeComputeEnvironments`
|
|
4875
|
+
# response, `desiredState` is the value that Batch recorded for the
|
|
4876
|
+
# compute environment and `status` is the observed state of the access
|
|
4877
|
+
# entry on the cluster. To change the access entry on an existing
|
|
4878
|
+
# compute environment, use [ `EksConfigurationUpdate.accessEntry`
|
|
4879
|
+
# ][1].
|
|
4880
|
+
#
|
|
4881
|
+
# Whether the entry is provisioned on the cluster depends on the
|
|
4882
|
+
# cluster's `authenticationMode` and the `desiredState` recorded for
|
|
4883
|
+
# each Batch compute environment targeting the cluster. For more
|
|
4884
|
+
# information, see [Amazon EKS access entry authentication][2] in the
|
|
4885
|
+
# *Batch User Guide*.
|
|
4886
|
+
#
|
|
4887
|
+
# If you don't specify this field, Batch doesn't record a
|
|
4888
|
+
# `desiredState` for the compute environment and
|
|
4889
|
+
# `DescribeComputeEnvironments` doesn't return one. For the purpose
|
|
4890
|
+
# of provisioning the access entry, Batch behaves as it does for
|
|
4891
|
+
# `INHERIT_FROM_CLUSTER`.
|
|
4892
|
+
#
|
|
4893
|
+
#
|
|
4894
|
+
#
|
|
4895
|
+
# [1]: https://docs.aws.amazon.com/batch/latest/APIReference/API_EksConfigurationUpdate.html#Batch-Type-EksConfigurationUpdate-accessEntry
|
|
4896
|
+
# [2]: https://docs.aws.amazon.com/batch/latest/userguide/eks-access-entries.html
|
|
4897
|
+
# @return [Types::EksAccessEntry]
|
|
4898
|
+
#
|
|
4797
4899
|
# @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/EksConfiguration AWS API Documentation
|
|
4798
4900
|
#
|
|
4799
4901
|
class EksConfiguration < Struct.new(
|
|
4800
4902
|
:eks_cluster_arn,
|
|
4801
|
-
:kubernetes_namespace
|
|
4903
|
+
:kubernetes_namespace,
|
|
4904
|
+
:access_entry)
|
|
4905
|
+
SENSITIVE = []
|
|
4906
|
+
include Aws::Structure
|
|
4907
|
+
end
|
|
4908
|
+
|
|
4909
|
+
# An object that represents the attributes of an Batch compute
|
|
4910
|
+
# environment's Amazon EKS configuration that can be updated. Currently
|
|
4911
|
+
# `accessEntry` is the only attribute that you can change after the
|
|
4912
|
+
# compute environment is created. For more information, see [Amazon EKS
|
|
4913
|
+
# access entry authentication][1] in the *Batch User Guide*.
|
|
4914
|
+
#
|
|
4915
|
+
#
|
|
4916
|
+
#
|
|
4917
|
+
# [1]: https://docs.aws.amazon.com/batch/latest/userguide/eks-access-entries.html
|
|
4918
|
+
#
|
|
4919
|
+
# @!attribute [rw] access_entry
|
|
4920
|
+
# The updated access entry configuration for the compute environment.
|
|
4921
|
+
# Set `desiredState` to declare whether Batch will manage an access
|
|
4922
|
+
# entry on the cluster. For the accepted values, see [
|
|
4923
|
+
# `EksAccessEntry` ][1].
|
|
4924
|
+
#
|
|
4925
|
+
#
|
|
4926
|
+
#
|
|
4927
|
+
# [1]: https://docs.aws.amazon.com/batch/latest/APIReference/API_EksAccessEntry.html
|
|
4928
|
+
# @return [Types::EksAccessEntry]
|
|
4929
|
+
#
|
|
4930
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/EksConfigurationUpdate AWS API Documentation
|
|
4931
|
+
#
|
|
4932
|
+
class EksConfigurationUpdate < Struct.new(
|
|
4933
|
+
:access_entry)
|
|
4802
4934
|
SENSITIVE = []
|
|
4803
4935
|
include Aws::Structure
|
|
4804
4936
|
end
|
|
@@ -11314,8 +11446,8 @@ module Aws::Batch
|
|
|
11314
11446
|
# @return [Types::RepositoryCredentials]
|
|
11315
11447
|
#
|
|
11316
11448
|
# @!attribute [rw] resource_requirements
|
|
11317
|
-
# The type and amount of a resource to assign to a container. The
|
|
11318
|
-
# supported
|
|
11449
|
+
# The type and amount of a resource to assign to a container. The
|
|
11450
|
+
# supported resources include `GPU`, `MEMORY`, and `VCPU`.
|
|
11319
11451
|
# @return [Array<Types::ResourceRequirement>]
|
|
11320
11452
|
#
|
|
11321
11453
|
# @!attribute [rw] secrets
|
|
@@ -11890,6 +12022,20 @@ module Aws::Batch
|
|
|
11890
12022
|
# environment.
|
|
11891
12023
|
# @return [Types::EcsSettings]
|
|
11892
12024
|
#
|
|
12025
|
+
# @!attribute [rw] eks_configuration
|
|
12026
|
+
# Updates the Amazon EKS configuration for the compute environment.
|
|
12027
|
+
# Only specify this parameter if the compute environment's
|
|
12028
|
+
# `containerOrchestrationType` is `EKS`. Currently, the `accessEntry`
|
|
12029
|
+
# setting is the only Amazon EKS configuration that you can change
|
|
12030
|
+
# after the compute environment is created. For more information, see
|
|
12031
|
+
# [Amazon EKS access entry authentication][1] in the *Batch User
|
|
12032
|
+
# Guide*.
|
|
12033
|
+
#
|
|
12034
|
+
#
|
|
12035
|
+
#
|
|
12036
|
+
# [1]: https://docs.aws.amazon.com/batch/latest/userguide/eks-access-entries.html
|
|
12037
|
+
# @return [Types::EksConfigurationUpdate]
|
|
12038
|
+
#
|
|
11893
12039
|
# @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/UpdateComputeEnvironmentRequest AWS API Documentation
|
|
11894
12040
|
#
|
|
11895
12041
|
class UpdateComputeEnvironmentRequest < Struct.new(
|
|
@@ -11900,7 +12046,8 @@ module Aws::Batch
|
|
|
11900
12046
|
:service_role,
|
|
11901
12047
|
:update_policy,
|
|
11902
12048
|
:context,
|
|
11903
|
-
:ecs_settings
|
|
12049
|
+
:ecs_settings,
|
|
12050
|
+
:eks_configuration)
|
|
11904
12051
|
SENSITIVE = []
|
|
11905
12052
|
include Aws::Structure
|
|
11906
12053
|
end
|
data/lib/aws-sdk-batch.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -176,7 +176,11 @@ module Aws
|
|
|
176
176
|
?tags: Hash[::String, ::String],
|
|
177
177
|
?eks_configuration: {
|
|
178
178
|
eks_cluster_arn: ::String,
|
|
179
|
-
kubernetes_namespace: ::String
|
|
179
|
+
kubernetes_namespace: ::String,
|
|
180
|
+
access_entry: {
|
|
181
|
+
desired_state: ("ENABLED" | "DISABLED" | "INHERIT_FROM_CLUSTER"),
|
|
182
|
+
status: ("ACTIVE" | "INACTIVE")?
|
|
183
|
+
}?
|
|
180
184
|
},
|
|
181
185
|
?context: ::String,
|
|
182
186
|
?ecs_settings: {
|
|
@@ -922,6 +926,12 @@ module Aws
|
|
|
922
926
|
?context: ::String,
|
|
923
927
|
?ecs_settings: {
|
|
924
928
|
container_insights: ("ENABLED" | "ENHANCED" | "DISABLED")?
|
|
929
|
+
},
|
|
930
|
+
?eks_configuration: {
|
|
931
|
+
access_entry: {
|
|
932
|
+
desired_state: ("ENABLED" | "DISABLED" | "INHERIT_FROM_CLUSTER"),
|
|
933
|
+
status: ("ACTIVE" | "INACTIVE")?
|
|
934
|
+
}?
|
|
925
935
|
}
|
|
926
936
|
) -> _UpdateComputeEnvironmentResponseSuccess
|
|
927
937
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateComputeEnvironmentResponseSuccess
|
data/sig/types.rbs
CHANGED
|
@@ -668,6 +668,12 @@ module Aws::Batch
|
|
|
668
668
|
SENSITIVE: []
|
|
669
669
|
end
|
|
670
670
|
|
|
671
|
+
class EksAccessEntry
|
|
672
|
+
attr_accessor desired_state: ("ENABLED" | "DISABLED" | "INHERIT_FROM_CLUSTER")
|
|
673
|
+
attr_accessor status: ("ACTIVE" | "INACTIVE")
|
|
674
|
+
SENSITIVE: []
|
|
675
|
+
end
|
|
676
|
+
|
|
671
677
|
class EksAttemptContainerDetail
|
|
672
678
|
attr_accessor name: ::String
|
|
673
679
|
attr_accessor container_id: ::String
|
|
@@ -692,6 +698,12 @@ module Aws::Batch
|
|
|
692
698
|
class EksConfiguration
|
|
693
699
|
attr_accessor eks_cluster_arn: ::String
|
|
694
700
|
attr_accessor kubernetes_namespace: ::String
|
|
701
|
+
attr_accessor access_entry: Types::EksAccessEntry
|
|
702
|
+
SENSITIVE: []
|
|
703
|
+
end
|
|
704
|
+
|
|
705
|
+
class EksConfigurationUpdate
|
|
706
|
+
attr_accessor access_entry: Types::EksAccessEntry
|
|
695
707
|
SENSITIVE: []
|
|
696
708
|
end
|
|
697
709
|
|
|
@@ -1818,6 +1830,7 @@ module Aws::Batch
|
|
|
1818
1830
|
attr_accessor update_policy: Types::UpdatePolicy
|
|
1819
1831
|
attr_accessor context: ::String
|
|
1820
1832
|
attr_accessor ecs_settings: Types::EcsSettings
|
|
1833
|
+
attr_accessor eks_configuration: Types::EksConfigurationUpdate
|
|
1821
1834
|
SENSITIVE: []
|
|
1822
1835
|
end
|
|
1823
1836
|
|