DataSync / Client / delete_task
delete_task#
- DataSync.Client.delete_task(**kwargs)#
Deletes a transfer task resource from DataSync.
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