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 |
Reboots a replication instance. Rebooting results in a momentary outage, until the replication instance becomes available again.
Synopsis
- rebootReplicationInstance :: Text -> RebootReplicationInstance
- data RebootReplicationInstance
- rriForceFailover :: Lens' RebootReplicationInstance (Maybe Bool)
- rriReplicationInstanceARN :: Lens' RebootReplicationInstance Text
- rebootReplicationInstanceResponse :: Int -> RebootReplicationInstanceResponse
- data RebootReplicationInstanceResponse
- rrirsReplicationInstance :: Lens' RebootReplicationInstanceResponse (Maybe ReplicationInstance)
- rrirsResponseStatus :: Lens' RebootReplicationInstanceResponse Int
Creating a Request
rebootReplicationInstance Source #
Creates a value of RebootReplicationInstance
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rriForceFailover
- If this parameter istrue
, the reboot is conducted through a Multi-AZ failover. (If the instance isn't configured for Multi-AZ, then you can't specifytrue
.)rriReplicationInstanceARN
- The Amazon Resource Name (ARN) of the replication instance.
data RebootReplicationInstance Source #
See: rebootReplicationInstance
smart constructor.
Instances
Request Lenses
rriForceFailover :: Lens' RebootReplicationInstance (Maybe Bool) Source #
If this parameter is true
, the reboot is conducted through a Multi-AZ failover. (If the instance isn't configured for Multi-AZ, then you can't specify true
.)
rriReplicationInstanceARN :: Lens' RebootReplicationInstance Text Source #
The Amazon Resource Name (ARN) of the replication instance.
Destructuring the Response
rebootReplicationInstanceResponse Source #
Creates a value of RebootReplicationInstanceResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rrirsReplicationInstance
- The replication instance that is being rebooted.rrirsResponseStatus
- -- | The response status code.
data RebootReplicationInstanceResponse Source #
See: rebootReplicationInstanceResponse
smart constructor.
Instances
Response Lenses
rrirsReplicationInstance :: Lens' RebootReplicationInstanceResponse (Maybe ReplicationInstance) Source #
The replication instance that is being rebooted.
rrirsResponseStatus :: Lens' RebootReplicationInstanceResponse Int Source #
- - | The response status code.