Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
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.
For more information about rebooting, see Rebooting a DB Instance .
Synopsis
- rebootDBInstance :: Text -> RebootDBInstance
- data RebootDBInstance
- rdiForceFailover :: Lens' RebootDBInstance (Maybe Bool)
- rdiDBInstanceIdentifier :: Lens' RebootDBInstance Text
- rebootDBInstanceResponse :: Int -> RebootDBInstanceResponse
- data RebootDBInstanceResponse
- rdirsDBInstance :: Lens' RebootDBInstanceResponse (Maybe DBInstance)
- rdirsResponseStatus :: Lens' RebootDBInstanceResponse Int
Creating a Request
Creates a value of RebootDBInstance
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rdiForceFailover
- Whentrue
, the reboot is conducted through a MultiAZ failover. Constraint: You can't specifytrue
if the instance is not configured for MultiAZ.rdiDBInstanceIdentifier
- The DB instance identifier. This parameter is stored as a lowercase string. Constraints: * Must match the identifier of an existing DBInstance.
data RebootDBInstance Source #
See: rebootDBInstance
smart constructor.
Instances
Request Lenses
rdiForceFailover :: 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.
rdiDBInstanceIdentifier :: 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
rebootDBInstanceResponse Source #
Creates a value of RebootDBInstanceResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rdirsDBInstance
- Undocumented member.rdirsResponseStatus
- -- | The response status code.
data RebootDBInstanceResponse Source #
See: rebootDBInstanceResponse
smart constructor.
Instances
Response Lenses
rdirsDBInstance :: Lens' RebootDBInstanceResponse (Maybe DBInstance) Source #
Undocumented member.
rdirsResponseStatus :: Lens' RebootDBInstanceResponse Int Source #
- - | The response status code.