MigrationHubRefactorSpaces / Client / delete_environment
delete_environment#
- 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' ) - Parameters:
- EnvironmentIdentifier (string) – - [REQUIRED] - The ID of the environment. 
- Return type:
- dict 
- Returns:
- Response Syntax- { 'Arn': 'string', 'EnvironmentId': 'string', 'LastUpdatedTime': datetime(2015, 1, 1), 'Name': 'string', 'State': 'CREATING'|'ACTIVE'|'DELETING'|'FAILED' } - Response Structure- (dict) – - Arn (string) – - The Amazon Resource Name (ARN) of the environment. 
- EnvironmentId (string) – - The unique identifier of the environment. 
- LastUpdatedTime (datetime) – - A timestamp that indicates when the environment was last updated. 
- Name (string) – - The name of the environment. 
- State (string) – - 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