CloudFront / Client / delete_resource_policy
delete_resource_policy¶
- CloudFront.Client.delete_resource_policy(**kwargs)¶
Deletes the resource policy attached to the CloudFront resource.
See also: AWS API Documentation
Request Syntax
response = client.delete_resource_policy( ResourceArn='string' )
- Parameters:
ResourceArn (string) –
[REQUIRED]
The Amazon Resource Name (ARN) of the CloudFront resource for which the resource policy should be deleted.
- Returns:
None
Exceptions
CloudFront.Client.exceptions.PreconditionFailedCloudFront.Client.exceptions.AccessDeniedCloudFront.Client.exceptions.EntityNotFoundCloudFront.Client.exceptions.IllegalDeleteCloudFront.Client.exceptions.UnsupportedOperationCloudFront.Client.exceptions.InvalidArgument