Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

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