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 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 communicating 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.lagDuration will be nullified.
Synopsis
- data DisconnectFromService = DisconnectFromService' {}
- newDisconnectFromService :: Text -> DisconnectFromService
- disconnectFromService_sourceServerID :: Lens' DisconnectFromService Text
- data SourceServer = SourceServer' {
- applicationID :: Maybe Text
- arn :: Maybe Text
- dataReplicationInfo :: Maybe DataReplicationInfo
- isArchived :: Maybe Bool
- launchedInstance :: Maybe LaunchedInstance
- lifeCycle :: Maybe LifeCycle
- replicationType :: Maybe ReplicationType
- sourceProperties :: Maybe SourceProperties
- sourceServerID :: Maybe Text
- tags :: Maybe (Sensitive (HashMap Text Text))
- vcenterClientID :: Maybe Text
- newSourceServer :: SourceServer
- sourceServer_applicationID :: Lens' SourceServer (Maybe Text)
- sourceServer_arn :: Lens' SourceServer (Maybe Text)
- sourceServer_dataReplicationInfo :: Lens' SourceServer (Maybe DataReplicationInfo)
- sourceServer_isArchived :: Lens' SourceServer (Maybe Bool)
- sourceServer_launchedInstance :: Lens' SourceServer (Maybe LaunchedInstance)
- sourceServer_lifeCycle :: Lens' SourceServer (Maybe LifeCycle)
- sourceServer_replicationType :: Lens' SourceServer (Maybe ReplicationType)
- sourceServer_sourceProperties :: Lens' SourceServer (Maybe SourceProperties)
- sourceServer_sourceServerID :: Lens' SourceServer (Maybe Text)
- sourceServer_tags :: Lens' SourceServer (Maybe (HashMap Text Text))
- sourceServer_vcenterClientID :: Lens' SourceServer (Maybe 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:
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:applicationID:SourceServer'
, sourceServer_applicationID
- Source server application ID.
$sel:arn:SourceServer'
, sourceServer_arn
- Source server ARN.
$sel:dataReplicationInfo:SourceServer'
, sourceServer_dataReplicationInfo
- Source server data replication info.
$sel:isArchived:SourceServer'
, sourceServer_isArchived
- Source server archived status.
$sel:launchedInstance:SourceServer'
, sourceServer_launchedInstance
- Source server launched instance.
$sel:lifeCycle:SourceServer'
, sourceServer_lifeCycle
- Source server lifecycle state.
$sel:replicationType:SourceServer'
, sourceServer_replicationType
- Source server replication type.
$sel:sourceProperties:SourceServer'
, sourceServer_sourceProperties
- Source server properties.
$sel:sourceServerID:SourceServer'
, sourceServer_sourceServerID
- Source server ID.
$sel:tags:SourceServer'
, sourceServer_tags
- Source server Tags.
$sel:vcenterClientID:SourceServer'
, sourceServer_vcenterClientID
- Source server vCenter client id.
Response Lenses
sourceServer_applicationID :: Lens' SourceServer (Maybe Text) Source #
Source server application ID.
sourceServer_arn :: Lens' SourceServer (Maybe Text) Source #
Source server ARN.
sourceServer_dataReplicationInfo :: Lens' SourceServer (Maybe DataReplicationInfo) Source #
Source server data replication info.
sourceServer_isArchived :: Lens' SourceServer (Maybe Bool) Source #
Source server archived status.
sourceServer_launchedInstance :: Lens' SourceServer (Maybe LaunchedInstance) Source #
Source server launched instance.
sourceServer_lifeCycle :: Lens' SourceServer (Maybe LifeCycle) Source #
Source server lifecycle state.
sourceServer_replicationType :: Lens' SourceServer (Maybe ReplicationType) Source #
Source server replication type.
sourceServer_sourceProperties :: Lens' SourceServer (Maybe SourceProperties) Source #
Source server properties.
sourceServer_sourceServerID :: Lens' SourceServer (Maybe Text) Source #
Source server ID.
sourceServer_tags :: Lens' SourceServer (Maybe (HashMap Text Text)) Source #
Source server Tags.
sourceServer_vcenterClientID :: Lens' SourceServer (Maybe Text) Source #
Source server vCenter client id.