delete_route

MigrationHubRefactorSpaces.Client.delete_route(**kwargs)

Deletes an Amazon Web Services Migration Hub Refactor Spaces route.

See also: AWS API Documentation

Request Syntax

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

    [REQUIRED]

    The ID of the application to delete the route from.

  • EnvironmentIdentifier (string) --

    [REQUIRED]

    The ID of the environment to delete the route from.

  • RouteIdentifier (string) --

    [REQUIRED]

    The ID of the route to delete.

Return type

dict

Returns

Response Syntax

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

Response Structure

  • (dict) --

    • ApplicationId (string) --

      The ID of the application that the route belongs to.

    • Arn (string) --

      The Amazon Resource Name (ARN) of the route.

    • LastUpdatedTime (datetime) --

      A timestamp that indicates when the route was last updated.

    • RouteId (string) --

      The ID of the route to delete.

    • ServiceId (string) --

      The ID of the service that the route belongs to.

    • State (string) --

      The current state of the route.

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