Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Amazonka.DrS.DisconnectRecoveryInstance
Description
Disconnect a Recovery Instance from Elastic Disaster Recovery. Data replication is stopped immediately. All AWS resources created by Elastic Disaster Recovery for enabling the replication of the Recovery Instance will be terminated / deleted within 90 minutes. If the agent on the Recovery Instance has not been prevented from communicating with the Elastic Disaster Recovery service, then it will receive a command to uninstall itself (within approximately 10 minutes). The following properties of the Recovery Instance will be changed immediately: dataReplicationInfo.dataReplicationState will be set to DISCONNECTED; The totalStorageBytes property for each of dataReplicationInfo.replicatedDisks will be set to zero; dataReplicationInfo.lagDuration and dataReplicationInfo.lagDuration will be nullified.
Synopsis
- data DisconnectRecoveryInstance = DisconnectRecoveryInstance' {}
- newDisconnectRecoveryInstance :: Text -> DisconnectRecoveryInstance
- disconnectRecoveryInstance_recoveryInstanceID :: Lens' DisconnectRecoveryInstance Text
- data DisconnectRecoveryInstanceResponse = DisconnectRecoveryInstanceResponse' {
- newDisconnectRecoveryInstanceResponse :: DisconnectRecoveryInstanceResponse
Creating a Request
data DisconnectRecoveryInstance Source #
See: newDisconnectRecoveryInstance
smart constructor.
Constructors
DisconnectRecoveryInstance' | |
Fields
|
Instances
newDisconnectRecoveryInstance Source #
Arguments
:: Text | |
-> DisconnectRecoveryInstance |
Create a value of DisconnectRecoveryInstance
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:
DisconnectRecoveryInstance
, disconnectRecoveryInstance_recoveryInstanceID
- The ID of the Recovery Instance to disconnect.
Request Lenses
disconnectRecoveryInstance_recoveryInstanceID :: Lens' DisconnectRecoveryInstance Text Source #
The ID of the Recovery Instance to disconnect.
Destructuring the Response
data DisconnectRecoveryInstanceResponse Source #
See: newDisconnectRecoveryInstanceResponse
smart constructor.
Constructors
DisconnectRecoveryInstanceResponse' | |
Instances
Generic DisconnectRecoveryInstanceResponse Source # | |
Defined in Amazonka.DrS.DisconnectRecoveryInstance Associated Types type Rep DisconnectRecoveryInstanceResponse :: Type -> Type # | |
Read DisconnectRecoveryInstanceResponse Source # | |
Show DisconnectRecoveryInstanceResponse Source # | |
Defined in Amazonka.DrS.DisconnectRecoveryInstance Methods showsPrec :: Int -> DisconnectRecoveryInstanceResponse -> ShowS # | |
NFData DisconnectRecoveryInstanceResponse Source # | |
Defined in Amazonka.DrS.DisconnectRecoveryInstance Methods rnf :: DisconnectRecoveryInstanceResponse -> () # | |
Eq DisconnectRecoveryInstanceResponse Source # | |
type Rep DisconnectRecoveryInstanceResponse Source # | |
Defined in Amazonka.DrS.DisconnectRecoveryInstance |
newDisconnectRecoveryInstanceResponse :: DisconnectRecoveryInstanceResponse Source #
Create a value of DisconnectRecoveryInstanceResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.