delete_resource_policy(**kwargs)¶Deletes a resource policy from this account. This revokes the access of the identities in that policy to put log events to this account.
See also: AWS API Documentation
Request Syntax
response = client.delete_resource_policy(
policyName='string'
)
Exceptions
CloudWatchLogs.Client.exceptions.InvalidParameterExceptionCloudWatchLogs.Client.exceptions.ResourceNotFoundExceptionCloudWatchLogs.Client.exceptions.ServiceUnavailableException