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 instance, usually for maintenance reasons. For example, if you make certain changes, or if you change the cluster parameter group that is associated with the instance, you must reboot the instance for the changes to take effect.
Rebooting an instance restarts the database engine service. Rebooting an instance results in a momentary outage, during which the 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 #
Represents the input to RebootDBInstance.
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 Multi-AZ failover.
Constraint: You can't specify true
if the instance is not configured
for Multi-AZ.
$sel:dbInstanceIdentifier:RebootDBInstance'
, rebootDBInstance_dbInstanceIdentifier
- The 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 Multi-AZ failover.
Constraint: You can't specify true
if the instance is not configured
for Multi-AZ.
rebootDBInstance_dbInstanceIdentifier :: Lens' RebootDBInstance Text Source #
The 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.