CloudWatchLogs / Client / delete_delivery_source

delete_delivery_source#

CloudWatchLogs.Client.delete_delivery_source(**kwargs)#

Deletes a delivery source. A delivery is a connection between a logical delivery source and a logical delivery destination.

You can’t delete a delivery source if any current deliveries are associated with it. To find whether any deliveries are associated with this delivery source, use the DescribeDeliveries operation and check the deliverySourceName field in the results.

See also: AWS API Documentation

Request Syntax

response = client.delete_delivery_source(
    name='string'
)
Parameters:

name (string) –

[REQUIRED]

The name of the delivery source that you want to delete.

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