DeadlineCloud / Client / get_step

get_step#

DeadlineCloud.Client.get_step(**kwargs)#

Gets a step.

See also: AWS API Documentation

Request Syntax

response = client.get_step(
    farmId='string',
    jobId='string',
    queueId='string',
    stepId='string'
)
Parameters:
  • farmId (string) –

    [REQUIRED]

    The farm ID for the step.

  • jobId (string) –

    [REQUIRED]

    The job ID for the step.

  • queueId (string) –

    [REQUIRED]

    The queue ID for the step.

  • stepId (string) –

    [REQUIRED]

    The step ID.

Return type:

dict

Returns:

Response Syntax

{
    'createdAt': datetime(2015, 1, 1),
    'createdBy': 'string',
    'dependencyCounts': {
        'consumersResolved': 123,
        'consumersUnresolved': 123,
        'dependenciesResolved': 123,
        'dependenciesUnresolved': 123
    },
    'description': 'string',
    'endedAt': datetime(2015, 1, 1),
    'lifecycleStatus': 'CREATE_COMPLETE'|'UPDATE_IN_PROGRESS'|'UPDATE_FAILED'|'UPDATE_SUCCEEDED',
    'lifecycleStatusMessage': 'string',
    'name': 'string',
    'parameterSpace': {
        'combination': 'string',
        'parameters': [
            {
                'name': 'string',
                'type': 'INT'|'FLOAT'|'STRING'|'PATH'
            },
        ]
    },
    'requiredCapabilities': {
        'amounts': [
            {
                'max': 123.0,
                'min': 123.0,
                'name': 'string',
                'value': 123.0
            },
        ],
        'attributes': [
            {
                'allOf': [
                    'string',
                ],
                'anyOf': [
                    'string',
                ],
                'name': 'string'
            },
        ]
    },
    'startedAt': datetime(2015, 1, 1),
    'stepId': 'string',
    'targetTaskRunStatus': 'READY'|'FAILED'|'SUCCEEDED'|'CANCELED'|'SUSPENDED'|'PENDING',
    'taskRunStatus': 'PENDING'|'READY'|'ASSIGNED'|'STARTING'|'SCHEDULED'|'INTERRUPTING'|'RUNNING'|'SUSPENDED'|'CANCELED'|'FAILED'|'SUCCEEDED'|'NOT_COMPATIBLE',
    'taskRunStatusCounts': {
        'string': 123
    },
    'updatedAt': datetime(2015, 1, 1),
    'updatedBy': 'string'
}

Response Structure

  • (dict) –

    • createdAt (datetime) –

      The date and time the resource was created.

    • createdBy (string) –

      The user or system that created this resource.

    • dependencyCounts (dict) –

      The number of dependencies in the step.

      • consumersResolved (integer) –

        The number of consumers resolved.

      • consumersUnresolved (integer) –

        The number of unresolved consumers.

      • dependenciesResolved (integer) –

        The number of resolved dependencies.

      • dependenciesUnresolved (integer) –

        The number of unresolved dependencies.

    • description (string) –

      The description of the step.

    • endedAt (datetime) –

      The date and time the resource ended running.

    • lifecycleStatus (string) –

      The life cycle status of the step.

    • lifecycleStatusMessage (string) –

      A message that describes the lifecycle status of the step.

    • name (string) –

      The name of the step.

    • parameterSpace (dict) –

      A list of step parameters and the combination expression for the step.

      • combination (string) –

        The combination expression to use in the search.

      • parameters (list) –

        The parameters to search for.

        • (dict) –

          The details of a step parameter.

          • name (string) –

            The name of the parameter.

          • type (string) –

            The data type of the parameter.

    • requiredCapabilities (dict) –

      The required capabilities of the step.

      • amounts (list) –

        The capability amounts that the step requires.

        • (dict) –

          The details outlining the minimum and maximum capability of a step.

          • max (float) –

            The maximum amount.

          • min (float) –

            The minimum amount.

          • name (string) –

            The name of the step.

          • value (float) –

            The amount value.

      • attributes (list) –

        The capability attributes that the step requires.

        • (dict) –

          The list of step attributes.

          • allOf (list) –

            Requires all of the step attribute values.

            • (string) –

          • anyOf (list) –

            Requires any of the step attributes in a given list.

            • (string) –

          • name (string) –

            The name of the step attribute.

    • startedAt (datetime) –

      The date and time the resource started running.

    • stepId (string) –

      The step ID.

    • targetTaskRunStatus (string) –

      The task status with which the job started.

    • taskRunStatus (string) –

      The task run status for the job.

    • taskRunStatusCounts (dict) –

      The number of tasks running on the job.

      • (string) –

        • (integer) –

    • updatedAt (datetime) –

      The date and time the resource was updated.

    • updatedBy (string) –

      The user or system that updated this resource.

Exceptions