aws-sdk-batch 1.115.0 → 1.117.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a4f2e38b19402ddfe9fc225d34b796b80a219427f10563f3ef88fab049e50f23
4
- data.tar.gz: ae59ea6fda7ed9dbb04366b000d4979d22a0275580d0aba00c484b31e507dbb5
3
+ metadata.gz: da60c24c068f536b38f110571b3929c1a7a9ef3d3f43c4bd0dad373f243fdb7e
4
+ data.tar.gz: 837e1ca1736c6590aba0b4e4518093892b333ac2b8c481c8785acf65e3791e33
5
5
  SHA512:
6
- metadata.gz: 44ed578aeefa94d3a6255ff4cd33b890afd026a03a1a622ba01e7c3199e7c7289cf14c12ef983ff0c8a52463363700a5e9c8aac9dcdcef26f412a1e371ccab27
7
- data.tar.gz: e366e3e655eec9826c3c6cc777f67811a9aa0d90ced64ea8b7b1cbda132c805fc5375545a95a40fba2f13157f2b8d1f5899f51b12e453267521da72725a7bc30
6
+ metadata.gz: 3c0fc0ec774e80cde4a5c0d14c9768d3fe3e9705f3dde69e1b6f8925dc9e64314e2a32886d3e644dfc8abed30aab1051db6457451aff7f8a5f9707145bf3542f
7
+ data.tar.gz: b7a7a3f57b250db7cdb6177198e81a165255352823f50f24e40f804debd9253abdb0794c071272bc1692f8261fcf7d02e00f023b691b28481b4546f715e2c316
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.117.0 (2025-07-21)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.116.0 (2025-06-24)
10
+ ------------------
11
+
12
+ * Feature - Add userdataType to LaunchTemplateSpecification and LaunchTemplateSpecificationOverride.
13
+
4
14
  1.115.0 (2025-06-02)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.115.0
1
+ 1.117.0
@@ -95,7 +95,7 @@ module Aws::Batch
95
95
  # class name or an instance of a plugin class.
96
96
  #
97
97
  # @option options [required, Aws::CredentialProvider] :credentials
98
- # Your AWS credentials. This can be an instance of any one of the
98
+ # Your AWS credentials used for authentication. This can be an instance of any one of the
99
99
  # following classes:
100
100
  #
101
101
  # * `Aws::Credentials` - Used for configuring static, non-refreshing
@@ -128,18 +128,23 @@ module Aws::Batch
128
128
  # locations will be searched for credentials:
129
129
  #
130
130
  # * `Aws.config[:credentials]`
131
+ #
131
132
  # * The `:access_key_id`, `:secret_access_key`, `:session_token`, and
132
133
  # `:account_id` options.
133
- # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY'],
134
- # ENV['AWS_SESSION_TOKEN'], and ENV['AWS_ACCOUNT_ID']
134
+ #
135
+ # * `ENV['AWS_ACCESS_KEY_ID']`, `ENV['AWS_SECRET_ACCESS_KEY']`,
136
+ # `ENV['AWS_SESSION_TOKEN']`, and `ENV['AWS_ACCOUNT_ID']`.
137
+ #
135
138
  # * `~/.aws/credentials`
139
+ #
136
140
  # * `~/.aws/config`
141
+ #
137
142
  # * EC2/ECS IMDS instance profile - When used by default, the timeouts
138
143
  # are very aggressive. Construct and pass an instance of
139
144
  # `Aws::InstanceProfileCredentials` or `Aws::ECSCredentials` to
140
145
  # enable retries and extended timeouts. Instance profile credential
141
- # fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
142
- # to true.
146
+ # fetching can be disabled by setting `ENV['AWS_EC2_METADATA_DISABLED']`
147
+ # to `true`.
143
148
  #
144
149
  # @option options [required, String] :region
145
150
  # The AWS region to connect to. The configured `:region` is
@@ -167,6 +172,11 @@ module Aws::Batch
167
172
  # When false, the request will raise a `RetryCapacityNotAvailableError` and will
168
173
  # not retry instead of sleeping.
169
174
  #
175
+ # @option options [Array<String>] :auth_scheme_preference
176
+ # A list of preferred authentication schemes to use when making a request. Supported values are:
177
+ # `sigv4`, `sigv4a`, `httpBearerAuth`, and `noAuth`. When set using `ENV['AWS_AUTH_SCHEME_PREFERENCE']` or in
178
+ # shared config as `auth_scheme_preference`, the value should be a comma-separated list.
179
+ #
170
180
  # @option options [Boolean] :client_side_monitoring (false)
171
181
  # When `true`, client-side metrics will be collected for all API requests from
172
182
  # this client.
@@ -253,8 +263,8 @@ module Aws::Batch
253
263
  # 4 times. Used in `standard` and `adaptive` retry modes.
254
264
  #
255
265
  # @option options [String] :profile ("default")
256
- # Used when loading credentials from the shared credentials file
257
- # at HOME/.aws/credentials. When not specified, 'default' is used.
266
+ # Used when loading credentials from the shared credentials file at `HOME/.aws/credentials`.
267
+ # When not specified, 'default' is used.
258
268
  #
259
269
  # @option options [String] :request_checksum_calculation ("when_supported")
260
270
  # Determines when a checksum will be calculated for request payloads. Values are:
@@ -367,7 +377,7 @@ module Aws::Batch
367
377
  # `Aws::Telemetry::OTelProvider` for telemetry provider.
368
378
  #
369
379
  # @option options [Aws::TokenProvider] :token_provider
370
- # A Bearer Token Provider. This can be an instance of any one of the
380
+ # Your Bearer token used for authentication. This can be an instance of any one of the
371
381
  # following classes:
372
382
  #
373
383
  # * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
@@ -887,8 +897,10 @@ module Aws::Batch
887
897
  # launch_template_name: "String",
888
898
  # version: "String",
889
899
  # target_instance_types: ["String"],
900
+ # userdata_type: "EKS_BOOTSTRAP_SH", # accepts EKS_BOOTSTRAP_SH, EKS_NODEADM
890
901
  # },
891
902
  # ],
903
+ # userdata_type: "EKS_BOOTSTRAP_SH", # accepts EKS_BOOTSTRAP_SH, EKS_NODEADM
892
904
  # },
893
905
  # ec2_configuration: [
894
906
  # {
@@ -1563,6 +1575,8 @@ module Aws::Batch
1563
1575
  # resp.compute_environments[0].compute_resources.launch_template.overrides[0].version #=> String
1564
1576
  # resp.compute_environments[0].compute_resources.launch_template.overrides[0].target_instance_types #=> Array
1565
1577
  # resp.compute_environments[0].compute_resources.launch_template.overrides[0].target_instance_types[0] #=> String
1578
+ # resp.compute_environments[0].compute_resources.launch_template.overrides[0].userdata_type #=> String, one of "EKS_BOOTSTRAP_SH", "EKS_NODEADM"
1579
+ # resp.compute_environments[0].compute_resources.launch_template.userdata_type #=> String, one of "EKS_BOOTSTRAP_SH", "EKS_NODEADM"
1566
1580
  # resp.compute_environments[0].compute_resources.ec2_configuration #=> Array
1567
1581
  # resp.compute_environments[0].compute_resources.ec2_configuration[0].image_type #=> String
1568
1582
  # resp.compute_environments[0].compute_resources.ec2_configuration[0].image_id_override #=> String
@@ -5331,8 +5345,10 @@ module Aws::Batch
5331
5345
  # launch_template_name: "String",
5332
5346
  # version: "String",
5333
5347
  # target_instance_types: ["String"],
5348
+ # userdata_type: "EKS_BOOTSTRAP_SH", # accepts EKS_BOOTSTRAP_SH, EKS_NODEADM
5334
5349
  # },
5335
5350
  # ],
5351
+ # userdata_type: "EKS_BOOTSTRAP_SH", # accepts EKS_BOOTSTRAP_SH, EKS_NODEADM
5336
5352
  # },
5337
5353
  # ec2_configuration: [
5338
5354
  # {
@@ -5618,7 +5634,7 @@ module Aws::Batch
5618
5634
  tracer: tracer
5619
5635
  )
5620
5636
  context[:gem_name] = 'aws-sdk-batch'
5621
- context[:gem_version] = '1.115.0'
5637
+ context[:gem_version] = '1.117.0'
5622
5638
  Seahorse::Client::Request.new(handlers, context)
5623
5639
  end
5624
5640
 
@@ -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)
@@ -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
- # computer environment infrastructure is updated. The default value is
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
@@ -54,7 +54,7 @@ module Aws::Batch
54
54
  autoload :EndpointProvider, 'aws-sdk-batch/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-batch/endpoints'
56
56
 
57
- GEM_VERSION = '1.115.0'
57
+ GEM_VERSION = '1.117.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -18,6 +18,7 @@ module Aws
18
18
  ?account_id: String,
19
19
  ?active_endpoint_cache: bool,
20
20
  ?adaptive_retry_wait_to_fill: bool,
21
+ ?auth_scheme_preference: Array[String],
21
22
  ?client_side_monitoring: bool,
22
23
  ?client_side_monitoring_client_id: String,
23
24
  ?client_side_monitoring_host: String,
@@ -123,9 +124,11 @@ module Aws
123
124
  launch_template_id: ::String?,
124
125
  launch_template_name: ::String?,
125
126
  version: ::String?,
126
- target_instance_types: Array[::String]?
127
+ target_instance_types: Array[::String]?,
128
+ userdata_type: ("EKS_BOOTSTRAP_SH" | "EKS_NODEADM")?
127
129
  },
128
- ]?
130
+ ]?,
131
+ userdata_type: ("EKS_BOOTSTRAP_SH" | "EKS_NODEADM")?
129
132
  }?,
130
133
  ec2_configuration: Array[
131
134
  {
@@ -1471,9 +1474,11 @@ module Aws
1471
1474
  launch_template_id: ::String?,
1472
1475
  launch_template_name: ::String?,
1473
1476
  version: ::String?,
1474
- target_instance_types: Array[::String]?
1477
+ target_instance_types: Array[::String]?,
1478
+ userdata_type: ("EKS_BOOTSTRAP_SH" | "EKS_NODEADM")?
1475
1479
  },
1476
- ]?
1480
+ ]?,
1481
+ userdata_type: ("EKS_BOOTSTRAP_SH" | "EKS_NODEADM")?
1477
1482
  }?,
1478
1483
  ec2_configuration: Array[
1479
1484
  {
data/sig/resource.rbs CHANGED
@@ -18,6 +18,7 @@ module Aws
18
18
  ?account_id: String,
19
19
  ?active_endpoint_cache: bool,
20
20
  ?adaptive_retry_wait_to_fill: bool,
21
+ ?auth_scheme_preference: Array[String],
21
22
  ?client_side_monitoring: bool,
22
23
  ?client_side_monitoring_client_id: String,
23
24
  ?client_side_monitoring_host: String,
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.115.0
4
+ version: 1.117.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.225.0
21
+ version: 3.227.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.225.0
31
+ version: 3.227.0
32
32
  - !ruby/object:Gem::Dependency
33
33
  name: aws-sigv4
34
34
  requirement: !ruby/object:Gem::Requirement