aws-sdk-batch 1.124.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a7ddf7803705c827c438b183bdf3eb8f4b1512e4af1c82ea540c62d5acbbb96e
4
- data.tar.gz: b5d7431ebad88a47a4e7d2e64f9d393e0be9e5c3a449b25d2facc642c5e68772
3
+ metadata.gz: f3a86b542489f35f255b75c20e94c52954681f6a846e308818639a9917f2dcf8
4
+ data.tar.gz: 6d7d4dce21fd84db93c9bc408b6178423b0187e2b37c014b8fac63cec8a4fa97
5
5
  SHA512:
6
- metadata.gz: d6832ff3eeae3c121de3d2b9cc0009b7831c73d6ed121f40b8af28ba6018b0f83e9542c61f43333c3ceb0aa115e68e502efa59f95edb07040c42d54b4f72b802
7
- data.tar.gz: 37a7c1762bc7e9bcda7fc29b1e903a45fa4bb453bd8b7f41e13b5781682ec35eb0585e4bac9f0c96f30707c32f4a9d877ebd433c74838f27e9da951955529d07
6
+ metadata.gz: 3d77f9fc9e24d5bbcadbf65b1d5d588fccbbf0601bb8d1844f2a200f56b5a01ac773d527c0005b246119ba83cea6cc6211830b03f42391ed2ec387cef459dd1e
7
+ data.tar.gz: f73dfe5ba44f036b492dc70946c0d97d8167e4e4c2e6665bc031f98234b57b4679be126b2553fb9cdbae707aee1637f33a8d9e85fcec621463cadb42d64546e0
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
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
+
4
9
  1.124.0 (2025-08-27)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.124.0
1
+ 1.125.0
@@ -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 example, it also doesn't update the AMIs in
579
- # your compute environment when a newer version of the Amazon ECS
580
- # optimized AMI is available. You're responsible for the management of
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- share scheduling
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.124.0'
6133
+ context[:gem_version] = '1.125.0'
6193
6134
  Seahorse::Client::Request.new(handlers, context)
6194
6135
  end
6195
6136
 
@@ -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,19 +3571,28 @@ 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)][2]: Default for all GPU instance families
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][3]: Batch supports 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
  #
@@ -3582,7 +3600,7 @@ module Aws::Batch
3582
3600
  #
3583
3601
  # ECS\_AL2023\_NVIDIA
3584
3602
  #
3585
- # : [Amazon Linux 2023 (GPU)][2]: For all GPU instance families and
3603
+ # : [Amazon Linux 2023 (GPU)][3]: For all GPU instance families and
3586
3604
  # can be used for all non Amazon Web Services Graviton-based
3587
3605
  # instance types.
3588
3606
  #
@@ -3591,16 +3609,10 @@ module Aws::Batch
3591
3609
  #
3592
3610
  # </note>
3593
3611
  #
3594
- # ECS\_AL1
3595
- #
3596
- # : [Amazon Linux][4]. Amazon Linux has reached the end-of-life of
3597
- # standard support. For more information, see [Amazon Linux
3598
- # AMI][5].
3599
- #
3600
3612
  # EKS
3601
3613
  #
3602
3614
  # : If the `imageIdOverride` parameter isn't specified, then a recent
3603
- # [Amazon EKS-optimized Amazon Linux AMI][6] (`EKS_AL2`) is used. If
3615
+ # [Amazon EKS-optimized Amazon Linux AMI][5] (`EKS_AL2`) is used. If
3604
3616
  # a new image type is specified in an update, but neither an
3605
3617
  # `imageId` nor a `imageIdOverride` parameter is specified, then the
3606
3618
  # latest Amazon EKS optimized AMI for that image type that Batch
@@ -3619,22 +3631,22 @@ module Aws::Batch
3619
3631
  # end-of-support date, these compute environments will no longer
3620
3632
  # receive any new software updates, security patches, or bug fixes
3621
3633
  # from Amazon Web Services. For more information on upgrading from
3622
- # AL2 to AL2023, see [How to upgrade from EKS AL2 to EKS AL2023]()
3634
+ # AL2 to AL2023, see [How to upgrade from EKS AL2 to EKS AL2023][6]
3623
3635
  # in the *Batch User Guide*.
3624
3636
  #
3625
3637
  # EKS\_AL2
3626
3638
  #
3627
- # : [Amazon Linux 2][6]: Default for all non-GPU instance families.
3639
+ # : [Amazon Linux 2][5]: Default for all non-GPU instance families.
3628
3640
  #
3629
3641
  # EKS\_AL2\_NVIDIA
3630
3642
  #
3631
- # : [Amazon Linux 2 (accelerated)][6]: Default for all GPU instance
3643
+ # : [Amazon Linux 2 (accelerated)][5]: Default for all GPU instance
3632
3644
  # families (for example, `P4` and `G4`) and can be used for all
3633
3645
  # non Amazon Web Services Graviton-based instance types.
3634
3646
  #
3635
3647
  # EKS\_AL2023
3636
3648
  #
3637
- # : [Amazon Linux 2023][6]: Batch supports Amazon Linux 2023.
3649
+ # : [Amazon Linux 2023][5]: Batch supports Amazon Linux 2023.
3638
3650
  #
3639
3651
  # <note markdown="1"> Amazon Linux 2023 does not support `A1` instances.
3640
3652
  #
@@ -3642,18 +3654,18 @@ module Aws::Batch
3642
3654
  #
3643
3655
  # EKS\_AL2023\_NVIDIA
3644
3656
  #
3645
- # : [Amazon Linux 2023 (accelerated)][6]: GPU instance families and
3657
+ # : [Amazon Linux 2023 (accelerated)][5]: GPU instance families and
3646
3658
  # can be used for all non Amazon Web Services Graviton-based
3647
3659
  # instance types.
3648
3660
  #
3649
3661
  #
3650
3662
  #
3651
3663
  # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#al2ami
3652
- # [2]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#gpuami
3653
- # [3]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html
3654
- # [4]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#alami
3655
- # [5]: http://aws.amazon.com/amazon-linux-ami/
3656
- # [6]: https://docs.aws.amazon.com/eks/latest/userguide/eks-optimized-ami.html
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
3657
3669
  # @return [String]
3658
3670
  #
3659
3671
  # @!attribute [rw] image_id_override
@@ -3783,6 +3795,12 @@ module Aws::Batch
3783
3795
  #
3784
3796
  # @!attribute [rw] ipc_mode
3785
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
3786
3804
  # @return [String]
3787
3805
  #
3788
3806
  # @!attribute [rw] task_role_arn
@@ -3802,7 +3820,13 @@ module Aws::Batch
3802
3820
  # @return [String]
3803
3821
  #
3804
3822
  # @!attribute [rw] pid_mode
3805
- # 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
3806
3830
  # @return [String]
3807
3831
  #
3808
3832
  # @!attribute [rw] network_configuration
@@ -7256,8 +7280,9 @@ module Aws::Batch
7256
7280
  # listed for this parameter are log drivers that the Amazon ECS
7257
7281
  # container agent can communicate with by default.
7258
7282
  #
7259
- # The supported log drivers are `awslogs`, `fluentd`, `gelf`,
7260
- # `json-file`, `journald`, `logentries`, `syslog`, and `splunk`.
7283
+ # The supported log drivers are `awsfirelens`, `awslogs`, `fluentd`,
7284
+ # `gelf`, `json-file`, `journald`, `logentries`, `syslog`, and
7285
+ # `splunk`.
7261
7286
  #
7262
7287
  # <note markdown="1"> Jobs that are running on Fargate resources are restricted to the
7263
7288
  # `awslogs` and `splunk` log drivers.
@@ -8827,7 +8852,7 @@ module Aws::Batch
8827
8852
  #
8828
8853
  # @!attribute [rw] share_identifier
8829
8854
  # The share identifier for the service job. Don't specify this
8830
- # parameter if the job queue doesn't have a fair- share scheduling
8855
+ # parameter if the job queue doesn't have a fair-share scheduling
8831
8856
  # policy. If the job queue has a fair-share scheduling policy, then
8832
8857
  # this parameter must be specified.
8833
8858
  # @return [String]
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.124.0'
57
+ GEM_VERSION = '1.125.0'
58
58
 
59
59
  end
60
60
 
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.124.0
4
+ version: 1.125.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services