SecurityAgent / Paginator / ListThreatModelJobTasks
ListThreatModelJobTasks¶
- class SecurityAgent.Paginator.ListThreatModelJobTasks¶
paginator = client.get_paginator('list_threat_model_job_tasks')
- paginate(**kwargs)¶
Creates an iterator that will paginate through responses from
SecurityAgent.Client.list_threat_model_job_tasks().See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate( agentSpaceId='string', threatModelJobId='string', PaginationConfig={ 'MaxItems': 123, 'PageSize': 123, 'StartingToken': 'string' } )
- Parameters:
agentSpaceId (string) –
[REQUIRED]
The unique identifier of the agent space.
threatModelJobId (string) –
[REQUIRED]
The unique identifier of the threat model job to list tasks for.
PaginationConfig (dict) –
A dictionary that provides parameters to control pagination.
MaxItems (integer) –
The total number of items to return. If the total number of items available is more than the value specified in max-items then a
NextTokenwill be provided in the output that you can use to resume pagination.PageSize (integer) –
The size of each page.
StartingToken (string) –
A token to specify where to start paginating. This is the
NextTokenfrom a previous 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 resume pagination.