CloudWatchLogs / Client / get_delivery_destination_policy
get_delivery_destination_policy¶
- CloudWatchLogs.Client.get_delivery_destination_policy(**kwargs)¶
- Retrieves the delivery destination policy assigned to the delivery destination that you specify. For more information about delivery destinations and their policies, see PutDeliveryDestinationPolicy. - See also: AWS API Documentation - Request Syntax- response = client.get_delivery_destination_policy( deliveryDestinationName='string' ) - Parameters:
- deliveryDestinationName (string) – - [REQUIRED] - The name of the delivery destination that you want to retrieve the policy of. 
- Return type:
- dict 
- Returns:
- Response Syntax- { 'policy': { 'deliveryDestinationPolicy': 'string' } } - Response Structure- (dict) – - policy (dict) – - The IAM policy for this delivery destination. - deliveryDestinationPolicy (string) – - The contents of the delivery destination policy. 
 
 
 
 - Exceptions- CloudWatchLogs.Client.exceptions.ServiceUnavailableException
- CloudWatchLogs.Client.exceptions.ValidationException
- CloudWatchLogs.Client.exceptions.ResourceNotFoundException