aws-sdk-batch 1.123.0 → 1.125.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 +10 -69
- data/lib/aws-sdk-batch/types.rb +73 -21
- data/lib/aws-sdk-batch.rb +1 -1
- 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: f3a86b542489f35f255b75c20e94c52954681f6a846e308818639a9917f2dcf8
|
4
|
+
data.tar.gz: 6d7d4dce21fd84db93c9bc408b6178423b0187e2b37c014b8fac63cec8a4fa97
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3d77f9fc9e24d5bbcadbf65b1d5d588fccbbf0601bb8d1844f2a200f56b5a01ac773d527c0005b246119ba83cea6cc6211830b03f42391ed2ec387cef459dd1e
|
7
|
+
data.tar.gz: f73dfe5ba44f036b492dc70946c0d97d8167e4e4c2e6665bc031f98234b57b4679be126b2553fb9cdbae707aee1637f33a8d9e85fcec621463cadb42d64546e0
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.125.0 (2025-09-22)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Starting in JAN 2026, AWS Batch will change the default AMI for new Amazon ECS compute environments from Amazon Linux 2 to Amazon Linux 2023. We recommend migrating AWS Batch Amazon ECS compute environments to Amazon Linux 2023 to maintain optimal performance and security.
|
8
|
+
|
9
|
+
1.124.0 (2025-08-27)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Added ECS_AL2023_NVIDIA as an option for Ec2Configuration.imageType.
|
13
|
+
|
4
14
|
1.123.0 (2025-08-26)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.125.0
|
data/lib/aws-sdk-batch/client.rb
CHANGED
@@ -552,10 +552,6 @@ module Aws::Batch
|
|
552
552
|
# price so that Spot Instances only launch when the Spot Instance price
|
553
553
|
# is less than a specified percentage of the On-Demand price.
|
554
554
|
#
|
555
|
-
# <note markdown="1"> Multi-node parallel jobs aren't supported on Spot Instances.
|
556
|
-
#
|
557
|
-
# </note>
|
558
|
-
#
|
559
555
|
# In an unmanaged compute environment, you can manage your own EC2
|
560
556
|
# compute resources and have flexibility with how you configure your
|
561
557
|
# compute resources. For example, you can use custom AMIs. However, you
|
@@ -569,69 +565,10 @@ module Aws::Batch
|
|
569
565
|
# [Launching an Amazon ECS container instance][3] in the *Amazon Elastic
|
570
566
|
# Container Service Developer Guide*.
|
571
567
|
#
|
572
|
-
# <note markdown="1"> To create a compute environment that uses EKS resources, the caller
|
573
|
-
# must have permissions to call `eks:DescribeCluster`.
|
574
|
-
#
|
575
|
-
# </note>
|
576
|
-
#
|
577
568
|
# <note markdown="1"> Batch doesn't automatically upgrade the AMIs in a compute environment
|
578
|
-
# after it's created. For
|
579
|
-
#
|
580
|
-
#
|
581
|
-
# the guest operating system. This includes any updates and security
|
582
|
-
# patches. You're also responsible for any additional application
|
583
|
-
# software or utilities that you install on the compute resources. There
|
584
|
-
# are two ways to use a new AMI for your Batch jobs. The original method
|
585
|
-
# is to complete these steps:
|
586
|
-
#
|
587
|
-
# 1. Create a new compute environment with the new AMI.
|
588
|
-
#
|
589
|
-
# 2. Add the compute environment to an existing job queue.
|
590
|
-
#
|
591
|
-
# 3. Remove the earlier compute environment from your job queue.
|
592
|
-
#
|
593
|
-
# 4. Delete the earlier compute environment.
|
594
|
-
#
|
595
|
-
# In April 2022, Batch added enhanced support for updating compute
|
596
|
-
# environments. For more information, see [Updating compute
|
597
|
-
# environments][4]. To use the enhanced updating of compute environments
|
598
|
-
# to update AMIs, follow these rules:
|
599
|
-
#
|
600
|
-
# * Either don't set the service role (`serviceRole`) parameter or set
|
601
|
-
# it to the **AWSBatchServiceRole** service-linked role.
|
602
|
-
#
|
603
|
-
# * Set the allocation strategy (`allocationStrategy`) parameter to
|
604
|
-
# `BEST_FIT_PROGRESSIVE`, `SPOT_CAPACITY_OPTIMIZED`, or
|
605
|
-
# `SPOT_PRICE_CAPACITY_OPTIMIZED`.
|
606
|
-
#
|
607
|
-
# * Set the update to latest image version
|
608
|
-
# (`updateToLatestImageVersion`) parameter to `true`. The
|
609
|
-
# `updateToLatestImageVersion` parameter is used when you update a
|
610
|
-
# compute environment. This parameter is ignored when you create a
|
611
|
-
# compute environment.
|
612
|
-
#
|
613
|
-
# * Don't specify an AMI ID in `imageId`, `imageIdOverride` (in [
|
614
|
-
# `ec2Configuration` ][5]), or in the launch template
|
615
|
-
# (`launchTemplate`). In that case, Batch selects the latest Amazon
|
616
|
-
# ECS optimized AMI that's supported by Batch at the time the
|
617
|
-
# infrastructure update is initiated. Alternatively, you can specify
|
618
|
-
# the AMI ID in the `imageId` or `imageIdOverride` parameters, or the
|
619
|
-
# launch template identified by the `LaunchTemplate` properties.
|
620
|
-
# Changing any of these properties starts an infrastructure update. If
|
621
|
-
# the AMI ID is specified in the launch template, it can't be
|
622
|
-
# replaced by specifying an AMI ID in either the `imageId` or
|
623
|
-
# `imageIdOverride` parameters. It can only be replaced by specifying
|
624
|
-
# a different launch template, or if the launch template version is
|
625
|
-
# set to `$Default` or `$Latest`, by setting either a new default
|
626
|
-
# version for the launch template (if `$Default`) or by adding a new
|
627
|
-
# version to the launch template (if `$Latest`).
|
628
|
-
#
|
629
|
-
# If these rules are followed, any update that starts an infrastructure
|
630
|
-
# update causes the AMI ID to be re-selected. If the `version` setting
|
631
|
-
# in the launch template (`launchTemplate`) is set to `$Latest` or
|
632
|
-
# `$Default`, the latest or default version of the launch template is
|
633
|
-
# evaluated up at the time of the infrastructure update, even if the
|
634
|
-
# `launchTemplate` wasn't updated.
|
569
|
+
# after it's created. For more information on how to update a compute
|
570
|
+
# environment's AMI, see [Updating compute environments][4] in the
|
571
|
+
# *Batch User Guide*.
|
635
572
|
#
|
636
573
|
# </note>
|
637
574
|
#
|
@@ -641,7 +578,6 @@ module Aws::Batch
|
|
641
578
|
# [2]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/container_instance_AMIs.html
|
642
579
|
# [3]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_container_instance.html
|
643
580
|
# [4]: https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html
|
644
|
-
# [5]: https://docs.aws.amazon.com/batch/latest/APIReference/API_Ec2Configuration.html
|
645
581
|
#
|
646
582
|
# @option params [required, String] :compute_environment_name
|
647
583
|
# The name for your compute environment. It can be up to 128 characters
|
@@ -764,6 +700,11 @@ module Aws::Batch
|
|
764
700
|
# The details for the Amazon EKS cluster that supports the compute
|
765
701
|
# environment.
|
766
702
|
#
|
703
|
+
# <note markdown="1"> To create a compute environment that uses EKS resources, the caller
|
704
|
+
# must have permissions to call `eks:DescribeCluster`.
|
705
|
+
#
|
706
|
+
# </note>
|
707
|
+
#
|
767
708
|
# @option params [String] :context
|
768
709
|
# Reserved.
|
769
710
|
#
|
@@ -5433,7 +5374,7 @@ module Aws::Batch
|
|
5433
5374
|
#
|
5434
5375
|
# @option params [String] :share_identifier
|
5435
5376
|
# The share identifier for the service job. Don't specify this
|
5436
|
-
# parameter if the job queue doesn't have a fair-
|
5377
|
+
# parameter if the job queue doesn't have a fair-share scheduling
|
5437
5378
|
# policy. If the job queue has a fair-share scheduling policy, then this
|
5438
5379
|
# parameter must be specified.
|
5439
5380
|
#
|
@@ -6189,7 +6130,7 @@ module Aws::Batch
|
|
6189
6130
|
tracer: tracer
|
6190
6131
|
)
|
6191
6132
|
context[:gem_name] = 'aws-sdk-batch'
|
6192
|
-
context[:gem_version] = '1.
|
6133
|
+
context[:gem_version] = '1.125.0'
|
6193
6134
|
Seahorse::Client::Request.new(handlers, context)
|
6194
6135
|
end
|
6195
6136
|
|
data/lib/aws-sdk-batch/types.rb
CHANGED
@@ -504,6 +504,10 @@ module Aws::Batch
|
|
504
504
|
# role with the `spotIamFleetRole` parameter. For more information,
|
505
505
|
# see [Amazon EC2 spot fleet role][2] in the *Batch User Guide*.
|
506
506
|
#
|
507
|
+
# <note markdown="1"> Multi-node parallel jobs aren't supported on Spot Instances.
|
508
|
+
#
|
509
|
+
# </note>
|
510
|
+
#
|
507
511
|
#
|
508
512
|
#
|
509
513
|
# [1]: https://docs.aws.amazon.com/batch/latest/userguide/compute_environments.html
|
@@ -2415,6 +2419,11 @@ module Aws::Batch
|
|
2415
2419
|
# @!attribute [rw] eks_configuration
|
2416
2420
|
# The details for the Amazon EKS cluster that supports the compute
|
2417
2421
|
# environment.
|
2422
|
+
#
|
2423
|
+
# <note markdown="1"> To create a compute environment that uses EKS resources, the caller
|
2424
|
+
# must have permissions to call `eks:DescribeCluster`.
|
2425
|
+
#
|
2426
|
+
# </note>
|
2418
2427
|
# @return [Types::EksConfiguration]
|
2419
2428
|
#
|
2420
2429
|
# @!attribute [rw] context
|
@@ -3562,52 +3571,82 @@ module Aws::Batch
|
|
3562
3571
|
# latest Amazon ECS optimized AMI for that image type that's
|
3563
3572
|
# supported by Batch is used.
|
3564
3573
|
#
|
3574
|
+
# Amazon Web Services will end support for Amazon ECS optimized
|
3575
|
+
# AL2-optimized and AL2-accelerated AMIs. Starting in January 2026,
|
3576
|
+
# Batch will change the default AMI for new Amazon ECS compute
|
3577
|
+
# environments from Amazon Linux 2 to Amazon Linux 2023. We
|
3578
|
+
# recommend migrating Batch Amazon ECS compute environments to
|
3579
|
+
# Amazon Linux 2023 to maintain optimal performance and security.
|
3580
|
+
# For more information on upgrading from AL2 to AL2023, see [How to
|
3581
|
+
# migrate from ECS AL2 to ECS AL2023][2] in the *Batch User Guide*.
|
3582
|
+
#
|
3565
3583
|
# ECS\_AL2
|
3566
3584
|
#
|
3567
3585
|
# : [Amazon Linux 2][1]: Default for all non-GPU instance families.
|
3568
3586
|
#
|
3569
3587
|
# ECS\_AL2\_NVIDIA
|
3570
3588
|
#
|
3571
|
-
# : [Amazon Linux 2 (GPU)][
|
3589
|
+
# : [Amazon Linux 2 (GPU)][3]: Default for all GPU instance families
|
3572
3590
|
# (for example `P4` and `G4`) and can be used for all non Amazon
|
3573
3591
|
# Web Services Graviton-based instance types.
|
3574
3592
|
#
|
3575
3593
|
# ECS\_AL2023
|
3576
3594
|
#
|
3577
|
-
# : [Amazon Linux 2023][
|
3595
|
+
# : [Amazon Linux 2023][4]: Batch supports Amazon Linux 2023.
|
3578
3596
|
#
|
3579
3597
|
# <note markdown="1"> Amazon Linux 2023 does not support `A1` instances.
|
3580
3598
|
#
|
3581
3599
|
# </note>
|
3582
3600
|
#
|
3583
|
-
# ECS\
|
3601
|
+
# ECS\_AL2023\_NVIDIA
|
3602
|
+
#
|
3603
|
+
# : [Amazon Linux 2023 (GPU)][3]: For all GPU instance families and
|
3604
|
+
# can be used for all non Amazon Web Services Graviton-based
|
3605
|
+
# instance types.
|
3606
|
+
#
|
3607
|
+
# <note markdown="1"> ECS\_AL2023\_NVIDIA doesn't support `p3` and `g3` instance
|
3608
|
+
# types.
|
3584
3609
|
#
|
3585
|
-
#
|
3586
|
-
# standard support. For more information, see [Amazon Linux
|
3587
|
-
# AMI][5].
|
3610
|
+
# </note>
|
3588
3611
|
#
|
3589
3612
|
# EKS
|
3590
3613
|
#
|
3591
3614
|
# : If the `imageIdOverride` parameter isn't specified, then a recent
|
3592
|
-
# [Amazon EKS-optimized Amazon Linux AMI][
|
3615
|
+
# [Amazon EKS-optimized Amazon Linux AMI][5] (`EKS_AL2`) is used. If
|
3593
3616
|
# a new image type is specified in an update, but neither an
|
3594
3617
|
# `imageId` nor a `imageIdOverride` parameter is specified, then the
|
3595
3618
|
# latest Amazon EKS optimized AMI for that image type that Batch
|
3596
3619
|
# supports is used.
|
3597
3620
|
#
|
3621
|
+
# Starting end of October 2025 Amazon EKS optimized Amazon Linux
|
3622
|
+
# 2023 AMIs will be the default on Batch for EKS versions prior to
|
3623
|
+
# 1.33. Starting from Kubernetes version 1.33, EKS optimized Amazon
|
3624
|
+
# Linux 2023 AMIs will be the default when it becomes supported on
|
3625
|
+
# Batch.
|
3626
|
+
#
|
3627
|
+
# Amazon Web Services will end support for Amazon EKS AL2-optimized
|
3628
|
+
# and AL2-accelerated AMIs, starting 11/26/25. You can continue
|
3629
|
+
# using Batch-provided Amazon EKS optimized Amazon Linux 2 AMIs on
|
3630
|
+
# your Amazon EKS compute environments beyond the 11/26/25
|
3631
|
+
# end-of-support date, these compute environments will no longer
|
3632
|
+
# receive any new software updates, security patches, or bug fixes
|
3633
|
+
# from Amazon Web Services. For more information on upgrading from
|
3634
|
+
# AL2 to AL2023, see [How to upgrade from EKS AL2 to EKS AL2023][6]
|
3635
|
+
# in the *Batch User Guide*.
|
3636
|
+
#
|
3598
3637
|
# EKS\_AL2
|
3599
3638
|
#
|
3600
|
-
# : [Amazon Linux 2][
|
3639
|
+
# : [Amazon Linux 2][5]: Default for all non-GPU instance families.
|
3601
3640
|
#
|
3602
3641
|
# EKS\_AL2\_NVIDIA
|
3603
3642
|
#
|
3604
|
-
# : [Amazon Linux 2 (accelerated)][
|
3643
|
+
# : [Amazon Linux 2 (accelerated)][5]: Default for all GPU instance
|
3605
3644
|
# families (for example, `P4` and `G4`) and can be used for all
|
3606
3645
|
# non Amazon Web Services Graviton-based instance types.
|
3607
3646
|
#
|
3608
3647
|
# EKS\_AL2023
|
3609
3648
|
#
|
3610
|
-
# : [Amazon Linux 2023][
|
3649
|
+
# : [Amazon Linux 2023][5]: Batch supports Amazon Linux 2023.
|
3611
3650
|
#
|
3612
3651
|
# <note markdown="1"> Amazon Linux 2023 does not support `A1` instances.
|
3613
3652
|
#
|
@@ -3615,18 +3654,18 @@ module Aws::Batch
|
|
3615
3654
|
#
|
3616
3655
|
# EKS\_AL2023\_NVIDIA
|
3617
3656
|
#
|
3618
|
-
# : [Amazon Linux 2023 (accelerated)][
|
3657
|
+
# : [Amazon Linux 2023 (accelerated)][5]: GPU instance families and
|
3619
3658
|
# can be used for all non Amazon Web Services Graviton-based
|
3620
3659
|
# instance types.
|
3621
3660
|
#
|
3622
3661
|
#
|
3623
3662
|
#
|
3624
3663
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#al2ami
|
3625
|
-
# [2]: https://docs.aws.amazon.com/
|
3626
|
-
# [3]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html
|
3627
|
-
# [4]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html
|
3628
|
-
# [5]:
|
3629
|
-
# [6]: https://docs.aws.amazon.com/
|
3664
|
+
# [2]: https://docs.aws.amazon.com/batch/latest/userguide/ecs-migration-2023.html
|
3665
|
+
# [3]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#gpuami
|
3666
|
+
# [4]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html
|
3667
|
+
# [5]: https://docs.aws.amazon.com/eks/latest/userguide/eks-optimized-ami.html
|
3668
|
+
# [6]: https://docs.aws.amazon.com/batch/latest/userguide/eks-migration-2023.html
|
3630
3669
|
# @return [String]
|
3631
3670
|
#
|
3632
3671
|
# @!attribute [rw] image_id_override
|
@@ -3756,6 +3795,12 @@ module Aws::Batch
|
|
3756
3795
|
#
|
3757
3796
|
# @!attribute [rw] ipc_mode
|
3758
3797
|
# The IPC resource namespace to use for the containers in the task.
|
3798
|
+
# The valid values are `host`, `task`, or `none`. For more information
|
3799
|
+
# see `ipcMode` in [EcsTaskProperties][1].
|
3800
|
+
#
|
3801
|
+
#
|
3802
|
+
#
|
3803
|
+
# [1]: https://docs.aws.amazon.com/batch/latest/APIReference/API_EcsTaskProperties.html
|
3759
3804
|
# @return [String]
|
3760
3805
|
#
|
3761
3806
|
# @!attribute [rw] task_role_arn
|
@@ -3775,7 +3820,13 @@ module Aws::Batch
|
|
3775
3820
|
# @return [String]
|
3776
3821
|
#
|
3777
3822
|
# @!attribute [rw] pid_mode
|
3778
|
-
# The process namespace to use for the containers in the task.
|
3823
|
+
# The process namespace to use for the containers in the task. The
|
3824
|
+
# valid values are `host`, or `task`. For more information see
|
3825
|
+
# `pidMode` in [EcsTaskProperties][1].
|
3826
|
+
#
|
3827
|
+
#
|
3828
|
+
#
|
3829
|
+
# [1]: https://docs.aws.amazon.com/batch/latest/APIReference/API_EcsTaskProperties.html
|
3779
3830
|
# @return [String]
|
3780
3831
|
#
|
3781
3832
|
# @!attribute [rw] network_configuration
|
@@ -7229,8 +7280,9 @@ module Aws::Batch
|
|
7229
7280
|
# listed for this parameter are log drivers that the Amazon ECS
|
7230
7281
|
# container agent can communicate with by default.
|
7231
7282
|
#
|
7232
|
-
# The supported log drivers are `
|
7233
|
-
# `json-file`, `journald`, `logentries`, `syslog`, and
|
7283
|
+
# The supported log drivers are `awsfirelens`, `awslogs`, `fluentd`,
|
7284
|
+
# `gelf`, `json-file`, `journald`, `logentries`, `syslog`, and
|
7285
|
+
# `splunk`.
|
7234
7286
|
#
|
7235
7287
|
# <note markdown="1"> Jobs that are running on Fargate resources are restricted to the
|
7236
7288
|
# `awslogs` and `splunk` log drivers.
|
@@ -8534,7 +8586,7 @@ module Aws::Batch
|
|
8534
8586
|
# for share identifiers that start with that prefix. The list of share
|
8535
8587
|
# identifiers in a fair-share policy can't overlap. For example, you
|
8536
8588
|
# can't have one that specifies a `shareIdentifier` of `UserA*` and
|
8537
|
-
# another that specifies a `shareIdentifier` of `
|
8589
|
+
# another that specifies a `shareIdentifier` of `UserA1`.
|
8538
8590
|
#
|
8539
8591
|
# There can be no more than 500 share identifiers active in a job
|
8540
8592
|
# queue.
|
@@ -8800,7 +8852,7 @@ module Aws::Batch
|
|
8800
8852
|
#
|
8801
8853
|
# @!attribute [rw] share_identifier
|
8802
8854
|
# The share identifier for the service job. Don't specify this
|
8803
|
-
# parameter if the job queue doesn't have a fair-
|
8855
|
+
# parameter if the job queue doesn't have a fair-share scheduling
|
8804
8856
|
# policy. If the job queue has a fair-share scheduling policy, then
|
8805
8857
|
# this parameter must be specified.
|
8806
8858
|
# @return [String]
|
data/lib/aws-sdk-batch.rb
CHANGED