MigrationHubRefactorSpaces.Client.
delete_environment
(**kwargs)¶Deletes an Amazon Web Services Migration Hub Refactor Spaces environment. Before you can delete an environment, you must first delete any applications and services within the environment.
See also: AWS API Documentation
Request Syntax
response = client.delete_environment(
EnvironmentIdentifier='string'
)
[REQUIRED]
The ID of the environment.
{
'Arn': 'string',
'EnvironmentId': 'string',
'LastUpdatedTime': datetime(2015, 1, 1),
'Name': 'string',
'State': 'CREATING'|'ACTIVE'|'DELETING'|'FAILED'
}
Response Structure
The Amazon Resource Name (ARN) of the environment.
The unique identifier of the environment.
A timestamp that indicates when the environment was last updated.
The name of the environment.
The current state of the environment.
Exceptions
MigrationHubRefactorSpaces.Client.exceptions.ResourceNotFoundException
MigrationHubRefactorSpaces.Client.exceptions.InternalServerException
MigrationHubRefactorSpaces.Client.exceptions.ConflictException
MigrationHubRefactorSpaces.Client.exceptions.ValidationException
MigrationHubRefactorSpaces.Client.exceptions.ThrottlingException
MigrationHubRefactorSpaces.Client.exceptions.AccessDeniedException