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.ResourceNotFoundExceptionMigrationHubRefactorSpaces.Client.exceptions.InternalServerExceptionMigrationHubRefactorSpaces.Client.exceptions.ValidationExceptionMigrationHubRefactorSpaces.Client.exceptions.ThrottlingExceptionMigrationHubRefactorSpaces.Client.exceptions.AccessDeniedException