libZSservicesZSamazonka-mgnZSamazonka-mgn
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.MGN.DisconnectFromService

Description

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

Creating a Request

data DisconnectFromService Source #

See: newDisconnectFromService smart constructor.

Constructors

DisconnectFromService' 

Fields

Instances

Instances details
Eq DisconnectFromService Source # 
Instance details

Defined in Amazonka.MGN.DisconnectFromService

Read DisconnectFromService Source # 
Instance details

Defined in Amazonka.MGN.DisconnectFromService

Show DisconnectFromService Source # 
Instance details

Defined in Amazonka.MGN.DisconnectFromService

Generic DisconnectFromService Source # 
Instance details

Defined in Amazonka.MGN.DisconnectFromService

Associated Types

type Rep DisconnectFromService :: Type -> Type #

NFData DisconnectFromService Source # 
Instance details

Defined in Amazonka.MGN.DisconnectFromService

Methods

rnf :: DisconnectFromService -> () #

Hashable DisconnectFromService Source # 
Instance details

Defined in Amazonka.MGN.DisconnectFromService

ToJSON DisconnectFromService Source # 
Instance details

Defined in Amazonka.MGN.DisconnectFromService

AWSRequest DisconnectFromService Source # 
Instance details

Defined in Amazonka.MGN.DisconnectFromService

Associated Types

type AWSResponse DisconnectFromService #

ToHeaders DisconnectFromService Source # 
Instance details

Defined in Amazonka.MGN.DisconnectFromService

ToPath DisconnectFromService Source # 
Instance details

Defined in Amazonka.MGN.DisconnectFromService

ToQuery DisconnectFromService Source # 
Instance details

Defined in Amazonka.MGN.DisconnectFromService

type Rep DisconnectFromService Source # 
Instance details

Defined in Amazonka.MGN.DisconnectFromService

type Rep DisconnectFromService = D1 ('MetaData "DisconnectFromService" "Amazonka.MGN.DisconnectFromService" "libZSservicesZSamazonka-mgnZSamazonka-mgn" 'False) (C1 ('MetaCons "DisconnectFromService'" 'PrefixI 'True) (S1 ('MetaSel ('Just "sourceServerID") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DisconnectFromService Source # 
Instance details

Defined in Amazonka.MGN.DisconnectFromService

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.

Constructors

SourceServer' 

Fields

Instances

Instances details
Eq SourceServer Source # 
Instance details

Defined in Amazonka.MGN.Types.SourceServer

Show SourceServer Source # 
Instance details

Defined in Amazonka.MGN.Types.SourceServer

Generic SourceServer Source # 
Instance details

Defined in Amazonka.MGN.Types.SourceServer

Associated Types

type Rep SourceServer :: Type -> Type #

NFData SourceServer Source # 
Instance details

Defined in Amazonka.MGN.Types.SourceServer

Methods

rnf :: SourceServer -> () #

Hashable SourceServer Source # 
Instance details

Defined in Amazonka.MGN.Types.SourceServer

FromJSON SourceServer Source # 
Instance details

Defined in Amazonka.MGN.Types.SourceServer

type Rep SourceServer Source # 
Instance details

Defined in Amazonka.MGN.Types.SourceServer

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_lifeCycle :: Lens' SourceServer (Maybe LifeCycle) Source #

Source server lifecycle state.

sourceServer_isArchived :: Lens' SourceServer (Maybe Bool) Source #

Source server archived status.