aws-sdk-batch 1.54.0 → 1.55.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-batch/client.rb +40 -37
- data/lib/aws-sdk-batch/types.rb +87 -85
- 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: fa14afd4f1dafa37ca5adbd582c89456632137ec4f2dd4c549a613ec8aad8af6
|
4
|
+
data.tar.gz: 040f573666176d1f803bda868ca3f3302dec546168b568dc16b7d6cb7bac5ddf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0b7e5cfb4db9d0dee94ae931c2fbcc654f8f88abaebe3b4ca7606d1a8c5a68bbc38173cd92b6d7fbb48a50440f0455c6029ee496b339cd8dac17cc05d870879b
|
7
|
+
data.tar.gz: 7a506a578143ccc8bac70375f21628f33d99de63419b5ea320c990155574c8f49cd1ce66967fb05e4883788eb011b57ce393bf75d3514477293ef1b0a7635b89
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.55.0
|
data/lib/aws-sdk-batch/client.rb
CHANGED
@@ -439,8 +439,9 @@ module Aws::Batch
|
|
439
439
|
# [3]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_container_instance.html
|
440
440
|
#
|
441
441
|
# @option params [required, String] :compute_environment_name
|
442
|
-
# The name for your compute environment.
|
443
|
-
# and lowercase
|
442
|
+
# The name for your compute environment. It can be up to 128 letters
|
443
|
+
# long. It can contain uppercase and lowercase letters, numbers, hyphens
|
444
|
+
# (-), and underscores (\_).
|
444
445
|
#
|
445
446
|
# @option params [required, String] :type
|
446
447
|
# The type of the compute environment: `MANAGED` or `UNMANAGED`. For
|
@@ -471,8 +472,8 @@ module Aws::Batch
|
|
471
472
|
# @option params [Integer] :unmanagedv_cpus
|
472
473
|
# The maximum number of vCPUs for an unmanaged compute environment. This
|
473
474
|
# parameter is only used for fair share scheduling to reserve vCPU
|
474
|
-
# capacity for new share identifiers. If this parameter
|
475
|
-
# for a fair share job queue, no vCPU capacity
|
475
|
+
# capacity for new share identifiers. If this parameter isn't provided
|
476
|
+
# for a fair share job queue, no vCPU capacity is reserved.
|
476
477
|
#
|
477
478
|
# <note markdown="1"> This parameter is only supported when the `type` parameter is set to
|
478
479
|
# `UNMANAGED`/
|
@@ -699,8 +700,9 @@ module Aws::Batch
|
|
699
700
|
# preference for scheduling jobs to that compute environment.
|
700
701
|
#
|
701
702
|
# @option params [required, String] :job_queue_name
|
702
|
-
# The name of the job queue.
|
703
|
-
# lowercase
|
703
|
+
# The name of the job queue. It can be up to 128 letters long. It can
|
704
|
+
# contain uppercase and lowercase letters, numbers, hyphens (-), and
|
705
|
+
# underscores (\_).
|
704
706
|
#
|
705
707
|
# @option params [String] :state
|
706
708
|
# The state of the job queue. If the job queue state is `ENABLED`, it is
|
@@ -709,14 +711,14 @@ module Aws::Batch
|
|
709
711
|
# finish.
|
710
712
|
#
|
711
713
|
# @option params [String] :scheduling_policy_arn
|
712
|
-
# Amazon Resource Name (ARN) of the fair share scheduling policy. If
|
713
|
-
# this parameter is specified, the job queue
|
714
|
-
# scheduling policy. If this parameter
|
715
|
-
#
|
716
|
-
#
|
717
|
-
#
|
718
|
-
# `aws:Partition:batch:Region:Account:scheduling-policy/Name `.
|
719
|
-
# example
|
714
|
+
# The Amazon Resource Name (ARN) of the fair share scheduling policy. If
|
715
|
+
# this parameter is specified, the job queue uses a fair share
|
716
|
+
# scheduling policy. If this parameter isn't specified, the job queue
|
717
|
+
# uses a first in, first out (FIFO) scheduling policy. After a job queue
|
718
|
+
# is created, you can replace but can't remove the fair share
|
719
|
+
# scheduling policy. The format is
|
720
|
+
# `aws:Partition:batch:Region:Account:scheduling-policy/Name `. An
|
721
|
+
# example is
|
720
722
|
# `aws:aws:batch:us-west-2:012345678910:scheduling-policy/MySchedulingPolicy`.
|
721
723
|
#
|
722
724
|
# @option params [required, Integer] :priority
|
@@ -845,8 +847,9 @@ module Aws::Batch
|
|
845
847
|
# Creates an Batch scheduling policy.
|
846
848
|
#
|
847
849
|
# @option params [required, String] :name
|
848
|
-
# The name of the scheduling policy.
|
849
|
-
# lowercase
|
850
|
+
# The name of the scheduling policy. It can be up to 128 letters long.
|
851
|
+
# It can contain uppercase and lowercase letters, numbers, hyphens (-),
|
852
|
+
# and underscores (\_).
|
850
853
|
#
|
851
854
|
# @option params [Types::FairsharePolicy] :fairshare_policy
|
852
855
|
# The fair share policy of the scheduling policy.
|
@@ -992,7 +995,7 @@ module Aws::Batch
|
|
992
995
|
|
993
996
|
# Deletes the specified scheduling policy.
|
994
997
|
#
|
995
|
-
# You can't delete a scheduling policy that
|
998
|
+
# You can't delete a scheduling policy that's used in any job queues.
|
996
999
|
#
|
997
1000
|
# @option params [required, String] :arn
|
998
1001
|
# The Amazon Resource Name (ARN) of the scheduling policy to delete.
|
@@ -1205,7 +1208,7 @@ module Aws::Batch
|
|
1205
1208
|
#
|
1206
1209
|
# @option params [Array<String>] :job_definitions
|
1207
1210
|
# A list of up to 100 job definitions. Each entry in the list can either
|
1208
|
-
# be an ARN
|
1211
|
+
# be an ARN in the format
|
1209
1212
|
# `arn:aws:batch:$\{Region\}:$\{Account\}:job-definition/$\{JobDefinitionName\}:$\{Revision\}`
|
1210
1213
|
# or a short version using the form
|
1211
1214
|
# `$\{JobDefinitionName\}:$\{Revision\}`.
|
@@ -1950,15 +1953,15 @@ module Aws::Batch
|
|
1950
1953
|
#
|
1951
1954
|
# : The value for the filter is the time that's before the job was
|
1952
1955
|
# created. This corresponds to the `createdAt` value. The value is a
|
1953
|
-
# string representation of the number of
|
1954
|
-
# (midnight) on January 1, 1970.
|
1956
|
+
# string representation of the number of milliseconds since 00:00:00
|
1957
|
+
# UTC (midnight) on January 1, 1970.
|
1955
1958
|
#
|
1956
1959
|
# AFTER\_CREATED\_AT
|
1957
1960
|
#
|
1958
1961
|
# : The value for the filter is the time that's after the job was
|
1959
1962
|
# created. This corresponds to the `createdAt` value. The value is a
|
1960
|
-
# string representation of the number of
|
1961
|
-
# (midnight) on January 1, 1970.
|
1963
|
+
# string representation of the number of milliseconds since 00:00:00
|
1964
|
+
# UTC (midnight) on January 1, 1970.
|
1962
1965
|
#
|
1963
1966
|
# @return [Types::ListJobsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1964
1967
|
#
|
@@ -2055,18 +2058,18 @@ module Aws::Batch
|
|
2055
2058
|
# Returns a list of Batch scheduling policies.
|
2056
2059
|
#
|
2057
2060
|
# @option params [Integer] :max_results
|
2058
|
-
# The maximum number of results returned by
|
2059
|
-
# paginated output. When this parameter is
|
2060
|
-
# `ListSchedulingPolicies` only returns `maxResults` results in a
|
2061
|
-
# page and a `nextToken` response element.
|
2062
|
-
#
|
2061
|
+
# The maximum number of results that's returned by
|
2062
|
+
# `ListSchedulingPolicies` in paginated output. When this parameter is
|
2063
|
+
# used, `ListSchedulingPolicies` only returns `maxResults` results in a
|
2064
|
+
# single page and a `nextToken` response element. You can see the
|
2065
|
+
# remaining results of the initial request by sending another
|
2063
2066
|
# `ListSchedulingPolicies` request with the returned `nextToken` value.
|
2064
2067
|
# This value can be between 1 and 100. If this parameter isn't used,
|
2065
|
-
#
|
2066
|
-
#
|
2068
|
+
# `ListSchedulingPolicies` returns up to 100 results and a `nextToken`
|
2069
|
+
# value if applicable.
|
2067
2070
|
#
|
2068
2071
|
# @option params [String] :next_token
|
2069
|
-
# The `nextToken` value returned from a previous paginated
|
2072
|
+
# The `nextToken` value that's returned from a previous paginated
|
2070
2073
|
# `ListSchedulingPolicies` request where `maxResults` was used and the
|
2071
2074
|
# results exceeded the value of that parameter. Pagination continues
|
2072
2075
|
# from the end of the previous results that returned the `nextToken`
|
@@ -2164,9 +2167,9 @@ module Aws::Batch
|
|
2164
2167
|
# Registers an Batch job definition.
|
2165
2168
|
#
|
2166
2169
|
# @option params [required, String] :job_definition_name
|
2167
|
-
# The name of the job definition to register.
|
2168
|
-
#
|
2169
|
-
#
|
2170
|
+
# The name of the job definition to register. It can be up to 128
|
2171
|
+
# letters long. It can contain uppercase and lowercase letters, numbers,
|
2172
|
+
# hyphens (-), and underscores (\_).
|
2170
2173
|
#
|
2171
2174
|
# @option params [required, String] :type
|
2172
2175
|
# The type of job definition. For more information about multi-node
|
@@ -2618,9 +2621,9 @@ module Aws::Batch
|
|
2618
2621
|
# might become unavailable and job might be terminated.
|
2619
2622
|
#
|
2620
2623
|
# @option params [required, String] :job_name
|
2621
|
-
# The name of the job.
|
2622
|
-
#
|
2623
|
-
# underscores
|
2624
|
+
# The name of the job. It can be up to 128 letters long. The first
|
2625
|
+
# character must be alphanumeric, can contain uppercase and lowercase
|
2626
|
+
# letters, numbers, hyphens (-), and underscores (\_).
|
2624
2627
|
#
|
2625
2628
|
# @option params [required, String] :job_queue
|
2626
2629
|
# The job queue where the job is submitted. You can specify either the
|
@@ -3264,7 +3267,7 @@ module Aws::Batch
|
|
3264
3267
|
params: params,
|
3265
3268
|
config: config)
|
3266
3269
|
context[:gem_name] = 'aws-sdk-batch'
|
3267
|
-
context[:gem_version] = '1.
|
3270
|
+
context[:gem_version] = '1.55.0'
|
3268
3271
|
Seahorse::Client::Request.new(handlers, context)
|
3269
3272
|
end
|
3270
3273
|
|
data/lib/aws-sdk-batch/types.rb
CHANGED
@@ -214,8 +214,9 @@ module Aws::Batch
|
|
214
214
|
# An object representing an Batch compute environment.
|
215
215
|
#
|
216
216
|
# @!attribute [rw] compute_environment_name
|
217
|
-
# The name of the compute environment.
|
218
|
-
#
|
217
|
+
# The name of the compute environment. It can be up to 128 letters
|
218
|
+
# long. It can contain uppercase and lowercase letters, numbers,
|
219
|
+
# hyphens (-), and underscores (\_).
|
219
220
|
# @return [String]
|
220
221
|
#
|
221
222
|
# @!attribute [rw] compute_environment_arn
|
@@ -1705,8 +1706,9 @@ module Aws::Batch
|
|
1705
1706
|
# }
|
1706
1707
|
#
|
1707
1708
|
# @!attribute [rw] compute_environment_name
|
1708
|
-
# The name for your compute environment.
|
1709
|
-
#
|
1709
|
+
# The name for your compute environment. It can be up to 128 letters
|
1710
|
+
# long. It can contain uppercase and lowercase letters, numbers,
|
1711
|
+
# hyphens (-), and underscores (\_).
|
1710
1712
|
# @return [String]
|
1711
1713
|
#
|
1712
1714
|
# @!attribute [rw] type
|
@@ -1740,9 +1742,8 @@ module Aws::Batch
|
|
1740
1742
|
# @!attribute [rw] unmanagedv_cpus
|
1741
1743
|
# The maximum number of vCPUs for an unmanaged compute environment.
|
1742
1744
|
# This parameter is only used for fair share scheduling to reserve
|
1743
|
-
# vCPU capacity for new share identifiers. If this parameter
|
1744
|
-
# provided for a fair share job queue, no vCPU capacity
|
1745
|
-
# reserved.
|
1745
|
+
# vCPU capacity for new share identifiers. If this parameter isn't
|
1746
|
+
# provided for a fair share job queue, no vCPU capacity is reserved.
|
1746
1747
|
#
|
1747
1748
|
# <note markdown="1"> This parameter is only supported when the `type` parameter is set to
|
1748
1749
|
# `UNMANAGED`/
|
@@ -1828,8 +1829,9 @@ module Aws::Batch
|
|
1828
1829
|
end
|
1829
1830
|
|
1830
1831
|
# @!attribute [rw] compute_environment_name
|
1831
|
-
# The name of the compute environment.
|
1832
|
-
#
|
1832
|
+
# The name of the compute environment. It can be up to 128 letters
|
1833
|
+
# long. It can contain uppercase and lowercase letters, numbers,
|
1834
|
+
# hyphens (-), and underscores (\_).
|
1833
1835
|
# @return [String]
|
1834
1836
|
#
|
1835
1837
|
# @!attribute [rw] compute_environment_arn
|
@@ -1867,8 +1869,9 @@ module Aws::Batch
|
|
1867
1869
|
# }
|
1868
1870
|
#
|
1869
1871
|
# @!attribute [rw] job_queue_name
|
1870
|
-
# The name of the job queue.
|
1871
|
-
# lowercase
|
1872
|
+
# The name of the job queue. It can be up to 128 letters long. It can
|
1873
|
+
# contain uppercase and lowercase letters, numbers, hyphens (-), and
|
1874
|
+
# underscores (\_).
|
1872
1875
|
# @return [String]
|
1873
1876
|
#
|
1874
1877
|
# @!attribute [rw] state
|
@@ -1879,14 +1882,14 @@ module Aws::Batch
|
|
1879
1882
|
# @return [String]
|
1880
1883
|
#
|
1881
1884
|
# @!attribute [rw] scheduling_policy_arn
|
1882
|
-
# Amazon Resource Name (ARN) of the fair share scheduling policy.
|
1883
|
-
# this parameter is specified, the job queue
|
1884
|
-
# scheduling policy. If this parameter
|
1885
|
-
#
|
1886
|
-
# queue is created,
|
1887
|
-
#
|
1888
|
-
# `aws:Partition:batch:Region:Account:scheduling-policy/Name `.
|
1889
|
-
# example
|
1885
|
+
# The Amazon Resource Name (ARN) of the fair share scheduling policy.
|
1886
|
+
# If this parameter is specified, the job queue uses a fair share
|
1887
|
+
# scheduling policy. If this parameter isn't specified, the job queue
|
1888
|
+
# uses a first in, first out (FIFO) scheduling policy. After a job
|
1889
|
+
# queue is created, you can replace but can't remove the fair share
|
1890
|
+
# scheduling policy. The format is
|
1891
|
+
# `aws:Partition:batch:Region:Account:scheduling-policy/Name `. An
|
1892
|
+
# example is
|
1890
1893
|
# `aws:aws:batch:us-west-2:012345678910:scheduling-policy/MySchedulingPolicy`.
|
1891
1894
|
# @return [String]
|
1892
1895
|
#
|
@@ -1982,8 +1985,9 @@ module Aws::Batch
|
|
1982
1985
|
# }
|
1983
1986
|
#
|
1984
1987
|
# @!attribute [rw] name
|
1985
|
-
# The name of the scheduling policy.
|
1986
|
-
# lowercase
|
1988
|
+
# The name of the scheduling policy. It can be up to 128 letters long.
|
1989
|
+
# It can contain uppercase and lowercase letters, numbers, hyphens
|
1990
|
+
# (-), and underscores (\_).
|
1987
1991
|
# @return [String]
|
1988
1992
|
#
|
1989
1993
|
# @!attribute [rw] fairshare_policy
|
@@ -2225,7 +2229,7 @@ module Aws::Batch
|
|
2225
2229
|
#
|
2226
2230
|
# @!attribute [rw] job_definitions
|
2227
2231
|
# A list of up to 100 job definitions. Each entry in the list can
|
2228
|
-
# either be an ARN
|
2232
|
+
# either be an ARN in the format
|
2229
2233
|
# `arn:aws:batch:$\{Region\}:$\{Account\}:job-definition/$\{JobDefinitionName\}:$\{Revision\}`
|
2230
2234
|
# or a short version using the form
|
2231
2235
|
# `$\{JobDefinitionName\}:$\{Revision\}`.
|
@@ -2754,12 +2758,9 @@ module Aws::Batch
|
|
2754
2758
|
# @!attribute [rw] share_decay_seconds
|
2755
2759
|
# The time period to use to calculate a fair share percentage for each
|
2756
2760
|
# fair share identifier in use, in seconds. A value of zero (0)
|
2757
|
-
# indicates that only current usage should be measured
|
2758
|
-
#
|
2759
|
-
#
|
2760
|
-
# share identifiers have no currently running jobs. The decay allows
|
2761
|
-
# for more recently run jobs to have more weight than jobs that ran
|
2762
|
-
# earlier. The maximum supported value is 604800 (1 week).
|
2761
|
+
# indicates that only current usage should be measured. The decay
|
2762
|
+
# allows for more recently run jobs to have more weight than jobs that
|
2763
|
+
# ran earlier. The maximum supported value is 604800 (1 week).
|
2763
2764
|
# @return [Integer]
|
2764
2765
|
#
|
2765
2766
|
# @!attribute [rw] compute_reservation
|
@@ -2783,9 +2784,9 @@ module Aws::Batch
|
|
2783
2784
|
# @return [Integer]
|
2784
2785
|
#
|
2785
2786
|
# @!attribute [rw] share_distribution
|
2786
|
-
#
|
2787
|
-
# fair share identifiers for the fair share policy. Fair share
|
2788
|
-
# identifiers that
|
2787
|
+
# An array of `SharedIdentifier` objects that contain the weights for
|
2788
|
+
# the fair share identifiers for the fair share policy. Fair share
|
2789
|
+
# identifiers that aren't included have a default weight of `1.0`.
|
2789
2790
|
# @return [Array<Types::ShareAttributes>]
|
2790
2791
|
#
|
2791
2792
|
# @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/FairsharePolicy AWS API Documentation
|
@@ -2899,9 +2900,9 @@ module Aws::Batch
|
|
2899
2900
|
# @return [String]
|
2900
2901
|
#
|
2901
2902
|
# @!attribute [rw] scheduling_priority
|
2902
|
-
# The scheduling priority of the job definition. This
|
2903
|
+
# The scheduling priority of the job definition. This only affects
|
2903
2904
|
# jobs in job queues with a fair share policy. Jobs with a higher
|
2904
|
-
# scheduling priority
|
2905
|
+
# scheduling priority are scheduled before jobs with a lower
|
2905
2906
|
# scheduling priority.
|
2906
2907
|
# @return [Integer]
|
2907
2908
|
#
|
@@ -3049,9 +3050,9 @@ module Aws::Batch
|
|
3049
3050
|
# @return [String]
|
3050
3051
|
#
|
3051
3052
|
# @!attribute [rw] scheduling_priority
|
3052
|
-
# The scheduling policy of the job definition. This
|
3053
|
-
#
|
3054
|
-
# scheduling priority
|
3053
|
+
# The scheduling policy of the job definition. This only affects jobs
|
3054
|
+
# in job queues with a fair share policy. Jobs with a higher
|
3055
|
+
# scheduling priority are scheduled before jobs with a lower
|
3055
3056
|
# scheduling priority.
|
3056
3057
|
# @return [Integer]
|
3057
3058
|
#
|
@@ -3200,8 +3201,8 @@ module Aws::Batch
|
|
3200
3201
|
# @return [String]
|
3201
3202
|
#
|
3202
3203
|
# @!attribute [rw] scheduling_policy_arn
|
3203
|
-
# Amazon Resource Name (ARN) of the scheduling policy. The format
|
3204
|
-
# `aws:Partition:batch:Region:Account:scheduling-policy/Name `. For
|
3204
|
+
# The Amazon Resource Name (ARN) of the scheduling policy. The format
|
3205
|
+
# is `aws:Partition:batch:Region:Account:scheduling-policy/Name `. For
|
3205
3206
|
# example,
|
3206
3207
|
# `aws:aws:batch:us-west-2:012345678910:scheduling-policy/MySchedulingPolicy`.
|
3207
3208
|
# @return [String]
|
@@ -3273,11 +3274,11 @@ module Aws::Batch
|
|
3273
3274
|
# @return [String]
|
3274
3275
|
#
|
3275
3276
|
# @!attribute [rw] created_at
|
3276
|
-
# The Unix timestamp for when the job was created.
|
3277
|
-
# and parent array jobs, this is when the job
|
3278
|
-
# state (at the time SubmitJob was called).
|
3279
|
-
# is when the child job was spawned by its
|
3280
|
-
# `PENDING` state.
|
3277
|
+
# The Unix timestamp (in milliseconds) for when the job was created.
|
3278
|
+
# For non-array jobs and parent array jobs, this is when the job
|
3279
|
+
# entered the `SUBMITTED` state (at the time SubmitJob was called).
|
3280
|
+
# For array child jobs, this is when the child job was spawned by its
|
3281
|
+
# parent and entered the `PENDING` state.
|
3281
3282
|
# @return [Integer]
|
3282
3283
|
#
|
3283
3284
|
# @!attribute [rw] status
|
@@ -3760,15 +3761,15 @@ module Aws::Batch
|
|
3760
3761
|
#
|
3761
3762
|
# : The value for the filter is the time that's before the job was
|
3762
3763
|
# created. This corresponds to the `createdAt` value. The value is a
|
3763
|
-
# string representation of the number of
|
3764
|
-
# (midnight) on January 1, 1970.
|
3764
|
+
# string representation of the number of milliseconds since 00:00:00
|
3765
|
+
# UTC (midnight) on January 1, 1970.
|
3765
3766
|
#
|
3766
3767
|
# AFTER\_CREATED\_AT
|
3767
3768
|
#
|
3768
3769
|
# : The value for the filter is the time that's after the job was
|
3769
3770
|
# created. This corresponds to the `createdAt` value. The value is a
|
3770
|
-
# string representation of the number of
|
3771
|
-
# (midnight) on January 1, 1970.
|
3771
|
+
# string representation of the number of milliseconds since 00:00:00
|
3772
|
+
# UTC (midnight) on January 1, 1970.
|
3772
3773
|
# @return [Array<Types::KeyValuesPair>]
|
3773
3774
|
#
|
3774
3775
|
# @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/ListJobsRequest AWS API Documentation
|
@@ -3814,19 +3815,19 @@ module Aws::Batch
|
|
3814
3815
|
# }
|
3815
3816
|
#
|
3816
3817
|
# @!attribute [rw] max_results
|
3817
|
-
# The maximum number of results returned by
|
3818
|
-
# in paginated output. When this parameter is
|
3819
|
-
# `ListSchedulingPolicies` only returns `maxResults` results in
|
3820
|
-
# single page and a `nextToken` response element.
|
3821
|
-
# results of the initial request
|
3818
|
+
# The maximum number of results that's returned by
|
3819
|
+
# `ListSchedulingPolicies` in paginated output. When this parameter is
|
3820
|
+
# used, `ListSchedulingPolicies` only returns `maxResults` results in
|
3821
|
+
# a single page and a `nextToken` response element. You can see the
|
3822
|
+
# remaining results of the initial request by sending another
|
3822
3823
|
# `ListSchedulingPolicies` request with the returned `nextToken`
|
3823
3824
|
# value. This value can be between 1 and 100. If this parameter isn't
|
3824
|
-
# used,
|
3825
|
+
# used, `ListSchedulingPolicies` returns up to 100 results and a
|
3825
3826
|
# `nextToken` value if applicable.
|
3826
3827
|
# @return [Integer]
|
3827
3828
|
#
|
3828
3829
|
# @!attribute [rw] next_token
|
3829
|
-
# The `nextToken` value returned from a previous paginated
|
3830
|
+
# The `nextToken` value that's returned from a previous paginated
|
3830
3831
|
# `ListSchedulingPolicies` request where `maxResults` was used and the
|
3831
3832
|
# results exceeded the value of that parameter. Pagination continues
|
3832
3833
|
# from the end of the previous results that returned the `nextToken`
|
@@ -4819,9 +4820,9 @@ module Aws::Batch
|
|
4819
4820
|
# }
|
4820
4821
|
#
|
4821
4822
|
# @!attribute [rw] job_definition_name
|
4822
|
-
# The name of the job definition to register.
|
4823
|
-
#
|
4824
|
-
#
|
4823
|
+
# The name of the job definition to register. It can be up to 128
|
4824
|
+
# letters long. It can contain uppercase and lowercase letters,
|
4825
|
+
# numbers, hyphens (-), and underscores (\_).
|
4825
4826
|
# @return [String]
|
4826
4827
|
#
|
4827
4828
|
# @!attribute [rw] type
|
@@ -5167,17 +5168,17 @@ module Aws::Batch
|
|
5167
5168
|
include Aws::Structure
|
5168
5169
|
end
|
5169
5170
|
|
5170
|
-
# An object
|
5171
|
+
# An object that represents a scheduling policy.
|
5171
5172
|
#
|
5172
5173
|
# @!attribute [rw] name
|
5173
5174
|
# The name of the scheduling policy.
|
5174
5175
|
# @return [String]
|
5175
5176
|
#
|
5176
5177
|
# @!attribute [rw] arn
|
5177
|
-
# Amazon Resource Name (ARN) of the scheduling policy. An example
|
5178
|
-
#
|
5178
|
+
# The Amazon Resource Name (ARN) of the scheduling policy. An example
|
5179
|
+
# is
|
5179
5180
|
# `arn:aws:batch:us-east-1:123456789012:scheduling-policy/HighPriority
|
5180
|
-
#
|
5181
|
+
# `.
|
5181
5182
|
# @return [String]
|
5182
5183
|
#
|
5183
5184
|
# @!attribute [rw] fairshare_policy
|
@@ -5185,10 +5186,10 @@ module Aws::Batch
|
|
5185
5186
|
# @return [Types::FairsharePolicy]
|
5186
5187
|
#
|
5187
5188
|
# @!attribute [rw] tags
|
5188
|
-
# The tags that you apply to the scheduling policy to
|
5189
|
-
#
|
5190
|
-
#
|
5191
|
-
#
|
5189
|
+
# The tags that you apply to the scheduling policy to categorize and
|
5190
|
+
# organize your resources. Each tag consists of a key and an optional
|
5191
|
+
# value. For more information, see [Tagging Amazon Web Services
|
5192
|
+
# Resources][1] in *Amazon Web Services General Reference*.
|
5192
5193
|
#
|
5193
5194
|
#
|
5194
5195
|
#
|
@@ -5206,8 +5207,8 @@ module Aws::Batch
|
|
5206
5207
|
include Aws::Structure
|
5207
5208
|
end
|
5208
5209
|
|
5209
|
-
# An object
|
5210
|
-
# `ListSchedulingPolicy` action.
|
5210
|
+
# An object that contains the details of a scheduling policy that's
|
5211
|
+
# returned in a `ListSchedulingPolicy` action.
|
5211
5212
|
#
|
5212
5213
|
# @!attribute [rw] arn
|
5213
5214
|
# Amazon Resource Name (ARN) of the scheduling policy.
|
@@ -5286,7 +5287,7 @@ module Aws::Batch
|
|
5286
5287
|
end
|
5287
5288
|
|
5288
5289
|
# Specifies the weights for the fair share identifiers for the fair
|
5289
|
-
# share policy. Fair share identifiers that
|
5290
|
+
# share policy. Fair share identifiers that aren't included have a
|
5290
5291
|
# default weight of `1.0`.
|
5291
5292
|
#
|
5292
5293
|
# @note When making an API call, you may pass ShareAttributes
|
@@ -5299,10 +5300,10 @@ module Aws::Batch
|
|
5299
5300
|
#
|
5300
5301
|
# @!attribute [rw] share_identifier
|
5301
5302
|
# A fair share identifier or fair share identifier prefix. If the
|
5302
|
-
# string ends with
|
5303
|
-
# to use for fair share identifiers that
|
5304
|
-
# list of fair share identifiers in a fair share policy
|
5305
|
-
# overlap. For example you
|
5303
|
+
# string ends with an asterisk (*), this entry specifies the weight
|
5304
|
+
# factor to use for fair share identifiers that start with that
|
5305
|
+
# prefix. The list of fair share identifiers in a fair share policy
|
5306
|
+
# cannot overlap. For example, you can't have one that specifies a
|
5306
5307
|
# `shareIdentifier` of `UserA*` and another that specifies a
|
5307
5308
|
# `shareIdentifier` of `UserA-1`.
|
5308
5309
|
#
|
@@ -5310,17 +5311,17 @@ module Aws::Batch
|
|
5310
5311
|
# queue.
|
5311
5312
|
#
|
5312
5313
|
# The string is limited to 255 alphanumeric characters, optionally
|
5313
|
-
# followed by
|
5314
|
+
# followed by an asterisk (*).
|
5314
5315
|
# @return [String]
|
5315
5316
|
#
|
5316
5317
|
# @!attribute [rw] weight_factor
|
5317
5318
|
# The weight factor for the fair share identifier. The default value
|
5318
5319
|
# is 1.0. A lower value has a higher priority for compute resources.
|
5319
|
-
# For example, jobs
|
5320
|
-
# 0.125 (1/8)
|
5320
|
+
# For example, jobs that use a share identifier with a weight factor
|
5321
|
+
# of 0.125 (1/8) get 8 times the compute resources of jobs that use a
|
5321
5322
|
# share identifier with a weight factor of 1.
|
5322
5323
|
#
|
5323
|
-
# The smallest supported value is 0.0001 and the largest supported
|
5324
|
+
# The smallest supported value is 0.0001, and the largest supported
|
5324
5325
|
# value is 999.9999.
|
5325
5326
|
# @return [Float]
|
5326
5327
|
#
|
@@ -5421,9 +5422,9 @@ module Aws::Batch
|
|
5421
5422
|
# }
|
5422
5423
|
#
|
5423
5424
|
# @!attribute [rw] job_name
|
5424
|
-
# The name of the job.
|
5425
|
-
#
|
5426
|
-
# underscores
|
5425
|
+
# The name of the job. It can be up to 128 letters long. The first
|
5426
|
+
# character must be alphanumeric, can contain uppercase and lowercase
|
5427
|
+
# letters, numbers, hyphens (-), and underscores (\_).
|
5427
5428
|
# @return [String]
|
5428
5429
|
#
|
5429
5430
|
# @!attribute [rw] job_queue
|
@@ -5889,8 +5890,9 @@ module Aws::Batch
|
|
5889
5890
|
end
|
5890
5891
|
|
5891
5892
|
# @!attribute [rw] compute_environment_name
|
5892
|
-
# The name of the compute environment.
|
5893
|
-
#
|
5893
|
+
# The name of the compute environment. It can be up to 128 letters
|
5894
|
+
# long. It can contain uppercase and lowercase letters, numbers,
|
5895
|
+
# hyphens (-), and underscores (\_).
|
5894
5896
|
# @return [String]
|
5895
5897
|
#
|
5896
5898
|
# @!attribute [rw] compute_environment_arn
|
@@ -6077,10 +6079,10 @@ module Aws::Batch
|
|
6077
6079
|
# @return [Types::Host]
|
6078
6080
|
#
|
6079
6081
|
# @!attribute [rw] name
|
6080
|
-
# The name of the volume.
|
6081
|
-
#
|
6082
|
-
# referenced in the `sourceVolume`
|
6083
|
-
# `mountPoints`.
|
6082
|
+
# The name of the volume. It can be up to 255 letters long. It can
|
6083
|
+
# contain uppercase and lowercase letters, numbers, hyphens (-), and
|
6084
|
+
# underscores (\_). This name is referenced in the `sourceVolume`
|
6085
|
+
# parameter of container definition `mountPoints`.
|
6084
6086
|
# @return [String]
|
6085
6087
|
#
|
6086
6088
|
# @!attribute [rw] efs_volume_configuration
|
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.55.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: 2021-11-
|
11
|
+
date: 2021-11-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|