Continuum / Client / get_resource_policy
get_resource_policy¶
- Continuum.Client.get_resource_policy(**kwargs)¶
Retrieves the resource policy attached to a Continuum resource.
See also: AWS API Documentation
Request Syntax
response = client.get_resource_policy( arn='string' )
- Parameters:
arn (string) –
[REQUIRED]
The ARN of a resource in the caller’s account.
- Return type:
dict
- Returns:
Response Syntax
{ 'arn': 'string', 'policy': 'string', 'revisionId': 'string' }
Response Structure
(dict) –
Contains the resource policy.
arn (string) –
The ARN of a Continuum resource that supports a resource policy. Collectors are the only supported resource type; other well-formed Continuum ARNs are rejected with ValidationException.
policy (string) –
A resource policy in displayable JSON form.
revisionId (string) –
Opaque optimistic-concurrency token for a resource policy.
Exceptions