CloudFront / Client / delete_realtime_log_config

delete_realtime_log_config#

CloudFront.Client.delete_realtime_log_config(**kwargs)#

Deletes a real-time log configuration.

You cannot delete a real-time log configuration if it’s attached to a cache behavior. First update your distributions to remove the real-time log configuration from all cache behaviors, then delete the real-time log configuration.

To delete a real-time log configuration, you can provide the configuration’s name or its Amazon Resource Name (ARN). You must provide at least one. If you provide both, CloudFront uses the name to identify the real-time log configuration to delete.

See also: AWS API Documentation

Request Syntax

response = client.delete_realtime_log_config(
    Name='string',
    ARN='string'
)
Parameters:
  • Name (string) – The name of the real-time log configuration to delete.

  • ARN (string) – The Amazon Resource Name (ARN) of the real-time log configuration to delete.

Returns:

None

Exceptions

  • CloudFront.Client.exceptions.NoSuchRealtimeLogConfig

  • CloudFront.Client.exceptions.RealtimeLogConfigInUse

  • CloudFront.Client.exceptions.InvalidArgument

  • CloudFront.Client.exceptions.AccessDenied