DeleteApp
Deletes the specified application. Optionally deletes the launched stack associated with the application and all AWS SMS replication jobs for servers in the application.
Request Syntax
{
"appId": "string
",
"forceStopAppReplication": boolean
,
"forceTerminateApp": boolean
}
Request Parameters
For information about the parameters that are common to all actions, see Common Parameters.
The request accepts the following data in JSON format.
- appId
-
The ID of the application.
Type: String
Required: No
- forceStopAppReplication
-
Indicates whether to stop all replication jobs corresponding to the servers in the application while deleting the application.
Type: Boolean
Required: No
- forceTerminateApp
-
Indicates whether to terminate the stack corresponding to the application while deleting the application.
Type: Boolean
Required: No
Response Elements
If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.
Errors
For information about the errors that are common to all actions, see Common Errors.
- InternalError
-
An internal error occurred.
HTTP Status Code: 500
- InvalidParameterException
-
A specified parameter is not valid.
HTTP Status Code: 400
- MissingRequiredParameterException
-
A required parameter is missing.
HTTP Status Code: 400
- OperationNotPermittedException
-
This operation is not allowed.
HTTP Status Code: 400
- UnauthorizedOperationException
-
You lack permissions needed to perform this operation.
HTTP Status Code: 400
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: