amazonka-drs-2.0: Amazon Elastic Disaster Recovery Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.DrS.Types.StagingArea

Description

 
Synopsis

Documentation

data StagingArea Source #

Staging information related to source server.

See: newStagingArea smart constructor.

Constructors

StagingArea' 

Fields

  • errorMessage :: Maybe Text

    Shows an error message that occurred when DRS tried to access the staging source server. In this case StagingArea$status will have value EXTENSION_ERROR

  • stagingAccountID :: Maybe Text

    Account ID of the account to which source server belongs. If this source server is extended - shows Account ID of staging source server.

  • stagingSourceServerArn :: Maybe Text

    Arn of the staging source server if this source server is extended

  • status :: Maybe ExtensionStatus

    Status of Source server extension. Possible values: (a) NOT_EXTENDED - This is a source server that is replicating in the current account. (b) EXTENDED - Source server is extended from a staging source server. In this case, the value of stagingSourceServerArn is pointing to the Arn of the source server in the staging account. (c) EXTENSION_ERROR - Some issue occurred when accessing staging source server. In this case, errorMessage field will contain an error message that explains what happened.

Instances

Instances details
FromJSON StagingArea Source # 
Instance details

Defined in Amazonka.DrS.Types.StagingArea

Generic StagingArea Source # 
Instance details

Defined in Amazonka.DrS.Types.StagingArea

Associated Types

type Rep StagingArea :: Type -> Type #

Read StagingArea Source # 
Instance details

Defined in Amazonka.DrS.Types.StagingArea

Show StagingArea Source # 
Instance details

Defined in Amazonka.DrS.Types.StagingArea

NFData StagingArea Source # 
Instance details

Defined in Amazonka.DrS.Types.StagingArea

Methods

rnf :: StagingArea -> () #

Eq StagingArea Source # 
Instance details

Defined in Amazonka.DrS.Types.StagingArea

Hashable StagingArea Source # 
Instance details

Defined in Amazonka.DrS.Types.StagingArea

type Rep StagingArea Source # 
Instance details

Defined in Amazonka.DrS.Types.StagingArea

type Rep StagingArea = D1 ('MetaData "StagingArea" "Amazonka.DrS.Types.StagingArea" "amazonka-drs-2.0-Jcy074h2jPgFhWHQx96blx" 'False) (C1 ('MetaCons "StagingArea'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "errorMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "stagingAccountID") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "stagingSourceServerArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ExtensionStatus)))))

newStagingArea :: StagingArea Source #

Create a value of StagingArea 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:errorMessage:StagingArea', stagingArea_errorMessage - Shows an error message that occurred when DRS tried to access the staging source server. In this case StagingArea$status will have value EXTENSION_ERROR

$sel:stagingAccountID:StagingArea', stagingArea_stagingAccountID - Account ID of the account to which source server belongs. If this source server is extended - shows Account ID of staging source server.

$sel:stagingSourceServerArn:StagingArea', stagingArea_stagingSourceServerArn - Arn of the staging source server if this source server is extended

$sel:status:StagingArea', stagingArea_status - Status of Source server extension. Possible values: (a) NOT_EXTENDED - This is a source server that is replicating in the current account. (b) EXTENDED - Source server is extended from a staging source server. In this case, the value of stagingSourceServerArn is pointing to the Arn of the source server in the staging account. (c) EXTENSION_ERROR - Some issue occurred when accessing staging source server. In this case, errorMessage field will contain an error message that explains what happened.

stagingArea_errorMessage :: Lens' StagingArea (Maybe Text) Source #

Shows an error message that occurred when DRS tried to access the staging source server. In this case StagingArea$status will have value EXTENSION_ERROR

stagingArea_stagingAccountID :: Lens' StagingArea (Maybe Text) Source #

Account ID of the account to which source server belongs. If this source server is extended - shows Account ID of staging source server.

stagingArea_stagingSourceServerArn :: Lens' StagingArea (Maybe Text) Source #

Arn of the staging source server if this source server is extended

stagingArea_status :: Lens' StagingArea (Maybe ExtensionStatus) Source #

Status of Source server extension. Possible values: (a) NOT_EXTENDED - This is a source server that is replicating in the current account. (b) EXTENDED - Source server is extended from a staging source server. In this case, the value of stagingSourceServerArn is pointing to the Arn of the source server in the staging account. (c) EXTENSION_ERROR - Some issue occurred when accessing staging source server. In this case, errorMessage field will contain an error message that explains what happened.