DeadlineCloud / Client / create_queue_limit_association

create_queue_limit_association#

DeadlineCloud.Client.create_queue_limit_association(**kwargs)#

Associates a limit with a particular queue. After the limit is associated, all workers for jobs that specify the limit associated with the queue are subject to the limit. You can’t associate two limits with the same amountRequirementName to the same queue.

See also: AWS API Documentation

Request Syntax

response = client.create_queue_limit_association(
    farmId='string',
    queueId='string',
    limitId='string'
)
Parameters:
  • farmId (string) –

    [REQUIRED]

    The unique identifier of the farm that contains the queue and limit to associate.

  • queueId (string) –

    [REQUIRED]

    The unique identifier of the queue to associate with the limit.

  • limitId (string) –

    [REQUIRED]

    The unique identifier of the limit to associate with the queue.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions