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 previously provisioned instance.
Synopsis
- data DeleteDBInstance = DeleteDBInstance' {}
- newDeleteDBInstance :: Text -> DeleteDBInstance
- deleteDBInstance_dbInstanceIdentifier :: Lens' DeleteDBInstance Text
- data DeleteDBInstanceResponse = DeleteDBInstanceResponse' {}
- newDeleteDBInstanceResponse :: Int -> DeleteDBInstanceResponse
- deleteDBInstanceResponse_dbInstance :: Lens' DeleteDBInstanceResponse (Maybe DBInstance)
- deleteDBInstanceResponse_httpStatus :: Lens' DeleteDBInstanceResponse Int
Creating a Request
data DeleteDBInstance Source #
Represents the input to DeleteDBInstance.
See: newDeleteDBInstance
smart constructor.
DeleteDBInstance' | |
|
Instances
Create a value of DeleteDBInstance
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:dbInstanceIdentifier:DeleteDBInstance'
, deleteDBInstance_dbInstanceIdentifier
- The instance identifier for the instance to be deleted. This parameter
isn't case sensitive.
Constraints:
- Must match the name of an existing instance.
Request Lenses
deleteDBInstance_dbInstanceIdentifier :: Lens' DeleteDBInstance Text Source #
The instance identifier for the instance to be deleted. This parameter isn't case sensitive.
Constraints:
- Must match the name of an existing instance.
Destructuring the Response
data DeleteDBInstanceResponse Source #
See: newDeleteDBInstanceResponse
smart constructor.
DeleteDBInstanceResponse' | |
|
Instances
newDeleteDBInstanceResponse Source #
Create a value of DeleteDBInstanceResponse
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:dbInstance:DeleteDBInstanceResponse'
, deleteDBInstanceResponse_dbInstance
- Undocumented member.
$sel:httpStatus:DeleteDBInstanceResponse'
, deleteDBInstanceResponse_httpStatus
- The response's http status code.
Response Lenses
deleteDBInstanceResponse_dbInstance :: Lens' DeleteDBInstanceResponse (Maybe DBInstance) Source #
Undocumented member.
deleteDBInstanceResponse_httpStatus :: Lens' DeleteDBInstanceResponse Int Source #
The response's http status code.