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 a system instance. Only system instances that have never been deployed, or that have been undeployed can be deleted.
Users can create a new system instance that has the same ID as a deleted system instance.
Synopsis
- data DeleteSystemInstance = DeleteSystemInstance' {}
- newDeleteSystemInstance :: DeleteSystemInstance
- deleteSystemInstance_id :: Lens' DeleteSystemInstance (Maybe Text)
- data DeleteSystemInstanceResponse = DeleteSystemInstanceResponse' {
- httpStatus :: Int
- newDeleteSystemInstanceResponse :: Int -> DeleteSystemInstanceResponse
- deleteSystemInstanceResponse_httpStatus :: Lens' DeleteSystemInstanceResponse Int
Creating a Request
data DeleteSystemInstance Source #
See: newDeleteSystemInstance
smart constructor.
Instances
newDeleteSystemInstance :: DeleteSystemInstance Source #
Create a value of DeleteSystemInstance
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:id:DeleteSystemInstance'
, deleteSystemInstance_id
- The ID of the system instance to be deleted.
Request Lenses
deleteSystemInstance_id :: Lens' DeleteSystemInstance (Maybe Text) Source #
The ID of the system instance to be deleted.
Destructuring the Response
data DeleteSystemInstanceResponse Source #
See: newDeleteSystemInstanceResponse
smart constructor.
DeleteSystemInstanceResponse' | |
|
Instances
newDeleteSystemInstanceResponse Source #
Create a value of DeleteSystemInstanceResponse
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:DeleteSystemInstanceResponse'
, deleteSystemInstanceResponse_httpStatus
- The response's http status code.
Response Lenses
deleteSystemInstanceResponse_httpStatus :: Lens' DeleteSystemInstanceResponse Int Source #
The response's http status code.