Billing / Client / get_resource_policy
get_resource_policy#
- Billing.Client.get_resource_policy(**kwargs)#
 Returns the resource-based policy document attached to the resource in
JSONformat.See also: AWS API Documentation
Request Syntax
response = client.get_resource_policy( resourceArn='string' )
- Parameters:
 resourceArn (string) –
[REQUIRED]
The Amazon Resource Name (ARN) of the billing view resource to which the policy is attached to.
- Return type:
 dict
- Returns:
 Response Syntax
{ 'resourceArn': 'string', 'policy': 'string' }
Response Structure
(dict) –
resourceArn (string) –
The Amazon Resource Name (ARN) of the billing view resource to which the policy is attached to.
policy (string) –
The resource-based policy document attached to the resource in
JSONformat.
Exceptions
Billing.Client.exceptions.ThrottlingExceptionBilling.Client.exceptions.ResourceNotFoundExceptionBilling.Client.exceptions.AccessDeniedExceptionBilling.Client.exceptions.ValidationExceptionBilling.Client.exceptions.InternalServerException