CloudTrail / Client / delete_resource_policy
delete_resource_policy#
- CloudTrail.Client.delete_resource_policy(**kwargs)#
Deletes the resource-based policy attached to the CloudTrail channel.
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 CloudTrail channel you’re deleting the resource-based policy from. The following is the format of a resource ARN:
arn:aws:cloudtrail:us-east-2:123456789012:channel/MyChannel
.- Return type:
dict
- Returns:
Response Syntax
{}
Response Structure
(dict) –
Exceptions