get_resource_policy
(**kwargs)¶Gets a resource policy that is identified by its resource ARN.
See also: AWS API Documentation
Request Syntax
response = client.get_resource_policy(
resourceArn='string'
)
[REQUIRED]
The ARN of the resource that is associated with the resource policy.
{
'policy': 'string'
}
Response Structure
The resource policy for the resource identified by the input ARN parameter.
Exceptions
CodeBuild.Client.exceptions.ResourceNotFoundException
CodeBuild.Client.exceptions.InvalidInputException