DeadlineCloud / Client / update_queue
update_queue#
- DeadlineCloud.Client.update_queue(**kwargs)#
Updates a queue.
See also: AWS API Documentation
Request Syntax
response = client.update_queue( clientToken='string', farmId='string', queueId='string', displayName='string', description='string', defaultBudgetAction='NONE'|'STOP_SCHEDULING_AND_COMPLETE_TASKS'|'STOP_SCHEDULING_AND_CANCEL_TASKS', jobAttachmentSettings={ 's3BucketName': 'string', 'rootPrefix': 'string' }, roleArn='string', jobRunAsUser={ 'posix': { 'user': 'string', 'group': 'string' }, 'windows': { 'user': 'string', 'passwordArn': 'string' }, 'runAs': 'QUEUE_CONFIGURED_USER'|'WORKER_AGENT_USER' }, requiredFileSystemLocationNamesToAdd=[ 'string', ], requiredFileSystemLocationNamesToRemove=[ 'string', ], allowedStorageProfileIdsToAdd=[ 'string', ], allowedStorageProfileIdsToRemove=[ 'string', ] )
- Parameters:
clientToken (string) –
The idempotency token to update in the queue.
This field is autopopulated if not provided.
farmId (string) –
[REQUIRED]
The farm ID to update in the queue.
queueId (string) –
[REQUIRED]
The queue ID to update.
displayName (string) –
The display name of the queue to update.
Warning
This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.
description (string) –
The description of the queue to update.
Warning
This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.
defaultBudgetAction (string) – The default action to take for a queue update if a budget isn’t configured.
jobAttachmentSettings (dict) –
The job attachment settings to update for the queue.
s3BucketName (string) – [REQUIRED]
The Amazon S3 bucket name.
rootPrefix (string) – [REQUIRED]
The root prefix.
roleArn (string) – The IAM role ARN that’s used to run jobs from this queue.
jobRunAsUser (dict) –
Update the jobs in the queue to run as a specified POSIX user.
posix (dict) –
The user and group that the jobs in the queue run as.
user (string) – [REQUIRED]
The name of the POSIX user.
group (string) – [REQUIRED]
The name of the POSIX user’s group.
windows (dict) –
Identifies a Microsoft Windows user.
user (string) – [REQUIRED]
The user.
passwordArn (string) – [REQUIRED]
The password ARN for the Windows user.
runAs (string) – [REQUIRED]
Specifies whether the job should run using the queue’s system user or if the job should run using the worker agent system user.
requiredFileSystemLocationNamesToAdd (list) –
The required file system location names to add to the queue.
(string) –
requiredFileSystemLocationNamesToRemove (list) –
The required file system location names to remove from the queue.
(string) –
allowedStorageProfileIdsToAdd (list) –
The storage profile IDs to add.
(string) –
allowedStorageProfileIdsToRemove (list) –
The storage profile ID to remove.
(string) –
- Return type:
dict
- Returns:
Response Syntax
{}
Response Structure
(dict) –
Exceptions
DeadlineCloud.Client.exceptions.AccessDeniedException
DeadlineCloud.Client.exceptions.InternalServerErrorException
DeadlineCloud.Client.exceptions.ResourceNotFoundException
DeadlineCloud.Client.exceptions.ThrottlingException
DeadlineCloud.Client.exceptions.ValidationException