delete_application

delete_application(**kwargs)

Deletes an Amazon Web Services Migration Hub Refactor Spaces application. Before you can delete an application, you must first delete any services or routes within the application.

See also: AWS API Documentation

Request Syntax

response = client.delete_application(
    ApplicationIdentifier='string',
    EnvironmentIdentifier='string'
)
Parameters
  • ApplicationIdentifier (string) --

    [REQUIRED]

    The ID of the application.

  • EnvironmentIdentifier (string) --

    [REQUIRED]

    The ID of the environment.

Return type

dict

Returns

Response Syntax

{
    'ApplicationId': 'string',
    'Arn': 'string',
    'EnvironmentId': 'string',
    'LastUpdatedTime': datetime(2015, 1, 1),
    'Name': 'string',
    'State': 'CREATING'|'ACTIVE'|'DELETING'|'FAILED'|'UPDATING'
}

Response Structure

  • (dict) --

    • ApplicationId (string) --

      The ID of the application.

    • Arn (string) --

      The Amazon Resource Name (ARN) of the application.

    • EnvironmentId (string) --

      The unique identifier of the application’s environment.

    • LastUpdatedTime (datetime) --

      A timestamp that indicates when the environment was last updated.

    • Name (string) --

      The name of the application.

    • State (string) --

      The current state of the application.

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