aws-sdk-deadline 1.18.0 → 1.19.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-deadline/client.rb +561 -34
- data/lib/aws-sdk-deadline/client_api.rb +349 -8
- data/lib/aws-sdk-deadline/types.rb +835 -76
- data/lib/aws-sdk-deadline/waiters.rb +38 -0
- data/lib/aws-sdk-deadline.rb +1 -1
- data/sig/client.rbs +164 -15
- data/sig/types.rbs +179 -8
- data/sig/waiters.rbs +14 -2
- metadata +2 -2
@@ -10,23 +10,20 @@
|
|
10
10
|
module Aws::Deadline
|
11
11
|
module Types
|
12
12
|
|
13
|
-
# Provides information about the GPU accelerators
|
14
|
-
#
|
15
|
-
# `acceleratorCapabilities` property in the
|
16
|
-
# [ServiceManagedEc2InstanceCapabilities][1] object, all of the Amazon
|
17
|
-
# EC2 instances will have at least one accelerator.
|
18
|
-
#
|
19
|
-
#
|
20
|
-
#
|
21
|
-
# [1]: https://docs.aws.amazon.com/deadline-cloud/latest/APIReference/API_ServiceManagedEc2InstanceCapabilities
|
13
|
+
# Provides information about the GPU accelerators used for jobs
|
14
|
+
# processed by a fleet.
|
22
15
|
#
|
23
16
|
# @!attribute [rw] selections
|
24
|
-
# A list of
|
25
|
-
#
|
17
|
+
# A list of accelerator capabilities requested for this fleet. Only
|
18
|
+
# Amazon Elastic Compute Cloud instances that provide these
|
19
|
+
# capabilities will be used. For example, if you specify both L4 and
|
20
|
+
# T4 chips, Deadline Cloud will use Amazon EC2 instances that have
|
21
|
+
# either the L4 or the T4 chip installed.
|
26
22
|
# @return [Array<Types::AcceleratorSelection>]
|
27
23
|
#
|
28
24
|
# @!attribute [rw] count
|
29
|
-
# The number of
|
25
|
+
# The number of GPU accelerators specified for worker hosts in this
|
26
|
+
# fleet.
|
30
27
|
# @return [Types::AcceleratorCountRange]
|
31
28
|
#
|
32
29
|
# @see http://docs.aws.amazon.com/goto/WebAPI/deadline-2023-10-12/AcceleratorCapabilities AWS API Documentation
|
@@ -38,15 +35,15 @@ module Aws::Deadline
|
|
38
35
|
include Aws::Structure
|
39
36
|
end
|
40
37
|
|
41
|
-
#
|
38
|
+
# Defines the maximum and minimum number of GPU accelerators required
|
39
|
+
# for a worker instance..
|
42
40
|
#
|
43
41
|
# @!attribute [rw] min
|
44
|
-
# The minimum number of
|
45
|
-
# to 0, a worker will still have 1 GPU.
|
42
|
+
# The minimum number of GPU accelerators in the worker host.
|
46
43
|
# @return [Integer]
|
47
44
|
#
|
48
45
|
# @!attribute [rw] max
|
49
|
-
# The maximum number of
|
46
|
+
# The maximum number of GPU accelerators in the worker host.
|
50
47
|
# @return [Integer]
|
51
48
|
#
|
52
49
|
# @see http://docs.aws.amazon.com/goto/WebAPI/deadline-2023-10-12/AcceleratorCountRange AWS API Documentation
|
@@ -58,15 +55,49 @@ module Aws::Deadline
|
|
58
55
|
include Aws::Structure
|
59
56
|
end
|
60
57
|
|
61
|
-
#
|
62
|
-
#
|
58
|
+
# Describes a specific GPU accelerator required for an Amazon Elastic
|
59
|
+
# Compute Cloud worker host.
|
63
60
|
#
|
64
61
|
# @!attribute [rw] name
|
65
|
-
# The name of the GPU accelerator.
|
62
|
+
# The name of the chip used by the GPU accelerator.
|
63
|
+
#
|
64
|
+
# If you specify `l4` as the name of the accelerator, you must specify
|
65
|
+
# `latest` or `grid:r550` as the runtime.
|
66
|
+
#
|
67
|
+
# The available GPU accelerators are:
|
68
|
+
#
|
69
|
+
# * `t4` - NVIDIA T4 Tensor Core GPU
|
70
|
+
#
|
71
|
+
# * `a10g` - NVIDIA A10G Tensor Core GPU
|
72
|
+
#
|
73
|
+
# * `l4` - NVIDIA L4 Tensor Core GPU
|
74
|
+
#
|
75
|
+
# * `l40s` - NVIDIA L40S Tensor Core GPU
|
66
76
|
# @return [String]
|
67
77
|
#
|
68
78
|
# @!attribute [rw] runtime
|
69
|
-
#
|
79
|
+
# Specifies the runtime driver to use for the GPU accelerator. You
|
80
|
+
# must use the same runtime for all GPUs.
|
81
|
+
#
|
82
|
+
# You can choose from the following runtimes:
|
83
|
+
#
|
84
|
+
# * `latest` - Use the latest runtime available for the chip. If you
|
85
|
+
# specify `latest` and a new version of the runtime is released, the
|
86
|
+
# new version of the runtime is used.
|
87
|
+
#
|
88
|
+
# * `grid:r550` - [NVIDIA vGPU software 17][1]
|
89
|
+
#
|
90
|
+
# * `grid:r535` - [NVIDIA vGPU software 16][2]
|
91
|
+
#
|
92
|
+
# If you don't specify a runtime, Deadline Cloud uses `latest` as the
|
93
|
+
# default. However, if you have multiple accelerators and specify
|
94
|
+
# `latest` for some and leave others blank, Deadline Cloud raises an
|
95
|
+
# exception.
|
96
|
+
#
|
97
|
+
#
|
98
|
+
#
|
99
|
+
# [1]: https://docs.nvidia.com/vgpu/17.0/index.html
|
100
|
+
# [2]: https://docs.nvidia.com/vgpu/16.0/index.html
|
70
101
|
# @return [String]
|
71
102
|
#
|
72
103
|
# @see http://docs.aws.amazon.com/goto/WebAPI/deadline-2023-10-12/AcceleratorSelection AWS API Documentation
|
@@ -78,7 +109,8 @@ module Aws::Deadline
|
|
78
109
|
include Aws::Structure
|
79
110
|
end
|
80
111
|
|
81
|
-
#
|
112
|
+
# Defines the maximum and minimum amount of memory, in MiB, to use for
|
113
|
+
# the accelerator.
|
82
114
|
#
|
83
115
|
# @!attribute [rw] min
|
84
116
|
# The minimum amount of memory to use for the accelerator, measured in
|
@@ -118,6 +150,25 @@ module Aws::Deadline
|
|
118
150
|
include Aws::Structure
|
119
151
|
end
|
120
152
|
|
153
|
+
# Provides information about the number of resources used.
|
154
|
+
#
|
155
|
+
# @!attribute [rw] limit_id
|
156
|
+
# The unique identifier of the limit.
|
157
|
+
# @return [String]
|
158
|
+
#
|
159
|
+
# @!attribute [rw] count
|
160
|
+
# The number of limit resources used.
|
161
|
+
# @return [Integer]
|
162
|
+
#
|
163
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/deadline-2023-10-12/AcquiredLimit AWS API Documentation
|
164
|
+
#
|
165
|
+
class AcquiredLimit < Struct.new(
|
166
|
+
:limit_id,
|
167
|
+
:count)
|
168
|
+
SENSITIVE = []
|
169
|
+
include Aws::Structure
|
170
|
+
end
|
171
|
+
|
121
172
|
# The assigned starting environment for a worker during session.
|
122
173
|
#
|
123
174
|
# @!attribute [rw] environment_id
|
@@ -1196,6 +1247,19 @@ module Aws::Deadline
|
|
1196
1247
|
# The maximum number of retries for each task.
|
1197
1248
|
# @return [Integer]
|
1198
1249
|
#
|
1250
|
+
# @!attribute [rw] max_worker_count
|
1251
|
+
# The maximum number of worker hosts that can concurrently process a
|
1252
|
+
# job. When the `maxWorkerCount` is reached, no more workers will be
|
1253
|
+
# assigned to process the job, even if the fleets assigned to the
|
1254
|
+
# job's queue has available workers.
|
1255
|
+
#
|
1256
|
+
# You can't set the `maxWorkerCount` to 0. If you set it to -1, there
|
1257
|
+
# is no maximum number of workers.
|
1258
|
+
#
|
1259
|
+
# If you don't specify the `maxWorkerCount`, Deadline Cloud won't
|
1260
|
+
# throttle the number of workers used to process the job.
|
1261
|
+
# @return [Integer]
|
1262
|
+
#
|
1199
1263
|
# @!attribute [rw] source_job_id
|
1200
1264
|
# The job ID for the source job.
|
1201
1265
|
# @return [String]
|
@@ -1215,6 +1279,7 @@ module Aws::Deadline
|
|
1215
1279
|
:target_task_run_status,
|
1216
1280
|
:max_failed_tasks_count,
|
1217
1281
|
:max_retries_per_task,
|
1282
|
+
:max_worker_count,
|
1218
1283
|
:source_job_id)
|
1219
1284
|
SENSITIVE = [:template, :parameters]
|
1220
1285
|
include Aws::Structure
|
@@ -1281,6 +1346,77 @@ module Aws::Deadline
|
|
1281
1346
|
include Aws::Structure
|
1282
1347
|
end
|
1283
1348
|
|
1349
|
+
# @!attribute [rw] client_token
|
1350
|
+
# The unique token which the server uses to recognize retries of the
|
1351
|
+
# same request.
|
1352
|
+
#
|
1353
|
+
# **A suitable default value is auto-generated.** You should normally
|
1354
|
+
# not need to pass this option.
|
1355
|
+
# @return [String]
|
1356
|
+
#
|
1357
|
+
# @!attribute [rw] display_name
|
1358
|
+
# The display name of the limit.
|
1359
|
+
#
|
1360
|
+
# This field can store any content. Escape or encode this content
|
1361
|
+
# before displaying it on a webpage or any other system that might
|
1362
|
+
# interpret the content of this field.
|
1363
|
+
# @return [String]
|
1364
|
+
#
|
1365
|
+
# @!attribute [rw] amount_requirement_name
|
1366
|
+
# The value that you specify as the `name` in the `amounts` field of
|
1367
|
+
# the `hostRequirements` in a step of a job template to declare the
|
1368
|
+
# limit requirement.
|
1369
|
+
# @return [String]
|
1370
|
+
#
|
1371
|
+
# @!attribute [rw] max_count
|
1372
|
+
# The maximum number of resources constrained by this limit. When all
|
1373
|
+
# of the resources are in use, steps that require the limit won't be
|
1374
|
+
# scheduled until the resource is available.
|
1375
|
+
#
|
1376
|
+
# The `maxCount` must not be 0. If the value is -1, there is no
|
1377
|
+
# restriction on the number of resources that can be acquired for this
|
1378
|
+
# limit.
|
1379
|
+
# @return [Integer]
|
1380
|
+
#
|
1381
|
+
# @!attribute [rw] farm_id
|
1382
|
+
# The farm ID of the farm that contains the limit.
|
1383
|
+
# @return [String]
|
1384
|
+
#
|
1385
|
+
# @!attribute [rw] description
|
1386
|
+
# A description of the limit. A description helps you identify the
|
1387
|
+
# purpose of the limit.
|
1388
|
+
#
|
1389
|
+
# This field can store any content. Escape or encode this content
|
1390
|
+
# before displaying it on a webpage or any other system that might
|
1391
|
+
# interpret the content of this field.
|
1392
|
+
# @return [String]
|
1393
|
+
#
|
1394
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/deadline-2023-10-12/CreateLimitRequest AWS API Documentation
|
1395
|
+
#
|
1396
|
+
class CreateLimitRequest < Struct.new(
|
1397
|
+
:client_token,
|
1398
|
+
:display_name,
|
1399
|
+
:amount_requirement_name,
|
1400
|
+
:max_count,
|
1401
|
+
:farm_id,
|
1402
|
+
:description)
|
1403
|
+
SENSITIVE = [:description]
|
1404
|
+
include Aws::Structure
|
1405
|
+
end
|
1406
|
+
|
1407
|
+
# @!attribute [rw] limit_id
|
1408
|
+
# A unique identifier for the limit. Use this identifier in other
|
1409
|
+
# operations, such as `CreateQueueLimitAssociation` and `DeleteLimit`.
|
1410
|
+
# @return [String]
|
1411
|
+
#
|
1412
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/deadline-2023-10-12/CreateLimitResponse AWS API Documentation
|
1413
|
+
#
|
1414
|
+
class CreateLimitResponse < Struct.new(
|
1415
|
+
:limit_id)
|
1416
|
+
SENSITIVE = []
|
1417
|
+
include Aws::Structure
|
1418
|
+
end
|
1419
|
+
|
1284
1420
|
# @!attribute [rw] client_token
|
1285
1421
|
# The unique token which the server uses to recognize retries of the
|
1286
1422
|
# same request.
|
@@ -1426,6 +1562,33 @@ module Aws::Deadline
|
|
1426
1562
|
#
|
1427
1563
|
class CreateQueueFleetAssociationResponse < Aws::EmptyStructure; end
|
1428
1564
|
|
1565
|
+
# @!attribute [rw] farm_id
|
1566
|
+
# The unique identifier of the farm that contains the queue and limit
|
1567
|
+
# to associate.
|
1568
|
+
# @return [String]
|
1569
|
+
#
|
1570
|
+
# @!attribute [rw] queue_id
|
1571
|
+
# The unique identifier of the queue to associate with the limit.
|
1572
|
+
# @return [String]
|
1573
|
+
#
|
1574
|
+
# @!attribute [rw] limit_id
|
1575
|
+
# The unique identifier of the limit to associate with the queue.
|
1576
|
+
# @return [String]
|
1577
|
+
#
|
1578
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/deadline-2023-10-12/CreateQueueLimitAssociationRequest AWS API Documentation
|
1579
|
+
#
|
1580
|
+
class CreateQueueLimitAssociationRequest < Struct.new(
|
1581
|
+
:farm_id,
|
1582
|
+
:queue_id,
|
1583
|
+
:limit_id)
|
1584
|
+
SENSITIVE = []
|
1585
|
+
include Aws::Structure
|
1586
|
+
end
|
1587
|
+
|
1588
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/deadline-2023-10-12/CreateQueueLimitAssociationResponse AWS API Documentation
|
1589
|
+
#
|
1590
|
+
class CreateQueueLimitAssociationResponse < Aws::EmptyStructure; end
|
1591
|
+
|
1429
1592
|
# @!attribute [rw] client_token
|
1430
1593
|
# The unique token which the server uses to recognize retries of the
|
1431
1594
|
# same request.
|
@@ -1796,6 +1959,27 @@ module Aws::Deadline
|
|
1796
1959
|
#
|
1797
1960
|
class DeleteLicenseEndpointResponse < Aws::EmptyStructure; end
|
1798
1961
|
|
1962
|
+
# @!attribute [rw] farm_id
|
1963
|
+
# The unique identifier of the farm that contains the limit to delete.
|
1964
|
+
# @return [String]
|
1965
|
+
#
|
1966
|
+
# @!attribute [rw] limit_id
|
1967
|
+
# The unique identifier of the limit to delete.
|
1968
|
+
# @return [String]
|
1969
|
+
#
|
1970
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/deadline-2023-10-12/DeleteLimitRequest AWS API Documentation
|
1971
|
+
#
|
1972
|
+
class DeleteLimitRequest < Struct.new(
|
1973
|
+
:farm_id,
|
1974
|
+
:limit_id)
|
1975
|
+
SENSITIVE = []
|
1976
|
+
include Aws::Structure
|
1977
|
+
end
|
1978
|
+
|
1979
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/deadline-2023-10-12/DeleteLimitResponse AWS API Documentation
|
1980
|
+
#
|
1981
|
+
class DeleteLimitResponse < Aws::EmptyStructure; end
|
1982
|
+
|
1799
1983
|
# @!attribute [rw] license_endpoint_id
|
1800
1984
|
# The ID of the license endpoint from which to remove the metered
|
1801
1985
|
# product.
|
@@ -1888,6 +2072,33 @@ module Aws::Deadline
|
|
1888
2072
|
#
|
1889
2073
|
class DeleteQueueFleetAssociationResponse < Aws::EmptyStructure; end
|
1890
2074
|
|
2075
|
+
# @!attribute [rw] farm_id
|
2076
|
+
# The unique identifier of the farm that contains the queue and limit
|
2077
|
+
# to disassociate.
|
2078
|
+
# @return [String]
|
2079
|
+
#
|
2080
|
+
# @!attribute [rw] queue_id
|
2081
|
+
# The unique identifier of the queue to disassociate.
|
2082
|
+
# @return [String]
|
2083
|
+
#
|
2084
|
+
# @!attribute [rw] limit_id
|
2085
|
+
# The unique identifier of the limit to disassociate.
|
2086
|
+
# @return [String]
|
2087
|
+
#
|
2088
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/deadline-2023-10-12/DeleteQueueLimitAssociationRequest AWS API Documentation
|
2089
|
+
#
|
2090
|
+
class DeleteQueueLimitAssociationRequest < Struct.new(
|
2091
|
+
:farm_id,
|
2092
|
+
:queue_id,
|
2093
|
+
:limit_id)
|
2094
|
+
SENSITIVE = []
|
2095
|
+
include Aws::Structure
|
2096
|
+
end
|
2097
|
+
|
2098
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/deadline-2023-10-12/DeleteQueueLimitAssociationResponse AWS API Documentation
|
2099
|
+
#
|
2100
|
+
class DeleteQueueLimitAssociationResponse < Aws::EmptyStructure; end
|
2101
|
+
|
1891
2102
|
# @!attribute [rw] farm_id
|
1892
2103
|
# The ID of the farm from which to remove the queue.
|
1893
2104
|
# @return [String]
|
@@ -2942,20 +3153,20 @@ module Aws::Deadline
|
|
2942
3153
|
# The farm ID of the farm in the job.
|
2943
3154
|
# @return [String]
|
2944
3155
|
#
|
2945
|
-
# @!attribute [rw] job_id
|
2946
|
-
# The job ID.
|
2947
|
-
# @return [String]
|
2948
|
-
#
|
2949
3156
|
# @!attribute [rw] queue_id
|
2950
3157
|
# The queue ID associated with the job.
|
2951
3158
|
# @return [String]
|
2952
3159
|
#
|
3160
|
+
# @!attribute [rw] job_id
|
3161
|
+
# The job ID.
|
3162
|
+
# @return [String]
|
3163
|
+
#
|
2953
3164
|
# @see http://docs.aws.amazon.com/goto/WebAPI/deadline-2023-10-12/GetJobRequest AWS API Documentation
|
2954
3165
|
#
|
2955
3166
|
class GetJobRequest < Struct.new(
|
2956
3167
|
:farm_id,
|
2957
|
-
:
|
2958
|
-
:
|
3168
|
+
:queue_id,
|
3169
|
+
:job_id)
|
2959
3170
|
SENSITIVE = []
|
2960
3171
|
include Aws::Structure
|
2961
3172
|
end
|
@@ -3046,6 +3257,16 @@ module Aws::Deadline
|
|
3046
3257
|
# interpret the content of this field.
|
3047
3258
|
# @return [String]
|
3048
3259
|
#
|
3260
|
+
# @!attribute [rw] max_worker_count
|
3261
|
+
# The maximum number of worker hosts that can concurrently process a
|
3262
|
+
# job. When the `maxWorkerCount` is reached, no more workers will be
|
3263
|
+
# assigned to process the job, even if the fleets assigned to the
|
3264
|
+
# job's queue has available workers.
|
3265
|
+
#
|
3266
|
+
# If you don't set the `maxWorkerCount` when you create a job, this
|
3267
|
+
# value is not returned in the response.
|
3268
|
+
# @return [Integer]
|
3269
|
+
#
|
3049
3270
|
# @!attribute [rw] source_job_id
|
3050
3271
|
# The job ID for the source job.
|
3051
3272
|
# @return [String]
|
@@ -3073,6 +3294,7 @@ module Aws::Deadline
|
|
3073
3294
|
:parameters,
|
3074
3295
|
:attachments,
|
3075
3296
|
:description,
|
3297
|
+
:max_worker_count,
|
3076
3298
|
:source_job_id)
|
3077
3299
|
SENSITIVE = [:parameters, :description]
|
3078
3300
|
include Aws::Structure
|
@@ -3133,6 +3355,105 @@ module Aws::Deadline
|
|
3133
3355
|
include Aws::Structure
|
3134
3356
|
end
|
3135
3357
|
|
3358
|
+
# @!attribute [rw] farm_id
|
3359
|
+
# The unique identifier of the farm that contains the limit.
|
3360
|
+
# @return [String]
|
3361
|
+
#
|
3362
|
+
# @!attribute [rw] limit_id
|
3363
|
+
# The unique identifier of the limit to return.
|
3364
|
+
# @return [String]
|
3365
|
+
#
|
3366
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/deadline-2023-10-12/GetLimitRequest AWS API Documentation
|
3367
|
+
#
|
3368
|
+
class GetLimitRequest < Struct.new(
|
3369
|
+
:farm_id,
|
3370
|
+
:limit_id)
|
3371
|
+
SENSITIVE = []
|
3372
|
+
include Aws::Structure
|
3373
|
+
end
|
3374
|
+
|
3375
|
+
# @!attribute [rw] display_name
|
3376
|
+
# The display name of the limit.
|
3377
|
+
#
|
3378
|
+
# This field can store any content. Escape or encode this content
|
3379
|
+
# before displaying it on a webpage or any other system that might
|
3380
|
+
# interpret the content of this field.
|
3381
|
+
# @return [String]
|
3382
|
+
#
|
3383
|
+
# @!attribute [rw] amount_requirement_name
|
3384
|
+
# The value that you specify as the `name` in the `amounts` field of
|
3385
|
+
# the `hostRequirements` in a step of a job template to declare the
|
3386
|
+
# limit requirement.
|
3387
|
+
# @return [String]
|
3388
|
+
#
|
3389
|
+
# @!attribute [rw] max_count
|
3390
|
+
# The maximum number of resources constrained by this limit. When all
|
3391
|
+
# of the resources are in use, steps that require the limit won't be
|
3392
|
+
# scheduled until the resource is available.
|
3393
|
+
#
|
3394
|
+
# The `maxValue` must not be 0. If the value is -1, there is no
|
3395
|
+
# restriction on the number of resources that can be acquired for this
|
3396
|
+
# limit.
|
3397
|
+
# @return [Integer]
|
3398
|
+
#
|
3399
|
+
# @!attribute [rw] created_at
|
3400
|
+
# The Unix timestamp of the date and time that the limit was created.
|
3401
|
+
# @return [Time]
|
3402
|
+
#
|
3403
|
+
# @!attribute [rw] created_by
|
3404
|
+
# The user identifier of the person that created the limit.
|
3405
|
+
# @return [String]
|
3406
|
+
#
|
3407
|
+
# @!attribute [rw] updated_at
|
3408
|
+
# The Unix timestamp of the date and time that the limit was last
|
3409
|
+
# updated.
|
3410
|
+
# @return [Time]
|
3411
|
+
#
|
3412
|
+
# @!attribute [rw] updated_by
|
3413
|
+
# The user identifier of the person that last updated the limit.
|
3414
|
+
# @return [String]
|
3415
|
+
#
|
3416
|
+
# @!attribute [rw] farm_id
|
3417
|
+
# The unique identifier of the farm that contains the limit.
|
3418
|
+
# @return [String]
|
3419
|
+
#
|
3420
|
+
# @!attribute [rw] limit_id
|
3421
|
+
# The unique identifier of the limit.
|
3422
|
+
# @return [String]
|
3423
|
+
#
|
3424
|
+
# @!attribute [rw] current_count
|
3425
|
+
# The number of resources from the limit that are being used by jobs.
|
3426
|
+
# The result is delayed and may not be the count at the time that you
|
3427
|
+
# called the operation.
|
3428
|
+
# @return [Integer]
|
3429
|
+
#
|
3430
|
+
# @!attribute [rw] description
|
3431
|
+
# The description of the limit that helps identify what the limit is
|
3432
|
+
# used for.
|
3433
|
+
#
|
3434
|
+
# This field can store any content. Escape or encode this content
|
3435
|
+
# before displaying it on a webpage or any other system that might
|
3436
|
+
# interpret the content of this field.
|
3437
|
+
# @return [String]
|
3438
|
+
#
|
3439
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/deadline-2023-10-12/GetLimitResponse AWS API Documentation
|
3440
|
+
#
|
3441
|
+
class GetLimitResponse < Struct.new(
|
3442
|
+
:display_name,
|
3443
|
+
:amount_requirement_name,
|
3444
|
+
:max_count,
|
3445
|
+
:created_at,
|
3446
|
+
:created_by,
|
3447
|
+
:updated_at,
|
3448
|
+
:updated_by,
|
3449
|
+
:farm_id,
|
3450
|
+
:limit_id,
|
3451
|
+
:current_count,
|
3452
|
+
:description)
|
3453
|
+
SENSITIVE = [:description]
|
3454
|
+
include Aws::Structure
|
3455
|
+
end
|
3456
|
+
|
3136
3457
|
# @!attribute [rw] monitor_id
|
3137
3458
|
# The unique identifier for the monitor. This ID is returned by the
|
3138
3459
|
# `CreateMonitor` operation.
|
@@ -3358,6 +3679,73 @@ module Aws::Deadline
|
|
3358
3679
|
include Aws::Structure
|
3359
3680
|
end
|
3360
3681
|
|
3682
|
+
# @!attribute [rw] farm_id
|
3683
|
+
# The unique identifier of the farm that contains the associated queue
|
3684
|
+
# and limit.
|
3685
|
+
# @return [String]
|
3686
|
+
#
|
3687
|
+
# @!attribute [rw] queue_id
|
3688
|
+
# The unique identifier of the queue associated with the limit.
|
3689
|
+
# @return [String]
|
3690
|
+
#
|
3691
|
+
# @!attribute [rw] limit_id
|
3692
|
+
# The unique identifier of the limit associated with the queue.
|
3693
|
+
# @return [String]
|
3694
|
+
#
|
3695
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/deadline-2023-10-12/GetQueueLimitAssociationRequest AWS API Documentation
|
3696
|
+
#
|
3697
|
+
class GetQueueLimitAssociationRequest < Struct.new(
|
3698
|
+
:farm_id,
|
3699
|
+
:queue_id,
|
3700
|
+
:limit_id)
|
3701
|
+
SENSITIVE = []
|
3702
|
+
include Aws::Structure
|
3703
|
+
end
|
3704
|
+
|
3705
|
+
# @!attribute [rw] created_at
|
3706
|
+
# The Unix timestamp of the date and time that the association was
|
3707
|
+
# created.
|
3708
|
+
# @return [Time]
|
3709
|
+
#
|
3710
|
+
# @!attribute [rw] created_by
|
3711
|
+
# The user identifier of the person that created the association.
|
3712
|
+
# @return [String]
|
3713
|
+
#
|
3714
|
+
# @!attribute [rw] updated_at
|
3715
|
+
# The Unix timestamp of the date and time that the association was
|
3716
|
+
# last updated.
|
3717
|
+
# @return [Time]
|
3718
|
+
#
|
3719
|
+
# @!attribute [rw] updated_by
|
3720
|
+
# The user identifier of the person that last updated the association.
|
3721
|
+
# @return [String]
|
3722
|
+
#
|
3723
|
+
# @!attribute [rw] queue_id
|
3724
|
+
# The unique identifier of the queue associated with the limit.
|
3725
|
+
# @return [String]
|
3726
|
+
#
|
3727
|
+
# @!attribute [rw] limit_id
|
3728
|
+
# The unique identifier of the limit associated with the queue.
|
3729
|
+
# @return [String]
|
3730
|
+
#
|
3731
|
+
# @!attribute [rw] status
|
3732
|
+
# The current status of the limit.
|
3733
|
+
# @return [String]
|
3734
|
+
#
|
3735
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/deadline-2023-10-12/GetQueueLimitAssociationResponse AWS API Documentation
|
3736
|
+
#
|
3737
|
+
class GetQueueLimitAssociationResponse < Struct.new(
|
3738
|
+
:created_at,
|
3739
|
+
:created_by,
|
3740
|
+
:updated_at,
|
3741
|
+
:updated_by,
|
3742
|
+
:queue_id,
|
3743
|
+
:limit_id,
|
3744
|
+
:status)
|
3745
|
+
SENSITIVE = []
|
3746
|
+
include Aws::Structure
|
3747
|
+
end
|
3748
|
+
|
3361
3749
|
# @!attribute [rw] farm_id
|
3362
3750
|
# The farm ID of the farm in the queue.
|
3363
3751
|
# @return [String]
|
@@ -3545,6 +3933,11 @@ module Aws::Deadline
|
|
3545
3933
|
# The session action definition.
|
3546
3934
|
# @return [Types::SessionActionDefinition]
|
3547
3935
|
#
|
3936
|
+
# @!attribute [rw] acquired_limits
|
3937
|
+
# The limits and their amounts acquired during a session action. If no
|
3938
|
+
# limits were acquired during the session, this field isn't returned.
|
3939
|
+
# @return [Array<Types::AcquiredLimit>]
|
3940
|
+
#
|
3548
3941
|
# @see http://docs.aws.amazon.com/goto/WebAPI/deadline-2023-10-12/GetSessionActionResponse AWS API Documentation
|
3549
3942
|
#
|
3550
3943
|
class GetSessionActionResponse < Struct.new(
|
@@ -3557,7 +3950,8 @@ module Aws::Deadline
|
|
3557
3950
|
:session_id,
|
3558
3951
|
:process_exit_code,
|
3559
3952
|
:progress_message,
|
3560
|
-
:definition
|
3953
|
+
:definition,
|
3954
|
+
:acquired_limits)
|
3561
3955
|
SENSITIVE = [:progress_message]
|
3562
3956
|
include Aws::Structure
|
3563
3957
|
end
|
@@ -4095,10 +4489,6 @@ module Aws::Deadline
|
|
4095
4489
|
include Aws::Structure
|
4096
4490
|
end
|
4097
4491
|
|
4098
|
-
# @!attribute [rw] worker_id
|
4099
|
-
# The worker ID.
|
4100
|
-
# @return [String]
|
4101
|
-
#
|
4102
4492
|
# @!attribute [rw] farm_id
|
4103
4493
|
# The farm ID.
|
4104
4494
|
# @return [String]
|
@@ -4107,6 +4497,10 @@ module Aws::Deadline
|
|
4107
4497
|
# The fleet ID.
|
4108
4498
|
# @return [String]
|
4109
4499
|
#
|
4500
|
+
# @!attribute [rw] worker_id
|
4501
|
+
# The worker ID.
|
4502
|
+
# @return [String]
|
4503
|
+
#
|
4110
4504
|
# @!attribute [rw] host_properties
|
4111
4505
|
# The host properties for the worker.
|
4112
4506
|
# @return [Types::HostPropertiesResponse]
|
@@ -4138,9 +4532,9 @@ module Aws::Deadline
|
|
4138
4532
|
# @see http://docs.aws.amazon.com/goto/WebAPI/deadline-2023-10-12/GetWorkerResponse AWS API Documentation
|
4139
4533
|
#
|
4140
4534
|
class GetWorkerResponse < Struct.new(
|
4141
|
-
:worker_id,
|
4142
4535
|
:farm_id,
|
4143
4536
|
:fleet_id,
|
4537
|
+
:worker_id,
|
4144
4538
|
:host_properties,
|
4145
4539
|
:status,
|
4146
4540
|
:log,
|
@@ -4678,6 +5072,18 @@ module Aws::Deadline
|
|
4678
5072
|
# The job parameters.
|
4679
5073
|
# @return [Hash<String,Types::JobParameter>]
|
4680
5074
|
#
|
5075
|
+
# @!attribute [rw] max_worker_count
|
5076
|
+
# The maximum number of worker hosts that can concurrently process a
|
5077
|
+
# job. When the `maxWorkerCount` is reached, no more workers will be
|
5078
|
+
# assigned to process the job, even if the fleets assigned to the
|
5079
|
+
# job's queue has available workers.
|
5080
|
+
#
|
5081
|
+
# You can't set the `maxWorkerCount` to 0. If you set it to -1, there
|
5082
|
+
# is no maximum number of workers.
|
5083
|
+
#
|
5084
|
+
# If you don't specify the `maxWorkerCount`, the default is -1.
|
5085
|
+
# @return [Integer]
|
5086
|
+
#
|
4681
5087
|
# @!attribute [rw] source_job_id
|
4682
5088
|
# The job ID for the source job.
|
4683
5089
|
# @return [String]
|
@@ -4701,6 +5107,7 @@ module Aws::Deadline
|
|
4701
5107
|
:ended_at,
|
4702
5108
|
:started_at,
|
4703
5109
|
:job_parameters,
|
5110
|
+
:max_worker_count,
|
4704
5111
|
:source_job_id)
|
4705
5112
|
SENSITIVE = [:job_parameters]
|
4706
5113
|
include Aws::Structure
|
@@ -4793,6 +5200,18 @@ module Aws::Deadline
|
|
4793
5200
|
# The maximum number of retries for a job.
|
4794
5201
|
# @return [Integer]
|
4795
5202
|
#
|
5203
|
+
# @!attribute [rw] max_worker_count
|
5204
|
+
# The maximum number of worker hosts that can concurrently process a
|
5205
|
+
# job. When the `maxWorkerCount` is reached, no more workers will be
|
5206
|
+
# assigned to process the job, even if the fleets assigned to the
|
5207
|
+
# job's queue has available workers.
|
5208
|
+
#
|
5209
|
+
# You can't set the `maxWorkerCount` to 0. If you set it to -1, there
|
5210
|
+
# is no maximum number of workers.
|
5211
|
+
#
|
5212
|
+
# If you don't specify the `maxWorkerCount`, the default is -1.
|
5213
|
+
# @return [Integer]
|
5214
|
+
#
|
4796
5215
|
# @!attribute [rw] source_job_id
|
4797
5216
|
# The job ID for the source job.
|
4798
5217
|
# @return [String]
|
@@ -4816,6 +5235,7 @@ module Aws::Deadline
|
|
4816
5235
|
:task_run_status_counts,
|
4817
5236
|
:max_failed_tasks_count,
|
4818
5237
|
:max_retries_per_task,
|
5238
|
+
:max_worker_count,
|
4819
5239
|
:source_job_id)
|
4820
5240
|
SENSITIVE = []
|
4821
5241
|
include Aws::Structure
|
@@ -4851,6 +5271,80 @@ module Aws::Deadline
|
|
4851
5271
|
include Aws::Structure
|
4852
5272
|
end
|
4853
5273
|
|
5274
|
+
# Provides information about a specific limit.
|
5275
|
+
#
|
5276
|
+
# @!attribute [rw] display_name
|
5277
|
+
# The name of the limit used in lists to identify the limit.
|
5278
|
+
#
|
5279
|
+
# This field can store any content. Escape or encode this content
|
5280
|
+
# before displaying it on a webpage or any other system that might
|
5281
|
+
# interpret the content of this field.
|
5282
|
+
# @return [String]
|
5283
|
+
#
|
5284
|
+
# @!attribute [rw] amount_requirement_name
|
5285
|
+
# The value that you specify as the `name` in the `amounts` field of
|
5286
|
+
# the `hostRequirements` in a step of a job template to declare the
|
5287
|
+
# limit requirement.
|
5288
|
+
# @return [String]
|
5289
|
+
#
|
5290
|
+
# @!attribute [rw] max_count
|
5291
|
+
# The maximum number of resources constrained by this limit. When all
|
5292
|
+
# of the resources are in use, steps that require the limit won't be
|
5293
|
+
# scheduled until the resource is available.
|
5294
|
+
#
|
5295
|
+
# The `maxValue` must not be 0. If the value is -1, there is no
|
5296
|
+
# restriction on the number of resources that can be acquired for this
|
5297
|
+
# limit.
|
5298
|
+
# @return [Integer]
|
5299
|
+
#
|
5300
|
+
# @!attribute [rw] created_at
|
5301
|
+
# The Unix timestamp of the date and time that the limit was created.
|
5302
|
+
# @return [Time]
|
5303
|
+
#
|
5304
|
+
# @!attribute [rw] created_by
|
5305
|
+
# The user identifier of the person that created the limit.
|
5306
|
+
# @return [String]
|
5307
|
+
#
|
5308
|
+
# @!attribute [rw] updated_at
|
5309
|
+
# The Unix timestamp of the date and time that the limit was last
|
5310
|
+
# updated.
|
5311
|
+
# @return [Time]
|
5312
|
+
#
|
5313
|
+
# @!attribute [rw] updated_by
|
5314
|
+
# The user identifier of the person that last updated the limit.
|
5315
|
+
# @return [String]
|
5316
|
+
#
|
5317
|
+
# @!attribute [rw] farm_id
|
5318
|
+
# The unique identifier of the farm that contains the limit.
|
5319
|
+
# @return [String]
|
5320
|
+
#
|
5321
|
+
# @!attribute [rw] limit_id
|
5322
|
+
# The unique identifier of the limit.
|
5323
|
+
# @return [String]
|
5324
|
+
#
|
5325
|
+
# @!attribute [rw] current_count
|
5326
|
+
# The number of resources from the limit that are being used by jobs.
|
5327
|
+
# The result is delayed and may not be the count at the time that you
|
5328
|
+
# called the operation.
|
5329
|
+
# @return [Integer]
|
5330
|
+
#
|
5331
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/deadline-2023-10-12/LimitSummary AWS API Documentation
|
5332
|
+
#
|
5333
|
+
class LimitSummary < Struct.new(
|
5334
|
+
:display_name,
|
5335
|
+
:amount_requirement_name,
|
5336
|
+
:max_count,
|
5337
|
+
:created_at,
|
5338
|
+
:created_by,
|
5339
|
+
:updated_at,
|
5340
|
+
:updated_by,
|
5341
|
+
:farm_id,
|
5342
|
+
:limit_id,
|
5343
|
+
:current_count)
|
5344
|
+
SENSITIVE = []
|
5345
|
+
include Aws::Structure
|
5346
|
+
end
|
5347
|
+
|
4854
5348
|
# @!attribute [rw] next_token
|
4855
5349
|
# The token for the next set of results, or `null` to start from the
|
4856
5350
|
# beginning.
|
@@ -5370,6 +5864,52 @@ module Aws::Deadline
|
|
5370
5864
|
include Aws::Structure
|
5371
5865
|
end
|
5372
5866
|
|
5867
|
+
# @!attribute [rw] farm_id
|
5868
|
+
# The unique identifier of the farm that contains the limits.
|
5869
|
+
# @return [String]
|
5870
|
+
#
|
5871
|
+
# @!attribute [rw] next_token
|
5872
|
+
# The token for the next set of results, or `null` to start from the
|
5873
|
+
# beginning.
|
5874
|
+
# @return [String]
|
5875
|
+
#
|
5876
|
+
# @!attribute [rw] max_results
|
5877
|
+
# The maximum number of limits to return in each page of results.
|
5878
|
+
# @return [Integer]
|
5879
|
+
#
|
5880
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/deadline-2023-10-12/ListLimitsRequest AWS API Documentation
|
5881
|
+
#
|
5882
|
+
class ListLimitsRequest < Struct.new(
|
5883
|
+
:farm_id,
|
5884
|
+
:next_token,
|
5885
|
+
:max_results)
|
5886
|
+
SENSITIVE = []
|
5887
|
+
include Aws::Structure
|
5888
|
+
end
|
5889
|
+
|
5890
|
+
# @!attribute [rw] limits
|
5891
|
+
# A list of limits that the farm contains.
|
5892
|
+
# @return [Array<Types::LimitSummary>]
|
5893
|
+
#
|
5894
|
+
# @!attribute [rw] next_token
|
5895
|
+
# If Deadline Cloud returns `nextToken`, then there are more results
|
5896
|
+
# available. The value of `nextToken` is a unique pagination token for
|
5897
|
+
# each page. To retrieve the next page, call the operation again using
|
5898
|
+
# the returned token. Keep all other arguments unchanged. If no
|
5899
|
+
# results remain, then `nextToken` is set to `null`. Each pagination
|
5900
|
+
# token expires after 24 hours. If you provide a token that isn't
|
5901
|
+
# valid, then you receive an HTTP 400 `ValidationException` error.
|
5902
|
+
# @return [String]
|
5903
|
+
#
|
5904
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/deadline-2023-10-12/ListLimitsResponse AWS API Documentation
|
5905
|
+
#
|
5906
|
+
class ListLimitsResponse < Struct.new(
|
5907
|
+
:limits,
|
5908
|
+
:next_token)
|
5909
|
+
SENSITIVE = []
|
5910
|
+
include Aws::Structure
|
5911
|
+
end
|
5912
|
+
|
5373
5913
|
# @!attribute [rw] license_endpoint_id
|
5374
5914
|
# The license endpoint ID to include on the list of metered products.
|
5375
5915
|
# @return [String]
|
@@ -5569,6 +6109,71 @@ module Aws::Deadline
|
|
5569
6109
|
include Aws::Structure
|
5570
6110
|
end
|
5571
6111
|
|
6112
|
+
# @!attribute [rw] farm_id
|
6113
|
+
# The unique identifier of the farm that contains the limits and
|
6114
|
+
# associations.
|
6115
|
+
# @return [String]
|
6116
|
+
#
|
6117
|
+
# @!attribute [rw] queue_id
|
6118
|
+
# Specifies that the operation should return only the queue limit
|
6119
|
+
# associations for the specified queue. If you specify both the
|
6120
|
+
# `queueId` and the `limitId`, only the specified limit is returned if
|
6121
|
+
# it exists.
|
6122
|
+
# @return [String]
|
6123
|
+
#
|
6124
|
+
# @!attribute [rw] limit_id
|
6125
|
+
# Specifies that the operation should return only the queue limit
|
6126
|
+
# associations for the specified limit. If you specify both the
|
6127
|
+
# `queueId` and the `limitId`, only the specified limit is returned if
|
6128
|
+
# it exists.
|
6129
|
+
# @return [String]
|
6130
|
+
#
|
6131
|
+
# @!attribute [rw] next_token
|
6132
|
+
# The token for the next set of results, or `null` to start from the
|
6133
|
+
# beginning.
|
6134
|
+
# @return [String]
|
6135
|
+
#
|
6136
|
+
# @!attribute [rw] max_results
|
6137
|
+
# The maximum number of associations to return in each page of
|
6138
|
+
# results.
|
6139
|
+
# @return [Integer]
|
6140
|
+
#
|
6141
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/deadline-2023-10-12/ListQueueLimitAssociationsRequest AWS API Documentation
|
6142
|
+
#
|
6143
|
+
class ListQueueLimitAssociationsRequest < Struct.new(
|
6144
|
+
:farm_id,
|
6145
|
+
:queue_id,
|
6146
|
+
:limit_id,
|
6147
|
+
:next_token,
|
6148
|
+
:max_results)
|
6149
|
+
SENSITIVE = []
|
6150
|
+
include Aws::Structure
|
6151
|
+
end
|
6152
|
+
|
6153
|
+
# @!attribute [rw] queue_limit_associations
|
6154
|
+
# A list of associations between limits and queues in the farm
|
6155
|
+
# specified in the request.
|
6156
|
+
# @return [Array<Types::QueueLimitAssociationSummary>]
|
6157
|
+
#
|
6158
|
+
# @!attribute [rw] next_token
|
6159
|
+
# If Deadline Cloud returns `nextToken`, then there are more results
|
6160
|
+
# available. The value of `nextToken` is a unique pagination token for
|
6161
|
+
# each page. To retrieve the next page, call the operation again using
|
6162
|
+
# the returned token. Keep all other arguments unchanged. If no
|
6163
|
+
# results remain, then `nextToken` is set to `null`. Each pagination
|
6164
|
+
# token expires after 24 hours. If you provide a token that isn't
|
6165
|
+
# valid, then you receive an HTTP 400 `ValidationException` error.
|
6166
|
+
# @return [String]
|
6167
|
+
#
|
6168
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/deadline-2023-10-12/ListQueueLimitAssociationsResponse AWS API Documentation
|
6169
|
+
#
|
6170
|
+
class ListQueueLimitAssociationsResponse < Struct.new(
|
6171
|
+
:queue_limit_associations,
|
6172
|
+
:next_token)
|
6173
|
+
SENSITIVE = []
|
6174
|
+
include Aws::Structure
|
6175
|
+
end
|
6176
|
+
|
5572
6177
|
# @!attribute [rw] farm_id
|
5573
6178
|
# The farm ID for the queue.
|
5574
6179
|
# @return [String]
|
@@ -6332,7 +6937,7 @@ module Aws::Deadline
|
|
6332
6937
|
# @return [String]
|
6333
6938
|
#
|
6334
6939
|
# @!attribute [rw] input_manifest_hash
|
6335
|
-
# The
|
6940
|
+
# The hash value of the file.
|
6336
6941
|
# @return [String]
|
6337
6942
|
#
|
6338
6943
|
# @see http://docs.aws.amazon.com/goto/WebAPI/deadline-2023-10-12/ManifestProperties AWS API Documentation
|
@@ -6676,6 +7281,63 @@ module Aws::Deadline
|
|
6676
7281
|
include Aws::Structure
|
6677
7282
|
end
|
6678
7283
|
|
7284
|
+
# Provides information about the association between a queue and a
|
7285
|
+
# limit.
|
7286
|
+
#
|
7287
|
+
# @!attribute [rw] created_at
|
7288
|
+
# The Unix timestamp of the date and time that the association was
|
7289
|
+
# created.
|
7290
|
+
# @return [Time]
|
7291
|
+
#
|
7292
|
+
# @!attribute [rw] created_by
|
7293
|
+
# The user identifier of the person that created the association.
|
7294
|
+
# @return [String]
|
7295
|
+
#
|
7296
|
+
# @!attribute [rw] updated_at
|
7297
|
+
# The Unix timestamp of the date and time that the association was
|
7298
|
+
# last updated.
|
7299
|
+
# @return [Time]
|
7300
|
+
#
|
7301
|
+
# @!attribute [rw] updated_by
|
7302
|
+
# The user identifier of the person that updated the association.
|
7303
|
+
# @return [String]
|
7304
|
+
#
|
7305
|
+
# @!attribute [rw] queue_id
|
7306
|
+
# The unique identifier of the queue in the association.
|
7307
|
+
# @return [String]
|
7308
|
+
#
|
7309
|
+
# @!attribute [rw] limit_id
|
7310
|
+
# The unique identifier of the limit in the association.
|
7311
|
+
# @return [String]
|
7312
|
+
#
|
7313
|
+
# @!attribute [rw] status
|
7314
|
+
# The status of task scheduling in the queue-limit association.
|
7315
|
+
#
|
7316
|
+
# * `ACTIVE` - Association is active.
|
7317
|
+
#
|
7318
|
+
# * `STOP_LIMIT_USAGE_AND_COMPLETE_TASKS` - Association has stopped
|
7319
|
+
# scheduling new tasks and is completing current tasks.
|
7320
|
+
#
|
7321
|
+
# * `STOP_LIMIT_USAGE_AND_CANCEL_TASKS` - Association has stopped
|
7322
|
+
# scheduling new tasks and is canceling current tasks.
|
7323
|
+
#
|
7324
|
+
# * `STOPPED` - Association has been stopped.
|
7325
|
+
# @return [String]
|
7326
|
+
#
|
7327
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/deadline-2023-10-12/QueueLimitAssociationSummary AWS API Documentation
|
7328
|
+
#
|
7329
|
+
class QueueLimitAssociationSummary < Struct.new(
|
7330
|
+
:created_at,
|
7331
|
+
:created_by,
|
7332
|
+
:updated_at,
|
7333
|
+
:updated_by,
|
7334
|
+
:queue_id,
|
7335
|
+
:limit_id,
|
7336
|
+
:status)
|
7337
|
+
SENSITIVE = []
|
7338
|
+
include Aws::Structure
|
7339
|
+
end
|
7340
|
+
|
6679
7341
|
# The details of a queue member.
|
6680
7342
|
#
|
6681
7343
|
# @!attribute [rw] farm_id
|
@@ -7269,14 +7931,8 @@ module Aws::Deadline
|
|
7269
7931
|
# @return [Types::Ec2EbsVolume]
|
7270
7932
|
#
|
7271
7933
|
# @!attribute [rw] accelerator_capabilities
|
7272
|
-
#
|
7273
|
-
# instances
|
7274
|
-
# the [ServiceManagedEc2InstanceCapabilities][1] object, all of the
|
7275
|
-
# Amazon EC2 instances will have at least one accelerator.
|
7276
|
-
#
|
7277
|
-
#
|
7278
|
-
#
|
7279
|
-
# [1]: https://docs.aws.amazon.com/deadline-cloud/latest/APIReference/API_ServiceManagedEc2InstanceCapabilities
|
7934
|
+
# Describes the GPU accelerator capabilities required for worker host
|
7935
|
+
# instances in this fleet.
|
7280
7936
|
# @return [Types::AcceleratorCapabilities]
|
7281
7937
|
#
|
7282
7938
|
# @!attribute [rw] allowed_instance_types
|
@@ -8714,18 +9370,6 @@ module Aws::Deadline
|
|
8714
9370
|
# not need to pass this option.
|
8715
9371
|
# @return [String]
|
8716
9372
|
#
|
8717
|
-
# @!attribute [rw] farm_id
|
8718
|
-
# The farm ID of the job to update.
|
8719
|
-
# @return [String]
|
8720
|
-
#
|
8721
|
-
# @!attribute [rw] queue_id
|
8722
|
-
# The queue ID of the job to update.
|
8723
|
-
# @return [String]
|
8724
|
-
#
|
8725
|
-
# @!attribute [rw] job_id
|
8726
|
-
# The job ID to update.
|
8727
|
-
# @return [String]
|
8728
|
-
#
|
8729
9373
|
# @!attribute [rw] target_task_run_status
|
8730
9374
|
# The task status to update the job's tasks to.
|
8731
9375
|
# @return [String]
|
@@ -8751,18 +9395,45 @@ module Aws::Deadline
|
|
8751
9395
|
# The job can't be recovered.
|
8752
9396
|
# @return [String]
|
8753
9397
|
#
|
9398
|
+
# @!attribute [rw] max_worker_count
|
9399
|
+
# The maximum number of worker hosts that can concurrently process a
|
9400
|
+
# job. When the `maxWorkerCount` is reached, no more workers will be
|
9401
|
+
# assigned to process the job, even if the fleets assigned to the
|
9402
|
+
# job's queue has available workers.
|
9403
|
+
#
|
9404
|
+
# You can't set the `maxWorkerCount` to 0. If you set it to -1, there
|
9405
|
+
# is no maximum number of workers.
|
9406
|
+
#
|
9407
|
+
# If you don't specify the `maxWorkerCount`, the default is -1.
|
9408
|
+
#
|
9409
|
+
# The maximum number of workers that can process tasks in the job.
|
9410
|
+
# @return [Integer]
|
9411
|
+
#
|
9412
|
+
# @!attribute [rw] farm_id
|
9413
|
+
# The farm ID of the job to update.
|
9414
|
+
# @return [String]
|
9415
|
+
#
|
9416
|
+
# @!attribute [rw] queue_id
|
9417
|
+
# The queue ID of the job to update.
|
9418
|
+
# @return [String]
|
9419
|
+
#
|
9420
|
+
# @!attribute [rw] job_id
|
9421
|
+
# The job ID to update.
|
9422
|
+
# @return [String]
|
9423
|
+
#
|
8754
9424
|
# @see http://docs.aws.amazon.com/goto/WebAPI/deadline-2023-10-12/UpdateJobRequest AWS API Documentation
|
8755
9425
|
#
|
8756
9426
|
class UpdateJobRequest < Struct.new(
|
8757
9427
|
:client_token,
|
8758
|
-
:farm_id,
|
8759
|
-
:queue_id,
|
8760
|
-
:job_id,
|
8761
9428
|
:target_task_run_status,
|
8762
9429
|
:priority,
|
8763
9430
|
:max_failed_tasks_count,
|
8764
9431
|
:max_retries_per_task,
|
8765
|
-
:lifecycle_status
|
9432
|
+
:lifecycle_status,
|
9433
|
+
:max_worker_count,
|
9434
|
+
:farm_id,
|
9435
|
+
:queue_id,
|
9436
|
+
:job_id)
|
8766
9437
|
SENSITIVE = []
|
8767
9438
|
include Aws::Structure
|
8768
9439
|
end
|
@@ -8771,6 +9442,60 @@ module Aws::Deadline
|
|
8771
9442
|
#
|
8772
9443
|
class UpdateJobResponse < Aws::EmptyStructure; end
|
8773
9444
|
|
9445
|
+
# @!attribute [rw] farm_id
|
9446
|
+
# The unique identifier of the farm that contains the limit.
|
9447
|
+
# @return [String]
|
9448
|
+
#
|
9449
|
+
# @!attribute [rw] limit_id
|
9450
|
+
# The unique identifier of the limit to update.
|
9451
|
+
# @return [String]
|
9452
|
+
#
|
9453
|
+
# @!attribute [rw] display_name
|
9454
|
+
# The new display name of the limit.
|
9455
|
+
#
|
9456
|
+
# This field can store any content. Escape or encode this content
|
9457
|
+
# before displaying it on a webpage or any other system that might
|
9458
|
+
# interpret the content of this field.
|
9459
|
+
# @return [String]
|
9460
|
+
#
|
9461
|
+
# @!attribute [rw] description
|
9462
|
+
# The new description of the limit.
|
9463
|
+
#
|
9464
|
+
# This field can store any content. Escape or encode this content
|
9465
|
+
# before displaying it on a webpage or any other system that might
|
9466
|
+
# interpret the content of this field.
|
9467
|
+
# @return [String]
|
9468
|
+
#
|
9469
|
+
# @!attribute [rw] max_count
|
9470
|
+
# The maximum number of resources constrained by this limit. When all
|
9471
|
+
# of the resources are in use, steps that require the limit won't be
|
9472
|
+
# scheduled until the resource is available.
|
9473
|
+
#
|
9474
|
+
# If more than the new maximum number is currently in use, running
|
9475
|
+
# jobs finish but no new jobs are started until the number of
|
9476
|
+
# resources in use is below the new maximum number.
|
9477
|
+
#
|
9478
|
+
# The `maxCount` must not be 0. If the value is -1, there is no
|
9479
|
+
# restriction on the number of resources that can be acquired for this
|
9480
|
+
# limit.
|
9481
|
+
# @return [Integer]
|
9482
|
+
#
|
9483
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/deadline-2023-10-12/UpdateLimitRequest AWS API Documentation
|
9484
|
+
#
|
9485
|
+
class UpdateLimitRequest < Struct.new(
|
9486
|
+
:farm_id,
|
9487
|
+
:limit_id,
|
9488
|
+
:display_name,
|
9489
|
+
:description,
|
9490
|
+
:max_count)
|
9491
|
+
SENSITIVE = [:description]
|
9492
|
+
include Aws::Structure
|
9493
|
+
end
|
9494
|
+
|
9495
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/deadline-2023-10-12/UpdateLimitResponse AWS API Documentation
|
9496
|
+
#
|
9497
|
+
class UpdateLimitResponse < Aws::EmptyStructure; end
|
9498
|
+
|
8774
9499
|
# @!attribute [rw] monitor_id
|
8775
9500
|
# The unique identifier of the monitor to update.
|
8776
9501
|
# @return [String]
|
@@ -8888,6 +9613,40 @@ module Aws::Deadline
|
|
8888
9613
|
#
|
8889
9614
|
class UpdateQueueFleetAssociationResponse < Aws::EmptyStructure; end
|
8890
9615
|
|
9616
|
+
# @!attribute [rw] farm_id
|
9617
|
+
# The unique identifier of the farm that contains the associated
|
9618
|
+
# queues and limits.
|
9619
|
+
# @return [String]
|
9620
|
+
#
|
9621
|
+
# @!attribute [rw] queue_id
|
9622
|
+
# The unique identifier of the queue associated to the limit.
|
9623
|
+
# @return [String]
|
9624
|
+
#
|
9625
|
+
# @!attribute [rw] limit_id
|
9626
|
+
# The unique identifier of the limit associated to the queue.
|
9627
|
+
# @return [String]
|
9628
|
+
#
|
9629
|
+
# @!attribute [rw] status
|
9630
|
+
# Sets the status of the limit. You can mark the limit active, or you
|
9631
|
+
# can stop usage of the limit and either complete existing tasks or
|
9632
|
+
# cancel any existing tasks immediately.
|
9633
|
+
# @return [String]
|
9634
|
+
#
|
9635
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/deadline-2023-10-12/UpdateQueueLimitAssociationRequest AWS API Documentation
|
9636
|
+
#
|
9637
|
+
class UpdateQueueLimitAssociationRequest < Struct.new(
|
9638
|
+
:farm_id,
|
9639
|
+
:queue_id,
|
9640
|
+
:limit_id,
|
9641
|
+
:status)
|
9642
|
+
SENSITIVE = []
|
9643
|
+
include Aws::Structure
|
9644
|
+
end
|
9645
|
+
|
9646
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/deadline-2023-10-12/UpdateQueueLimitAssociationResponse AWS API Documentation
|
9647
|
+
#
|
9648
|
+
class UpdateQueueLimitAssociationResponse < Aws::EmptyStructure; end
|
9649
|
+
|
8891
9650
|
# @!attribute [rw] client_token
|
8892
9651
|
# The idempotency token to update in the queue.
|
8893
9652
|
#
|
@@ -8984,6 +9743,10 @@ module Aws::Deadline
|
|
8984
9743
|
# not need to pass this option.
|
8985
9744
|
# @return [String]
|
8986
9745
|
#
|
9746
|
+
# @!attribute [rw] target_lifecycle_status
|
9747
|
+
# The life cycle status to update in the session.
|
9748
|
+
# @return [String]
|
9749
|
+
#
|
8987
9750
|
# @!attribute [rw] farm_id
|
8988
9751
|
# The farm ID to update in the session.
|
8989
9752
|
# @return [String]
|
@@ -9000,19 +9763,15 @@ module Aws::Deadline
|
|
9000
9763
|
# The session ID to update.
|
9001
9764
|
# @return [String]
|
9002
9765
|
#
|
9003
|
-
# @!attribute [rw] target_lifecycle_status
|
9004
|
-
# The life cycle status to update in the session.
|
9005
|
-
# @return [String]
|
9006
|
-
#
|
9007
9766
|
# @see http://docs.aws.amazon.com/goto/WebAPI/deadline-2023-10-12/UpdateSessionRequest AWS API Documentation
|
9008
9767
|
#
|
9009
9768
|
class UpdateSessionRequest < Struct.new(
|
9010
9769
|
:client_token,
|
9770
|
+
:target_lifecycle_status,
|
9011
9771
|
:farm_id,
|
9012
9772
|
:queue_id,
|
9013
9773
|
:job_id,
|
9014
|
-
:session_id
|
9015
|
-
:target_lifecycle_status)
|
9774
|
+
:session_id)
|
9016
9775
|
SENSITIVE = []
|
9017
9776
|
include Aws::Structure
|
9018
9777
|
end
|
@@ -9021,6 +9780,10 @@ module Aws::Deadline
|
|
9021
9780
|
#
|
9022
9781
|
class UpdateSessionResponse < Aws::EmptyStructure; end
|
9023
9782
|
|
9783
|
+
# @!attribute [rw] target_task_run_status
|
9784
|
+
# The task status to update the step's tasks to.
|
9785
|
+
# @return [String]
|
9786
|
+
#
|
9024
9787
|
# @!attribute [rw] client_token
|
9025
9788
|
# The unique token which the server uses to recognize retries of the
|
9026
9789
|
# same request.
|
@@ -9045,19 +9808,15 @@ module Aws::Deadline
|
|
9045
9808
|
# The step ID to update.
|
9046
9809
|
# @return [String]
|
9047
9810
|
#
|
9048
|
-
# @!attribute [rw] target_task_run_status
|
9049
|
-
# The task status to update the step's tasks to.
|
9050
|
-
# @return [String]
|
9051
|
-
#
|
9052
9811
|
# @see http://docs.aws.amazon.com/goto/WebAPI/deadline-2023-10-12/UpdateStepRequest AWS API Documentation
|
9053
9812
|
#
|
9054
9813
|
class UpdateStepRequest < Struct.new(
|
9814
|
+
:target_task_run_status,
|
9055
9815
|
:client_token,
|
9056
9816
|
:farm_id,
|
9057
9817
|
:queue_id,
|
9058
9818
|
:job_id,
|
9059
|
-
:step_id
|
9060
|
-
:target_task_run_status)
|
9819
|
+
:step_id)
|
9061
9820
|
SENSITIVE = []
|
9062
9821
|
include Aws::Structure
|
9063
9822
|
end
|
@@ -9128,6 +9887,10 @@ module Aws::Deadline
|
|
9128
9887
|
# not need to pass this option.
|
9129
9888
|
# @return [String]
|
9130
9889
|
#
|
9890
|
+
# @!attribute [rw] target_run_status
|
9891
|
+
# The run status with which to start the task.
|
9892
|
+
# @return [String]
|
9893
|
+
#
|
9131
9894
|
# @!attribute [rw] farm_id
|
9132
9895
|
# The farm ID to update.
|
9133
9896
|
# @return [String]
|
@@ -9148,20 +9911,16 @@ module Aws::Deadline
|
|
9148
9911
|
# The task ID to update.
|
9149
9912
|
# @return [String]
|
9150
9913
|
#
|
9151
|
-
# @!attribute [rw] target_run_status
|
9152
|
-
# The run status with which to start the task.
|
9153
|
-
# @return [String]
|
9154
|
-
#
|
9155
9914
|
# @see http://docs.aws.amazon.com/goto/WebAPI/deadline-2023-10-12/UpdateTaskRequest AWS API Documentation
|
9156
9915
|
#
|
9157
9916
|
class UpdateTaskRequest < Struct.new(
|
9158
9917
|
:client_token,
|
9918
|
+
:target_run_status,
|
9159
9919
|
:farm_id,
|
9160
9920
|
:queue_id,
|
9161
9921
|
:job_id,
|
9162
9922
|
:step_id,
|
9163
|
-
:task_id
|
9164
|
-
:target_run_status)
|
9923
|
+
:task_id)
|
9165
9924
|
SENSITIVE = []
|
9166
9925
|
include Aws::Structure
|
9167
9926
|
end
|