aws-sdk-batch 1.138.0 → 1.139.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-batch/client.rb +4 -1
- data/lib/aws-sdk-batch/client_api.rb +1 -0
- data/lib/aws-sdk-batch/types.rb +52 -3
- data/lib/aws-sdk-batch.rb +1 -1
- data/sig/client.rbs +2 -0
- data/sig/types.rbs +1 -0
- 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: 2a205246a476a01ba847050f07643572a3e5dc39f3b522084f8ef06f43f2caa9
|
|
4
|
+
data.tar.gz: be4d16f44158bed08d1c8301f73dbdd77ccd34314e893c3b0d26a780f4d98e82
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6cc21e4d00f8d7808c247e75dd96967097d15b0e24ebe002ea0237489d0054e37cc64cea23ff6eac36124d4445485bf585deb015c5753a2a9d2a20e5c4ef067b
|
|
7
|
+
data.tar.gz: 9025c999bb3e98a98904e282480ad89e3e23164a3e7253b34ac7640cfbbbb584100df24875be90a47563990c84cb96052ac0274dec0b88d4ce93bc704d3b666f
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.139.0 (2026-03-23)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - AWS Batch AMI Visibility feature support. Adds read-only batchImageStatus to Ec2Configuration to provide visibility on the status of Batch-vended AMIs used by Compute Environments.
|
|
8
|
+
|
|
4
9
|
1.138.0 (2026-03-19)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.139.0
|
data/lib/aws-sdk-batch/client.rb
CHANGED
|
@@ -844,6 +844,7 @@ module Aws::Batch
|
|
|
844
844
|
# {
|
|
845
845
|
# image_type: "ImageType", # required
|
|
846
846
|
# image_id_override: "ImageIdOverride",
|
|
847
|
+
# batch_image_status: "String",
|
|
847
848
|
# image_kubernetes_version: "KubernetesVersion",
|
|
848
849
|
# },
|
|
849
850
|
# ],
|
|
@@ -1751,6 +1752,7 @@ module Aws::Batch
|
|
|
1751
1752
|
# resp.compute_environments[0].compute_resources.ec2_configuration #=> Array
|
|
1752
1753
|
# resp.compute_environments[0].compute_resources.ec2_configuration[0].image_type #=> String
|
|
1753
1754
|
# resp.compute_environments[0].compute_resources.ec2_configuration[0].image_id_override #=> String
|
|
1755
|
+
# resp.compute_environments[0].compute_resources.ec2_configuration[0].batch_image_status #=> String
|
|
1754
1756
|
# resp.compute_environments[0].compute_resources.ec2_configuration[0].image_kubernetes_version #=> String
|
|
1755
1757
|
# resp.compute_environments[0].compute_resources.scaling_policy.min_scale_down_delay_minutes #=> Integer
|
|
1756
1758
|
# resp.compute_environments[0].service_role #=> String
|
|
@@ -6140,6 +6142,7 @@ module Aws::Batch
|
|
|
6140
6142
|
# {
|
|
6141
6143
|
# image_type: "ImageType", # required
|
|
6142
6144
|
# image_id_override: "ImageIdOverride",
|
|
6145
|
+
# batch_image_status: "String",
|
|
6143
6146
|
# image_kubernetes_version: "KubernetesVersion",
|
|
6144
6147
|
# },
|
|
6145
6148
|
# ],
|
|
@@ -6590,7 +6593,7 @@ module Aws::Batch
|
|
|
6590
6593
|
tracer: tracer
|
|
6591
6594
|
)
|
|
6592
6595
|
context[:gem_name] = 'aws-sdk-batch'
|
|
6593
|
-
context[:gem_version] = '1.
|
|
6596
|
+
context[:gem_version] = '1.139.0'
|
|
6594
6597
|
Seahorse::Client::Request.new(handlers, context)
|
|
6595
6598
|
end
|
|
6596
6599
|
|
|
@@ -828,6 +828,7 @@ module Aws::Batch
|
|
|
828
828
|
|
|
829
829
|
Ec2Configuration.add_member(:image_type, Shapes::ShapeRef.new(shape: ImageType, required: true, location_name: "imageType"))
|
|
830
830
|
Ec2Configuration.add_member(:image_id_override, Shapes::ShapeRef.new(shape: ImageIdOverride, location_name: "imageIdOverride"))
|
|
831
|
+
Ec2Configuration.add_member(:batch_image_status, Shapes::ShapeRef.new(shape: String, location_name: "batchImageStatus"))
|
|
831
832
|
Ec2Configuration.add_member(:image_kubernetes_version, Shapes::ShapeRef.new(shape: KubernetesVersion, location_name: "imageKubernetesVersion"))
|
|
832
833
|
Ec2Configuration.struct_class = Types::Ec2Configuration
|
|
833
834
|
|
data/lib/aws-sdk-batch/types.rb
CHANGED
|
@@ -916,7 +916,9 @@ module Aws::Batch
|
|
|
916
916
|
# @!attribute [rw] ec2_configuration
|
|
917
917
|
# Provides information that's used to select Amazon Machine Images
|
|
918
918
|
# (AMIs) for Amazon EC2 instances in the compute environment. If
|
|
919
|
-
# `Ec2Configuration` isn't specified, the default is `ECS_AL2
|
|
919
|
+
# `Ec2Configuration` isn't specified, the default is `ECS_AL2` for
|
|
920
|
+
# EC2 (ECS) compute environments and `EKS_AL2023` for EKS compute
|
|
921
|
+
# environments.
|
|
920
922
|
#
|
|
921
923
|
# One or two values can be provided.
|
|
922
924
|
#
|
|
@@ -1357,7 +1359,9 @@ module Aws::Batch
|
|
|
1357
1359
|
# @!attribute [rw] ec2_configuration
|
|
1358
1360
|
# Provides information used to select Amazon Machine Images (AMIs) for
|
|
1359
1361
|
# Amazon EC2 instances in the compute environment. If
|
|
1360
|
-
# `Ec2Configuration` isn't specified, the default is `ECS_AL2
|
|
1362
|
+
# `Ec2Configuration` isn't specified, the default is `ECS_AL2` for
|
|
1363
|
+
# EC2 (ECS) compute environments and `EKS_AL2023` for EKS compute
|
|
1364
|
+
# environments.
|
|
1361
1365
|
#
|
|
1362
1366
|
# When updating a compute environment, changing this setting requires
|
|
1363
1367
|
# an infrastructure update of the compute environment. For more
|
|
@@ -3823,7 +3827,10 @@ module Aws::Batch
|
|
|
3823
3827
|
|
|
3824
3828
|
# Provides information used to select Amazon Machine Images (AMIs) for
|
|
3825
3829
|
# instances in the compute environment. If `Ec2Configuration` isn't
|
|
3826
|
-
# specified, the default is `ECS_AL2` ([Amazon
|
|
3830
|
+
# specified, the default is `ECS_AL2` ([Amazon ECS-optimized Amazon
|
|
3831
|
+
# Linux 2][1]) for EC2 (ECS) compute environments and `EKS_AL2023`
|
|
3832
|
+
# ([Amazon EKS-optimized Amazon Linux 2023 AMI][2]) for EKS compute
|
|
3833
|
+
# environments.
|
|
3827
3834
|
#
|
|
3828
3835
|
# <note markdown="1"> This object isn't applicable to jobs that are running on Fargate
|
|
3829
3836
|
# resources.
|
|
@@ -3833,6 +3840,7 @@ module Aws::Batch
|
|
|
3833
3840
|
#
|
|
3834
3841
|
#
|
|
3835
3842
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#al2ami
|
|
3843
|
+
# [2]: https://docs.aws.amazon.com/eks/latest/userguide/eks-optimized-ami.html
|
|
3836
3844
|
#
|
|
3837
3845
|
# @!attribute [rw] image_type
|
|
3838
3846
|
# The image type to match with the instance type to select an AMI. The
|
|
@@ -3961,6 +3969,46 @@ module Aws::Batch
|
|
|
3961
3969
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#ecs-optimized-ami-linux-variants.html
|
|
3962
3970
|
# @return [String]
|
|
3963
3971
|
#
|
|
3972
|
+
# @!attribute [rw] batch_image_status
|
|
3973
|
+
# The status of the Batch-provided default AMIs associated with the
|
|
3974
|
+
# `imageType`.
|
|
3975
|
+
#
|
|
3976
|
+
# The field only appears after the compute environment has begun
|
|
3977
|
+
# scaling instances using the `imageType`. The field is not present
|
|
3978
|
+
# when an image is specified in `ComputeResources.imageId`
|
|
3979
|
+
# (deprecated), the default launch template, or
|
|
3980
|
+
# `Ec2Configuration.imageIdOverride`. The field is also not present
|
|
3981
|
+
# when the compute environment has a launch template override. For
|
|
3982
|
+
# more information on image selection, see [AMI selection order][1].
|
|
3983
|
+
#
|
|
3984
|
+
# <note markdown="1"> This field is read-only and only appears in the
|
|
3985
|
+
# [DescribeComputeEnvironments][2] response.
|
|
3986
|
+
#
|
|
3987
|
+
# </note>
|
|
3988
|
+
#
|
|
3989
|
+
# * `LATEST` − Using the most recent AMI supported
|
|
3990
|
+
#
|
|
3991
|
+
# * `UPDATE_AVAILABLE` − An updated AMI is available
|
|
3992
|
+
#
|
|
3993
|
+
# * If a compute environment has multiple AMIs for the `imageType`
|
|
3994
|
+
# and any one AMI has `UPDATE_AVAILABLE`, the status shows
|
|
3995
|
+
# `UPDATE_AVAILABLE`.
|
|
3996
|
+
#
|
|
3997
|
+
# * For compute environments that use `BEST_FIT` as their allocation
|
|
3998
|
+
# strategy, you can perform a [blue/green update][3] to update the
|
|
3999
|
+
# AMI.
|
|
4000
|
+
#
|
|
4001
|
+
# * For all other compute environments, you can perform an [AMI
|
|
4002
|
+
# version update][4] to update the AMI to the latest version.
|
|
4003
|
+
#
|
|
4004
|
+
#
|
|
4005
|
+
#
|
|
4006
|
+
# [1]: https://docs.aws.amazon.com/batch/latest/userguide/ami-selection-order.html
|
|
4007
|
+
# [2]: https://docs.aws.amazon.com/batch/latest/APIReference/API_DescribeComputeEnvironments.html
|
|
4008
|
+
# [3]: https://docs.aws.amazon.com/batch/latest/userguide/blue-green-updates.html
|
|
4009
|
+
# [4]: https://docs.aws.amazon.com/batch/latest/userguide/managing-ami-versions.html#updating-ami-versions
|
|
4010
|
+
# @return [String]
|
|
4011
|
+
#
|
|
3964
4012
|
# @!attribute [rw] image_kubernetes_version
|
|
3965
4013
|
# The Kubernetes version for the compute environment. If you don't
|
|
3966
4014
|
# specify a value, the latest version that Batch supports is used.
|
|
@@ -3971,6 +4019,7 @@ module Aws::Batch
|
|
|
3971
4019
|
class Ec2Configuration < Struct.new(
|
|
3972
4020
|
:image_type,
|
|
3973
4021
|
:image_id_override,
|
|
4022
|
+
:batch_image_status,
|
|
3974
4023
|
:image_kubernetes_version)
|
|
3975
4024
|
SENSITIVE = []
|
|
3976
4025
|
include Aws::Structure
|
data/lib/aws-sdk-batch.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -134,6 +134,7 @@ module Aws
|
|
|
134
134
|
{
|
|
135
135
|
image_type: ::String,
|
|
136
136
|
image_id_override: ::String?,
|
|
137
|
+
batch_image_status: ::String?,
|
|
137
138
|
image_kubernetes_version: ::String?
|
|
138
139
|
},
|
|
139
140
|
]?,
|
|
@@ -1706,6 +1707,7 @@ module Aws
|
|
|
1706
1707
|
{
|
|
1707
1708
|
image_type: ::String,
|
|
1708
1709
|
image_id_override: ::String?,
|
|
1710
|
+
batch_image_status: ::String?,
|
|
1709
1711
|
image_kubernetes_version: ::String?
|
|
1710
1712
|
},
|
|
1711
1713
|
]?,
|
data/sig/types.rbs
CHANGED
|
@@ -578,6 +578,7 @@ module Aws::Batch
|
|
|
578
578
|
class Ec2Configuration
|
|
579
579
|
attr_accessor image_type: ::String
|
|
580
580
|
attr_accessor image_id_override: ::String
|
|
581
|
+
attr_accessor batch_image_status: ::String
|
|
581
582
|
attr_accessor image_kubernetes_version: ::String
|
|
582
583
|
SENSITIVE: []
|
|
583
584
|
end
|