stop_access_logging

stop_access_logging(**kwargs)

Stops access logging on the specified container. When you stop access logging on a container, MediaStore stops sending access logs to Amazon CloudWatch Logs. These access logs are not saved and are not retrievable.

See also: AWS API Documentation

Request Syntax

response = client.stop_access_logging(
    ContainerName='string'
)
Parameters
ContainerName (string) --

[REQUIRED]

The name of the container that you want to stop 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