delete_log_group

CloudWatchLogs.Client.delete_log_group(**kwargs)

Deletes the specified log group and permanently deletes all the archived log events associated with the log group.

See also: AWS API Documentation

Request Syntax

response = client.delete_log_group(
    logGroupName='string'
)
Parameters
logGroupName (string) --

[REQUIRED]

The name of the log group.

Returns
None

Exceptions

  • CloudWatchLogs.Client.exceptions.InvalidParameterException
  • CloudWatchLogs.Client.exceptions.ResourceNotFoundException
  • CloudWatchLogs.Client.exceptions.OperationAbortedException
  • CloudWatchLogs.Client.exceptions.ServiceUnavailableException