delete_destination

delete_destination(**kwargs)

Deletes the specified destination, and eventually disables all the subscription filters that publish to it. This operation does not delete the physical resource encapsulated by the destination.

See also: AWS API Documentation

Request Syntax

response = client.delete_destination(
    destinationName='string'
)
Parameters
destinationName (string) --

[REQUIRED]

The name of the destination.

Returns
None

Exceptions

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