DeadlineCloud / Waiter / QueueSchedulingBlocked

QueueSchedulingBlocked#

class DeadlineCloud.Waiter.QueueSchedulingBlocked#
waiter = client.get_waiter('queue_scheduling_blocked')
wait(**kwargs)#

Polls DeadlineCloud.Client.get_queue() every 10 seconds until a successful state is reached. An error is returned after 30 failed checks.

See also: AWS API Documentation

Request Syntax

waiter.wait(
    farmId='string',
    queueId='string',
    WaiterConfig={
        'Delay': 123,
        'MaxAttempts': 123
    }
)
Parameters:
  • farmId (string) –

    [REQUIRED]

    The farm ID of the farm in the queue.

  • queueId (string) –

    [REQUIRED]

    The queue ID for the queue to retrieve.

  • WaiterConfig (dict) –

    A dictionary that provides parameters to control waiting behavior.

    • Delay (integer) –

      The amount of time in seconds to wait between attempts. Default: 10

    • MaxAttempts (integer) –

      The maximum number of attempts to be made. Default: 30

Returns:

None