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 |
Disconnects specific Source Servers from Application Migration Service. Data replication is stopped immediately. All AWS resources created by Application Migration Service for enabling the replication of these source servers will be terminated / deleted within 90 minutes. Launched Test or Cutover instances will NOT be terminated. If the agent on the source server has not been prevented from communciating with the Application Migration Service 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.lagDurationwill be nullified.
Synopsis
- data DisconnectFromService = DisconnectFromService' {}
- newDisconnectFromService :: Text -> DisconnectFromService
- disconnectFromService_sourceServerID :: Lens' DisconnectFromService Text
- data SourceServer = SourceServer' {}
- newSourceServer :: SourceServer
- sourceServer_sourceProperties :: Lens' SourceServer (Maybe SourceProperties)
- sourceServer_arn :: Lens' SourceServer (Maybe Text)
- sourceServer_launchedInstance :: Lens' SourceServer (Maybe LaunchedInstance)
- sourceServer_lifeCycle :: Lens' SourceServer (Maybe LifeCycle)
- sourceServer_isArchived :: Lens' SourceServer (Maybe Bool)
- sourceServer_dataReplicationInfo :: Lens' SourceServer (Maybe DataReplicationInfo)
- sourceServer_sourceServerID :: Lens' SourceServer (Maybe Text)
- sourceServer_tags :: Lens' SourceServer (Maybe (HashMap Text Text))
Creating a Request
data DisconnectFromService Source #
See: newDisconnectFromService
smart constructor.
DisconnectFromService' | |
|
Instances
newDisconnectFromService Source #
Create a value of DisconnectFromService
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:sourceServerID:DisconnectFromService'
, disconnectFromService_sourceServerID
- Request to disconnect Source Server from service by Server ID.
Request Lenses
disconnectFromService_sourceServerID :: Lens' DisconnectFromService Text Source #
Request to disconnect Source Server from service by Server ID.
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:sourceProperties:SourceServer'
, sourceServer_sourceProperties
- Source server properties.
$sel:arn:SourceServer'
, sourceServer_arn
- Source server ARN.
$sel:launchedInstance:SourceServer'
, sourceServer_launchedInstance
- Source server launched instance.
$sel:lifeCycle:SourceServer'
, sourceServer_lifeCycle
- Source server lifecycle state.
$sel:isArchived:SourceServer'
, sourceServer_isArchived
- Source server archived status.
$sel:dataReplicationInfo:SourceServer'
, sourceServer_dataReplicationInfo
- Source server data replication info.
$sel:sourceServerID:SourceServer'
, sourceServer_sourceServerID
- Source server ID.
$sel:tags:SourceServer'
, sourceServer_tags
- Source server Tags.
Response Lenses
sourceServer_sourceProperties :: Lens' SourceServer (Maybe SourceProperties) Source #
Source server properties.
sourceServer_arn :: Lens' SourceServer (Maybe Text) Source #
Source server ARN.
sourceServer_launchedInstance :: Lens' SourceServer (Maybe LaunchedInstance) Source #
Source server launched instance.
sourceServer_lifeCycle :: Lens' SourceServer (Maybe LifeCycle) Source #
Source server lifecycle state.
sourceServer_isArchived :: Lens' SourceServer (Maybe Bool) Source #
Source server archived status.
sourceServer_dataReplicationInfo :: Lens' SourceServer (Maybe DataReplicationInfo) Source #
Source server data replication info.
sourceServer_sourceServerID :: Lens' SourceServer (Maybe Text) Source #
Source server ID.
sourceServer_tags :: Lens' SourceServer (Maybe (HashMap Text Text)) Source #
Source server Tags.