DataSync / Client / list_task_executions
list_task_executions#
- DataSync.Client.list_task_executions(**kwargs)#
Returns a list of executed tasks.
See also: AWS API Documentation
Request Syntax
response = client.list_task_executions( TaskArn='string', MaxResults=123, NextToken='string' )
- Parameters:
TaskArn (string) – The Amazon Resource Name (ARN) of the task whose tasks you want to list.
MaxResults (integer) – The maximum number of executed tasks to list.
NextToken (string) – An opaque string that indicates the position at which to begin the next list of the executed tasks.
- Return type:
dict
- Returns:
Response Syntax
{ 'TaskExecutions': [ { 'TaskExecutionArn': 'string', 'Status': 'QUEUED'|'LAUNCHING'|'PREPARING'|'TRANSFERRING'|'VERIFYING'|'SUCCESS'|'ERROR' }, ], 'NextToken': 'string' }
Response Structure
(dict) –
ListTaskExecutionsResponse
TaskExecutions (list) –
A list of executed tasks.
(dict) –
Represents a single entry in a list of task executions.
TaskExecutionListEntry
returns an array that contains a list of specific invocations of a task when the ListTaskExecutions operation is called.TaskExecutionArn (string) –
The Amazon Resource Name (ARN) of the task that was executed.
Status (string) –
The status of a task execution.
NextToken (string) –
An opaque string that indicates the position at which to begin returning the next list of executed tasks.
Exceptions
DataSync.Client.exceptions.InvalidRequestException
DataSync.Client.exceptions.InternalException