DataSync / Client / delete_location

delete_location#

DataSync.Client.delete_location(**kwargs)#

Deletes a transfer location resource from DataSync.

See also: AWS API Documentation

Request Syntax

response = client.delete_location(
    LocationArn='string'
)
Parameters:

LocationArn (string) –

[REQUIRED]

The Amazon Resource Name (ARN) of the location to delete.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • DataSync.Client.exceptions.InvalidRequestException

  • DataSync.Client.exceptions.InternalException