DevOpsAgentService / Client / list_executions

list_executions

DevOpsAgentService.Client.list_executions(**kwargs)

List executions

See also: AWS API Documentation

Request Syntax

response = client.list_executions(
    agentSpaceId='string',
    taskId='string',
    limit=123,
    nextToken='string'
)
Parameters:
  • agentSpaceId (string) –

    [REQUIRED]

    The unique identifier for the agent space

  • taskId (string) –

    [REQUIRED]

    The unique identifier of the task whose executions to retrieve

  • limit (integer) – Maximum number of executions to return

  • nextToken (string) – Token for pagination to retrieve the next set of results

Return type:

dict

Returns:

Response Syntax

{
    'executions': [
        {
            'agentSpaceId': 'string',
            'executionId': 'string',
            'parentExecutionId': 'string',
            'agentSubTask': 'string',
            'createdAt': datetime(2015, 1, 1),
            'updatedAt': datetime(2015, 1, 1),
            'executionStatus': 'FAILED'|'RUNNING'|'STOPPED'|'CANCELED'|'TIMED_OUT',
            'agentType': 'string',
            'uid': 'string'
        },
    ],
    'nextToken': 'string'
}

Response Structure

  • (dict) –

    Response structure containing executions

    • executions (list) –

      List of executions

      • (dict) –

        Represents an execution instance with its lifecycle information

        • agentSpaceId (string) –

          The unique identifier for the agent space containing this execution

        • executionId (string) –

          The unique identifier for this execution

        • parentExecutionId (string) –

          The identifier of the parent execution, if this is a child execution

        • agentSubTask (string) –

          The specific subtask being executed by the agent

        • createdAt (datetime) –

          Timestamp when this execution was created

        • updatedAt (datetime) –

          Timestamp when this execution was last updated

        • executionStatus (string) –

          The current status of this execution

        • agentType (string) –

          The type of agent that performed this execution.

        • uid (string) –

          The unique identifier for the user session associated with this execution

    • nextToken (string) –

      Token for retrieving the next page of results, if available

Exceptions