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 |
You might need to reboot your DB instance, usually for maintenance reasons. For example, if you make certain modifications, or if you change the DB parameter group associated with the DB instance, you must reboot the instance for the changes to take effect.
Rebooting a DB instance restarts the database engine service. Rebooting a DB instance results in a momentary outage, during which the DB instance status is set to rebooting.
Synopsis
- data RebootDBInstance = RebootDBInstance' {}
- newRebootDBInstance :: Text -> RebootDBInstance
- rebootDBInstance_forceFailover :: Lens' RebootDBInstance (Maybe Bool)
- rebootDBInstance_dbInstanceIdentifier :: Lens' RebootDBInstance Text
- data RebootDBInstanceResponse = RebootDBInstanceResponse' {}
- newRebootDBInstanceResponse :: Int -> RebootDBInstanceResponse
- rebootDBInstanceResponse_dbInstance :: Lens' RebootDBInstanceResponse (Maybe DBInstance)
- rebootDBInstanceResponse_httpStatus :: Lens' RebootDBInstanceResponse Int
Creating a Request
data RebootDBInstance Source #
See: newRebootDBInstance
smart constructor.
RebootDBInstance' | |
|
Instances
Create a value of RebootDBInstance
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:forceFailover:RebootDBInstance'
, rebootDBInstance_forceFailover
- When true
, the reboot is conducted through a MultiAZ failover.
Constraint: You can't specify true
if the instance is not configured
for MultiAZ.
$sel:dbInstanceIdentifier:RebootDBInstance'
, rebootDBInstance_dbInstanceIdentifier
- The DB instance identifier. This parameter is stored as a lowercase
string.
Constraints:
- Must match the identifier of an existing DBInstance.
Request Lenses
rebootDBInstance_forceFailover :: Lens' RebootDBInstance (Maybe Bool) Source #
When true
, the reboot is conducted through a MultiAZ failover.
Constraint: You can't specify true
if the instance is not configured
for MultiAZ.
rebootDBInstance_dbInstanceIdentifier :: Lens' RebootDBInstance Text Source #
The DB instance identifier. This parameter is stored as a lowercase string.
Constraints:
- Must match the identifier of an existing DBInstance.
Destructuring the Response
data RebootDBInstanceResponse Source #
See: newRebootDBInstanceResponse
smart constructor.
RebootDBInstanceResponse' | |
|
Instances
newRebootDBInstanceResponse Source #
Create a value of RebootDBInstanceResponse
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:RebootDBInstanceResponse'
, rebootDBInstanceResponse_dbInstance
- Undocumented member.
$sel:httpStatus:RebootDBInstanceResponse'
, rebootDBInstanceResponse_httpStatus
- The response's http status code.
Response Lenses
rebootDBInstanceResponse_dbInstance :: Lens' RebootDBInstanceResponse (Maybe DBInstance) Source #
Undocumented member.
rebootDBInstanceResponse_httpStatus :: Lens' RebootDBInstanceResponse Int Source #
The response's http status code.