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 |
Disconnects a specific Source Server from Elastic Disaster Recovery. Data replication is stopped immediately. All AWS resources created by Elastic Disaster Recovery for enabling the replication of the Source Server will be terminated / deleted within 90 minutes. You cannot disconnect a Source Server if it has a Recovery Instance. If the agent on the Source Server 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 SourceServer 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 DisconnectSourceServer = DisconnectSourceServer' {}
- newDisconnectSourceServer :: Text -> DisconnectSourceServer
- disconnectSourceServer_sourceServerID :: Lens' DisconnectSourceServer Text
- data SourceServer = SourceServer' {
- arn :: Maybe Text
- dataReplicationInfo :: Maybe DataReplicationInfo
- lastLaunchResult :: Maybe LastLaunchResult
- lifeCycle :: Maybe LifeCycle
- recoveryInstanceId :: Maybe Text
- replicationDirection :: Maybe ReplicationDirection
- reversedDirectionSourceServerArn :: Maybe Text
- sourceCloudProperties :: Maybe SourceCloudProperties
- sourceProperties :: Maybe SourceProperties
- sourceServerID :: Maybe Text
- stagingArea :: Maybe StagingArea
- tags :: Maybe (Sensitive (HashMap Text Text))
- newSourceServer :: SourceServer
- sourceServer_arn :: Lens' SourceServer (Maybe Text)
- sourceServer_dataReplicationInfo :: Lens' SourceServer (Maybe DataReplicationInfo)
- sourceServer_lastLaunchResult :: Lens' SourceServer (Maybe LastLaunchResult)
- sourceServer_lifeCycle :: Lens' SourceServer (Maybe LifeCycle)
- sourceServer_recoveryInstanceId :: Lens' SourceServer (Maybe Text)
- sourceServer_replicationDirection :: Lens' SourceServer (Maybe ReplicationDirection)
- sourceServer_reversedDirectionSourceServerArn :: Lens' SourceServer (Maybe Text)
- sourceServer_sourceCloudProperties :: Lens' SourceServer (Maybe SourceCloudProperties)
- sourceServer_sourceProperties :: Lens' SourceServer (Maybe SourceProperties)
- sourceServer_sourceServerID :: Lens' SourceServer (Maybe Text)
- sourceServer_stagingArea :: Lens' SourceServer (Maybe StagingArea)
- sourceServer_tags :: Lens' SourceServer (Maybe (HashMap Text Text))
Creating a Request
data DisconnectSourceServer Source #
See: newDisconnectSourceServer
smart constructor.
DisconnectSourceServer' | |
|
Instances
newDisconnectSourceServer Source #
Create a value of DisconnectSourceServer
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:
DisconnectSourceServer
, disconnectSourceServer_sourceServerID
- The ID of the Source Server to disconnect.
Request Lenses
disconnectSourceServer_sourceServerID :: Lens' DisconnectSourceServer Text Source #
The ID of the Source Server to disconnect.
Destructuring the Response
data SourceServer Source #
See: newSourceServer
smart constructor.
SourceServer' | |
|
Instances
newSourceServer :: SourceServer Source #
Create a value of SourceServer
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:arn:SourceServer'
, sourceServer_arn
- The ARN of the Source Server.
$sel:dataReplicationInfo:SourceServer'
, sourceServer_dataReplicationInfo
- The Data Replication Info of the Source Server.
$sel:lastLaunchResult:SourceServer'
, sourceServer_lastLaunchResult
- The status of the last recovery launch of this Source Server.
$sel:lifeCycle:SourceServer'
, sourceServer_lifeCycle
- The lifecycle information of this Source Server.
$sel:recoveryInstanceId:SourceServer'
, sourceServer_recoveryInstanceId
- The ID of the Recovery Instance associated with this Source Server.
$sel:replicationDirection:SourceServer'
, sourceServer_replicationDirection
- Replication direction of the Source Server.
$sel:reversedDirectionSourceServerArn:SourceServer'
, sourceServer_reversedDirectionSourceServerArn
- For EC2-originated Source Servers which have been failed over and then
failed back, this value will mean the ARN of the Source Server on the
opposite replication direction.
$sel:sourceCloudProperties:SourceServer'
, sourceServer_sourceCloudProperties
- Source cloud properties of the Source Server.
$sel:sourceProperties:SourceServer'
, sourceServer_sourceProperties
- The source properties of the Source Server.
$sel:sourceServerID:SourceServer'
, sourceServer_sourceServerID
- The ID of the Source Server.
$sel:stagingArea:SourceServer'
, sourceServer_stagingArea
- The staging area of the source server.
$sel:tags:SourceServer'
, sourceServer_tags
- The tags associated with the Source Server.
Response Lenses
sourceServer_arn :: Lens' SourceServer (Maybe Text) Source #
The ARN of the Source Server.
sourceServer_dataReplicationInfo :: Lens' SourceServer (Maybe DataReplicationInfo) Source #
The Data Replication Info of the Source Server.
sourceServer_lastLaunchResult :: Lens' SourceServer (Maybe LastLaunchResult) Source #
The status of the last recovery launch of this Source Server.
sourceServer_lifeCycle :: Lens' SourceServer (Maybe LifeCycle) Source #
The lifecycle information of this Source Server.
sourceServer_recoveryInstanceId :: Lens' SourceServer (Maybe Text) Source #
The ID of the Recovery Instance associated with this Source Server.
sourceServer_replicationDirection :: Lens' SourceServer (Maybe ReplicationDirection) Source #
Replication direction of the Source Server.
sourceServer_reversedDirectionSourceServerArn :: Lens' SourceServer (Maybe Text) Source #
For EC2-originated Source Servers which have been failed over and then failed back, this value will mean the ARN of the Source Server on the opposite replication direction.
sourceServer_sourceCloudProperties :: Lens' SourceServer (Maybe SourceCloudProperties) Source #
Source cloud properties of the Source Server.
sourceServer_sourceProperties :: Lens' SourceServer (Maybe SourceProperties) Source #
The source properties of the Source Server.
sourceServer_sourceServerID :: Lens' SourceServer (Maybe Text) Source #
The ID of the Source Server.
sourceServer_stagingArea :: Lens' SourceServer (Maybe StagingArea) Source #
The staging area of the source server.
sourceServer_tags :: Lens' SourceServer (Maybe (HashMap Text Text)) Source #
The tags associated with the Source Server.