MigrationHubRefactorSpaces / Client / delete_resource_policy

delete_resource_policy#

MigrationHubRefactorSpaces.Client.delete_resource_policy(**kwargs)#

Deletes the resource policy set for the environment.

See also: AWS API Documentation

Request Syntax

response = client.delete_resource_policy(
    Identifier='string'
)
Parameters:

Identifier (string) –

[REQUIRED]

Amazon Resource Name (ARN) of the resource associated with the policy.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • MigrationHubRefactorSpaces.Client.exceptions.ResourceNotFoundException

  • MigrationHubRefactorSpaces.Client.exceptions.InternalServerException

  • MigrationHubRefactorSpaces.Client.exceptions.ValidationException

  • MigrationHubRefactorSpaces.Client.exceptions.ThrottlingException

  • MigrationHubRefactorSpaces.Client.exceptions.AccessDeniedException