MediaStore / Client / start_access_logging

start_access_logging#

MediaStore.Client.start_access_logging(**kwargs)#

Starts access logging on the specified container. When you enable access logging on a container, MediaStore delivers access logs for objects stored in that container to Amazon CloudWatch Logs.

See also: AWS API Documentation

Request Syntax

response = client.start_access_logging(
    ContainerName='string'
)
Parameters:

ContainerName (string) –

[REQUIRED]

The name of the container that you want to start access logging on.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • MediaStore.Client.exceptions.ContainerInUseException

  • MediaStore.Client.exceptions.ContainerNotFoundException

  • MediaStore.Client.exceptions.InternalServerError