Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Deletes the specified application. Optionally deletes the launched stack associated with the application and all AWS SMS replication jobs for servers in the application.
Synopsis
- data DeleteApp = DeleteApp' {}
- newDeleteApp :: DeleteApp
- deleteApp_forceTerminateApp :: Lens' DeleteApp (Maybe Bool)
- deleteApp_appId :: Lens' DeleteApp (Maybe Text)
- deleteApp_forceStopAppReplication :: Lens' DeleteApp (Maybe Bool)
- data DeleteAppResponse = DeleteAppResponse' {
- httpStatus :: Int
- newDeleteAppResponse :: Int -> DeleteAppResponse
- deleteAppResponse_httpStatus :: Lens' DeleteAppResponse Int
Creating a Request
See: newDeleteApp
smart constructor.
DeleteApp' | |
|
Instances
newDeleteApp :: DeleteApp Source #
Create a value of DeleteApp
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:forceTerminateApp:DeleteApp'
, deleteApp_forceTerminateApp
- Indicates whether to terminate the stack corresponding to the
application while deleting the application.
$sel:appId:DeleteApp'
, deleteApp_appId
- The ID of the application.
$sel:forceStopAppReplication:DeleteApp'
, deleteApp_forceStopAppReplication
- Indicates whether to stop all replication jobs corresponding to the
servers in the application while deleting the application.
Request Lenses
deleteApp_forceTerminateApp :: Lens' DeleteApp (Maybe Bool) Source #
Indicates whether to terminate the stack corresponding to the application while deleting the application.
deleteApp_forceStopAppReplication :: Lens' DeleteApp (Maybe Bool) Source #
Indicates whether to stop all replication jobs corresponding to the servers in the application while deleting the application.
Destructuring the Response
data DeleteAppResponse Source #
See: newDeleteAppResponse
smart constructor.
DeleteAppResponse' | |
|
Instances
Create a value of DeleteAppResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:DeleteAppResponse'
, deleteAppResponse_httpStatus
- The response's http status code.
Response Lenses
deleteAppResponse_httpStatus :: Lens' DeleteAppResponse Int Source #
The response's http status code.