CloudWatchLogs / Client / delete_metric_filter

delete_metric_filter#

CloudWatchLogs.Client.delete_metric_filter(**kwargs)#

Deletes the specified metric filter.

See also: AWS API Documentation

Request Syntax

response = client.delete_metric_filter(
    logGroupName='string',
    filterName='string'
)
Parameters:
  • logGroupName (string) –

    [REQUIRED]

    The name of the log group.

  • filterName (string) –

    [REQUIRED]

    The name of the metric filter.

Returns:

None

Exceptions

  • CloudWatchLogs.Client.exceptions.InvalidParameterException

  • CloudWatchLogs.Client.exceptions.ResourceNotFoundException

  • CloudWatchLogs.Client.exceptions.OperationAbortedException

  • CloudWatchLogs.Client.exceptions.ServiceUnavailableException