MediaStoreData / Client / delete_object

delete_object#

MediaStoreData.Client.delete_object(**kwargs)#

Deletes an object at the specified path.

See also: AWS API Documentation

Request Syntax

response = client.delete_object(
    Path='string'
)
Parameters:

Path (string) –

[REQUIRED]

The path (including the file name) where the object is stored in the container. Format: <folder name>/<folder name>/<file name>

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • MediaStoreData.Client.exceptions.ContainerNotFoundException

  • MediaStoreData.Client.exceptions.ObjectNotFoundException

  • MediaStoreData.Client.exceptions.InternalServerError