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'
)
dict
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