aws-sdk-batch 1.138.0 → 1.140.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 +19 -11
- data/lib/aws-sdk-batch/client_api.rb +1 -0
- data/lib/aws-sdk-batch/types.rb +67 -13
- 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: df92337dd7d638ebb425837efab9a329584b13813d087d88abca83c0d1bcf255
|
|
4
|
+
data.tar.gz: 4581c0a2ca65a8f6236e654b4fdc3e41eee76b8e589b0f5933d66031ebb323d3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8d6d4d0327f199b044b1964edcc7b7af50258e76220f35712adca8f90c44003f5d082b45f3011308753488d6b81fa38111a98eb268e3cd23c0b5e8ed0e729c9c
|
|
7
|
+
data.tar.gz: fc7cf378b2222bd4fb413d61e52c4d48a6f44c9be901dd7d4f917ebd0cf79e66a34b2481dfe9156c25dcecf1780817a9000ad6e321e8c0b5dd52362304ca4182
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.140.0 (2026-03-25)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Documentation-only update for AWS Batch.
|
|
8
|
+
|
|
9
|
+
1.139.0 (2026-03-23)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* 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.
|
|
13
|
+
|
|
4
14
|
1.138.0 (2026-03-19)
|
|
5
15
|
------------------
|
|
6
16
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.140.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
|
|
@@ -4035,12 +4037,13 @@ module Aws::Batch
|
|
|
4035
4037
|
# @option params [String] :job_status
|
|
4036
4038
|
# The job status used to filter service jobs in the specified queue. If
|
|
4037
4039
|
# the `filters` parameter is specified, the `jobStatus` parameter is
|
|
4038
|
-
# ignored and jobs with any status are returned. The
|
|
4039
|
-
# `SHARE_IDENTIFIER` filter and `
|
|
4040
|
-
# don't specify a status, only `RUNNING`
|
|
4040
|
+
# ignored and jobs with any status are returned. The exceptions are the
|
|
4041
|
+
# `SHARE_IDENTIFIER` filter and `QUOTA_SHARE_NAME` filter, which can be
|
|
4042
|
+
# used with `jobStatus`. If you don't specify a status, only `RUNNING`
|
|
4043
|
+
# jobs are returned.
|
|
4041
4044
|
#
|
|
4042
|
-
# <note markdown="1"> The `SHARE_IDENTIFIER` filter
|
|
4043
|
-
#
|
|
4045
|
+
# <note markdown="1"> The `SHARE_IDENTIFIER` filter or `QUOTA_SHARE_NAME` filter can be used
|
|
4046
|
+
# with the `jobStatus` field to filter results.
|
|
4044
4047
|
#
|
|
4045
4048
|
# </note>
|
|
4046
4049
|
#
|
|
@@ -4069,12 +4072,12 @@ module Aws::Batch
|
|
|
4069
4072
|
# @option params [Array<Types::KeyValuesPair>] :filters
|
|
4070
4073
|
# The filter to apply to the query. Only one filter can be used at a
|
|
4071
4074
|
# time. When the filter is used, `jobStatus` is ignored with the
|
|
4072
|
-
# exception that `SHARE_IDENTIFIER`
|
|
4073
|
-
# together. The results are sorted by the
|
|
4074
|
-
# most recent jobs being first.
|
|
4075
|
+
# exception that `SHARE_IDENTIFIER` or `QUOTA_SHARE_NAME` and
|
|
4076
|
+
# `jobStatus` can be used together. The results are sorted by the
|
|
4077
|
+
# `createdAt` field, with the most recent jobs being first.
|
|
4075
4078
|
#
|
|
4076
|
-
# <note markdown="1"> The `SHARE_IDENTIFIER`
|
|
4077
|
-
# together to filter results.
|
|
4079
|
+
# <note markdown="1"> The `SHARE_IDENTIFIER` or `QUOTA_SHARE_NAME` filter and the
|
|
4080
|
+
# `jobStatus` field can be used together to filter results.
|
|
4078
4081
|
#
|
|
4079
4082
|
# </note>
|
|
4080
4083
|
#
|
|
@@ -4107,6 +4110,10 @@ module Aws::Batch
|
|
|
4107
4110
|
# : The value for the filter is the fairshare scheduling share
|
|
4108
4111
|
# identifier.
|
|
4109
4112
|
#
|
|
4113
|
+
# QUOTA\_SHARE\_NAME
|
|
4114
|
+
#
|
|
4115
|
+
# : The value for the filter is the quota management share name.
|
|
4116
|
+
#
|
|
4110
4117
|
# @return [Types::ListServiceJobsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
4111
4118
|
#
|
|
4112
4119
|
# * {Types::ListServiceJobsResponse#job_summary_list #job_summary_list} => Array<Types::ServiceJobSummary>
|
|
@@ -6140,6 +6147,7 @@ module Aws::Batch
|
|
|
6140
6147
|
# {
|
|
6141
6148
|
# image_type: "ImageType", # required
|
|
6142
6149
|
# image_id_override: "ImageIdOverride",
|
|
6150
|
+
# batch_image_status: "String",
|
|
6143
6151
|
# image_kubernetes_version: "KubernetesVersion",
|
|
6144
6152
|
# },
|
|
6145
6153
|
# ],
|
|
@@ -6590,7 +6598,7 @@ module Aws::Batch
|
|
|
6590
6598
|
tracer: tracer
|
|
6591
6599
|
)
|
|
6592
6600
|
context[:gem_name] = 'aws-sdk-batch'
|
|
6593
|
-
context[:gem_version] = '1.
|
|
6601
|
+
context[:gem_version] = '1.140.0'
|
|
6594
6602
|
Seahorse::Client::Request.new(handlers, context)
|
|
6595
6603
|
end
|
|
6596
6604
|
|
|
@@ -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
|
|
@@ -7675,12 +7724,13 @@ module Aws::Batch
|
|
|
7675
7724
|
# @!attribute [rw] job_status
|
|
7676
7725
|
# The job status used to filter service jobs in the specified queue.
|
|
7677
7726
|
# If the `filters` parameter is specified, the `jobStatus` parameter
|
|
7678
|
-
# is ignored and jobs with any status are returned. The
|
|
7679
|
-
# the `SHARE_IDENTIFIER` filter and `
|
|
7680
|
-
# If you don't specify a status, only
|
|
7727
|
+
# is ignored and jobs with any status are returned. The exceptions are
|
|
7728
|
+
# the `SHARE_IDENTIFIER` filter and `QUOTA_SHARE_NAME` filter, which
|
|
7729
|
+
# can be used with `jobStatus`. If you don't specify a status, only
|
|
7730
|
+
# `RUNNING` jobs are returned.
|
|
7681
7731
|
#
|
|
7682
|
-
# <note markdown="1"> The `SHARE_IDENTIFIER` filter
|
|
7683
|
-
#
|
|
7732
|
+
# <note markdown="1"> The `SHARE_IDENTIFIER` filter or `QUOTA_SHARE_NAME` filter can be
|
|
7733
|
+
# used with the `jobStatus` field to filter results.
|
|
7684
7734
|
#
|
|
7685
7735
|
# </note>
|
|
7686
7736
|
# @return [String]
|
|
@@ -7714,12 +7764,12 @@ module Aws::Batch
|
|
|
7714
7764
|
# @!attribute [rw] filters
|
|
7715
7765
|
# The filter to apply to the query. Only one filter can be used at a
|
|
7716
7766
|
# time. When the filter is used, `jobStatus` is ignored with the
|
|
7717
|
-
# exception that `SHARE_IDENTIFIER`
|
|
7718
|
-
# together. The results are sorted by the
|
|
7719
|
-
# most recent jobs being first.
|
|
7767
|
+
# exception that `SHARE_IDENTIFIER` or `QUOTA_SHARE_NAME` and
|
|
7768
|
+
# `jobStatus` can be used together. The results are sorted by the
|
|
7769
|
+
# `createdAt` field, with the most recent jobs being first.
|
|
7720
7770
|
#
|
|
7721
|
-
# <note markdown="1"> The `SHARE_IDENTIFIER`
|
|
7722
|
-
# together to filter results.
|
|
7771
|
+
# <note markdown="1"> The `SHARE_IDENTIFIER` or `QUOTA_SHARE_NAME` filter and the
|
|
7772
|
+
# `jobStatus` field can be used together to filter results.
|
|
7723
7773
|
#
|
|
7724
7774
|
# </note>
|
|
7725
7775
|
#
|
|
@@ -7751,6 +7801,10 @@ module Aws::Batch
|
|
|
7751
7801
|
#
|
|
7752
7802
|
# : The value for the filter is the fairshare scheduling share
|
|
7753
7803
|
# identifier.
|
|
7804
|
+
#
|
|
7805
|
+
# QUOTA\_SHARE\_NAME
|
|
7806
|
+
#
|
|
7807
|
+
# : The value for the filter is the quota management share name.
|
|
7754
7808
|
# @return [Array<Types::KeyValuesPair>]
|
|
7755
7809
|
#
|
|
7756
7810
|
# @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/ListServiceJobsRequest AWS API Documentation
|
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
|