2025/07/21 - AWSDeadlineCloud - 7 updated api methods
Changes Add support for VPC resource endpoints in Service Managed Fleets
{'configuration': {'serviceManagedEc2': {'vpcConfiguration': {'resourceConfigurationArns': ['string']}}}}
Creates a fleet. Fleets gather information relating to compute, or capacity, for renders within your farms. You can choose to manage your own capacity or opt to have fleets fully managed by Deadline Cloud.
See also: AWS API Documentation
Request Syntax
client.create_fleet( clientToken='string', farmId='string', displayName='string', description='string', roleArn='string', minWorkerCount=123, maxWorkerCount=123, configuration={ 'customerManaged': { 'mode': 'NO_SCALING'|'EVENT_BASED_AUTO_SCALING', 'workerCapabilities': { 'vCpuCount': { 'min': 123, 'max': 123 }, 'memoryMiB': { 'min': 123, 'max': 123 }, 'acceleratorTypes': [ 'gpu', ], 'acceleratorCount': { 'min': 123, 'max': 123 }, 'acceleratorTotalMemoryMiB': { 'min': 123, 'max': 123 }, 'osFamily': 'WINDOWS'|'LINUX'|'MACOS', 'cpuArchitectureType': 'x86_64'|'arm64', 'customAmounts': [ { 'name': 'string', 'min': ..., 'max': ... }, ], 'customAttributes': [ { 'name': 'string', 'values': [ 'string', ] }, ] }, 'storageProfileId': 'string', 'tagPropagationMode': 'NO_PROPAGATION'|'PROPAGATE_TAGS_TO_WORKERS_AT_LAUNCH' }, 'serviceManagedEc2': { 'instanceCapabilities': { 'vCpuCount': { 'min': 123, 'max': 123 }, 'memoryMiB': { 'min': 123, 'max': 123 }, 'osFamily': 'WINDOWS'|'LINUX', 'cpuArchitectureType': 'x86_64'|'arm64', 'rootEbsVolume': { 'sizeGiB': 123, 'iops': 123, 'throughputMiB': 123 }, 'acceleratorCapabilities': { 'selections': [ { 'name': 't4'|'a10g'|'l4'|'l40s', 'runtime': 'string' }, ], 'count': { 'min': 123, 'max': 123 } }, 'allowedInstanceTypes': [ 'string', ], 'excludedInstanceTypes': [ 'string', ], 'customAmounts': [ { 'name': 'string', 'min': ..., 'max': ... }, ], 'customAttributes': [ { 'name': 'string', 'values': [ 'string', ] }, ] }, 'instanceMarketOptions': { 'type': 'on-demand'|'spot' }, 'vpcConfiguration': { 'resourceConfigurationArns': [ 'string', ] }, 'storageProfileId': 'string' } }, tags={ 'string': 'string' }, hostConfiguration={ 'scriptBody': 'string', 'scriptTimeoutSeconds': 123 } )
string
The unique token which the server uses to recognize retries of the same request.
This field is autopopulated if not provided.
string
[REQUIRED]
The farm ID of the farm to connect to the fleet.
string
[REQUIRED]
The display name of the fleet.
string
The description of the fleet.
string
[REQUIRED]
The IAM role ARN for the role that the fleet's workers will use.
integer
The minimum number of workers for the fleet.
integer
[REQUIRED]
The maximum number of workers for the fleet.
Deadline Cloud limits the number of workers to less than or equal to the fleet's maximum worker count. The service maintains eventual consistency for the worker count. If you make multiple rapid calls to CreateWorker before the field updates, you might exceed your fleet's maximum worker count. For example, if your maxWorkerCount is 10 and you currently have 9 workers, making two quick CreateWorker calls might successfully create 2 workers instead of 1, resulting in 11 total workers.
dict
[REQUIRED]
The configuration settings for the fleet. Customer managed fleets are self-managed. Service managed Amazon EC2 fleets are managed by Deadline Cloud.
customerManaged (dict) --
The customer managed fleets within a fleet configuration.
mode (string) -- [REQUIRED]
The Auto Scaling mode for the customer managed fleet configuration.
workerCapabilities (dict) -- [REQUIRED]
The worker capabilities for a customer managed fleet configuration.
vCpuCount (dict) -- [REQUIRED]
The vCPU count for the customer manged worker capabilities.
min (integer) -- [REQUIRED]
The minimum amount of vCPU.
max (integer) --
The maximum amount of vCPU.
memoryMiB (dict) -- [REQUIRED]
The memory (MiB).
min (integer) -- [REQUIRED]
The minimum amount of memory (in MiB).
max (integer) --
The maximum amount of memory (in MiB).
acceleratorTypes (list) --
The accelerator types for the customer managed worker capabilities.
(string) --
acceleratorCount (dict) --
The range of the accelerator.
min (integer) -- [REQUIRED]
The minimum number of GPU accelerators in the worker host.
max (integer) --
The maximum number of GPU accelerators in the worker host.
acceleratorTotalMemoryMiB (dict) --
The total memory (MiB) for the customer managed worker capabilities.
min (integer) -- [REQUIRED]
The minimum amount of memory to use for the accelerator, measured in MiB.
max (integer) --
The maximum amount of memory to use for the accelerator, measured in MiB.
osFamily (string) -- [REQUIRED]
The operating system (OS) family.
cpuArchitectureType (string) -- [REQUIRED]
The CPU architecture type for the customer managed worker capabilities.
customAmounts (list) --
Custom requirement ranges for customer managed worker capabilities.
(dict) --
The fleet amount and attribute capabilities.
name (string) -- [REQUIRED]
The name of the fleet capability.
min (float) -- [REQUIRED]
The minimum amount of fleet worker capability.
max (float) --
The maximum amount of the fleet worker capability.
customAttributes (list) --
Custom attributes for the customer manged worker capabilities.
(dict) --
Defines the fleet's capability name, minimum, and maximum.
name (string) -- [REQUIRED]
The name of the fleet attribute capability for the worker.
values (list) -- [REQUIRED]
The number of fleet attribute capabilities.
(string) --
storageProfileId (string) --
The storage profile ID.
tagPropagationMode (string) --
Specifies whether tags associated with a fleet are attached to workers when the worker is launched.
When the tagPropagationMode is set to PROPAGATE_TAGS_TO_WORKERS_AT_LAUNCH any tag associated with a fleet is attached to workers when they launch. If the tags for a fleet change, the tags associated with running workers do not change.
If you don't specify tagPropagationMode, the default is NO_PROPAGATION.
serviceManagedEc2 (dict) --
The service managed Amazon EC2 instances for a fleet configuration.
instanceCapabilities (dict) -- [REQUIRED]
The Amazon EC2 instance capabilities.
vCpuCount (dict) -- [REQUIRED]
The amount of vCPU to require for instances in this fleet.
min (integer) -- [REQUIRED]
The minimum amount of vCPU.
max (integer) --
The maximum amount of vCPU.
memoryMiB (dict) -- [REQUIRED]
The memory, as MiB, for the Amazon EC2 instance type.
min (integer) -- [REQUIRED]
The minimum amount of memory (in MiB).
max (integer) --
The maximum amount of memory (in MiB).
osFamily (string) -- [REQUIRED]
The operating system (OS) family.
cpuArchitectureType (string) -- [REQUIRED]
The CPU architecture type.
rootEbsVolume (dict) --
The root EBS volume.
sizeGiB (integer) --
The EBS volume size in GiB.
iops (integer) --
The IOPS per volume.
throughputMiB (integer) --
The throughput per volume in MiB.
acceleratorCapabilities (dict) --
Describes the GPU accelerator capabilities required for worker host instances in this fleet.
selections (list) -- [REQUIRED]
A list of accelerator capabilities requested for this fleet. Only Amazon Elastic Compute Cloud instances that provide these capabilities will be used. For example, if you specify both L4 and T4 chips, Deadline Cloud will use Amazon EC2 instances that have either the L4 or the T4 chip installed.
(dict) --
Describes a specific GPU accelerator required for an Amazon Elastic Compute Cloud worker host.
name (string) -- [REQUIRED]
The name of the chip used by the GPU accelerator.
If you specify l4 as the name of the accelerator, you must specify latest or grid:r570 as the runtime.
The available GPU accelerators are:
t4 - NVIDIA T4 Tensor Core GPU
a10g - NVIDIA A10G Tensor Core GPU
l4 - NVIDIA L4 Tensor Core GPU
l40s - NVIDIA L40S Tensor Core GPU
runtime (string) --
Specifies the runtime driver to use for the GPU accelerator. You must use the same runtime for all GPUs.
You can choose from the following runtimes:
latest - Use the latest runtime available for the chip. If you specify latest and a new version of the runtime is released, the new version of the runtime is used.
grid:r570 - NVIDIA vGPU software 18
grid:r535 - NVIDIA vGPU software 16
If you don't specify a runtime, Deadline Cloud uses latest as the default. However, if you have multiple accelerators and specify latest for some and leave others blank, Deadline Cloud raises an exception.
count (dict) --
The number of GPU accelerators specified for worker hosts in this fleet.
min (integer) -- [REQUIRED]
The minimum number of GPU accelerators in the worker host.
max (integer) --
The maximum number of GPU accelerators in the worker host.
allowedInstanceTypes (list) --
The allowable Amazon EC2 instance types.
(string) --
excludedInstanceTypes (list) --
The instance types to exclude from the fleet.
(string) --
customAmounts (list) --
The custom capability amounts to require for instances in this fleet.
(dict) --
The fleet amount and attribute capabilities.
name (string) -- [REQUIRED]
The name of the fleet capability.
min (float) -- [REQUIRED]
The minimum amount of fleet worker capability.
max (float) --
The maximum amount of the fleet worker capability.
customAttributes (list) --
The custom capability attributes to require for instances in this fleet.
(dict) --
Defines the fleet's capability name, minimum, and maximum.
name (string) -- [REQUIRED]
The name of the fleet attribute capability for the worker.
values (list) -- [REQUIRED]
The number of fleet attribute capabilities.
(string) --
instanceMarketOptions (dict) -- [REQUIRED]
The Amazon EC2 market type.
type (string) -- [REQUIRED]
The Amazon EC2 instance type.
vpcConfiguration (dict) --
The VPC configuration details for a service managed Amazon EC2 fleet.
resourceConfigurationArns (list) --
The ARNs of the VPC Lattice resource configurations attached to the fleet.
(string) --
storageProfileId (string) --
The storage profile ID.
dict
Each tag consists of a tag key and a tag value. Tag keys and values are both required, but tag values can be empty strings.
(string) --
(string) --
dict
Provides a script that runs as a worker is starting up that you can use to provide additional configuration for workers in your fleet.
scriptBody (string) -- [REQUIRED]
The text of the script that runs as a worker is starting up that you can use to provide additional configuration for workers in your fleet. The script runs after a worker enters the STARTING state and before the worker processes tasks.
For more information about using the script, see Run scripts as an administrator to configure workers in the Deadline Cloud Developer Guide.
scriptTimeoutSeconds (integer) --
The maximum time that the host configuration can run. If the timeout expires, the worker enters the NOT RESPONDING state and shuts down. You are charged for the time that the worker is running the host configuration script.
The default is 300 seconds (5 minutes).
dict
Response Syntax
{ 'fleetId': 'string' }
Response Structure
(dict) --
fleetId (string) --
The fleet ID.
{'configuration': {'serviceManagedEc2': {'vpcConfiguration': {'resourceConfigurationArns': ['string']}}}}
Get a fleet.
See also: AWS API Documentation
Request Syntax
client.get_fleet( farmId='string', fleetId='string' )
string
[REQUIRED]
The farm ID of the farm in the fleet.
string
[REQUIRED]
The fleet ID of the fleet to get.
dict
Response Syntax
{ 'fleetId': 'string', 'farmId': 'string', 'displayName': 'string', 'description': 'string', 'status': 'ACTIVE'|'CREATE_IN_PROGRESS'|'UPDATE_IN_PROGRESS'|'CREATE_FAILED'|'UPDATE_FAILED', 'autoScalingStatus': 'GROWING'|'STEADY'|'SHRINKING', 'targetWorkerCount': 123, 'workerCount': 123, 'minWorkerCount': 123, 'maxWorkerCount': 123, 'configuration': { 'customerManaged': { 'mode': 'NO_SCALING'|'EVENT_BASED_AUTO_SCALING', 'workerCapabilities': { 'vCpuCount': { 'min': 123, 'max': 123 }, 'memoryMiB': { 'min': 123, 'max': 123 }, 'acceleratorTypes': [ 'gpu', ], 'acceleratorCount': { 'min': 123, 'max': 123 }, 'acceleratorTotalMemoryMiB': { 'min': 123, 'max': 123 }, 'osFamily': 'WINDOWS'|'LINUX'|'MACOS', 'cpuArchitectureType': 'x86_64'|'arm64', 'customAmounts': [ { 'name': 'string', 'min': ..., 'max': ... }, ], 'customAttributes': [ { 'name': 'string', 'values': [ 'string', ] }, ] }, 'storageProfileId': 'string', 'tagPropagationMode': 'NO_PROPAGATION'|'PROPAGATE_TAGS_TO_WORKERS_AT_LAUNCH' }, 'serviceManagedEc2': { 'instanceCapabilities': { 'vCpuCount': { 'min': 123, 'max': 123 }, 'memoryMiB': { 'min': 123, 'max': 123 }, 'osFamily': 'WINDOWS'|'LINUX', 'cpuArchitectureType': 'x86_64'|'arm64', 'rootEbsVolume': { 'sizeGiB': 123, 'iops': 123, 'throughputMiB': 123 }, 'acceleratorCapabilities': { 'selections': [ { 'name': 't4'|'a10g'|'l4'|'l40s', 'runtime': 'string' }, ], 'count': { 'min': 123, 'max': 123 } }, 'allowedInstanceTypes': [ 'string', ], 'excludedInstanceTypes': [ 'string', ], 'customAmounts': [ { 'name': 'string', 'min': ..., 'max': ... }, ], 'customAttributes': [ { 'name': 'string', 'values': [ 'string', ] }, ] }, 'instanceMarketOptions': { 'type': 'on-demand'|'spot' }, 'vpcConfiguration': { 'resourceConfigurationArns': [ 'string', ] }, 'storageProfileId': 'string' } }, 'hostConfiguration': { 'scriptBody': 'string', 'scriptTimeoutSeconds': 123 }, 'capabilities': { 'amounts': [ { 'name': 'string', 'min': ..., 'max': ... }, ], 'attributes': [ { 'name': 'string', 'values': [ 'string', ] }, ] }, 'roleArn': 'string', 'createdAt': datetime(2015, 1, 1), 'createdBy': 'string', 'updatedAt': datetime(2015, 1, 1), 'updatedBy': 'string' }
Response Structure
(dict) --
fleetId (string) --
The fleet ID.
farmId (string) --
The farm ID of the farm in the fleet.
displayName (string) --
The display name of the fleet.
description (string) --
The description of the fleet.
status (string) --
The status of the fleet.
autoScalingStatus (string) --
The Auto Scaling status of the fleet. Either GROWING, STEADY, or SHRINKING.
targetWorkerCount (integer) --
The number of target workers in the fleet.
workerCount (integer) --
The number of workers in the fleet.
minWorkerCount (integer) --
The minimum number of workers specified in the fleet.
maxWorkerCount (integer) --
The maximum number of workers specified in the fleet.
configuration (dict) --
The configuration setting for the fleet.
customerManaged (dict) --
The customer managed fleets within a fleet configuration.
mode (string) --
The Auto Scaling mode for the customer managed fleet configuration.
workerCapabilities (dict) --
The worker capabilities for a customer managed fleet configuration.
vCpuCount (dict) --
The vCPU count for the customer manged worker capabilities.
min (integer) --
The minimum amount of vCPU.
max (integer) --
The maximum amount of vCPU.
memoryMiB (dict) --
The memory (MiB).
min (integer) --
The minimum amount of memory (in MiB).
max (integer) --
The maximum amount of memory (in MiB).
acceleratorTypes (list) --
The accelerator types for the customer managed worker capabilities.
(string) --
acceleratorCount (dict) --
The range of the accelerator.
min (integer) --
The minimum number of GPU accelerators in the worker host.
max (integer) --
The maximum number of GPU accelerators in the worker host.
acceleratorTotalMemoryMiB (dict) --
The total memory (MiB) for the customer managed worker capabilities.
min (integer) --
The minimum amount of memory to use for the accelerator, measured in MiB.
max (integer) --
The maximum amount of memory to use for the accelerator, measured in MiB.
osFamily (string) --
The operating system (OS) family.
cpuArchitectureType (string) --
The CPU architecture type for the customer managed worker capabilities.
customAmounts (list) --
Custom requirement ranges for customer managed worker capabilities.
(dict) --
The fleet amount and attribute capabilities.
name (string) --
The name of the fleet capability.
min (float) --
The minimum amount of fleet worker capability.
max (float) --
The maximum amount of the fleet worker capability.
customAttributes (list) --
Custom attributes for the customer manged worker capabilities.
(dict) --
Defines the fleet's capability name, minimum, and maximum.
name (string) --
The name of the fleet attribute capability for the worker.
values (list) --
The number of fleet attribute capabilities.
(string) --
storageProfileId (string) --
The storage profile ID.
tagPropagationMode (string) --
Specifies whether tags associated with a fleet are attached to workers when the worker is launched.
When the tagPropagationMode is set to PROPAGATE_TAGS_TO_WORKERS_AT_LAUNCH any tag associated with a fleet is attached to workers when they launch. If the tags for a fleet change, the tags associated with running workers do not change.
If you don't specify tagPropagationMode, the default is NO_PROPAGATION.
serviceManagedEc2 (dict) --
The service managed Amazon EC2 instances for a fleet configuration.
instanceCapabilities (dict) --
The Amazon EC2 instance capabilities.
vCpuCount (dict) --
The amount of vCPU to require for instances in this fleet.
min (integer) --
The minimum amount of vCPU.
max (integer) --
The maximum amount of vCPU.
memoryMiB (dict) --
The memory, as MiB, for the Amazon EC2 instance type.
min (integer) --
The minimum amount of memory (in MiB).
max (integer) --
The maximum amount of memory (in MiB).
osFamily (string) --
The operating system (OS) family.
cpuArchitectureType (string) --
The CPU architecture type.
rootEbsVolume (dict) --
The root EBS volume.
sizeGiB (integer) --
The EBS volume size in GiB.
iops (integer) --
The IOPS per volume.
throughputMiB (integer) --
The throughput per volume in MiB.
acceleratorCapabilities (dict) --
Describes the GPU accelerator capabilities required for worker host instances in this fleet.
selections (list) --
A list of accelerator capabilities requested for this fleet. Only Amazon Elastic Compute Cloud instances that provide these capabilities will be used. For example, if you specify both L4 and T4 chips, Deadline Cloud will use Amazon EC2 instances that have either the L4 or the T4 chip installed.
(dict) --
Describes a specific GPU accelerator required for an Amazon Elastic Compute Cloud worker host.
name (string) --
The name of the chip used by the GPU accelerator.
If you specify l4 as the name of the accelerator, you must specify latest or grid:r570 as the runtime.
The available GPU accelerators are:
t4 - NVIDIA T4 Tensor Core GPU
a10g - NVIDIA A10G Tensor Core GPU
l4 - NVIDIA L4 Tensor Core GPU
l40s - NVIDIA L40S Tensor Core GPU
runtime (string) --
Specifies the runtime driver to use for the GPU accelerator. You must use the same runtime for all GPUs.
You can choose from the following runtimes:
latest - Use the latest runtime available for the chip. If you specify latest and a new version of the runtime is released, the new version of the runtime is used.
grid:r570 - NVIDIA vGPU software 18
grid:r535 - NVIDIA vGPU software 16
If you don't specify a runtime, Deadline Cloud uses latest as the default. However, if you have multiple accelerators and specify latest for some and leave others blank, Deadline Cloud raises an exception.
count (dict) --
The number of GPU accelerators specified for worker hosts in this fleet.
min (integer) --
The minimum number of GPU accelerators in the worker host.
max (integer) --
The maximum number of GPU accelerators in the worker host.
allowedInstanceTypes (list) --
The allowable Amazon EC2 instance types.
(string) --
excludedInstanceTypes (list) --
The instance types to exclude from the fleet.
(string) --
customAmounts (list) --
The custom capability amounts to require for instances in this fleet.
(dict) --
The fleet amount and attribute capabilities.
name (string) --
The name of the fleet capability.
min (float) --
The minimum amount of fleet worker capability.
max (float) --
The maximum amount of the fleet worker capability.
customAttributes (list) --
The custom capability attributes to require for instances in this fleet.
(dict) --
Defines the fleet's capability name, minimum, and maximum.
name (string) --
The name of the fleet attribute capability for the worker.
values (list) --
The number of fleet attribute capabilities.
(string) --
instanceMarketOptions (dict) --
The Amazon EC2 market type.
type (string) --
The Amazon EC2 instance type.
vpcConfiguration (dict) --
The VPC configuration details for a service managed Amazon EC2 fleet.
resourceConfigurationArns (list) --
The ARNs of the VPC Lattice resource configurations attached to the fleet.
(string) --
storageProfileId (string) --
The storage profile ID.
hostConfiguration (dict) --
The script that runs as a worker is starting up that you can use to provide additional configuration for workers in your fleet.
scriptBody (string) --
The text of the script that runs as a worker is starting up that you can use to provide additional configuration for workers in your fleet. The script runs after a worker enters the STARTING state and before the worker processes tasks.
For more information about using the script, see Run scripts as an administrator to configure workers in the Deadline Cloud Developer Guide.
scriptTimeoutSeconds (integer) --
The maximum time that the host configuration can run. If the timeout expires, the worker enters the NOT RESPONDING state and shuts down. You are charged for the time that the worker is running the host configuration script.
The default is 300 seconds (5 minutes).
capabilities (dict) --
Outlines what the fleet is capable of for minimums, maximums, and naming, in addition to attribute names and values.
amounts (list) --
Amount capabilities of the fleet.
(dict) --
The fleet amount and attribute capabilities.
name (string) --
The name of the fleet capability.
min (float) --
The minimum amount of fleet worker capability.
max (float) --
The maximum amount of the fleet worker capability.
attributes (list) --
Attribute capabilities of the fleet.
(dict) --
Defines the fleet's capability name, minimum, and maximum.
name (string) --
The name of the fleet attribute capability for the worker.
values (list) --
The number of fleet attribute capabilities.
(string) --
roleArn (string) --
The IAM role ARN.
createdAt (datetime) --
The date and time the resource was created.
createdBy (string) --
The user or system that created this resource.
updatedAt (datetime) --
The date and time the resource was updated.
updatedBy (string) --
The user or system that updated this resource.
{'fleets': {'configuration': {'serviceManagedEc2': {'vpcConfiguration': {'resourceConfigurationArns': ['string']}}}}}
Lists fleets.
See also: AWS API Documentation
Request Syntax
client.list_fleets( farmId='string', principalId='string', displayName='string', status='ACTIVE'|'CREATE_IN_PROGRESS'|'UPDATE_IN_PROGRESS'|'CREATE_FAILED'|'UPDATE_FAILED', nextToken='string', maxResults=123 )
string
[REQUIRED]
The farm ID of the fleets.
string
The principal ID of the members to include in the fleet.
string
The display names of a list of fleets.
string
The status of the fleet.
string
The token for the next set of results, or null to start from the beginning.
integer
The maximum number of results to return. Use this parameter with NextToken to get results as a set of sequential pages.
dict
Response Syntax
{ 'fleets': [ { 'fleetId': 'string', 'farmId': 'string', 'displayName': 'string', 'status': 'ACTIVE'|'CREATE_IN_PROGRESS'|'UPDATE_IN_PROGRESS'|'CREATE_FAILED'|'UPDATE_FAILED', 'autoScalingStatus': 'GROWING'|'STEADY'|'SHRINKING', 'targetWorkerCount': 123, 'workerCount': 123, 'minWorkerCount': 123, 'maxWorkerCount': 123, 'configuration': { 'customerManaged': { 'mode': 'NO_SCALING'|'EVENT_BASED_AUTO_SCALING', 'workerCapabilities': { 'vCpuCount': { 'min': 123, 'max': 123 }, 'memoryMiB': { 'min': 123, 'max': 123 }, 'acceleratorTypes': [ 'gpu', ], 'acceleratorCount': { 'min': 123, 'max': 123 }, 'acceleratorTotalMemoryMiB': { 'min': 123, 'max': 123 }, 'osFamily': 'WINDOWS'|'LINUX'|'MACOS', 'cpuArchitectureType': 'x86_64'|'arm64', 'customAmounts': [ { 'name': 'string', 'min': ..., 'max': ... }, ], 'customAttributes': [ { 'name': 'string', 'values': [ 'string', ] }, ] }, 'storageProfileId': 'string', 'tagPropagationMode': 'NO_PROPAGATION'|'PROPAGATE_TAGS_TO_WORKERS_AT_LAUNCH' }, 'serviceManagedEc2': { 'instanceCapabilities': { 'vCpuCount': { 'min': 123, 'max': 123 }, 'memoryMiB': { 'min': 123, 'max': 123 }, 'osFamily': 'WINDOWS'|'LINUX', 'cpuArchitectureType': 'x86_64'|'arm64', 'rootEbsVolume': { 'sizeGiB': 123, 'iops': 123, 'throughputMiB': 123 }, 'acceleratorCapabilities': { 'selections': [ { 'name': 't4'|'a10g'|'l4'|'l40s', 'runtime': 'string' }, ], 'count': { 'min': 123, 'max': 123 } }, 'allowedInstanceTypes': [ 'string', ], 'excludedInstanceTypes': [ 'string', ], 'customAmounts': [ { 'name': 'string', 'min': ..., 'max': ... }, ], 'customAttributes': [ { 'name': 'string', 'values': [ 'string', ] }, ] }, 'instanceMarketOptions': { 'type': 'on-demand'|'spot' }, 'vpcConfiguration': { 'resourceConfigurationArns': [ 'string', ] }, 'storageProfileId': 'string' } }, 'createdAt': datetime(2015, 1, 1), 'createdBy': 'string', 'updatedAt': datetime(2015, 1, 1), 'updatedBy': 'string' }, ], 'nextToken': 'string' }
Response Structure
(dict) --
fleets (list) --
The fleets on the list.
(dict) --
The details of a fleet.
fleetId (string) --
The fleet ID.
farmId (string) --
The farm ID.
displayName (string) --
The display name of the fleet summary to update.
status (string) --
The status of the fleet.
autoScalingStatus (string) --
The Auto Scaling status of a fleet.
targetWorkerCount (integer) --
The target number of workers in a fleet.
workerCount (integer) --
The number of workers in the fleet summary.
minWorkerCount (integer) --
The minimum number of workers in the fleet.
maxWorkerCount (integer) --
The maximum number of workers specified in the fleet.
configuration (dict) --
The configuration details for the fleet.
customerManaged (dict) --
The customer managed fleets within a fleet configuration.
mode (string) --
The Auto Scaling mode for the customer managed fleet configuration.
workerCapabilities (dict) --
The worker capabilities for a customer managed fleet configuration.
vCpuCount (dict) --
The vCPU count for the customer manged worker capabilities.
min (integer) --
The minimum amount of vCPU.
max (integer) --
The maximum amount of vCPU.
memoryMiB (dict) --
The memory (MiB).
min (integer) --
The minimum amount of memory (in MiB).
max (integer) --
The maximum amount of memory (in MiB).
acceleratorTypes (list) --
The accelerator types for the customer managed worker capabilities.
(string) --
acceleratorCount (dict) --
The range of the accelerator.
min (integer) --
The minimum number of GPU accelerators in the worker host.
max (integer) --
The maximum number of GPU accelerators in the worker host.
acceleratorTotalMemoryMiB (dict) --
The total memory (MiB) for the customer managed worker capabilities.
min (integer) --
The minimum amount of memory to use for the accelerator, measured in MiB.
max (integer) --
The maximum amount of memory to use for the accelerator, measured in MiB.
osFamily (string) --
The operating system (OS) family.
cpuArchitectureType (string) --
The CPU architecture type for the customer managed worker capabilities.
customAmounts (list) --
Custom requirement ranges for customer managed worker capabilities.
(dict) --
The fleet amount and attribute capabilities.
name (string) --
The name of the fleet capability.
min (float) --
The minimum amount of fleet worker capability.
max (float) --
The maximum amount of the fleet worker capability.
customAttributes (list) --
Custom attributes for the customer manged worker capabilities.
(dict) --
Defines the fleet's capability name, minimum, and maximum.
name (string) --
The name of the fleet attribute capability for the worker.
values (list) --
The number of fleet attribute capabilities.
(string) --
storageProfileId (string) --
The storage profile ID.
tagPropagationMode (string) --
Specifies whether tags associated with a fleet are attached to workers when the worker is launched.
When the tagPropagationMode is set to PROPAGATE_TAGS_TO_WORKERS_AT_LAUNCH any tag associated with a fleet is attached to workers when they launch. If the tags for a fleet change, the tags associated with running workers do not change.
If you don't specify tagPropagationMode, the default is NO_PROPAGATION.
serviceManagedEc2 (dict) --
The service managed Amazon EC2 instances for a fleet configuration.
instanceCapabilities (dict) --
The Amazon EC2 instance capabilities.
vCpuCount (dict) --
The amount of vCPU to require for instances in this fleet.
min (integer) --
The minimum amount of vCPU.
max (integer) --
The maximum amount of vCPU.
memoryMiB (dict) --
The memory, as MiB, for the Amazon EC2 instance type.
min (integer) --
The minimum amount of memory (in MiB).
max (integer) --
The maximum amount of memory (in MiB).
osFamily (string) --
The operating system (OS) family.
cpuArchitectureType (string) --
The CPU architecture type.
rootEbsVolume (dict) --
The root EBS volume.
sizeGiB (integer) --
The EBS volume size in GiB.
iops (integer) --
The IOPS per volume.
throughputMiB (integer) --
The throughput per volume in MiB.
acceleratorCapabilities (dict) --
Describes the GPU accelerator capabilities required for worker host instances in this fleet.
selections (list) --
A list of accelerator capabilities requested for this fleet. Only Amazon Elastic Compute Cloud instances that provide these capabilities will be used. For example, if you specify both L4 and T4 chips, Deadline Cloud will use Amazon EC2 instances that have either the L4 or the T4 chip installed.
(dict) --
Describes a specific GPU accelerator required for an Amazon Elastic Compute Cloud worker host.
name (string) --
The name of the chip used by the GPU accelerator.
If you specify l4 as the name of the accelerator, you must specify latest or grid:r570 as the runtime.
The available GPU accelerators are:
t4 - NVIDIA T4 Tensor Core GPU
a10g - NVIDIA A10G Tensor Core GPU
l4 - NVIDIA L4 Tensor Core GPU
l40s - NVIDIA L40S Tensor Core GPU
runtime (string) --
Specifies the runtime driver to use for the GPU accelerator. You must use the same runtime for all GPUs.
You can choose from the following runtimes:
latest - Use the latest runtime available for the chip. If you specify latest and a new version of the runtime is released, the new version of the runtime is used.
grid:r570 - NVIDIA vGPU software 18
grid:r535 - NVIDIA vGPU software 16
If you don't specify a runtime, Deadline Cloud uses latest as the default. However, if you have multiple accelerators and specify latest for some and leave others blank, Deadline Cloud raises an exception.
count (dict) --
The number of GPU accelerators specified for worker hosts in this fleet.
min (integer) --
The minimum number of GPU accelerators in the worker host.
max (integer) --
The maximum number of GPU accelerators in the worker host.
allowedInstanceTypes (list) --
The allowable Amazon EC2 instance types.
(string) --
excludedInstanceTypes (list) --
The instance types to exclude from the fleet.
(string) --
customAmounts (list) --
The custom capability amounts to require for instances in this fleet.
(dict) --
The fleet amount and attribute capabilities.
name (string) --
The name of the fleet capability.
min (float) --
The minimum amount of fleet worker capability.
max (float) --
The maximum amount of the fleet worker capability.
customAttributes (list) --
The custom capability attributes to require for instances in this fleet.
(dict) --
Defines the fleet's capability name, minimum, and maximum.
name (string) --
The name of the fleet attribute capability for the worker.
values (list) --
The number of fleet attribute capabilities.
(string) --
instanceMarketOptions (dict) --
The Amazon EC2 market type.
type (string) --
The Amazon EC2 instance type.
vpcConfiguration (dict) --
The VPC configuration details for a service managed Amazon EC2 fleet.
resourceConfigurationArns (list) --
The ARNs of the VPC Lattice resource configurations attached to the fleet.
(string) --
storageProfileId (string) --
The storage profile ID.
createdAt (datetime) --
The date and time the resource was created.
createdBy (string) --
The user or system that created this resource.
updatedAt (datetime) --
The date and time the resource was updated.
updatedBy (string) --
The user or system that updated this resource.
nextToken (string) --
If Deadline Cloud returns nextToken, then there are more results available. The value of nextToken is a unique pagination token for each page. To retrieve the next page, call the operation again using the returned token. Keep all other arguments unchanged. If no results remain, then nextToken is set to null. Each pagination token expires after 24 hours. If you provide a token that isn't valid, then you receive an HTTP 400 ValidationException error.
{'jobs': {'updatedAt': 'timestamp', 'updatedBy': 'string'}}
Searches for jobs.
See also: AWS API Documentation
Request Syntax
client.search_jobs( farmId='string', queueIds=[ 'string', ], filterExpressions={ 'filters': [ { 'dateTimeFilter': { 'name': 'string', 'operator': 'EQUAL'|'NOT_EQUAL'|'GREATER_THAN_EQUAL_TO'|'GREATER_THAN'|'LESS_THAN_EQUAL_TO'|'LESS_THAN', 'dateTime': datetime(2015, 1, 1) }, 'parameterFilter': { 'name': 'string', 'operator': 'EQUAL'|'NOT_EQUAL'|'GREATER_THAN_EQUAL_TO'|'GREATER_THAN'|'LESS_THAN_EQUAL_TO'|'LESS_THAN', 'value': 'string' }, 'searchTermFilter': { 'searchTerm': 'string', 'matchType': 'FUZZY_MATCH'|'CONTAINS' }, 'stringFilter': { 'name': 'string', 'operator': 'EQUAL'|'NOT_EQUAL'|'GREATER_THAN_EQUAL_TO'|'GREATER_THAN'|'LESS_THAN_EQUAL_TO'|'LESS_THAN', 'value': 'string' }, 'groupFilter': {'... recursive ...'} }, ], 'operator': 'AND'|'OR' }, sortExpressions=[ { 'userJobsFirst': { 'userIdentityId': 'string' }, 'fieldSort': { 'sortOrder': 'ASCENDING'|'DESCENDING', 'name': 'string' }, 'parameterSort': { 'sortOrder': 'ASCENDING'|'DESCENDING', 'name': 'string' } }, ], itemOffset=123, pageSize=123 )
string
[REQUIRED]
The farm ID of the job.
list
[REQUIRED]
The queue ID to use in the job search.
(string) --
dict
The filter expression, AND or OR, to use when searching among a group of search strings in a resource. You can use two groupings per search each within parenthesis ().
filters (list) -- [REQUIRED]
The filters to use for the search.
(dict) --
The type of search filter to apply.
dateTimeFilter (dict) --
Filters based on date and time.
name (string) -- [REQUIRED]
The name of the date-time field to filter on.
operator (string) -- [REQUIRED]
The type of comparison to use to filter the results.
dateTime (datetime) -- [REQUIRED]
The date and time.
parameterFilter (dict) --
Filters by parameter.
name (string) -- [REQUIRED]
The name of the parameter to filter on.
operator (string) -- [REQUIRED]
The type of comparison to use to filter results.
value (string) -- [REQUIRED]
The parameter's value.
searchTermFilter (dict) --
Filters by a specified search term.
searchTerm (string) -- [REQUIRED]
The term to search for.
matchType (string) --
Specifies how Deadline Cloud matches your search term in the results. If you don't specify a matchType the default is FUZZY_MATCH.
FUZZY_MATCH - Matches if a portion of the search term is found in the result.
CONTAINS - Matches if the exact search term is contained in the result.
stringFilter (dict) --
Filters by a string.
name (string) -- [REQUIRED]
The field name to search.
operator (string) -- [REQUIRED]
The type of comparison to use for this search.
value (string) -- [REQUIRED]
The string to search for.
groupFilter (dict) --
Filters by group.
operator (string) -- [REQUIRED]
The operators to include in the search.
list
The search terms for a resource.
(dict) --
The resources to search.
userJobsFirst (dict) --
Options for sorting a particular user's jobs first.
userIdentityId (string) -- [REQUIRED]
The user's ID.
fieldSort (dict) --
Options for sorting by a field.
sortOrder (string) -- [REQUIRED]
The sort order for the field.
name (string) -- [REQUIRED]
The name of the field.
parameterSort (dict) --
Options for sorting by a parameter.
sortOrder (string) -- [REQUIRED]
The sort order for the parameter.
name (string) -- [REQUIRED]
The parameter name to sort by.
integer
[REQUIRED]
Defines how far into the scrollable list to start the return of results.
integer
Specifies the number of items per page for the resource.
dict
Response Syntax
{ 'jobs': [ { 'jobId': 'string', 'queueId': 'string', 'name': 'string', 'lifecycleStatus': 'CREATE_IN_PROGRESS'|'CREATE_FAILED'|'CREATE_COMPLETE'|'UPLOAD_IN_PROGRESS'|'UPLOAD_FAILED'|'UPDATE_IN_PROGRESS'|'UPDATE_FAILED'|'UPDATE_SUCCEEDED'|'ARCHIVED', 'lifecycleStatusMessage': 'string', 'taskRunStatus': 'PENDING'|'READY'|'ASSIGNED'|'STARTING'|'SCHEDULED'|'INTERRUPTING'|'RUNNING'|'SUSPENDED'|'CANCELED'|'FAILED'|'SUCCEEDED'|'NOT_COMPATIBLE', 'targetTaskRunStatus': 'READY'|'FAILED'|'SUCCEEDED'|'CANCELED'|'SUSPENDED'|'PENDING', 'taskRunStatusCounts': { 'string': 123 }, 'taskFailureRetryCount': 123, 'priority': 123, 'maxFailedTasksCount': 123, 'maxRetriesPerTask': 123, 'createdBy': 'string', 'createdAt': datetime(2015, 1, 1), 'endedAt': datetime(2015, 1, 1), 'startedAt': datetime(2015, 1, 1), 'updatedAt': datetime(2015, 1, 1), 'updatedBy': 'string', 'jobParameters': { 'string': { 'int': 'string', 'float': 'string', 'string': 'string', 'path': 'string' } }, 'maxWorkerCount': 123, 'sourceJobId': 'string' }, ], 'nextItemOffset': 123, 'totalResults': 123 }
Response Structure
(dict) --
jobs (list) --
The jobs in the search.
(dict) --
The details of a job search.
jobId (string) --
The job ID.
queueId (string) --
The queue ID.
name (string) --
The job name.
lifecycleStatus (string) --
The life cycle status.
lifecycleStatusMessage (string) --
The life cycle status message.
taskRunStatus (string) --
The task run status for the job.
PENDING–pending and waiting for resources.
READY–ready to be processed.
ASSIGNED–assigned and will run next on a worker.
SCHEDULED–scheduled to be run on a worker.
INTERRUPTING–being interrupted.
RUNNING–running on a worker.
SUSPENDED–the task is suspended.
CANCELED–the task has been canceled.
FAILED–the task has failed.
SUCCEEDED–the task has succeeded.
targetTaskRunStatus (string) --
The task status to start with on the job.
taskRunStatusCounts (dict) --
The number of tasks running on the job.
(string) --
(integer) --
taskFailureRetryCount (integer) --
The total number of times tasks from the job failed and were retried.
priority (integer) --
The job priority.
maxFailedTasksCount (integer) --
The number of task failures before the job stops running and is marked as FAILED.
maxRetriesPerTask (integer) --
The maximum number of retries for a job.
createdBy (string) --
The user or system that created this resource.
createdAt (datetime) --
The date and time the resource was created.
endedAt (datetime) --
The date and time the resource ended running.
startedAt (datetime) --
The date and time the resource started running.
updatedAt (datetime) --
The date and time the resource was updated.
updatedBy (string) --
The user or system that updated this resource.
jobParameters (dict) --
The job parameters.
(string) --
(dict) --
The details of job parameters.
int (string) --
A signed integer represented as a string.
float (string) --
A double precision IEEE-754 floating point number represented as a string.
string (string) --
A UTF-8 string.
path (string) --
A file system path represented as a string.
maxWorkerCount (integer) --
The maximum number of worker hosts that can concurrently process a job. When the maxWorkerCount is reached, no more workers will be assigned to process the job, even if the fleets assigned to the job's queue has available workers.
You can't set the maxWorkerCount to 0. If you set it to -1, there is no maximum number of workers.
If you don't specify the maxWorkerCount, the default is -1.
sourceJobId (string) --
The job ID for the source job.
nextItemOffset (integer) --
The next incremental starting point after the defined itemOffset.
totalResults (integer) --
The total number of results in the search.
{'steps': {'createdBy': 'string', 'updatedAt': 'timestamp', 'updatedBy': 'string'}}
Searches for steps.
See also: AWS API Documentation
Request Syntax
client.search_steps( farmId='string', queueIds=[ 'string', ], jobId='string', filterExpressions={ 'filters': [ { 'dateTimeFilter': { 'name': 'string', 'operator': 'EQUAL'|'NOT_EQUAL'|'GREATER_THAN_EQUAL_TO'|'GREATER_THAN'|'LESS_THAN_EQUAL_TO'|'LESS_THAN', 'dateTime': datetime(2015, 1, 1) }, 'parameterFilter': { 'name': 'string', 'operator': 'EQUAL'|'NOT_EQUAL'|'GREATER_THAN_EQUAL_TO'|'GREATER_THAN'|'LESS_THAN_EQUAL_TO'|'LESS_THAN', 'value': 'string' }, 'searchTermFilter': { 'searchTerm': 'string', 'matchType': 'FUZZY_MATCH'|'CONTAINS' }, 'stringFilter': { 'name': 'string', 'operator': 'EQUAL'|'NOT_EQUAL'|'GREATER_THAN_EQUAL_TO'|'GREATER_THAN'|'LESS_THAN_EQUAL_TO'|'LESS_THAN', 'value': 'string' }, 'groupFilter': {'... recursive ...'} }, ], 'operator': 'AND'|'OR' }, sortExpressions=[ { 'userJobsFirst': { 'userIdentityId': 'string' }, 'fieldSort': { 'sortOrder': 'ASCENDING'|'DESCENDING', 'name': 'string' }, 'parameterSort': { 'sortOrder': 'ASCENDING'|'DESCENDING', 'name': 'string' } }, ], itemOffset=123, pageSize=123 )
string
[REQUIRED]
The farm ID to use for the step search.
list
[REQUIRED]
The queue IDs in the step search.
(string) --
string
The job ID to use in the step search.
dict
The filter expression, AND or OR, to use when searching among a group of search strings in a resource. You can use two groupings per search each within parenthesis ().
filters (list) -- [REQUIRED]
The filters to use for the search.
(dict) --
The type of search filter to apply.
dateTimeFilter (dict) --
Filters based on date and time.
name (string) -- [REQUIRED]
The name of the date-time field to filter on.
operator (string) -- [REQUIRED]
The type of comparison to use to filter the results.
dateTime (datetime) -- [REQUIRED]
The date and time.
parameterFilter (dict) --
Filters by parameter.
name (string) -- [REQUIRED]
The name of the parameter to filter on.
operator (string) -- [REQUIRED]
The type of comparison to use to filter results.
value (string) -- [REQUIRED]
The parameter's value.
searchTermFilter (dict) --
Filters by a specified search term.
searchTerm (string) -- [REQUIRED]
The term to search for.
matchType (string) --
Specifies how Deadline Cloud matches your search term in the results. If you don't specify a matchType the default is FUZZY_MATCH.
FUZZY_MATCH - Matches if a portion of the search term is found in the result.
CONTAINS - Matches if the exact search term is contained in the result.
stringFilter (dict) --
Filters by a string.
name (string) -- [REQUIRED]
The field name to search.
operator (string) -- [REQUIRED]
The type of comparison to use for this search.
value (string) -- [REQUIRED]
The string to search for.
groupFilter (dict) --
Filters by group.
operator (string) -- [REQUIRED]
The operators to include in the search.
list
The search terms for a resource.
(dict) --
The resources to search.
userJobsFirst (dict) --
Options for sorting a particular user's jobs first.
userIdentityId (string) -- [REQUIRED]
The user's ID.
fieldSort (dict) --
Options for sorting by a field.
sortOrder (string) -- [REQUIRED]
The sort order for the field.
name (string) -- [REQUIRED]
The name of the field.
parameterSort (dict) --
Options for sorting by a parameter.
sortOrder (string) -- [REQUIRED]
The sort order for the parameter.
name (string) -- [REQUIRED]
The parameter name to sort by.
integer
[REQUIRED]
Defines how far into the scrollable list to start the return of results.
integer
Specifies the number of items per page for the resource.
dict
Response Syntax
{ 'steps': [ { 'stepId': 'string', 'jobId': 'string', 'queueId': 'string', 'name': 'string', 'lifecycleStatus': 'CREATE_COMPLETE'|'UPDATE_IN_PROGRESS'|'UPDATE_FAILED'|'UPDATE_SUCCEEDED', 'lifecycleStatusMessage': 'string', 'taskRunStatus': 'PENDING'|'READY'|'ASSIGNED'|'STARTING'|'SCHEDULED'|'INTERRUPTING'|'RUNNING'|'SUSPENDED'|'CANCELED'|'FAILED'|'SUCCEEDED'|'NOT_COMPATIBLE', 'targetTaskRunStatus': 'READY'|'FAILED'|'SUCCEEDED'|'CANCELED'|'SUSPENDED'|'PENDING', 'taskRunStatusCounts': { 'string': 123 }, 'taskFailureRetryCount': 123, 'createdAt': datetime(2015, 1, 1), 'createdBy': 'string', 'startedAt': datetime(2015, 1, 1), 'endedAt': datetime(2015, 1, 1), 'updatedAt': datetime(2015, 1, 1), 'updatedBy': 'string', 'parameterSpace': { 'parameters': [ { 'name': 'string', 'type': 'INT'|'FLOAT'|'STRING'|'PATH'|'CHUNK_INT' }, ], 'combination': 'string' } }, ], 'nextItemOffset': 123, 'totalResults': 123 }
Response Structure
(dict) --
steps (list) --
The steps in the search.
(dict) --
The details of a step search.
stepId (string) --
The step ID.
jobId (string) --
The job ID.
queueId (string) --
The queue ID.
name (string) --
The step name.
lifecycleStatus (string) --
The life cycle status.
lifecycleStatusMessage (string) --
The life cycle status message.
taskRunStatus (string) --
The task run status for the job.
PENDING–pending and waiting for resources.
READY–ready to be processed.
ASSIGNED–assigned and will run next on a worker.
SCHEDULED–scheduled to be run on a worker.
INTERRUPTING–being interrupted.
RUNNING–running on a worker.
SUSPENDED–the task is suspended.
CANCELED–the task has been canceled.
FAILED–the task has failed.
SUCCEEDED–the task has succeeded.
targetTaskRunStatus (string) --
The task status to start with on the job.
taskRunStatusCounts (dict) --
The number of tasks running on the job.
(string) --
(integer) --
taskFailureRetryCount (integer) --
The total number of times tasks from the step failed and were retried.
createdAt (datetime) --
The date and time the resource was created.
createdBy (string) --
The user or system that created this resource.
startedAt (datetime) --
The date and time the resource started running.
endedAt (datetime) --
The date and time the resource ended running.
updatedAt (datetime) --
The date and time the resource was updated.
updatedBy (string) --
The user or system that updated this resource.
parameterSpace (dict) --
The parameters and combination expressions for the search.
parameters (list) --
The parameters to search for.
(dict) --
The details of a step parameter.
name (string) --
The name of the parameter.
type (string) --
The data type of the parameter.
combination (string) --
The combination expression to use in the search.
nextItemOffset (integer) --
The next incremental starting point after the defined itemOffset.
totalResults (integer) --
The total number of results in the search.
{'tasks': {'updatedAt': 'timestamp', 'updatedBy': 'string'}}
Searches for tasks.
See also: AWS API Documentation
Request Syntax
client.search_tasks( farmId='string', queueIds=[ 'string', ], jobId='string', filterExpressions={ 'filters': [ { 'dateTimeFilter': { 'name': 'string', 'operator': 'EQUAL'|'NOT_EQUAL'|'GREATER_THAN_EQUAL_TO'|'GREATER_THAN'|'LESS_THAN_EQUAL_TO'|'LESS_THAN', 'dateTime': datetime(2015, 1, 1) }, 'parameterFilter': { 'name': 'string', 'operator': 'EQUAL'|'NOT_EQUAL'|'GREATER_THAN_EQUAL_TO'|'GREATER_THAN'|'LESS_THAN_EQUAL_TO'|'LESS_THAN', 'value': 'string' }, 'searchTermFilter': { 'searchTerm': 'string', 'matchType': 'FUZZY_MATCH'|'CONTAINS' }, 'stringFilter': { 'name': 'string', 'operator': 'EQUAL'|'NOT_EQUAL'|'GREATER_THAN_EQUAL_TO'|'GREATER_THAN'|'LESS_THAN_EQUAL_TO'|'LESS_THAN', 'value': 'string' }, 'groupFilter': {'... recursive ...'} }, ], 'operator': 'AND'|'OR' }, sortExpressions=[ { 'userJobsFirst': { 'userIdentityId': 'string' }, 'fieldSort': { 'sortOrder': 'ASCENDING'|'DESCENDING', 'name': 'string' }, 'parameterSort': { 'sortOrder': 'ASCENDING'|'DESCENDING', 'name': 'string' } }, ], itemOffset=123, pageSize=123 )
string
[REQUIRED]
The farm ID of the task.
list
[REQUIRED]
The queue IDs to include in the search.
(string) --
string
The job ID for the task search.
dict
The filter expression, AND or OR, to use when searching among a group of search strings in a resource. You can use two groupings per search each within parenthesis ().
filters (list) -- [REQUIRED]
The filters to use for the search.
(dict) --
The type of search filter to apply.
dateTimeFilter (dict) --
Filters based on date and time.
name (string) -- [REQUIRED]
The name of the date-time field to filter on.
operator (string) -- [REQUIRED]
The type of comparison to use to filter the results.
dateTime (datetime) -- [REQUIRED]
The date and time.
parameterFilter (dict) --
Filters by parameter.
name (string) -- [REQUIRED]
The name of the parameter to filter on.
operator (string) -- [REQUIRED]
The type of comparison to use to filter results.
value (string) -- [REQUIRED]
The parameter's value.
searchTermFilter (dict) --
Filters by a specified search term.
searchTerm (string) -- [REQUIRED]
The term to search for.
matchType (string) --
Specifies how Deadline Cloud matches your search term in the results. If you don't specify a matchType the default is FUZZY_MATCH.
FUZZY_MATCH - Matches if a portion of the search term is found in the result.
CONTAINS - Matches if the exact search term is contained in the result.
stringFilter (dict) --
Filters by a string.
name (string) -- [REQUIRED]
The field name to search.
operator (string) -- [REQUIRED]
The type of comparison to use for this search.
value (string) -- [REQUIRED]
The string to search for.
groupFilter (dict) --
Filters by group.
operator (string) -- [REQUIRED]
The operators to include in the search.
list
The search terms for a resource.
(dict) --
The resources to search.
userJobsFirst (dict) --
Options for sorting a particular user's jobs first.
userIdentityId (string) -- [REQUIRED]
The user's ID.
fieldSort (dict) --
Options for sorting by a field.
sortOrder (string) -- [REQUIRED]
The sort order for the field.
name (string) -- [REQUIRED]
The name of the field.
parameterSort (dict) --
Options for sorting by a parameter.
sortOrder (string) -- [REQUIRED]
The sort order for the parameter.
name (string) -- [REQUIRED]
The parameter name to sort by.
integer
[REQUIRED]
Defines how far into the scrollable list to start the return of results.
integer
Specifies the number of items per page for the resource.
dict
Response Syntax
{ 'tasks': [ { 'taskId': 'string', 'stepId': 'string', 'jobId': 'string', 'queueId': 'string', 'runStatus': 'PENDING'|'READY'|'ASSIGNED'|'STARTING'|'SCHEDULED'|'INTERRUPTING'|'RUNNING'|'SUSPENDED'|'CANCELED'|'FAILED'|'SUCCEEDED'|'NOT_COMPATIBLE', 'targetRunStatus': 'READY'|'FAILED'|'SUCCEEDED'|'CANCELED'|'SUSPENDED'|'PENDING', 'parameters': { 'string': { 'int': 'string', 'float': 'string', 'string': 'string', 'path': 'string', 'chunkInt': 'string' } }, 'failureRetryCount': 123, 'startedAt': datetime(2015, 1, 1), 'endedAt': datetime(2015, 1, 1), 'updatedAt': datetime(2015, 1, 1), 'updatedBy': 'string' }, ], 'nextItemOffset': 123, 'totalResults': 123 }
Response Structure
(dict) --
tasks (list) --
Tasks in the search.
(dict) --
The details of a task search.
taskId (string) --
The task ID.
stepId (string) --
The step ID.
jobId (string) --
The job ID.
queueId (string) --
The queue ID.
runStatus (string) --
The run status of the task.
targetRunStatus (string) --
The run status that the task is being updated to.
parameters (dict) --
The parameters to search for.
(string) --
(dict) --
The data types for the task parameters.
int (string) --
A signed integer represented as a string.
float (string) --
A double precision IEEE-754 floating point number represented as a string.
string (string) --
A UTF-8 string.
path (string) --
A file system path represented as a string.
chunkInt (string) --
A range (for example 1-10) or selection of specific (for example 1,3,7,8,10) integers represented as a string.
failureRetryCount (integer) --
The number of times that the task failed and was retried.
startedAt (datetime) --
The date and time the resource started running.
endedAt (datetime) --
The date and time the resource ended running.
updatedAt (datetime) --
The date and time the resource was updated.
updatedBy (string) --
The user or system that updated this resource.
nextItemOffset (integer) --
The next incremental starting point after the defined itemOffset.
totalResults (integer) --
The total number of results in the search.
{'configuration': {'serviceManagedEc2': {'vpcConfiguration': {'resourceConfigurationArns': ['string']}}}}
Updates a fleet.
See also: AWS API Documentation
Request Syntax
client.update_fleet( clientToken='string', farmId='string', fleetId='string', displayName='string', description='string', roleArn='string', minWorkerCount=123, maxWorkerCount=123, configuration={ 'customerManaged': { 'mode': 'NO_SCALING'|'EVENT_BASED_AUTO_SCALING', 'workerCapabilities': { 'vCpuCount': { 'min': 123, 'max': 123 }, 'memoryMiB': { 'min': 123, 'max': 123 }, 'acceleratorTypes': [ 'gpu', ], 'acceleratorCount': { 'min': 123, 'max': 123 }, 'acceleratorTotalMemoryMiB': { 'min': 123, 'max': 123 }, 'osFamily': 'WINDOWS'|'LINUX'|'MACOS', 'cpuArchitectureType': 'x86_64'|'arm64', 'customAmounts': [ { 'name': 'string', 'min': ..., 'max': ... }, ], 'customAttributes': [ { 'name': 'string', 'values': [ 'string', ] }, ] }, 'storageProfileId': 'string', 'tagPropagationMode': 'NO_PROPAGATION'|'PROPAGATE_TAGS_TO_WORKERS_AT_LAUNCH' }, 'serviceManagedEc2': { 'instanceCapabilities': { 'vCpuCount': { 'min': 123, 'max': 123 }, 'memoryMiB': { 'min': 123, 'max': 123 }, 'osFamily': 'WINDOWS'|'LINUX', 'cpuArchitectureType': 'x86_64'|'arm64', 'rootEbsVolume': { 'sizeGiB': 123, 'iops': 123, 'throughputMiB': 123 }, 'acceleratorCapabilities': { 'selections': [ { 'name': 't4'|'a10g'|'l4'|'l40s', 'runtime': 'string' }, ], 'count': { 'min': 123, 'max': 123 } }, 'allowedInstanceTypes': [ 'string', ], 'excludedInstanceTypes': [ 'string', ], 'customAmounts': [ { 'name': 'string', 'min': ..., 'max': ... }, ], 'customAttributes': [ { 'name': 'string', 'values': [ 'string', ] }, ] }, 'instanceMarketOptions': { 'type': 'on-demand'|'spot' }, 'vpcConfiguration': { 'resourceConfigurationArns': [ 'string', ] }, 'storageProfileId': 'string' } }, hostConfiguration={ 'scriptBody': 'string', 'scriptTimeoutSeconds': 123 } )
string
The unique token which the server uses to recognize retries of the same request.
This field is autopopulated if not provided.
string
[REQUIRED]
The farm ID to update.
string
[REQUIRED]
The fleet ID to update.
string
The display name of the fleet to update.
string
The description of the fleet to update.
string
The IAM role ARN that the fleet's workers assume while running jobs.
integer
The minimum number of workers in the fleet.
integer
The maximum number of workers in the fleet.
Deadline Cloud limits the number of workers to less than or equal to the fleet's maximum worker count. The service maintains eventual consistency for the worker count. If you make multiple rapid calls to CreateWorker before the field updates, you might exceed your fleet's maximum worker count. For example, if your maxWorkerCount is 10 and you currently have 9 workers, making two quick CreateWorker calls might successfully create 2 workers instead of 1, resulting in 11 total workers.
dict
The fleet configuration to update.
customerManaged (dict) --
The customer managed fleets within a fleet configuration.
mode (string) -- [REQUIRED]
The Auto Scaling mode for the customer managed fleet configuration.
workerCapabilities (dict) -- [REQUIRED]
The worker capabilities for a customer managed fleet configuration.
vCpuCount (dict) -- [REQUIRED]
The vCPU count for the customer manged worker capabilities.
min (integer) -- [REQUIRED]
The minimum amount of vCPU.
max (integer) --
The maximum amount of vCPU.
memoryMiB (dict) -- [REQUIRED]
The memory (MiB).
min (integer) -- [REQUIRED]
The minimum amount of memory (in MiB).
max (integer) --
The maximum amount of memory (in MiB).
acceleratorTypes (list) --
The accelerator types for the customer managed worker capabilities.
(string) --
acceleratorCount (dict) --
The range of the accelerator.
min (integer) -- [REQUIRED]
The minimum number of GPU accelerators in the worker host.
max (integer) --
The maximum number of GPU accelerators in the worker host.
acceleratorTotalMemoryMiB (dict) --
The total memory (MiB) for the customer managed worker capabilities.
min (integer) -- [REQUIRED]
The minimum amount of memory to use for the accelerator, measured in MiB.
max (integer) --
The maximum amount of memory to use for the accelerator, measured in MiB.
osFamily (string) -- [REQUIRED]
The operating system (OS) family.
cpuArchitectureType (string) -- [REQUIRED]
The CPU architecture type for the customer managed worker capabilities.
customAmounts (list) --
Custom requirement ranges for customer managed worker capabilities.
(dict) --
The fleet amount and attribute capabilities.
name (string) -- [REQUIRED]
The name of the fleet capability.
min (float) -- [REQUIRED]
The minimum amount of fleet worker capability.
max (float) --
The maximum amount of the fleet worker capability.
customAttributes (list) --
Custom attributes for the customer manged worker capabilities.
(dict) --
Defines the fleet's capability name, minimum, and maximum.
name (string) -- [REQUIRED]
The name of the fleet attribute capability for the worker.
values (list) -- [REQUIRED]
The number of fleet attribute capabilities.
(string) --
storageProfileId (string) --
The storage profile ID.
tagPropagationMode (string) --
Specifies whether tags associated with a fleet are attached to workers when the worker is launched.
When the tagPropagationMode is set to PROPAGATE_TAGS_TO_WORKERS_AT_LAUNCH any tag associated with a fleet is attached to workers when they launch. If the tags for a fleet change, the tags associated with running workers do not change.
If you don't specify tagPropagationMode, the default is NO_PROPAGATION.
serviceManagedEc2 (dict) --
The service managed Amazon EC2 instances for a fleet configuration.
instanceCapabilities (dict) -- [REQUIRED]
The Amazon EC2 instance capabilities.
vCpuCount (dict) -- [REQUIRED]
The amount of vCPU to require for instances in this fleet.
min (integer) -- [REQUIRED]
The minimum amount of vCPU.
max (integer) --
The maximum amount of vCPU.
memoryMiB (dict) -- [REQUIRED]
The memory, as MiB, for the Amazon EC2 instance type.
min (integer) -- [REQUIRED]
The minimum amount of memory (in MiB).
max (integer) --
The maximum amount of memory (in MiB).
osFamily (string) -- [REQUIRED]
The operating system (OS) family.
cpuArchitectureType (string) -- [REQUIRED]
The CPU architecture type.
rootEbsVolume (dict) --
The root EBS volume.
sizeGiB (integer) --
The EBS volume size in GiB.
iops (integer) --
The IOPS per volume.
throughputMiB (integer) --
The throughput per volume in MiB.
acceleratorCapabilities (dict) --
Describes the GPU accelerator capabilities required for worker host instances in this fleet.
selections (list) -- [REQUIRED]
A list of accelerator capabilities requested for this fleet. Only Amazon Elastic Compute Cloud instances that provide these capabilities will be used. For example, if you specify both L4 and T4 chips, Deadline Cloud will use Amazon EC2 instances that have either the L4 or the T4 chip installed.
(dict) --
Describes a specific GPU accelerator required for an Amazon Elastic Compute Cloud worker host.
name (string) -- [REQUIRED]
The name of the chip used by the GPU accelerator.
If you specify l4 as the name of the accelerator, you must specify latest or grid:r570 as the runtime.
The available GPU accelerators are:
t4 - NVIDIA T4 Tensor Core GPU
a10g - NVIDIA A10G Tensor Core GPU
l4 - NVIDIA L4 Tensor Core GPU
l40s - NVIDIA L40S Tensor Core GPU
runtime (string) --
Specifies the runtime driver to use for the GPU accelerator. You must use the same runtime for all GPUs.
You can choose from the following runtimes:
latest - Use the latest runtime available for the chip. If you specify latest and a new version of the runtime is released, the new version of the runtime is used.
grid:r570 - NVIDIA vGPU software 18
grid:r535 - NVIDIA vGPU software 16
If you don't specify a runtime, Deadline Cloud uses latest as the default. However, if you have multiple accelerators and specify latest for some and leave others blank, Deadline Cloud raises an exception.
count (dict) --
The number of GPU accelerators specified for worker hosts in this fleet.
min (integer) -- [REQUIRED]
The minimum number of GPU accelerators in the worker host.
max (integer) --
The maximum number of GPU accelerators in the worker host.
allowedInstanceTypes (list) --
The allowable Amazon EC2 instance types.
(string) --
excludedInstanceTypes (list) --
The instance types to exclude from the fleet.
(string) --
customAmounts (list) --
The custom capability amounts to require for instances in this fleet.
(dict) --
The fleet amount and attribute capabilities.
name (string) -- [REQUIRED]
The name of the fleet capability.
min (float) -- [REQUIRED]
The minimum amount of fleet worker capability.
max (float) --
The maximum amount of the fleet worker capability.
customAttributes (list) --
The custom capability attributes to require for instances in this fleet.
(dict) --
Defines the fleet's capability name, minimum, and maximum.
name (string) -- [REQUIRED]
The name of the fleet attribute capability for the worker.
values (list) -- [REQUIRED]
The number of fleet attribute capabilities.
(string) --
instanceMarketOptions (dict) -- [REQUIRED]
The Amazon EC2 market type.
type (string) -- [REQUIRED]
The Amazon EC2 instance type.
vpcConfiguration (dict) --
The VPC configuration details for a service managed Amazon EC2 fleet.
resourceConfigurationArns (list) --
The ARNs of the VPC Lattice resource configurations attached to the fleet.
(string) --
storageProfileId (string) --
The storage profile ID.
dict
Provides a script that runs as a worker is starting up that you can use to provide additional configuration for workers in your fleet.
scriptBody (string) -- [REQUIRED]
The text of the script that runs as a worker is starting up that you can use to provide additional configuration for workers in your fleet. The script runs after a worker enters the STARTING state and before the worker processes tasks.
For more information about using the script, see Run scripts as an administrator to configure workers in the Deadline Cloud Developer Guide.
scriptTimeoutSeconds (integer) --
The maximum time that the host configuration can run. If the timeout expires, the worker enters the NOT RESPONDING state and shuts down. You are charged for the time that the worker is running the host configuration script.
The default is 300 seconds (5 minutes).
dict
Response Syntax
{}
Response Structure
(dict) --