aws-sdk-batch 1.114.0 → 1.116.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 +7 -1
- data/lib/aws-sdk-batch/client_api.rb +3 -0
- data/lib/aws-sdk-batch/types.rb +36 -5
- data/lib/aws-sdk-batch.rb +1 -1
- data/sig/client.rbs +8 -4
- data/sig/types.rbs +2 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d5b27a1bd6354352cb1ee8a04a0b7a77be8d4a5592eccd109e2136a929d4535c
|
4
|
+
data.tar.gz: 4b3e7293bcae8fb3f81bd01a03e2ccd4e03cd370c31ed413af3289df538e2953
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: da4c7af55992c21845f0dbd6a72aec0e79b6cb6c86070c4857040625701ef1e99140b32a39b5c719c5af1b54b37e6319602f0f527d4aa83211fff82e402533a8
|
7
|
+
data.tar.gz: 9d67292719c3910efe332629ce2ad29705d4b10e797a0f188b5cfe0567d99457d576d2de748d70772f8e4410951c7cb20c786bd2278ee6ed88d7878a12df161d
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.116.0 (2025-06-24)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Add userdataType to LaunchTemplateSpecification and LaunchTemplateSpecificationOverride.
|
8
|
+
|
9
|
+
1.115.0 (2025-06-02)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
4
14
|
1.114.0 (2025-05-12)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.116.0
|
data/lib/aws-sdk-batch/client.rb
CHANGED
@@ -887,8 +887,10 @@ module Aws::Batch
|
|
887
887
|
# launch_template_name: "String",
|
888
888
|
# version: "String",
|
889
889
|
# target_instance_types: ["String"],
|
890
|
+
# userdata_type: "EKS_BOOTSTRAP_SH", # accepts EKS_BOOTSTRAP_SH, EKS_NODEADM
|
890
891
|
# },
|
891
892
|
# ],
|
893
|
+
# userdata_type: "EKS_BOOTSTRAP_SH", # accepts EKS_BOOTSTRAP_SH, EKS_NODEADM
|
892
894
|
# },
|
893
895
|
# ec2_configuration: [
|
894
896
|
# {
|
@@ -1563,6 +1565,8 @@ module Aws::Batch
|
|
1563
1565
|
# resp.compute_environments[0].compute_resources.launch_template.overrides[0].version #=> String
|
1564
1566
|
# resp.compute_environments[0].compute_resources.launch_template.overrides[0].target_instance_types #=> Array
|
1565
1567
|
# resp.compute_environments[0].compute_resources.launch_template.overrides[0].target_instance_types[0] #=> String
|
1568
|
+
# resp.compute_environments[0].compute_resources.launch_template.overrides[0].userdata_type #=> String, one of "EKS_BOOTSTRAP_SH", "EKS_NODEADM"
|
1569
|
+
# resp.compute_environments[0].compute_resources.launch_template.userdata_type #=> String, one of "EKS_BOOTSTRAP_SH", "EKS_NODEADM"
|
1566
1570
|
# resp.compute_environments[0].compute_resources.ec2_configuration #=> Array
|
1567
1571
|
# resp.compute_environments[0].compute_resources.ec2_configuration[0].image_type #=> String
|
1568
1572
|
# resp.compute_environments[0].compute_resources.ec2_configuration[0].image_id_override #=> String
|
@@ -5331,8 +5335,10 @@ module Aws::Batch
|
|
5331
5335
|
# launch_template_name: "String",
|
5332
5336
|
# version: "String",
|
5333
5337
|
# target_instance_types: ["String"],
|
5338
|
+
# userdata_type: "EKS_BOOTSTRAP_SH", # accepts EKS_BOOTSTRAP_SH, EKS_NODEADM
|
5334
5339
|
# },
|
5335
5340
|
# ],
|
5341
|
+
# userdata_type: "EKS_BOOTSTRAP_SH", # accepts EKS_BOOTSTRAP_SH, EKS_NODEADM
|
5336
5342
|
# },
|
5337
5343
|
# ec2_configuration: [
|
5338
5344
|
# {
|
@@ -5618,7 +5624,7 @@ module Aws::Batch
|
|
5618
5624
|
tracer: tracer
|
5619
5625
|
)
|
5620
5626
|
context[:gem_name] = 'aws-sdk-batch'
|
5621
|
-
context[:gem_version] = '1.
|
5627
|
+
context[:gem_version] = '1.116.0'
|
5622
5628
|
Seahorse::Client::Request.new(handlers, context)
|
5623
5629
|
end
|
5624
5630
|
|
@@ -275,6 +275,7 @@ module Aws::Batch
|
|
275
275
|
UpdatePolicy = Shapes::StructureShape.new(name: 'UpdatePolicy')
|
276
276
|
UpdateSchedulingPolicyRequest = Shapes::StructureShape.new(name: 'UpdateSchedulingPolicyRequest')
|
277
277
|
UpdateSchedulingPolicyResponse = Shapes::StructureShape.new(name: 'UpdateSchedulingPolicyResponse')
|
278
|
+
UserdataType = Shapes::StringShape.new(name: 'UserdataType')
|
278
279
|
Volume = Shapes::StructureShape.new(name: 'Volume')
|
279
280
|
Volumes = Shapes::ListShape.new(name: 'Volumes')
|
280
281
|
|
@@ -1008,12 +1009,14 @@ module Aws::Batch
|
|
1008
1009
|
LaunchTemplateSpecification.add_member(:launch_template_name, Shapes::ShapeRef.new(shape: String, location_name: "launchTemplateName"))
|
1009
1010
|
LaunchTemplateSpecification.add_member(:version, Shapes::ShapeRef.new(shape: String, location_name: "version"))
|
1010
1011
|
LaunchTemplateSpecification.add_member(:overrides, Shapes::ShapeRef.new(shape: LaunchTemplateSpecificationOverrideList, location_name: "overrides"))
|
1012
|
+
LaunchTemplateSpecification.add_member(:userdata_type, Shapes::ShapeRef.new(shape: UserdataType, location_name: "userdataType"))
|
1011
1013
|
LaunchTemplateSpecification.struct_class = Types::LaunchTemplateSpecification
|
1012
1014
|
|
1013
1015
|
LaunchTemplateSpecificationOverride.add_member(:launch_template_id, Shapes::ShapeRef.new(shape: String, location_name: "launchTemplateId"))
|
1014
1016
|
LaunchTemplateSpecificationOverride.add_member(:launch_template_name, Shapes::ShapeRef.new(shape: String, location_name: "launchTemplateName"))
|
1015
1017
|
LaunchTemplateSpecificationOverride.add_member(:version, Shapes::ShapeRef.new(shape: String, location_name: "version"))
|
1016
1018
|
LaunchTemplateSpecificationOverride.add_member(:target_instance_types, Shapes::ShapeRef.new(shape: StringList, location_name: "targetInstanceTypes"))
|
1019
|
+
LaunchTemplateSpecificationOverride.add_member(:userdata_type, Shapes::ShapeRef.new(shape: UserdataType, location_name: "userdataType"))
|
1017
1020
|
LaunchTemplateSpecificationOverride.struct_class = Types::LaunchTemplateSpecificationOverride
|
1018
1021
|
|
1019
1022
|
LaunchTemplateSpecificationOverrideList.member = Shapes::ShapeRef.new(shape: LaunchTemplateSpecificationOverride)
|
data/lib/aws-sdk-batch/types.rb
CHANGED
@@ -3209,6 +3209,20 @@ module Aws::Batch
|
|
3209
3209
|
# families (for example, `P4` and `G4`) and can be used for all
|
3210
3210
|
# non Amazon Web Services Graviton-based instance types.
|
3211
3211
|
#
|
3212
|
+
# EKS\_AL2023
|
3213
|
+
#
|
3214
|
+
# : [Amazon Linux 2023][6]: Batch supports Amazon Linux 2023.
|
3215
|
+
#
|
3216
|
+
# <note markdown="1"> Amazon Linux 2023 does not support `A1` instances.
|
3217
|
+
#
|
3218
|
+
# </note>
|
3219
|
+
#
|
3220
|
+
# EKS\_AL2023\_NVIDIA
|
3221
|
+
#
|
3222
|
+
# : [Amazon Linux 2023 (accelerated)][6]: GPU instance families and
|
3223
|
+
# can be used for all non Amazon Web Services Graviton-based
|
3224
|
+
# instance types.
|
3225
|
+
#
|
3212
3226
|
#
|
3213
3227
|
#
|
3214
3228
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#al2ami
|
@@ -5923,13 +5937,22 @@ module Aws::Batch
|
|
5923
5937
|
# [1]: https://docs.aws.amazon.com/batch/latest/APIReference/API_UpdateComputeEnvironment.html
|
5924
5938
|
# @return [Array<Types::LaunchTemplateSpecificationOverride>]
|
5925
5939
|
#
|
5940
|
+
# @!attribute [rw] userdata_type
|
5941
|
+
# The EKS node initialization process to use. You only need to specify
|
5942
|
+
# this value if you are using a custom AMI. The default value is
|
5943
|
+
# `EKS_BOOTSTRAP_SH`. If *imageType* is a custom AMI based on
|
5944
|
+
# EKS\_AL2023 or EKS\_AL2023\_NVIDIA then you must choose
|
5945
|
+
# `EKS_NODEADM`.
|
5946
|
+
# @return [String]
|
5947
|
+
#
|
5926
5948
|
# @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/LaunchTemplateSpecification AWS API Documentation
|
5927
5949
|
#
|
5928
5950
|
class LaunchTemplateSpecification < Struct.new(
|
5929
5951
|
:launch_template_id,
|
5930
5952
|
:launch_template_name,
|
5931
5953
|
:version,
|
5932
|
-
:overrides
|
5954
|
+
:overrides,
|
5955
|
+
:userdata_type)
|
5933
5956
|
SENSITIVE = []
|
5934
5957
|
include Aws::Structure
|
5935
5958
|
end
|
@@ -6036,13 +6059,22 @@ module Aws::Batch
|
|
6036
6059
|
# [1]: https://docs.aws.amazon.com/batch/latest/APIReference/API_ComputeResource.html#Batch-Type-ComputeResource-instanceTypes
|
6037
6060
|
# @return [Array<String>]
|
6038
6061
|
#
|
6062
|
+
# @!attribute [rw] userdata_type
|
6063
|
+
# The EKS node initialization process to use. You only need to specify
|
6064
|
+
# this value if you are using a custom AMI. The default value is
|
6065
|
+
# `EKS_BOOTSTRAP_SH`. If *imageType* is a custom AMI based on
|
6066
|
+
# EKS\_AL2023 or EKS\_AL2023\_NVIDIA then you must choose
|
6067
|
+
# `EKS_NODEADM`.
|
6068
|
+
# @return [String]
|
6069
|
+
#
|
6039
6070
|
# @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/LaunchTemplateSpecificationOverride AWS API Documentation
|
6040
6071
|
#
|
6041
6072
|
class LaunchTemplateSpecificationOverride < Struct.new(
|
6042
6073
|
:launch_template_id,
|
6043
6074
|
:launch_template_name,
|
6044
6075
|
:version,
|
6045
|
-
:target_instance_types
|
6076
|
+
:target_instance_types,
|
6077
|
+
:userdata_type)
|
6046
6078
|
SENSITIVE = []
|
6047
6079
|
include Aws::Structure
|
6048
6080
|
end
|
@@ -9172,9 +9204,8 @@ module Aws::Batch
|
|
9172
9204
|
# [1]: https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html
|
9173
9205
|
#
|
9174
9206
|
# @!attribute [rw] terminate_jobs_on_update
|
9175
|
-
# Specifies whether jobs are automatically terminated when the
|
9176
|
-
#
|
9177
|
-
# `false`.
|
9207
|
+
# Specifies whether jobs are automatically terminated when the compute
|
9208
|
+
# environment infrastructure is updated. The default value is `false`.
|
9178
9209
|
# @return [Boolean]
|
9179
9210
|
#
|
9180
9211
|
# @!attribute [rw] job_execution_timeout_minutes
|
data/lib/aws-sdk-batch.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -123,9 +123,11 @@ module Aws
|
|
123
123
|
launch_template_id: ::String?,
|
124
124
|
launch_template_name: ::String?,
|
125
125
|
version: ::String?,
|
126
|
-
target_instance_types: Array[::String]
|
126
|
+
target_instance_types: Array[::String]?,
|
127
|
+
userdata_type: ("EKS_BOOTSTRAP_SH" | "EKS_NODEADM")?
|
127
128
|
},
|
128
|
-
]
|
129
|
+
]?,
|
130
|
+
userdata_type: ("EKS_BOOTSTRAP_SH" | "EKS_NODEADM")?
|
129
131
|
}?,
|
130
132
|
ec2_configuration: Array[
|
131
133
|
{
|
@@ -1471,9 +1473,11 @@ module Aws
|
|
1471
1473
|
launch_template_id: ::String?,
|
1472
1474
|
launch_template_name: ::String?,
|
1473
1475
|
version: ::String?,
|
1474
|
-
target_instance_types: Array[::String]
|
1476
|
+
target_instance_types: Array[::String]?,
|
1477
|
+
userdata_type: ("EKS_BOOTSTRAP_SH" | "EKS_NODEADM")?
|
1475
1478
|
},
|
1476
|
-
]
|
1479
|
+
]?,
|
1480
|
+
userdata_type: ("EKS_BOOTSTRAP_SH" | "EKS_NODEADM")?
|
1477
1481
|
}?,
|
1478
1482
|
ec2_configuration: Array[
|
1479
1483
|
{
|
data/sig/types.rbs
CHANGED
@@ -867,6 +867,7 @@ module Aws::Batch
|
|
867
867
|
attr_accessor launch_template_name: ::String
|
868
868
|
attr_accessor version: ::String
|
869
869
|
attr_accessor overrides: ::Array[Types::LaunchTemplateSpecificationOverride]
|
870
|
+
attr_accessor userdata_type: ("EKS_BOOTSTRAP_SH" | "EKS_NODEADM")
|
870
871
|
SENSITIVE: []
|
871
872
|
end
|
872
873
|
|
@@ -875,6 +876,7 @@ module Aws::Batch
|
|
875
876
|
attr_accessor launch_template_name: ::String
|
876
877
|
attr_accessor version: ::String
|
877
878
|
attr_accessor target_instance_types: ::Array[::String]
|
879
|
+
attr_accessor userdata_type: ("EKS_BOOTSTRAP_SH" | "EKS_NODEADM")
|
878
880
|
SENSITIVE: []
|
879
881
|
end
|
880
882
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
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.116.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
@@ -18,7 +18,7 @@ dependencies:
|
|
18
18
|
version: '3'
|
19
19
|
- - ">="
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 3.
|
21
|
+
version: 3.225.0
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -28,7 +28,7 @@ dependencies:
|
|
28
28
|
version: '3'
|
29
29
|
- - ">="
|
30
30
|
- !ruby/object:Gem::Version
|
31
|
-
version: 3.
|
31
|
+
version: 3.225.0
|
32
32
|
- !ruby/object:Gem::Dependency
|
33
33
|
name: aws-sigv4
|
34
34
|
requirement: !ruby/object:Gem::Requirement
|
@@ -83,7 +83,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
83
83
|
requirements:
|
84
84
|
- - ">="
|
85
85
|
- !ruby/object:Gem::Version
|
86
|
-
version: '2.
|
86
|
+
version: '2.7'
|
87
87
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
88
88
|
requirements:
|
89
89
|
- - ">="
|