aws-sdk-batch 1.109.0 → 1.110.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 +57 -55
- data/lib/aws-sdk-batch/types.rb +70 -69
- data/lib/aws-sdk-batch.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d772f937b4f7e609ed545c906023c9e3f3535533e86a5c15c79cfacff70c2db3
|
|
4
|
+
data.tar.gz: 54d89c899b79a7c68d239e30f6c996e5b5bfc53172d48b88211ab8236b5f8667
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c9a8d687c925fb68782c45a682991ce06b7ddeeec3a2ccda642e26aeb4c00684fbaa38d4182da0f62d18e0d563a4c40ac159108781f47a31149ed887c0db8887
|
|
7
|
+
data.tar.gz: 0f9dc63328857f8fef393a1abacb74398610ebbc541ee235d9e3137d3ecece10128056131a9a8013cc3bcb59c194603082c1d1124b88ea6f1977c6a9c14468e8
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.110.0
|
data/lib/aws-sdk-batch/client.rb
CHANGED
|
@@ -7,34 +7,34 @@
|
|
|
7
7
|
#
|
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
|
9
9
|
|
|
10
|
-
require 'seahorse/client/plugins/content_length
|
|
11
|
-
require 'aws-sdk-core/plugins/credentials_configuration
|
|
12
|
-
require 'aws-sdk-core/plugins/logging
|
|
13
|
-
require 'aws-sdk-core/plugins/param_converter
|
|
14
|
-
require 'aws-sdk-core/plugins/param_validator
|
|
15
|
-
require 'aws-sdk-core/plugins/user_agent
|
|
16
|
-
require 'aws-sdk-core/plugins/helpful_socket_errors
|
|
17
|
-
require 'aws-sdk-core/plugins/retry_errors
|
|
18
|
-
require 'aws-sdk-core/plugins/global_configuration
|
|
19
|
-
require 'aws-sdk-core/plugins/regional_endpoint
|
|
20
|
-
require 'aws-sdk-core/plugins/endpoint_discovery
|
|
21
|
-
require 'aws-sdk-core/plugins/endpoint_pattern
|
|
22
|
-
require 'aws-sdk-core/plugins/response_paging
|
|
23
|
-
require 'aws-sdk-core/plugins/stub_responses
|
|
24
|
-
require 'aws-sdk-core/plugins/idempotency_token
|
|
25
|
-
require 'aws-sdk-core/plugins/invocation_id
|
|
26
|
-
require 'aws-sdk-core/plugins/jsonvalue_converter
|
|
27
|
-
require 'aws-sdk-core/plugins/client_metrics_plugin
|
|
28
|
-
require 'aws-sdk-core/plugins/client_metrics_send_plugin
|
|
29
|
-
require 'aws-sdk-core/plugins/transfer_encoding
|
|
30
|
-
require 'aws-sdk-core/plugins/http_checksum
|
|
31
|
-
require 'aws-sdk-core/plugins/checksum_algorithm
|
|
32
|
-
require 'aws-sdk-core/plugins/request_compression
|
|
33
|
-
require 'aws-sdk-core/plugins/defaults_mode
|
|
34
|
-
require 'aws-sdk-core/plugins/recursion_detection
|
|
35
|
-
require 'aws-sdk-core/plugins/telemetry
|
|
36
|
-
require 'aws-sdk-core/plugins/sign
|
|
37
|
-
require 'aws-sdk-core/plugins/protocols/rest_json
|
|
10
|
+
require 'seahorse/client/plugins/content_length'
|
|
11
|
+
require 'aws-sdk-core/plugins/credentials_configuration'
|
|
12
|
+
require 'aws-sdk-core/plugins/logging'
|
|
13
|
+
require 'aws-sdk-core/plugins/param_converter'
|
|
14
|
+
require 'aws-sdk-core/plugins/param_validator'
|
|
15
|
+
require 'aws-sdk-core/plugins/user_agent'
|
|
16
|
+
require 'aws-sdk-core/plugins/helpful_socket_errors'
|
|
17
|
+
require 'aws-sdk-core/plugins/retry_errors'
|
|
18
|
+
require 'aws-sdk-core/plugins/global_configuration'
|
|
19
|
+
require 'aws-sdk-core/plugins/regional_endpoint'
|
|
20
|
+
require 'aws-sdk-core/plugins/endpoint_discovery'
|
|
21
|
+
require 'aws-sdk-core/plugins/endpoint_pattern'
|
|
22
|
+
require 'aws-sdk-core/plugins/response_paging'
|
|
23
|
+
require 'aws-sdk-core/plugins/stub_responses'
|
|
24
|
+
require 'aws-sdk-core/plugins/idempotency_token'
|
|
25
|
+
require 'aws-sdk-core/plugins/invocation_id'
|
|
26
|
+
require 'aws-sdk-core/plugins/jsonvalue_converter'
|
|
27
|
+
require 'aws-sdk-core/plugins/client_metrics_plugin'
|
|
28
|
+
require 'aws-sdk-core/plugins/client_metrics_send_plugin'
|
|
29
|
+
require 'aws-sdk-core/plugins/transfer_encoding'
|
|
30
|
+
require 'aws-sdk-core/plugins/http_checksum'
|
|
31
|
+
require 'aws-sdk-core/plugins/checksum_algorithm'
|
|
32
|
+
require 'aws-sdk-core/plugins/request_compression'
|
|
33
|
+
require 'aws-sdk-core/plugins/defaults_mode'
|
|
34
|
+
require 'aws-sdk-core/plugins/recursion_detection'
|
|
35
|
+
require 'aws-sdk-core/plugins/telemetry'
|
|
36
|
+
require 'aws-sdk-core/plugins/sign'
|
|
37
|
+
require 'aws-sdk-core/plugins/protocols/rest_json'
|
|
38
38
|
|
|
39
39
|
module Aws::Batch
|
|
40
40
|
# An API client for Batch. To construct a client, you need to configure a `:region` and `:credentials`.
|
|
@@ -686,9 +686,9 @@ module Aws::Batch
|
|
|
686
686
|
#
|
|
687
687
|
# @option params [Integer] :unmanagedv_cpus
|
|
688
688
|
# The maximum number of vCPUs for an unmanaged compute environment. This
|
|
689
|
-
# parameter is only used for fair
|
|
689
|
+
# parameter is only used for fair-share scheduling to reserve vCPU
|
|
690
690
|
# capacity for new share identifiers. If this parameter isn't provided
|
|
691
|
-
# for a fair
|
|
691
|
+
# for a fair-share job queue, no vCPU capacity is reserved.
|
|
692
692
|
#
|
|
693
693
|
# <note markdown="1"> This parameter is only supported when the `type` parameter is set to
|
|
694
694
|
# `UNMANAGED`.
|
|
@@ -946,10 +946,11 @@ module Aws::Batch
|
|
|
946
946
|
# finish.
|
|
947
947
|
#
|
|
948
948
|
# @option params [String] :scheduling_policy_arn
|
|
949
|
-
# The Amazon Resource Name (ARN) of the fair
|
|
950
|
-
# Job queues that don't have a scheduling policy are
|
|
951
|
-
# first-in, first-out (FIFO) model. After a job queue has
|
|
952
|
-
# policy, it can be replaced but can't be
|
|
949
|
+
# The Amazon Resource Name (ARN) of the fair-share scheduling policy.
|
|
950
|
+
# Job queues that don't have a fair-share scheduling policy are
|
|
951
|
+
# scheduled in a first-in, first-out (FIFO) model. After a job queue has
|
|
952
|
+
# a fair-share scheduling policy, it can be replaced but can't be
|
|
953
|
+
# removed.
|
|
953
954
|
#
|
|
954
955
|
# The format is
|
|
955
956
|
# `aws:Partition:batch:Region:Account:scheduling-policy/Name `.
|
|
@@ -957,11 +958,11 @@ module Aws::Batch
|
|
|
957
958
|
# An example is
|
|
958
959
|
# `aws:aws:batch:us-west-2:123456789012:scheduling-policy/MySchedulingPolicy`.
|
|
959
960
|
#
|
|
960
|
-
# A job queue without a scheduling policy is scheduled as a
|
|
961
|
-
# queue and can't have a scheduling policy added.
|
|
962
|
-
# scheduling policy can have a maximum of
|
|
963
|
-
# identifiers. When the limit has been reached,
|
|
964
|
-
# that add a new
|
|
961
|
+
# A job queue without a fair-share scheduling policy is scheduled as a
|
|
962
|
+
# FIFO job queue and can't have a fair-share scheduling policy added.
|
|
963
|
+
# Jobs queues with a fair-share scheduling policy can have a maximum of
|
|
964
|
+
# 500 active share identifiers. When the limit has been reached,
|
|
965
|
+
# submissions of any jobs that add a new share identifier fail.
|
|
965
966
|
#
|
|
966
967
|
# @option params [required, Integer] :priority
|
|
967
968
|
# The priority of the job queue. Job queues with a higher priority (or a
|
|
@@ -1104,12 +1105,12 @@ module Aws::Batch
|
|
|
1104
1105
|
# Creates an Batch scheduling policy.
|
|
1105
1106
|
#
|
|
1106
1107
|
# @option params [required, String] :name
|
|
1107
|
-
# The name of the scheduling policy. It can be up to 128
|
|
1108
|
-
# It can contain uppercase and lowercase letters, numbers,
|
|
1109
|
-
# and underscores (\_).
|
|
1108
|
+
# The name of the fair-share scheduling policy. It can be up to 128
|
|
1109
|
+
# letters long. It can contain uppercase and lowercase letters, numbers,
|
|
1110
|
+
# hyphens (-), and underscores (\_).
|
|
1110
1111
|
#
|
|
1111
1112
|
# @option params [Types::FairsharePolicy] :fairshare_policy
|
|
1112
|
-
# The fair
|
|
1113
|
+
# The fair-share scheduling policy details.
|
|
1113
1114
|
#
|
|
1114
1115
|
# @option params [Hash<String,String>] :tags
|
|
1115
1116
|
# The tags that you apply to the scheduling policy to help you
|
|
@@ -3143,7 +3144,7 @@ module Aws::Batch
|
|
|
3143
3144
|
#
|
|
3144
3145
|
# @option params [Integer] :scheduling_priority
|
|
3145
3146
|
# The scheduling priority for jobs that are submitted with this job
|
|
3146
|
-
# definition. This only affects jobs in job queues with a fair
|
|
3147
|
+
# definition. This only affects jobs in job queues with a fair-share
|
|
3147
3148
|
# policy. Jobs with a higher scheduling priority are scheduled before
|
|
3148
3149
|
# jobs with a lower scheduling priority.
|
|
3149
3150
|
#
|
|
@@ -4090,8 +4091,8 @@ module Aws::Batch
|
|
|
4090
4091
|
# parameters in a `resourceRequirements` object that's included in the
|
|
4091
4092
|
# `containerOverrides` parameter.
|
|
4092
4093
|
#
|
|
4093
|
-
# <note markdown="1"> Job queues with a scheduling policy are limited to 500 active
|
|
4094
|
-
#
|
|
4094
|
+
# <note markdown="1"> Job queues with a scheduling policy are limited to 500 active share
|
|
4095
|
+
# identifiers at a time.
|
|
4095
4096
|
#
|
|
4096
4097
|
# </note>
|
|
4097
4098
|
#
|
|
@@ -4110,15 +4111,16 @@ module Aws::Batch
|
|
|
4110
4111
|
#
|
|
4111
4112
|
# @option params [String] :share_identifier
|
|
4112
4113
|
# The share identifier for the job. Don't specify this parameter if the
|
|
4113
|
-
# job queue doesn't have a scheduling policy. If the job
|
|
4114
|
-
# scheduling policy, then this parameter must be
|
|
4114
|
+
# job queue doesn't have a fair-share scheduling policy. If the job
|
|
4115
|
+
# queue has a fair-share scheduling policy, then this parameter must be
|
|
4116
|
+
# specified.
|
|
4115
4117
|
#
|
|
4116
4118
|
# This string is limited to 255 alphanumeric characters, and can be
|
|
4117
4119
|
# followed by an asterisk (*).
|
|
4118
4120
|
#
|
|
4119
4121
|
# @option params [Integer] :scheduling_priority_override
|
|
4120
4122
|
# The scheduling priority for the job. This only affects jobs in job
|
|
4121
|
-
# queues with a fair
|
|
4123
|
+
# queues with a fair-share policy. Jobs with a higher scheduling
|
|
4122
4124
|
# priority are scheduled before jobs with a lower scheduling priority.
|
|
4123
4125
|
# This overrides any scheduling priority in the job definition and works
|
|
4124
4126
|
# only within a single share identifier.
|
|
@@ -4710,9 +4712,9 @@ module Aws::Batch
|
|
|
4710
4712
|
# @option params [Integer] :unmanagedv_cpus
|
|
4711
4713
|
# The maximum number of vCPUs expected to be used for an unmanaged
|
|
4712
4714
|
# compute environment. Don't specify this parameter for a managed
|
|
4713
|
-
# compute environment. This parameter is only used for fair
|
|
4715
|
+
# compute environment. This parameter is only used for fair-share
|
|
4714
4716
|
# scheduling to reserve vCPU capacity for new share identifiers. If this
|
|
4715
|
-
# parameter isn't provided for a fair
|
|
4717
|
+
# parameter isn't provided for a fair-share job queue, no vCPU capacity
|
|
4716
4718
|
# is reserved.
|
|
4717
4719
|
#
|
|
4718
4720
|
# @option params [Types::ComputeResourceUpdate] :compute_resources
|
|
@@ -4869,8 +4871,8 @@ module Aws::Batch
|
|
|
4869
4871
|
# the queue can finish.
|
|
4870
4872
|
#
|
|
4871
4873
|
# @option params [String] :scheduling_policy_arn
|
|
4872
|
-
# Amazon Resource Name (ARN) of the fair
|
|
4873
|
-
# job queue is created, the fair
|
|
4874
|
+
# Amazon Resource Name (ARN) of the fair-share scheduling policy. Once a
|
|
4875
|
+
# job queue is created, the fair-share scheduling policy can be replaced
|
|
4874
4876
|
# but not removed. The format is
|
|
4875
4877
|
# `aws:Partition:batch:Region:Account:scheduling-policy/Name `. For
|
|
4876
4878
|
# example,
|
|
@@ -4973,7 +4975,7 @@ module Aws::Batch
|
|
|
4973
4975
|
# The Amazon Resource Name (ARN) of the scheduling policy to update.
|
|
4974
4976
|
#
|
|
4975
4977
|
# @option params [Types::FairsharePolicy] :fairshare_policy
|
|
4976
|
-
# The fair
|
|
4978
|
+
# The fair-share policy scheduling details.
|
|
4977
4979
|
#
|
|
4978
4980
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
4979
4981
|
#
|
|
@@ -5020,7 +5022,7 @@ module Aws::Batch
|
|
|
5020
5022
|
tracer: tracer
|
|
5021
5023
|
)
|
|
5022
5024
|
context[:gem_name] = 'aws-sdk-batch'
|
|
5023
|
-
context[:gem_version] = '1.
|
|
5025
|
+
context[:gem_version] = '1.110.0'
|
|
5024
5026
|
Seahorse::Client::Request.new(handlers, context)
|
|
5025
5027
|
end
|
|
5026
5028
|
|
data/lib/aws-sdk-batch/types.rb
CHANGED
|
@@ -2141,9 +2141,9 @@ module Aws::Batch
|
|
|
2141
2141
|
#
|
|
2142
2142
|
# @!attribute [rw] unmanagedv_cpus
|
|
2143
2143
|
# The maximum number of vCPUs for an unmanaged compute environment.
|
|
2144
|
-
# This parameter is only used for fair
|
|
2144
|
+
# This parameter is only used for fair-share scheduling to reserve
|
|
2145
2145
|
# vCPU capacity for new share identifiers. If this parameter isn't
|
|
2146
|
-
# provided for a fair
|
|
2146
|
+
# provided for a fair-share job queue, no vCPU capacity is reserved.
|
|
2147
2147
|
#
|
|
2148
2148
|
# <note markdown="1"> This parameter is only supported when the `type` parameter is set to
|
|
2149
2149
|
# `UNMANAGED`.
|
|
@@ -2274,10 +2274,11 @@ module Aws::Batch
|
|
|
2274
2274
|
# @return [String]
|
|
2275
2275
|
#
|
|
2276
2276
|
# @!attribute [rw] scheduling_policy_arn
|
|
2277
|
-
# The Amazon Resource Name (ARN) of the fair
|
|
2278
|
-
# Job queues that don't have a scheduling policy are
|
|
2279
|
-
# first-in, first-out (FIFO) model. After a job queue
|
|
2280
|
-
# policy, it can be replaced but can't be
|
|
2277
|
+
# The Amazon Resource Name (ARN) of the fair-share scheduling policy.
|
|
2278
|
+
# Job queues that don't have a fair-share scheduling policy are
|
|
2279
|
+
# scheduled in a first-in, first-out (FIFO) model. After a job queue
|
|
2280
|
+
# has a fair-share scheduling policy, it can be replaced but can't be
|
|
2281
|
+
# removed.
|
|
2281
2282
|
#
|
|
2282
2283
|
# The format is
|
|
2283
2284
|
# `aws:Partition:batch:Region:Account:scheduling-policy/Name `.
|
|
@@ -2285,11 +2286,11 @@ module Aws::Batch
|
|
|
2285
2286
|
# An example is
|
|
2286
2287
|
# `aws:aws:batch:us-west-2:123456789012:scheduling-policy/MySchedulingPolicy`.
|
|
2287
2288
|
#
|
|
2288
|
-
# A job queue without a scheduling policy is scheduled as a
|
|
2289
|
-
# queue and can't have a scheduling policy added.
|
|
2290
|
-
# scheduling policy can have a maximum
|
|
2291
|
-
# identifiers. When the limit has been reached,
|
|
2292
|
-
# jobs that add a new
|
|
2289
|
+
# A job queue without a fair-share scheduling policy is scheduled as a
|
|
2290
|
+
# FIFO job queue and can't have a fair-share scheduling policy added.
|
|
2291
|
+
# Jobs queues with a fair-share scheduling policy can have a maximum
|
|
2292
|
+
# of 500 active share identifiers. When the limit has been reached,
|
|
2293
|
+
# submissions of any jobs that add a new share identifier fail.
|
|
2293
2294
|
# @return [String]
|
|
2294
2295
|
#
|
|
2295
2296
|
# @!attribute [rw] priority
|
|
@@ -2375,13 +2376,13 @@ module Aws::Batch
|
|
|
2375
2376
|
# Contains the parameters for `CreateSchedulingPolicy`.
|
|
2376
2377
|
#
|
|
2377
2378
|
# @!attribute [rw] name
|
|
2378
|
-
# The name of the scheduling policy. It can be up to 128
|
|
2379
|
-
# It can contain uppercase and lowercase letters,
|
|
2380
|
-
# (-), and underscores (\_).
|
|
2379
|
+
# The name of the fair-share scheduling policy. It can be up to 128
|
|
2380
|
+
# letters long. It can contain uppercase and lowercase letters,
|
|
2381
|
+
# numbers, hyphens (-), and underscores (\_).
|
|
2381
2382
|
# @return [String]
|
|
2382
2383
|
#
|
|
2383
2384
|
# @!attribute [rw] fairshare_policy
|
|
2384
|
-
# The fair
|
|
2385
|
+
# The fair-share scheduling policy details.
|
|
2385
2386
|
# @return [Types::FairsharePolicy]
|
|
2386
2387
|
#
|
|
2387
2388
|
# @!attribute [rw] tags
|
|
@@ -4449,7 +4450,7 @@ module Aws::Batch
|
|
|
4449
4450
|
#
|
|
4450
4451
|
# @!attribute [rw] init_containers
|
|
4451
4452
|
# The overrides for the `initContainers` defined in the Amazon EKS
|
|
4452
|
-
# pod. These containers run before application containers, always
|
|
4453
|
+
# pod. These containers run before application containers, always run
|
|
4453
4454
|
# to completion, and must complete successfully before the next
|
|
4454
4455
|
# container starts. These containers are registered with the Amazon
|
|
4455
4456
|
# EKS Connector agent and persists the registration information in the
|
|
@@ -4682,13 +4683,13 @@ module Aws::Batch
|
|
|
4682
4683
|
include Aws::Structure
|
|
4683
4684
|
end
|
|
4684
4685
|
|
|
4685
|
-
# The fair
|
|
4686
|
+
# The fair-share scheduling policy details.
|
|
4686
4687
|
#
|
|
4687
4688
|
# @!attribute [rw] share_decay_seconds
|
|
4688
|
-
# The amount of time (in seconds) to use to calculate a fair
|
|
4689
|
-
# percentage for each
|
|
4690
|
-
#
|
|
4691
|
-
#
|
|
4689
|
+
# The amount of time (in seconds) to use to calculate a fair-share
|
|
4690
|
+
# percentage for each share identifier in use. A value of zero (0)
|
|
4691
|
+
# indicates the default minimum time window (600 seconds). The maximum
|
|
4692
|
+
# supported value is 604800 (1 week).
|
|
4692
4693
|
#
|
|
4693
4694
|
# The decay allows for more recently run jobs to have more weight than
|
|
4694
4695
|
# jobs that ran earlier. Consider adjusting this number if you have
|
|
@@ -4698,29 +4699,29 @@ module Aws::Batch
|
|
|
4698
4699
|
# @return [Integer]
|
|
4699
4700
|
#
|
|
4700
4701
|
# @!attribute [rw] compute_reservation
|
|
4701
|
-
# A value used to reserve some of the available maximum vCPU for
|
|
4702
|
-
#
|
|
4702
|
+
# A value used to reserve some of the available maximum vCPU for share
|
|
4703
|
+
# identifiers that aren't already used.
|
|
4703
4704
|
#
|
|
4704
4705
|
# The reserved ratio is `(computeReservation/100)^ActiveFairShares `
|
|
4705
|
-
# where ` ActiveFairShares ` is the number of active
|
|
4706
|
+
# where ` ActiveFairShares ` is the number of active share
|
|
4706
4707
|
# identifiers.
|
|
4707
4708
|
#
|
|
4708
4709
|
# For example, a `computeReservation` value of 50 indicates that Batch
|
|
4709
|
-
# reserves 50% of the maximum available vCPU if there's only one
|
|
4710
|
-
# share identifier. It reserves 25% if there are two
|
|
4711
|
-
# identifiers. It reserves 12.5% if there are three
|
|
4712
|
-
#
|
|
4713
|
-
#
|
|
4714
|
-
#
|
|
4715
|
-
#
|
|
4710
|
+
# reserves 50% of the maximum available vCPU if there's only one
|
|
4711
|
+
# share identifier. It reserves 25% if there are two share
|
|
4712
|
+
# identifiers. It reserves 12.5% if there are three share identifiers.
|
|
4713
|
+
# A `computeReservation` value of 25 indicates that Batch should
|
|
4714
|
+
# reserve 25% of the maximum available vCPU if there's only one share
|
|
4715
|
+
# identifier, 6.25% if there are two fair share identifiers, and 1.56%
|
|
4716
|
+
# if there are three share identifiers.
|
|
4716
4717
|
#
|
|
4717
4718
|
# The minimum value is 0 and the maximum value is 99.
|
|
4718
4719
|
# @return [Integer]
|
|
4719
4720
|
#
|
|
4720
4721
|
# @!attribute [rw] share_distribution
|
|
4721
4722
|
# An array of `SharedIdentifier` objects that contain the weights for
|
|
4722
|
-
# the
|
|
4723
|
-
#
|
|
4723
|
+
# the share identifiers for the fair-share policy. Share identifiers
|
|
4724
|
+
# that aren't included have a default weight of `1.0`.
|
|
4724
4725
|
# @return [Array<Types::ShareAttributes>]
|
|
4725
4726
|
#
|
|
4726
4727
|
# @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/FairsharePolicy AWS API Documentation
|
|
@@ -4765,7 +4766,7 @@ module Aws::Batch
|
|
|
4765
4766
|
# @!attribute [rw] jobs
|
|
4766
4767
|
# The Amazon Resource Names (ARNs) of the first 100 `RUNNABLE` jobs in
|
|
4767
4768
|
# a named job queue. For first-in-first-out (FIFO) job queues, jobs
|
|
4768
|
-
# are ordered based on their submission time. For fair
|
|
4769
|
+
# are ordered based on their submission time. For fair-share
|
|
4769
4770
|
# scheduling (FSS) job queues, jobs are ordered based on their job
|
|
4770
4771
|
# priority and share usage.
|
|
4771
4772
|
# @return [Array<Types::FrontOfQueueJobSummary>]
|
|
@@ -4820,7 +4821,7 @@ module Aws::Batch
|
|
|
4820
4821
|
# @!attribute [rw] front_of_queue
|
|
4821
4822
|
# The list of the first 100 `RUNNABLE` jobs in each job queue. For
|
|
4822
4823
|
# first-in-first-out (FIFO) job queues, jobs are ordered based on
|
|
4823
|
-
# their submission time. For fair
|
|
4824
|
+
# their submission time. For fair-share scheduling (FSS) job queues,
|
|
4824
4825
|
# jobs are ordered based on their job priority and share usage.
|
|
4825
4826
|
# @return [Types::FrontOfQueueDetail]
|
|
4826
4827
|
#
|
|
@@ -4912,7 +4913,7 @@ module Aws::Batch
|
|
|
4912
4913
|
#
|
|
4913
4914
|
# @!attribute [rw] scheduling_priority
|
|
4914
4915
|
# The scheduling priority of the job definition. This only affects
|
|
4915
|
-
# jobs in job queues with a fair
|
|
4916
|
+
# jobs in job queues with a fair-share policy. Jobs with a higher
|
|
4916
4917
|
# scheduling priority are scheduled before jobs with a lower
|
|
4917
4918
|
# scheduling priority.
|
|
4918
4919
|
# @return [Integer]
|
|
@@ -5081,7 +5082,7 @@ module Aws::Batch
|
|
|
5081
5082
|
#
|
|
5082
5083
|
# @!attribute [rw] scheduling_priority
|
|
5083
5084
|
# The scheduling policy of the job definition. This only affects jobs
|
|
5084
|
-
# in job queues with a fair
|
|
5085
|
+
# in job queues with a fair-share policy. Jobs with a higher
|
|
5085
5086
|
# scheduling priority are scheduled before jobs with a lower
|
|
5086
5087
|
# scheduling priority.
|
|
5087
5088
|
# @return [Integer]
|
|
@@ -5822,7 +5823,7 @@ module Aws::Batch
|
|
|
5822
5823
|
# If a `maxSwap` value of `0` is specified, the container doesn't use
|
|
5823
5824
|
# swap. Accepted values are `0` or any positive integer. If the
|
|
5824
5825
|
# `maxSwap` parameter is omitted, the container doesn't use the swap
|
|
5825
|
-
# configuration for the container instance
|
|
5826
|
+
# configuration for the container instance on which it runs. A
|
|
5826
5827
|
# `maxSwap` value must be set for the `swappiness` parameter to be
|
|
5827
5828
|
# used.
|
|
5828
5829
|
#
|
|
@@ -6594,7 +6595,7 @@ module Aws::Batch
|
|
|
6594
6595
|
#
|
|
6595
6596
|
# @!attribute [rw] scheduling_priority
|
|
6596
6597
|
# The scheduling priority for jobs that are submitted with this job
|
|
6597
|
-
# definition. This only affects jobs in job queues with a fair
|
|
6598
|
+
# definition. This only affects jobs in job queues with a fair-share
|
|
6598
6599
|
# policy. Jobs with a higher scheduling priority are scheduled before
|
|
6599
6600
|
# jobs with a lower scheduling priority.
|
|
6600
6601
|
#
|
|
@@ -7033,7 +7034,7 @@ module Aws::Batch
|
|
|
7033
7034
|
# An object that represents a scheduling policy.
|
|
7034
7035
|
#
|
|
7035
7036
|
# @!attribute [rw] name
|
|
7036
|
-
# The name of the scheduling policy.
|
|
7037
|
+
# The name of the fair-share scheduling policy.
|
|
7037
7038
|
# @return [String]
|
|
7038
7039
|
#
|
|
7039
7040
|
# @!attribute [rw] arn
|
|
@@ -7044,14 +7045,14 @@ module Aws::Batch
|
|
|
7044
7045
|
# @return [String]
|
|
7045
7046
|
#
|
|
7046
7047
|
# @!attribute [rw] fairshare_policy
|
|
7047
|
-
# The fair
|
|
7048
|
+
# The fair-share scheduling policy details.
|
|
7048
7049
|
# @return [Types::FairsharePolicy]
|
|
7049
7050
|
#
|
|
7050
7051
|
# @!attribute [rw] tags
|
|
7051
|
-
# The tags that you apply to the scheduling policy to
|
|
7052
|
-
# organize your resources. Each tag consists of a key
|
|
7053
|
-
# value. For more information, see [Tagging Amazon Web
|
|
7054
|
-
# resources][1] in *Amazon Web Services General Reference*.
|
|
7052
|
+
# The tags that you apply to the fair-share scheduling policy to
|
|
7053
|
+
# categorize and organize your resources. Each tag consists of a key
|
|
7054
|
+
# and an optional value. For more information, see [Tagging Amazon Web
|
|
7055
|
+
# Services resources][1] in *Amazon Web Services General Reference*.
|
|
7055
7056
|
#
|
|
7056
7057
|
#
|
|
7057
7058
|
#
|
|
@@ -7141,20 +7142,19 @@ module Aws::Batch
|
|
|
7141
7142
|
include Aws::Structure
|
|
7142
7143
|
end
|
|
7143
7144
|
|
|
7144
|
-
# Specifies the weights for the
|
|
7145
|
-
#
|
|
7146
|
-
#
|
|
7145
|
+
# Specifies the weights for the share identifiers for the fair-share
|
|
7146
|
+
# policy. Share identifiers that aren't included have a default weight
|
|
7147
|
+
# of `1.0`.
|
|
7147
7148
|
#
|
|
7148
7149
|
# @!attribute [rw] share_identifier
|
|
7149
|
-
# A
|
|
7150
|
-
#
|
|
7151
|
-
#
|
|
7152
|
-
#
|
|
7153
|
-
# can't
|
|
7154
|
-
# `shareIdentifier` of `UserA
|
|
7155
|
-
#
|
|
7156
|
-
#
|
|
7157
|
-
# There can be no more than 500 fair share identifiers active in a job
|
|
7150
|
+
# A share identifier or share identifier prefix. If the string ends
|
|
7151
|
+
# with an asterisk (*), this entry specifies the weight factor to use
|
|
7152
|
+
# for share identifiers that start with that prefix. The list of share
|
|
7153
|
+
# identifiers in a fair-share policy can't overlap. For example, you
|
|
7154
|
+
# can't have one that specifies a `shareIdentifier` of `UserA*` and
|
|
7155
|
+
# another that specifies a `shareIdentifier` of `UserA-1`.
|
|
7156
|
+
#
|
|
7157
|
+
# There can be no more than 500 share identifiers active in a job
|
|
7158
7158
|
# queue.
|
|
7159
7159
|
#
|
|
7160
7160
|
# The string is limited to 255 alphanumeric characters, and can be
|
|
@@ -7162,10 +7162,10 @@ module Aws::Batch
|
|
|
7162
7162
|
# @return [String]
|
|
7163
7163
|
#
|
|
7164
7164
|
# @!attribute [rw] weight_factor
|
|
7165
|
-
# The weight factor for the
|
|
7166
|
-
#
|
|
7167
|
-
#
|
|
7168
|
-
#
|
|
7165
|
+
# The weight factor for the share identifier. The default value is
|
|
7166
|
+
# 1.0. A lower value has a higher priority for compute resources. For
|
|
7167
|
+
# example, jobs that use a share identifier with a weight factor of
|
|
7168
|
+
# 0.125 (1/8) get 8 times the compute resources of jobs that use a
|
|
7169
7169
|
# share identifier with a weight factor of 1.
|
|
7170
7170
|
#
|
|
7171
7171
|
# The smallest supported value is 0.0001, and the largest supported
|
|
@@ -7196,8 +7196,9 @@ module Aws::Batch
|
|
|
7196
7196
|
#
|
|
7197
7197
|
# @!attribute [rw] share_identifier
|
|
7198
7198
|
# The share identifier for the job. Don't specify this parameter if
|
|
7199
|
-
# the job queue doesn't have a scheduling policy. If the
|
|
7200
|
-
# has a scheduling policy, then this parameter
|
|
7199
|
+
# the job queue doesn't have a fair-share scheduling policy. If the
|
|
7200
|
+
# job queue has a fair-share scheduling policy, then this parameter
|
|
7201
|
+
# must be specified.
|
|
7201
7202
|
#
|
|
7202
7203
|
# This string is limited to 255 alphanumeric characters, and can be
|
|
7203
7204
|
# followed by an asterisk (*).
|
|
@@ -7205,7 +7206,7 @@ module Aws::Batch
|
|
|
7205
7206
|
#
|
|
7206
7207
|
# @!attribute [rw] scheduling_priority_override
|
|
7207
7208
|
# The scheduling priority for the job. This only affects jobs in job
|
|
7208
|
-
# queues with a fair
|
|
7209
|
+
# queues with a fair-share policy. Jobs with a higher scheduling
|
|
7209
7210
|
# priority are scheduled before jobs with a lower scheduling priority.
|
|
7210
7211
|
# This overrides any scheduling priority in the job definition and
|
|
7211
7212
|
# works only within a single share identifier.
|
|
@@ -8316,9 +8317,9 @@ module Aws::Batch
|
|
|
8316
8317
|
# @!attribute [rw] unmanagedv_cpus
|
|
8317
8318
|
# The maximum number of vCPUs expected to be used for an unmanaged
|
|
8318
8319
|
# compute environment. Don't specify this parameter for a managed
|
|
8319
|
-
# compute environment. This parameter is only used for fair
|
|
8320
|
+
# compute environment. This parameter is only used for fair-share
|
|
8320
8321
|
# scheduling to reserve vCPU capacity for new share identifiers. If
|
|
8321
|
-
# this parameter isn't provided for a fair
|
|
8322
|
+
# this parameter isn't provided for a fair-share job queue, no vCPU
|
|
8322
8323
|
# capacity is reserved.
|
|
8323
8324
|
# @return [Integer]
|
|
8324
8325
|
#
|
|
@@ -8427,8 +8428,8 @@ module Aws::Batch
|
|
|
8427
8428
|
# @return [String]
|
|
8428
8429
|
#
|
|
8429
8430
|
# @!attribute [rw] scheduling_policy_arn
|
|
8430
|
-
# Amazon Resource Name (ARN) of the fair
|
|
8431
|
-
# a job queue is created, the fair
|
|
8431
|
+
# Amazon Resource Name (ARN) of the fair-share scheduling policy. Once
|
|
8432
|
+
# a job queue is created, the fair-share scheduling policy can be
|
|
8432
8433
|
# replaced but not removed. The format is
|
|
8433
8434
|
# `aws:Partition:batch:Region:Account:scheduling-policy/Name `. For
|
|
8434
8435
|
# example,
|
|
@@ -8537,7 +8538,7 @@ module Aws::Batch
|
|
|
8537
8538
|
# @return [String]
|
|
8538
8539
|
#
|
|
8539
8540
|
# @!attribute [rw] fairshare_policy
|
|
8540
|
-
# The fair
|
|
8541
|
+
# The fair-share policy scheduling details.
|
|
8541
8542
|
# @return [Types::FairsharePolicy]
|
|
8542
8543
|
#
|
|
8543
8544
|
# @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/UpdateSchedulingPolicyRequest AWS API Documentation
|
data/lib/aws-sdk-batch.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: aws-sdk-batch
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.110.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Amazon Web Services
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2025-02-
|
|
11
|
+
date: 2025-02-18 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aws-sdk-core
|