MigrationHubRefactorSpaces.Client.
get_resource_policy
(**kwargs)¶Gets the resource-based permission policy that is set for the given environment.
See also: AWS API Documentation
Request Syntax
response = client.get_resource_policy(
Identifier='string'
)
[REQUIRED]
The Amazon Resource Name (ARN) of the resource associated with the policy.
{
'Policy': 'string'
}
Response Structure
A JSON-formatted string for an Amazon Web Services resource-based policy.
Exceptions
MigrationHubRefactorSpaces.Client.exceptions.ResourceNotFoundException
MigrationHubRefactorSpaces.Client.exceptions.InternalServerException
MigrationHubRefactorSpaces.Client.exceptions.ValidationException
MigrationHubRefactorSpaces.Client.exceptions.ThrottlingException
MigrationHubRefactorSpaces.Client.exceptions.AccessDeniedException