aws-sdk-batch 1.121.0 → 1.122.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 +27 -13
- data/lib/aws-sdk-batch/types.rb +132 -36
- 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: bdcf0eec5091efaced89370b56dd85a0c5ef2a5625a6114f8b51bb16126f996c
|
4
|
+
data.tar.gz: e9b3883f29388fc396f8d423b61cbdb4017f9c12566f190fce0a6ff4f1dbba48
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4335040a336b063293462b7672ffaba7670d851527d07538dc4ed324e6533141100cca4bcd2e9e115f2f4038f0bdf7f349dea3ea381a468ede8441306dff11ae
|
7
|
+
data.tar.gz: 3f0acb35a6539b145a8d1b87032131327e563ae2869f2a4cd1446e83be8680e17a38273d5b6374601fa0a3ed78139d26ae4da63a8da08c0acc58afc6ce80eff5
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.122.0
|
data/lib/aws-sdk-batch/client.rb
CHANGED
@@ -3808,19 +3808,34 @@ module Aws::Batch
|
|
3808
3808
|
# </note>
|
3809
3809
|
#
|
3810
3810
|
# @option params [Array<Types::KeyValuesPair>] :filters
|
3811
|
-
# The
|
3812
|
-
#
|
3811
|
+
# The filter to apply to the query. Only one filter can be used at a
|
3812
|
+
# time. When the filter is used, `jobStatus` is ignored. The results are
|
3813
|
+
# sorted by the `createdAt` field, with the most recent jobs being
|
3814
|
+
# first.
|
3813
3815
|
#
|
3814
|
-
#
|
3816
|
+
# JOB\_NAME
|
3815
3817
|
#
|
3816
|
-
#
|
3817
|
-
#
|
3818
|
+
# : The value of the filter is a case-insensitive match for the job
|
3819
|
+
# name. If the value ends with an asterisk (*), the filter matches
|
3820
|
+
# any job name that begins with the string before the '*'. This
|
3821
|
+
# corresponds to the `jobName` value. For example, `test1` matches
|
3822
|
+
# both `Test1` and `test1`, and `test1*` matches both `test1` and
|
3823
|
+
# `Test10`. When the `JOB_NAME` filter is used, the results are
|
3824
|
+
# grouped by the job name and version.
|
3818
3825
|
#
|
3819
|
-
#
|
3826
|
+
# BEFORE\_CREATED\_AT
|
3820
3827
|
#
|
3821
|
-
#
|
3822
|
-
#
|
3823
|
-
#
|
3828
|
+
# : The value for the filter is the time that's before the job was
|
3829
|
+
# created. This corresponds to the `createdAt` value. The value is a
|
3830
|
+
# string representation of the number of milliseconds since 00:00:00
|
3831
|
+
# UTC (midnight) on January 1, 1970.
|
3832
|
+
#
|
3833
|
+
# AFTER\_CREATED\_AT
|
3834
|
+
#
|
3835
|
+
# : The value for the filter is the time that's after the job was
|
3836
|
+
# created. This corresponds to the `createdAt` value. The value is a
|
3837
|
+
# string representation of the number of milliseconds since 00:00:00
|
3838
|
+
# UTC (midnight) on January 1, 1970.
|
3824
3839
|
#
|
3825
3840
|
# @return [Types::ListServiceJobsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3826
3841
|
#
|
@@ -5899,9 +5914,8 @@ module Aws::Batch
|
|
5899
5914
|
# @option params [String] :client_token
|
5900
5915
|
# If this parameter is specified and two update requests with identical
|
5901
5916
|
# payloads and `clientToken`s are received, these requests are
|
5902
|
-
# considered the same request
|
5903
|
-
# `clientToken` is valid for 8 hours
|
5904
|
-
# consumable resource is deleted, whichever is less.
|
5917
|
+
# considered the same request. Both requests will succeed, but the
|
5918
|
+
# update will only happen once. A `clientToken` is valid for 8 hours.
|
5905
5919
|
#
|
5906
5920
|
# **A suitable default value is auto-generated.** You should normally
|
5907
5921
|
# not need to pass this option.**
|
@@ -6175,7 +6189,7 @@ module Aws::Batch
|
|
6175
6189
|
tracer: tracer
|
6176
6190
|
)
|
6177
6191
|
context[:gem_name] = 'aws-sdk-batch'
|
6178
|
-
context[:gem_version] = '1.
|
6192
|
+
context[:gem_version] = '1.122.0'
|
6179
6193
|
Seahorse::Client::Request.new(handlers, context)
|
6180
6194
|
end
|
6181
6195
|
|
data/lib/aws-sdk-batch/types.rb
CHANGED
@@ -614,9 +614,56 @@ module Aws::Batch
|
|
614
614
|
# The instances types that can be launched. You can specify instance
|
615
615
|
# families to launch any instance type within those families (for
|
616
616
|
# example, `c5` or `p3`), or you can specify specific sizes within a
|
617
|
-
# family (such as `c5.8xlarge`).
|
618
|
-
#
|
619
|
-
#
|
617
|
+
# family (such as `c5.8xlarge`).
|
618
|
+
#
|
619
|
+
# Batch can select the instance type for you if you choose one of the
|
620
|
+
# following:
|
621
|
+
#
|
622
|
+
# * `optimal` to select instance types (from the `c4`, `m4`, `r4`,
|
623
|
+
# `c5`, `m5`, and `r5` instance families) that match the demand of
|
624
|
+
# your job queues.
|
625
|
+
#
|
626
|
+
# * `default_x86_64` to choose x86 based instance types (from the
|
627
|
+
# `m6i`, `c6i`, `r6i`, and `c7i` instance families) that matches the
|
628
|
+
# resource demands of the job queue.
|
629
|
+
#
|
630
|
+
# * `default_arm64` to choose x86 based instance types (from the
|
631
|
+
# `m6g`, `c6g`, `r6g`, and `c7g` instance families) that matches the
|
632
|
+
# resource demands of the job queue.
|
633
|
+
#
|
634
|
+
# <note markdown="1"> Starting on 11/01/2025 the behavior of `optimal` is going to be
|
635
|
+
# changed to match `default_x86_64`. During the change your instance
|
636
|
+
# families could be updated to a newer generation. You do not need to
|
637
|
+
# perform any actions for the upgrade to happen. For more information
|
638
|
+
# about change, see [Optimal instance type configuration to receive
|
639
|
+
# automatic instance family updates][1].
|
640
|
+
#
|
641
|
+
# </note>
|
642
|
+
#
|
643
|
+
# <note markdown="1"> Instance family availability varies by Amazon Web Services Region.
|
644
|
+
# For example, some Amazon Web Services Regions may not have any
|
645
|
+
# fourth generation instance families but have fifth and sixth
|
646
|
+
# generation instance families.
|
647
|
+
#
|
648
|
+
# When using `default_x86_64` or `default_arm64` instance bundles,
|
649
|
+
# Batch selects instance families based on a balance of
|
650
|
+
# cost-effectiveness and performance. While newer generation instances
|
651
|
+
# often provide better price-performance, Batch may choose an earlier
|
652
|
+
# generation instance family if it provides the optimal combination of
|
653
|
+
# availability, cost, and performance for your workload. For example,
|
654
|
+
# in an Amazon Web Services Region where both c6i and c7i instances
|
655
|
+
# are available, Batch might select c6i instances if they offer better
|
656
|
+
# cost-effectiveness for your specific job requirements. For more
|
657
|
+
# information on Batch instance types and Amazon Web Services Region
|
658
|
+
# availability, see [Instance type compute table][2] in the *Batch
|
659
|
+
# User Guide*.
|
660
|
+
#
|
661
|
+
# Batch periodically updates your instances in default bundles to
|
662
|
+
# newer, more cost-effective options. Updates happen automatically
|
663
|
+
# without requiring any action from you. Your workloads continue
|
664
|
+
# running during updates with no interruption
|
665
|
+
#
|
666
|
+
# </note>
|
620
667
|
#
|
621
668
|
# <note markdown="1"> This parameter isn't applicable to jobs that are running on Fargate
|
622
669
|
# resources. Don't specify it.
|
@@ -630,12 +677,10 @@ module Aws::Batch
|
|
630
677
|
#
|
631
678
|
# </note>
|
632
679
|
#
|
633
|
-
# <note markdown="1"> Currently, `optimal` uses instance types from the C4, M4, and R4
|
634
|
-
# instance families. In Regions that don't have instance types from
|
635
|
-
# those instance families, instance types from the C5, M5, and R5
|
636
|
-
# instance families are used.
|
637
680
|
#
|
638
|
-
#
|
681
|
+
#
|
682
|
+
# [1]: https://docs.aws.amazon.com/batch/latest/userguide/optimal-default-instance-troubleshooting.html
|
683
|
+
# [2]: https://docs.aws.amazon.com/batch/latest/userguide/instance-type-compute-table.html
|
639
684
|
# @return [Array<String>]
|
640
685
|
#
|
641
686
|
# @!attribute [rw] image_id
|
@@ -1048,15 +1093,57 @@ module Aws::Batch
|
|
1048
1093
|
# The instances types that can be launched. You can specify instance
|
1049
1094
|
# families to launch any instance type within those families (for
|
1050
1095
|
# example, `c5` or `p3`), or you can specify specific sizes within a
|
1051
|
-
# family (such as `c5.8xlarge`).
|
1052
|
-
#
|
1053
|
-
#
|
1054
|
-
#
|
1055
|
-
#
|
1056
|
-
#
|
1057
|
-
#
|
1096
|
+
# family (such as `c5.8xlarge`).
|
1097
|
+
#
|
1098
|
+
# Batch can select the instance type for you if you choose one of the
|
1099
|
+
# following:
|
1100
|
+
#
|
1101
|
+
# * `optimal` to select instance types (from the `c4`, `m4`, `r4`,
|
1102
|
+
# `c5`, `m5`, and `r5` instance families) that match the demand of
|
1103
|
+
# your job queues.
|
1104
|
+
#
|
1105
|
+
# * `default_x86_64` to choose x86 based instance types (from the
|
1106
|
+
# `m6i`, `c6i`, `r6i`, and `c7i` instance families) that matches the
|
1107
|
+
# resource demands of the job queue.
|
1108
|
+
#
|
1109
|
+
# * `default_arm64` to choose x86 based instance types (from the
|
1110
|
+
# `m6g`, `c6g`, `r6g`, and `c7g` instance families) that matches the
|
1111
|
+
# resource demands of the job queue.
|
1112
|
+
#
|
1113
|
+
# <note markdown="1"> Starting on 11/01/2025 the behavior of `optimal` is going to be
|
1114
|
+
# changed to match `default_x86_64`. During the change your instance
|
1115
|
+
# families could be updated to a newer generation. You do not need to
|
1116
|
+
# perform any actions for the upgrade to happen. For more information
|
1117
|
+
# about change, see [Optimal instance type configuration to receive
|
1118
|
+
# automatic instance family updates][1].
|
1119
|
+
#
|
1120
|
+
# </note>
|
1121
|
+
#
|
1122
|
+
# <note markdown="1"> Instance family availability varies by Amazon Web Services Region.
|
1123
|
+
# For example, some Amazon Web Services Regions may not have any
|
1124
|
+
# fourth generation instance families but have fifth and sixth
|
1125
|
+
# generation instance families.
|
1126
|
+
#
|
1127
|
+
# When using `default_x86_64` or `default_arm64` instance bundles,
|
1128
|
+
# Batch selects instance families based on a balance of
|
1129
|
+
# cost-effectiveness and performance. While newer generation instances
|
1130
|
+
# often provide better price-performance, Batch may choose an earlier
|
1131
|
+
# generation instance family if it provides the optimal combination of
|
1132
|
+
# availability, cost, and performance for your workload. For example,
|
1133
|
+
# in an Amazon Web Services Region where both c6i and c7i instances
|
1134
|
+
# are available, Batch might select c6i instances if they offer better
|
1135
|
+
# cost-effectiveness for your specific job requirements. For more
|
1136
|
+
# information on Batch instance types and Amazon Web Services Region
|
1137
|
+
# availability, see [Instance type compute table][2] in the *Batch
|
1058
1138
|
# User Guide*.
|
1059
1139
|
#
|
1140
|
+
# Batch periodically updates your instances in default bundles to
|
1141
|
+
# newer, more cost-effective options. Updates happen automatically
|
1142
|
+
# without requiring any action from you. Your workloads continue
|
1143
|
+
# running during updates with no interruption
|
1144
|
+
#
|
1145
|
+
# </note>
|
1146
|
+
#
|
1060
1147
|
# <note markdown="1"> This parameter isn't applicable to jobs that are running on Fargate
|
1061
1148
|
# resources. Don't specify it.
|
1062
1149
|
#
|
@@ -1069,16 +1156,10 @@ module Aws::Batch
|
|
1069
1156
|
#
|
1070
1157
|
# </note>
|
1071
1158
|
#
|
1072
|
-
# <note markdown="1"> Currently, `optimal` uses instance types from the C4, M4, and R4
|
1073
|
-
# instance families. In Regions that don't have instance types from
|
1074
|
-
# those instance families, instance types from the C5, M5, and R5
|
1075
|
-
# instance families are used.
|
1076
|
-
#
|
1077
|
-
# </note>
|
1078
|
-
#
|
1079
1159
|
#
|
1080
1160
|
#
|
1081
|
-
# [1]: https://docs.aws.amazon.com/batch/latest/userguide/
|
1161
|
+
# [1]: https://docs.aws.amazon.com/batch/latest/userguide/optimal-default-instance-troubleshooting.html
|
1162
|
+
# [2]: https://docs.aws.amazon.com/batch/latest/userguide/instance-type-compute-table.html
|
1082
1163
|
# @return [Array<String>]
|
1083
1164
|
#
|
1084
1165
|
# @!attribute [rw] ec2_key_pair
|
@@ -6385,7 +6466,8 @@ module Aws::Batch
|
|
6385
6466
|
#
|
6386
6467
|
# * Must be a valid Amazon EC2 instance type or family.
|
6387
6468
|
#
|
6388
|
-
# * `
|
6469
|
+
# * The following Batch `InstanceTypes` are not allowed: `optimal`,
|
6470
|
+
# `default_x86_64`, and `default_arm64`.
|
6389
6471
|
#
|
6390
6472
|
# * `targetInstanceTypes` can target only instance types and families
|
6391
6473
|
# that are included within the [ `ComputeResource.instanceTypes`
|
@@ -7046,19 +7128,34 @@ module Aws::Batch
|
|
7046
7128
|
# @return [String]
|
7047
7129
|
#
|
7048
7130
|
# @!attribute [rw] filters
|
7049
|
-
# The
|
7050
|
-
#
|
7131
|
+
# The filter to apply to the query. Only one filter can be used at a
|
7132
|
+
# time. When the filter is used, `jobStatus` is ignored. The results
|
7133
|
+
# are sorted by the `createdAt` field, with the most recent jobs being
|
7134
|
+
# first.
|
7051
7135
|
#
|
7052
|
-
#
|
7136
|
+
# JOB\_NAME
|
7053
7137
|
#
|
7054
|
-
#
|
7055
|
-
#
|
7138
|
+
# : The value of the filter is a case-insensitive match for the job
|
7139
|
+
# name. If the value ends with an asterisk (*), the filter matches
|
7140
|
+
# any job name that begins with the string before the '*'. This
|
7141
|
+
# corresponds to the `jobName` value. For example, `test1` matches
|
7142
|
+
# both `Test1` and `test1`, and `test1*` matches both `test1` and
|
7143
|
+
# `Test10`. When the `JOB_NAME` filter is used, the results are
|
7144
|
+
# grouped by the job name and version.
|
7145
|
+
#
|
7146
|
+
# BEFORE\_CREATED\_AT
|
7056
7147
|
#
|
7057
|
-
#
|
7148
|
+
# : The value for the filter is the time that's before the job was
|
7149
|
+
# created. This corresponds to the `createdAt` value. The value is a
|
7150
|
+
# string representation of the number of milliseconds since 00:00:00
|
7151
|
+
# UTC (midnight) on January 1, 1970.
|
7152
|
+
#
|
7153
|
+
# AFTER\_CREATED\_AT
|
7058
7154
|
#
|
7059
|
-
#
|
7060
|
-
#
|
7061
|
-
#
|
7155
|
+
# : The value for the filter is the time that's after the job was
|
7156
|
+
# created. This corresponds to the `createdAt` value. The value is a
|
7157
|
+
# string representation of the number of milliseconds since 00:00:00
|
7158
|
+
# UTC (midnight) on January 1, 1970.
|
7062
7159
|
# @return [Array<Types::KeyValuesPair>]
|
7063
7160
|
#
|
7064
7161
|
# @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/ListServiceJobsRequest AWS API Documentation
|
@@ -9891,9 +9988,8 @@ module Aws::Batch
|
|
9891
9988
|
# @!attribute [rw] client_token
|
9892
9989
|
# If this parameter is specified and two update requests with
|
9893
9990
|
# identical payloads and `clientToken`s are received, these requests
|
9894
|
-
# are considered the same request
|
9895
|
-
# A `clientToken` is valid for 8 hours
|
9896
|
-
# consumable resource is deleted, whichever is less.
|
9991
|
+
# are considered the same request. Both requests will succeed, but the
|
9992
|
+
# update will only happen once. A `clientToken` is valid for 8 hours.
|
9897
9993
|
#
|
9898
9994
|
# **A suitable default value is auto-generated.** You should normally
|
9899
9995
|
# not need to pass this option.
|
data/lib/aws-sdk-batch.rb
CHANGED