DataSync / Client / delete_task
delete_task#
- DataSync.Client.delete_task(**kwargs)#
Deletes an DataSync transfer task.
See also: AWS API Documentation
Request Syntax
response = client.delete_task( TaskArn='string' )
- Parameters:
TaskArn (string) –
[REQUIRED]
Specifies the Amazon Resource Name (ARN) of the task that you want to delete.
- Return type:
dict
- Returns:
Response Syntax
{}
Response Structure
(dict) –
Exceptions
DataSync.Client.exceptions.InvalidRequestException
DataSync.Client.exceptions.InternalException