CloudWatchLogs / Client / delete_delivery_destination
delete_delivery_destination#
- CloudWatchLogs.Client.delete_delivery_destination(**kwargs)#
Deletes a delivery destination. A delivery is a connection between a logical delivery source and a logical delivery destination.
You can’t delete a delivery destination if any current deliveries are associated with it. To find whether any deliveries are associated with this delivery destination, use the DescribeDeliveries operation and check the
deliveryDestinationArn
field in the results.See also: AWS API Documentation
Request Syntax
response = client.delete_delivery_destination( name='string' )
- Parameters:
name (string) –
[REQUIRED]
The name of the delivery destination that you want to delete. You can find a list of delivery destionation names by using the DescribeDeliveryDestinations operation.
- Returns:
None
Exceptions
CloudWatchLogs.Client.exceptions.ResourceNotFoundException
CloudWatchLogs.Client.exceptions.ServiceUnavailableException
CloudWatchLogs.Client.exceptions.ConflictException
CloudWatchLogs.Client.exceptions.ValidationException
CloudWatchLogs.Client.exceptions.ServiceQuotaExceededException
CloudWatchLogs.Client.exceptions.ThrottlingException