aws-sdk-batch 1.103.0 → 1.105.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a49e29e82e8c1c140648a871af3a4eadc5a3ffe4869a0557521c41e433c1a996
4
- data.tar.gz: '09477a4ef0619fed6dbfe16f55d31751e1587553e38d5f66a367bc3138eb165b'
3
+ metadata.gz: 0d8335f038a725dd0cb8a14fb5e05ec020df31f4efdb3b8758d123952f05d7a2
4
+ data.tar.gz: 8d3914d19a2ff35392b2a9c57a9db7ebf0cb52b94978c6d644cd3ed1a93c61c6
5
5
  SHA512:
6
- metadata.gz: 162f96beb7e6eb3e801c3de9e5582ccae382ca67dba8dbe6aaed9a9bbf8536820ac9c2224f8c89084f1efd196a765d0073139303c7946aef77b8ae5a350a5fd5
7
- data.tar.gz: c47b9b65699eb3419e17f868c7c18eff430a0e59bb9102dbc967d42cb2a4ecf9f8ce02308c23a06a6c0d1ee44e732510dfe133e0a4aa0d41a5a4432f736f3e24
6
+ metadata.gz: eaf8cccfdc0fe084493e82e8244b4635dfbc55c44295db0761caa60092a6fd117be5f2a4a4067e29222b74be091e5967883fc8b9b02561c79c68fbf3a0417ade
7
+ data.tar.gz: 6535d1de5fc18233731aa52307ac5e3f4b5ebc80e85e97a781a2b973068b62c702490cbb84966e32ee88568bcd0e16391416d219b64c1569bdc2ea497379e969
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.105.0 (2024-11-08)
5
+ ------------------
6
+
7
+ * Feature - This feature allows override LaunchTemplates to be specified in an AWS Batch Compute Environment.
8
+
9
+ 1.104.0 (2024-11-06)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.103.0 (2024-10-31)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.103.0
1
+ 1.105.0
@@ -859,6 +859,14 @@ module Aws::Batch
859
859
  # launch_template_id: "String",
860
860
  # launch_template_name: "String",
861
861
  # version: "String",
862
+ # overrides: [
863
+ # {
864
+ # launch_template_id: "String",
865
+ # launch_template_name: "String",
866
+ # version: "String",
867
+ # target_instance_types: ["String"],
868
+ # },
869
+ # ],
862
870
  # },
863
871
  # ec2_configuration: [
864
872
  # {
@@ -1413,6 +1421,12 @@ module Aws::Batch
1413
1421
  # resp.compute_environments[0].compute_resources.launch_template.launch_template_id #=> String
1414
1422
  # resp.compute_environments[0].compute_resources.launch_template.launch_template_name #=> String
1415
1423
  # resp.compute_environments[0].compute_resources.launch_template.version #=> String
1424
+ # resp.compute_environments[0].compute_resources.launch_template.overrides #=> Array
1425
+ # resp.compute_environments[0].compute_resources.launch_template.overrides[0].launch_template_id #=> String
1426
+ # resp.compute_environments[0].compute_resources.launch_template.overrides[0].launch_template_name #=> String
1427
+ # resp.compute_environments[0].compute_resources.launch_template.overrides[0].version #=> String
1428
+ # resp.compute_environments[0].compute_resources.launch_template.overrides[0].target_instance_types #=> Array
1429
+ # resp.compute_environments[0].compute_resources.launch_template.overrides[0].target_instance_types[0] #=> String
1416
1430
  # resp.compute_environments[0].compute_resources.ec2_configuration #=> Array
1417
1431
  # resp.compute_environments[0].compute_resources.ec2_configuration[0].image_type #=> String
1418
1432
  # resp.compute_environments[0].compute_resources.ec2_configuration[0].image_id_override #=> String
@@ -1442,10 +1456,9 @@ module Aws::Batch
1442
1456
  # @option params [Array<String>] :job_definitions
1443
1457
  # A list of up to 100 job definitions. Each entry in the list can either
1444
1458
  # be an ARN in the format
1445
- # `arn:aws:batch:$\{Region\}:$\{Account\}:job-definition/$\{JobDefinitionName\}:$\{Revision\}`
1446
- # or a short version using the form
1447
- # `$\{JobDefinitionName\}:$\{Revision\}`. This parameter can't be used
1448
- # with other parameters.
1459
+ # `arn:aws:batch:${Region}:${Account}:job-definition/${JobDefinitionName}:${Revision}`
1460
+ # or a short version using the form `${JobDefinitionName}:${Revision}`.
1461
+ # This parameter can't be used with other parameters.
1449
1462
  #
1450
1463
  # @option params [Integer] :max_results
1451
1464
  # The maximum number of results returned by `DescribeJobDefinitions` in
@@ -2827,7 +2840,7 @@ module Aws::Batch
2827
2840
  # the job definition that's used doesn't affect the sort order. When
2828
2841
  # the `JOB_DEFINITION` filter is used and the ARN is used (which is in
2829
2842
  # the form
2830
- # `arn:$\{Partition\}:batch:$\{Region\}:$\{Account\}:job-definition/$\{JobDefinitionName\}:$\{Revision\}`),
2843
+ # `arn:${Partition}:batch:${Region}:${Account}:job-definition/${JobDefinitionName}:${Revision}`),
2831
2844
  # the results include jobs that used the specified revision of the job
2832
2845
  # definition. Asterisk (*) isn't supported when the ARN is used.
2833
2846
  #
@@ -4723,6 +4736,14 @@ module Aws::Batch
4723
4736
  # launch_template_id: "String",
4724
4737
  # launch_template_name: "String",
4725
4738
  # version: "String",
4739
+ # overrides: [
4740
+ # {
4741
+ # launch_template_id: "String",
4742
+ # launch_template_name: "String",
4743
+ # version: "String",
4744
+ # target_instance_types: ["String"],
4745
+ # },
4746
+ # ],
4726
4747
  # },
4727
4748
  # ec2_configuration: [
4728
4749
  # {
@@ -4920,7 +4941,7 @@ module Aws::Batch
4920
4941
  tracer: tracer
4921
4942
  )
4922
4943
  context[:gem_name] = 'aws-sdk-batch'
4923
- context[:gem_version] = '1.103.0'
4944
+ context[:gem_version] = '1.105.0'
4924
4945
  Seahorse::Client::Request.new(handlers, context)
4925
4946
  end
4926
4947
 
@@ -158,6 +158,8 @@ module Aws::Batch
158
158
  KeyValuesPair = Shapes::StructureShape.new(name: 'KeyValuesPair')
159
159
  KubernetesVersion = Shapes::StringShape.new(name: 'KubernetesVersion')
160
160
  LaunchTemplateSpecification = Shapes::StructureShape.new(name: 'LaunchTemplateSpecification')
161
+ LaunchTemplateSpecificationOverride = Shapes::StructureShape.new(name: 'LaunchTemplateSpecificationOverride')
162
+ LaunchTemplateSpecificationOverrideList = Shapes::ListShape.new(name: 'LaunchTemplateSpecificationOverrideList')
161
163
  LinuxParameters = Shapes::StructureShape.new(name: 'LinuxParameters')
162
164
  ListAttemptEcsTaskDetails = Shapes::ListShape.new(name: 'ListAttemptEcsTaskDetails')
163
165
  ListAttemptTaskContainerDetails = Shapes::ListShape.new(name: 'ListAttemptTaskContainerDetails')
@@ -908,8 +910,17 @@ module Aws::Batch
908
910
  LaunchTemplateSpecification.add_member(:launch_template_id, Shapes::ShapeRef.new(shape: String, location_name: "launchTemplateId"))
909
911
  LaunchTemplateSpecification.add_member(:launch_template_name, Shapes::ShapeRef.new(shape: String, location_name: "launchTemplateName"))
910
912
  LaunchTemplateSpecification.add_member(:version, Shapes::ShapeRef.new(shape: String, location_name: "version"))
913
+ LaunchTemplateSpecification.add_member(:overrides, Shapes::ShapeRef.new(shape: LaunchTemplateSpecificationOverrideList, location_name: "overrides"))
911
914
  LaunchTemplateSpecification.struct_class = Types::LaunchTemplateSpecification
912
915
 
916
+ LaunchTemplateSpecificationOverride.add_member(:launch_template_id, Shapes::ShapeRef.new(shape: String, location_name: "launchTemplateId"))
917
+ LaunchTemplateSpecificationOverride.add_member(:launch_template_name, Shapes::ShapeRef.new(shape: String, location_name: "launchTemplateName"))
918
+ LaunchTemplateSpecificationOverride.add_member(:version, Shapes::ShapeRef.new(shape: String, location_name: "version"))
919
+ LaunchTemplateSpecificationOverride.add_member(:target_instance_types, Shapes::ShapeRef.new(shape: StringList, location_name: "targetInstanceTypes"))
920
+ LaunchTemplateSpecificationOverride.struct_class = Types::LaunchTemplateSpecificationOverride
921
+
922
+ LaunchTemplateSpecificationOverrideList.member = Shapes::ShapeRef.new(shape: LaunchTemplateSpecificationOverride)
923
+
913
924
  LinuxParameters.add_member(:devices, Shapes::ShapeRef.new(shape: DevicesList, location_name: "devices"))
914
925
  LinuxParameters.add_member(:init_process_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "initProcessEnabled"))
915
926
  LinuxParameters.add_member(:shared_memory_size, Shapes::ShapeRef.new(shape: Integer, location_name: "sharedMemorySize"))
@@ -704,9 +704,9 @@ module Aws::Batch
704
704
  # Key-value pair tags to be applied to Amazon EC2 resources that are
705
705
  # launched in the compute environment. For Batch, these take the form
706
706
  # of `"String1": "String2"`, where `String1` is the tag key and
707
- # `String2` is the tag value-for example, `\{ "Name": "Batch Instance
708
- # - C4OnDemand" \}`. This is helpful for recognizing your Batch
709
- # instances in the Amazon EC2 console. Updating these tags requires an
707
+ # `String2` is the tag value-for example, `{ "Name": "Batch Instance -
708
+ # C4OnDemand" }`. This is helpful for recognizing your Batch instances
709
+ # in the Amazon EC2 console. Updating these tags requires an
710
710
  # infrastructure update to the compute environment. For more
711
711
  # information, see [Updating compute environments][1] in the *Batch
712
712
  # User Guide*. These tags aren't seen when using the Batch
@@ -1100,10 +1100,10 @@ module Aws::Batch
1100
1100
  # Key-value pair tags to be applied to Amazon EC2 resources that are
1101
1101
  # launched in the compute environment. For Batch, these take the form
1102
1102
  # of `"String1": "String2"`, where `String1` is the tag key and
1103
- # `String2` is the tag value-for example, `\{ "Name": "Batch Instance
1104
- # - C4OnDemand" \}`. This is helpful for recognizing your Batch
1105
- # instances in the Amazon EC2 console. These tags aren't seen when
1106
- # using the Batch `ListTagsForResource` API operation.
1103
+ # `String2` is the tag value-for example, `{ "Name": "Batch Instance -
1104
+ # C4OnDemand" }`. This is helpful for recognizing your Batch instances
1105
+ # in the Amazon EC2 console. These tags aren't seen when using the
1106
+ # Batch `ListTagsForResource` API operation.
1107
1107
  #
1108
1108
  # When updating a compute environment, changing this setting requires
1109
1109
  # an infrastructure update of the compute environment. For more
@@ -2574,10 +2574,10 @@ module Aws::Batch
2574
2574
  # @!attribute [rw] job_definitions
2575
2575
  # A list of up to 100 job definitions. Each entry in the list can
2576
2576
  # either be an ARN in the format
2577
- # `arn:aws:batch:$\{Region\}:$\{Account\}:job-definition/$\{JobDefinitionName\}:$\{Revision\}`
2577
+ # `arn:aws:batch:${Region}:${Account}:job-definition/${JobDefinitionName}:${Revision}`
2578
2578
  # or a short version using the form
2579
- # `$\{JobDefinitionName\}:$\{Revision\}`. This parameter can't be
2580
- # used with other parameters.
2579
+ # `${JobDefinitionName}:${Revision}`. This parameter can't be used
2580
+ # with other parameters.
2581
2581
  # @return [Array<String>]
2582
2582
  #
2583
2583
  # @!attribute [rw] max_results
@@ -5442,17 +5442,17 @@ module Aws::Batch
5442
5442
  # @return [String]
5443
5443
  #
5444
5444
  # @!attribute [rw] version
5445
- # The version number of the launch template, `$Latest`, or `$Default`.
5445
+ # The version number of the launch template, `$Default`, or `$Latest`.
5446
5446
  #
5447
- # If the value is `$Latest`, the latest version of the launch template
5448
- # is used. If the value is `$Default`, the default version of the
5449
- # launch template is used.
5447
+ # If the value is `$Default`, the default version of the launch
5448
+ # template is used. If the value is `$Latest`, the latest version of
5449
+ # the launch template is used.
5450
5450
  #
5451
5451
  # If the AMI ID that's used in a compute environment is from the
5452
5452
  # launch template, the AMI isn't changed when the compute environment
5453
5453
  # is updated. It's only changed if the `updateToLatestImageVersion`
5454
5454
  # parameter for the compute environment is set to `true`. During an
5455
- # infrastructure update, if either `$Latest` or `$Default` is
5455
+ # infrastructure update, if either `$Default` or `$Latest` is
5456
5456
  # specified, Batch re-evaluates the launch template version, and it
5457
5457
  # might use a different version of the launch template. This is the
5458
5458
  # case even if the launch template isn't specified in the update.
@@ -5461,19 +5461,156 @@ module Aws::Batch
5461
5461
  # more information, see [Updating compute environments][1] in the
5462
5462
  # *Batch User Guide*.
5463
5463
  #
5464
- # Default: `$Default`.
5464
+ # Default: `$Default`
5465
+ #
5466
+ # Latest: `$Latest`
5465
5467
  #
5466
5468
  #
5467
5469
  #
5468
5470
  # [1]: https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html
5469
5471
  # @return [String]
5470
5472
  #
5473
+ # @!attribute [rw] overrides
5474
+ # A launch template to use in place of the default launch template.
5475
+ # You must specify either the launch template ID or launch template
5476
+ # name in the request, but not both.
5477
+ #
5478
+ # You can specify up to ten (10) launch template overrides that are
5479
+ # associated to unique instance types or families for each compute
5480
+ # environment.
5481
+ #
5482
+ # <note markdown="1"> To unset all override templates for a compute environment, you can
5483
+ # pass an empty array to the [UpdateComputeEnvironment.overrides][1]
5484
+ # parameter, or not include the `overrides` parameter when submitting
5485
+ # the `UpdateComputeEnvironment` API operation.
5486
+ #
5487
+ # </note>
5488
+ #
5489
+ #
5490
+ #
5491
+ # [1]: https://docs.aws.amazon.com/batch/latest/APIReference/API_UpdateComputeEnvironment.html
5492
+ # @return [Array<Types::LaunchTemplateSpecificationOverride>]
5493
+ #
5471
5494
  # @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/LaunchTemplateSpecification AWS API Documentation
5472
5495
  #
5473
5496
  class LaunchTemplateSpecification < Struct.new(
5474
5497
  :launch_template_id,
5475
5498
  :launch_template_name,
5476
- :version)
5499
+ :version,
5500
+ :overrides)
5501
+ SENSITIVE = []
5502
+ include Aws::Structure
5503
+ end
5504
+
5505
+ # An object that represents a launch template to use in place of the
5506
+ # default launch template. You must specify either the launch template
5507
+ # ID or launch template name in the request, but not both.
5508
+ #
5509
+ # If security groups are specified using both the `securityGroupIds`
5510
+ # parameter of `CreateComputeEnvironment` and the launch template, the
5511
+ # values in the `securityGroupIds` parameter of
5512
+ # `CreateComputeEnvironment` will be used.
5513
+ #
5514
+ # You can define up to ten (10) overrides for each compute environment.
5515
+ #
5516
+ # <note markdown="1"> This object isn't applicable to jobs that are running on Fargate
5517
+ # resources.
5518
+ #
5519
+ # </note>
5520
+ #
5521
+ # <note markdown="1"> To unset all override templates for a compute environment, you can
5522
+ # pass an empty array to the [UpdateComputeEnvironment.overrides][1]
5523
+ # parameter, or not include the `overrides` parameter when submitting
5524
+ # the `UpdateComputeEnvironment` API operation.
5525
+ #
5526
+ # </note>
5527
+ #
5528
+ #
5529
+ #
5530
+ # [1]: https://docs.aws.amazon.com/batch/latest/APIReference/API_UpdateComputeEnvironment.html
5531
+ #
5532
+ # @!attribute [rw] launch_template_id
5533
+ # The ID of the launch template.
5534
+ #
5535
+ # **Note:** If you specify the `launchTemplateId` you can't specify
5536
+ # the `launchTemplateName` as well.
5537
+ # @return [String]
5538
+ #
5539
+ # @!attribute [rw] launch_template_name
5540
+ # The name of the launch template.
5541
+ #
5542
+ # **Note:** If you specify the `launchTemplateName` you can't specify
5543
+ # the `launchTemplateId` as well.
5544
+ # @return [String]
5545
+ #
5546
+ # @!attribute [rw] version
5547
+ # The version number of the launch template, `$Default`, or `$Latest`.
5548
+ #
5549
+ # If the value is `$Default`, the default version of the launch
5550
+ # template is used. If the value is `$Latest`, the latest version of
5551
+ # the launch template is used.
5552
+ #
5553
+ # If the AMI ID that's used in a compute environment is from the
5554
+ # launch template, the AMI isn't changed when the compute environment
5555
+ # is updated. It's only changed if the `updateToLatestImageVersion`
5556
+ # parameter for the compute environment is set to `true`. During an
5557
+ # infrastructure update, if either `$Default` or `$Latest` is
5558
+ # specified, Batch re-evaluates the launch template version, and it
5559
+ # might use a different version of the launch template. This is the
5560
+ # case even if the launch template isn't specified in the update.
5561
+ # When updating a compute environment, changing the launch template
5562
+ # requires an infrastructure update of the compute environment. For
5563
+ # more information, see [Updating compute environments][1] in the
5564
+ # *Batch User Guide*.
5565
+ #
5566
+ # Default: `$Default`
5567
+ #
5568
+ # Latest: `$Latest`
5569
+ #
5570
+ #
5571
+ #
5572
+ # [1]: https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html
5573
+ # @return [String]
5574
+ #
5575
+ # @!attribute [rw] target_instance_types
5576
+ # The instance type or family that this this override launch template
5577
+ # should be applied to.
5578
+ #
5579
+ # This parameter is required when defining a launch template override.
5580
+ #
5581
+ # Information included in this parameter must meet the following
5582
+ # requirements:
5583
+ #
5584
+ # * Must be a valid Amazon EC2 instance type or family.
5585
+ #
5586
+ # * `optimal` isn't allowed.
5587
+ #
5588
+ # * `targetInstanceTypes` can target only instance types and families
5589
+ # that are included within the [ `ComputeResource.instanceTypes`
5590
+ # ][1] set. `targetInstanceTypes` doesn't need to include all of
5591
+ # the instances from the `instanceType` set, but at least a subset.
5592
+ # For example, if `ComputeResource.instanceTypes` includes `[m5,
5593
+ # g5]`, `targetInstanceTypes` can include `[m5.2xlarge]` and
5594
+ # `[m5.large]` but not `[c5.large]`.
5595
+ #
5596
+ # * `targetInstanceTypes` included within the same launch template
5597
+ # override or across launch template overrides can't overlap for
5598
+ # the same compute environment. For example, you can't define one
5599
+ # launch template override to target an instance family and another
5600
+ # define an instance type within this same family.
5601
+ #
5602
+ #
5603
+ #
5604
+ # [1]: https://docs.aws.amazon.com/batch/latest/APIReference/API_ComputeResource.html#Batch-Type-ComputeResource-instanceTypes
5605
+ # @return [Array<String>]
5606
+ #
5607
+ # @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/LaunchTemplateSpecificationOverride AWS API Documentation
5608
+ #
5609
+ class LaunchTemplateSpecificationOverride < Struct.new(
5610
+ :launch_template_id,
5611
+ :launch_template_name,
5612
+ :version,
5613
+ :target_instance_types)
5477
5614
  SENSITIVE = []
5478
5615
  include Aws::Structure
5479
5616
  end
@@ -5716,7 +5853,7 @@ module Aws::Batch
5716
5853
  # version of the job definition that's used doesn't affect the
5717
5854
  # sort order. When the `JOB_DEFINITION` filter is used and the ARN
5718
5855
  # is used (which is in the form
5719
- # `arn:$\{Partition\}:batch:$\{Region\}:$\{Account\}:job-definition/$\{JobDefinitionName\}:$\{Revision\}`),
5856
+ # `arn:${Partition}:batch:${Region}:${Account}:job-definition/${JobDefinitionName}:${Revision}`),
5720
5857
  # the results include jobs that used the specified revision of the
5721
5858
  # job definition. Asterisk (*) isn't supported when the ARN is
5722
5859
  # used.
@@ -7290,7 +7427,7 @@ module Aws::Batch
7290
7427
  # greater on your container instance. To check the Docker Remote API
7291
7428
  # version on your container instance, log in to your container
7292
7429
  # instance and run the following command: sudo docker version
7293
- # `--format '\{\{.Server.APIVersion\}\}'`
7430
+ # `--format '{{.Server.APIVersion}}'`
7294
7431
  #
7295
7432
  # <note markdown="1"> The Amazon ECS container agent running on a container instance must
7296
7433
  # register the logging drivers available on that instance with the
@@ -7406,7 +7543,7 @@ module Aws::Batch
7406
7543
  # greater on your container instance. To check the Docker Remote API
7407
7544
  # version on your container instance, log in to your container
7408
7545
  # instance and run the following command: sudo docker version
7409
- # `--format '\{\{.Server.APIVersion\}\}'`
7546
+ # `--format '{{.Server.APIVersion}}'`
7410
7547
  #
7411
7548
  # <note markdown="1"> This parameter is not supported for Windows containers.
7412
7549
  #
@@ -7670,7 +7807,7 @@ module Aws::Batch
7670
7807
  # greater on your container instance. To check the Docker Remote API
7671
7808
  # version on your container instance, log in to your container
7672
7809
  # instance and run the following command: sudo docker version
7673
- # `--format '\{\{.Server.APIVersion\}\}'`
7810
+ # `--format '{{.Server.APIVersion}}'`
7674
7811
  #
7675
7812
  # <note markdown="1"> The Amazon ECS container agent running on a container instance must
7676
7813
  # register the logging drivers available on that instance with the
@@ -7787,7 +7924,7 @@ module Aws::Batch
7787
7924
  # greater on your container instance. To check the Docker Remote API
7788
7925
  # version on your container instance, log in to your container
7789
7926
  # instance and run the following command: sudo docker version
7790
- # `--format '\{\{.Server.APIVersion\}\}'`
7927
+ # `--format '{{.Server.APIVersion}}'`
7791
7928
  #
7792
7929
  # <note markdown="1"> This parameter is not supported for Windows containers.
7793
7930
  #
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.103.0'
57
+ GEM_VERSION = '1.105.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -115,7 +115,15 @@ module Aws
115
115
  launch_template: {
116
116
  launch_template_id: ::String?,
117
117
  launch_template_name: ::String?,
118
- version: ::String?
118
+ version: ::String?,
119
+ overrides: Array[
120
+ {
121
+ launch_template_id: ::String?,
122
+ launch_template_name: ::String?,
123
+ version: ::String?,
124
+ target_instance_types: Array[::String]?
125
+ },
126
+ ]?
119
127
  }?,
120
128
  ec2_configuration: Array[
121
129
  {
@@ -1314,7 +1322,15 @@ module Aws
1314
1322
  launch_template: {
1315
1323
  launch_template_id: ::String?,
1316
1324
  launch_template_name: ::String?,
1317
- version: ::String?
1325
+ version: ::String?,
1326
+ overrides: Array[
1327
+ {
1328
+ launch_template_id: ::String?,
1329
+ launch_template_name: ::String?,
1330
+ version: ::String?,
1331
+ target_instance_types: Array[::String]?
1332
+ },
1333
+ ]?
1318
1334
  }?,
1319
1335
  ec2_configuration: Array[
1320
1336
  {
data/sig/types.rbs CHANGED
@@ -785,6 +785,15 @@ module Aws::Batch
785
785
  attr_accessor launch_template_id: ::String
786
786
  attr_accessor launch_template_name: ::String
787
787
  attr_accessor version: ::String
788
+ attr_accessor overrides: ::Array[Types::LaunchTemplateSpecificationOverride]
789
+ SENSITIVE: []
790
+ end
791
+
792
+ class LaunchTemplateSpecificationOverride
793
+ attr_accessor launch_template_id: ::String
794
+ attr_accessor launch_template_name: ::String
795
+ attr_accessor version: ::String
796
+ attr_accessor target_instance_types: ::Array[::String]
788
797
  SENSITIVE: []
789
798
  end
790
799
 
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.103.0
4
+ version: 1.105.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-10-31 00:00:00.000000000 Z
11
+ date: 2024-11-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core