SecurityAgent / Client / list_threat_model_job_tasks

list_threat_model_job_tasks

SecurityAgent.Client.list_threat_model_job_tasks(**kwargs)

Returns a paginated list of task summaries for the specified threat model job.

See also: AWS API Documentation

Request Syntax

response = client.list_threat_model_job_tasks(
    agentSpaceId='string',
    maxResults=123,
    threatModelJobId='string',
    nextToken='string'
)
Parameters:
  • agentSpaceId (string) –

    [REQUIRED]

    The unique identifier of the agent space.

  • maxResults (integer) – The maximum number of results to return in a single call.

  • threatModelJobId (string) –

    [REQUIRED]

    The unique identifier of the threat model job to list tasks for.

  • nextToken (string) – A token to use for paginating results that are returned in the response.

Return type:

dict

Returns:

Response Syntax

{
    'threatModelJobTaskSummaries': [
        {
            'taskId': 'string',
            'threatModelId': 'string',
            'threatModelJobId': 'string',
            'agentSpaceId': 'string',
            'title': 'string',
            'executionStatus': 'IN_PROGRESS'|'ABORTED'|'COMPLETED'|'INTERNAL_ERROR'|'FAILED',
            'createdAt': datetime(2015, 1, 1),
            'updatedAt': datetime(2015, 1, 1)
        },
    ],
    'nextToken': 'string'
}

Response Structure

  • (dict) –

    Output for the ListThreatModelJobTasks operation.

    • threatModelJobTaskSummaries (list) –

      The list of threat model job task summaries.

      • (dict) –

        Contains summary information about a threat model job task.

        • taskId (string) –

          The unique identifier of the task.

        • threatModelId (string) –

          The unique identifier of the threat model associated with the task.

        • threatModelJobId (string) –

          The unique identifier of the threat model job that contains the task.

        • agentSpaceId (string) –

          The unique identifier of the agent space.

        • title (string) –

          The title of the task.

        • executionStatus (string) –

          The current execution status of the task.

        • createdAt (datetime) –

          The date and time the task was created, in UTC format.

        • updatedAt (datetime) –

          The date and time the task was last updated, in UTC format.

    • nextToken (string) –

      A token to use for paginating results that are returned in the response.