DeadlineCloud / Waiter / JobCreateComplete

JobCreateComplete#

class DeadlineCloud.Waiter.JobCreateComplete#
waiter = client.get_waiter('job_create_complete')
wait(**kwargs)#

Polls DeadlineCloud.Client.get_job() every 1 seconds until a successful state is reached. An error is returned after 120 failed checks.

See also: AWS API Documentation

Request Syntax

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

    [REQUIRED]

    The farm ID of the farm in the job.

  • jobId (string) –

    [REQUIRED]

    The job ID.

  • queueId (string) –

    [REQUIRED]

    The queue ID associated with the job.

  • WaiterConfig (dict) –

    A dictionary that provides parameters to control waiting behavior.

    • Delay (integer) –

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

    • MaxAttempts (integer) –

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

Returns:

None