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 |
Reboots a replication instance. Rebooting results in a momentary outage, until the replication instance becomes available again.
Synopsis
- data RebootReplicationInstance = RebootReplicationInstance' {}
- newRebootReplicationInstance :: Text -> RebootReplicationInstance
- rebootReplicationInstance_forcePlannedFailover :: Lens' RebootReplicationInstance (Maybe Bool)
- rebootReplicationInstance_forceFailover :: Lens' RebootReplicationInstance (Maybe Bool)
- rebootReplicationInstance_replicationInstanceArn :: Lens' RebootReplicationInstance Text
- data RebootReplicationInstanceResponse = RebootReplicationInstanceResponse' {}
- newRebootReplicationInstanceResponse :: Int -> RebootReplicationInstanceResponse
- rebootReplicationInstanceResponse_replicationInstance :: Lens' RebootReplicationInstanceResponse (Maybe ReplicationInstance)
- rebootReplicationInstanceResponse_httpStatus :: Lens' RebootReplicationInstanceResponse Int
Creating a Request
data RebootReplicationInstance Source #
See: newRebootReplicationInstance
smart constructor.
RebootReplicationInstance' | |
|
Instances
newRebootReplicationInstance Source #
Create a value of RebootReplicationInstance
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:forcePlannedFailover:RebootReplicationInstance'
, rebootReplicationInstance_forcePlannedFailover
- If this parameter is true
, the reboot is conducted through a planned
Multi-AZ failover where resources are released and cleaned up prior to
conducting the failover. If the instance isn''t configured for
Multi-AZ, then you can't specify true
. ( --force-planned-failover
and --force-failover
can't both be set to true
.)
$sel:forceFailover:RebootReplicationInstance'
, rebootReplicationInstance_forceFailover
- 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
. ( --force-planned-failover
and
--force-failover
can't both be set to true
.)
$sel:replicationInstanceArn:RebootReplicationInstance'
, rebootReplicationInstance_replicationInstanceArn
- The Amazon Resource Name (ARN) of the replication instance.
Request Lenses
rebootReplicationInstance_forcePlannedFailover :: Lens' RebootReplicationInstance (Maybe Bool) Source #
If this parameter is true
, the reboot is conducted through a planned
Multi-AZ failover where resources are released and cleaned up prior to
conducting the failover. If the instance isn''t configured for
Multi-AZ, then you can't specify true
. ( --force-planned-failover
and --force-failover
can't both be set to true
.)
rebootReplicationInstance_forceFailover :: 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
. ( --force-planned-failover
and
--force-failover
can't both be set to true
.)
rebootReplicationInstance_replicationInstanceArn :: Lens' RebootReplicationInstance Text Source #
The Amazon Resource Name (ARN) of the replication instance.
Destructuring the Response
data RebootReplicationInstanceResponse Source #
See: newRebootReplicationInstanceResponse
smart constructor.
RebootReplicationInstanceResponse' | |
|
Instances
Eq RebootReplicationInstanceResponse Source # | |
Read RebootReplicationInstanceResponse Source # | |
Show RebootReplicationInstanceResponse Source # | |
Defined in Amazonka.DMS.RebootReplicationInstance | |
Generic RebootReplicationInstanceResponse Source # | |
NFData RebootReplicationInstanceResponse Source # | |
Defined in Amazonka.DMS.RebootReplicationInstance rnf :: RebootReplicationInstanceResponse -> () # | |
type Rep RebootReplicationInstanceResponse Source # | |
Defined in Amazonka.DMS.RebootReplicationInstance type Rep RebootReplicationInstanceResponse = D1 ('MetaData "RebootReplicationInstanceResponse" "Amazonka.DMS.RebootReplicationInstance" "libZSservicesZSamazonka-dmsZSamazonka-dms" 'False) (C1 ('MetaCons "RebootReplicationInstanceResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "replicationInstance") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ReplicationInstance)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newRebootReplicationInstanceResponse Source #
Create a value of RebootReplicationInstanceResponse
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:replicationInstance:RebootReplicationInstanceResponse'
, rebootReplicationInstanceResponse_replicationInstance
- The replication instance that is being rebooted.
$sel:httpStatus:RebootReplicationInstanceResponse'
, rebootReplicationInstanceResponse_httpStatus
- The response's http status code.
Response Lenses
rebootReplicationInstanceResponse_replicationInstance :: Lens' RebootReplicationInstanceResponse (Maybe ReplicationInstance) Source #
The replication instance that is being rebooted.
rebootReplicationInstanceResponse_httpStatus :: Lens' RebootReplicationInstanceResponse Int Source #
The response's http status code.