delete_app

delete_app(**kwargs)

Deletes the specified application. Optionally deletes the launched stack associated with the application and all Server Migration Service replication jobs for servers in the application.

See also: AWS API Documentation

Request Syntax

response = client.delete_app(
    appId='string',
    forceStopAppReplication=True|False,
    forceTerminateApp=True|False
)
Parameters
  • appId (string) -- The ID of the application.
  • forceStopAppReplication (boolean) -- Indicates whether to stop all replication jobs corresponding to the servers in the application while deleting the application.
  • forceTerminateApp (boolean) -- Indicates whether to terminate the stack corresponding to the application while deleting the application.
Return type

dict

Returns

Response Syntax

{}

Response Structure

  • (dict) --

Exceptions

  • SMS.Client.exceptions.UnauthorizedOperationException
  • SMS.Client.exceptions.InvalidParameterException
  • SMS.Client.exceptions.MissingRequiredParameterException
  • SMS.Client.exceptions.InternalError
  • SMS.Client.exceptions.OperationNotPermittedException