Bedrock / Client / get_resource_policy
get_resource_policy¶
- Bedrock.Client.get_resource_policy(**kwargs)¶
Gets the resource policy document for a Bedrock resource
See also: AWS API Documentation
Request Syntax
response = client.get_resource_policy( resourceArn='string' )
- Parameters:
resourceArn (string) –
[REQUIRED]
The ARN of the Bedrock resource to which this resource policy applies.
- Return type:
dict
- Returns:
Response Syntax
{ 'resourcePolicy': 'string' }
Response Structure
(dict) –
resourcePolicy (string) –
The JSON string representing the Bedrock resource policy.
Exceptions
Bedrock.Client.exceptions.ResourceNotFoundExceptionBedrock.Client.exceptions.AccessDeniedExceptionBedrock.Client.exceptions.ValidationExceptionBedrock.Client.exceptions.InternalServerExceptionBedrock.Client.exceptions.ThrottlingException