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( allowedStorageProfileIdsToAdd=[ 'string', ], allowedStorageProfileIdsToRemove=[ 'string', ], clientToken='string', defaultBudgetAction='NONE'|'STOP_SCHEDULING_AND_COMPLETE_TASKS'|'STOP_SCHEDULING_AND_CANCEL_TASKS', description='string', displayName='string', farmId='string', jobAttachmentSettings={ 'rootPrefix': 'string', 's3BucketName': 'string' }, jobRunAsUser={ 'posix': { 'group': 'string', 'user': 'string' }, 'runAs': 'QUEUE_CONFIGURED_USER'|'WORKER_AGENT_USER', 'windows': { 'passwordArn': 'string', 'user': 'string' } }, queueId='string', requiredFileSystemLocationNamesToAdd=[ 'string', ], requiredFileSystemLocationNamesToRemove=[ 'string', ], roleArn='string' )
- Parameters:
allowedStorageProfileIdsToAdd (list) –
The storage profile IDs to add.
(string) –
allowedStorageProfileIdsToRemove (list) –
The storage profile ID to remove.
(string) –
clientToken (string) –
The idempotency token to update in the queue.
This field is autopopulated if not provided.
defaultBudgetAction (string) – The default action to take for a queue update if a budget isn’t configured.
description (string) – The description of the queue to update.
displayName (string) – The display name of the queue to update.
farmId (string) –
[REQUIRED]
The farm ID to update in the queue.
jobAttachmentSettings (dict) –
The job attachment settings to update for the queue.
rootPrefix (string) – [REQUIRED]
The root prefix.
s3BucketName (string) – [REQUIRED]
The Amazon S3 bucket name.
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.
group (string) – [REQUIRED]
The name of the POSIX user’s group.
user (string) – [REQUIRED]
The name of the POSIX 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.
windows (dict) –
Identifies a Microsoft Windows user.
passwordArn (string) – [REQUIRED]
The password ARN for the Windows user.
user (string) – [REQUIRED]
The user.
queueId (string) –
[REQUIRED]
The queue ID to update.
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) –
roleArn (string) – The IAM role ARN that’s used to run jobs from this queue.
- 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