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.StartRecoveryRequestSourceServer

Description

 
Synopsis

Documentation

data StartRecoveryRequestSourceServer Source #

An object representing the Source Server to recover.

See: newStartRecoveryRequestSourceServer smart constructor.

Constructors

StartRecoveryRequestSourceServer' 

Fields

  • recoverySnapshotID :: Maybe Text

    The ID of a Recovery Snapshot we want to recover from. Omit this field to launch from the latest data by taking an on-demand snapshot.

  • sourceServerID :: Text

    The ID of the Source Server you want to recover.

Instances

Instances details
ToJSON StartRecoveryRequestSourceServer Source # 
Instance details

Defined in Amazonka.DrS.Types.StartRecoveryRequestSourceServer

Generic StartRecoveryRequestSourceServer Source # 
Instance details

Defined in Amazonka.DrS.Types.StartRecoveryRequestSourceServer

Associated Types

type Rep StartRecoveryRequestSourceServer :: Type -> Type #

Read StartRecoveryRequestSourceServer Source # 
Instance details

Defined in Amazonka.DrS.Types.StartRecoveryRequestSourceServer

Show StartRecoveryRequestSourceServer Source # 
Instance details

Defined in Amazonka.DrS.Types.StartRecoveryRequestSourceServer

NFData StartRecoveryRequestSourceServer Source # 
Instance details

Defined in Amazonka.DrS.Types.StartRecoveryRequestSourceServer

Eq StartRecoveryRequestSourceServer Source # 
Instance details

Defined in Amazonka.DrS.Types.StartRecoveryRequestSourceServer

Hashable StartRecoveryRequestSourceServer Source # 
Instance details

Defined in Amazonka.DrS.Types.StartRecoveryRequestSourceServer

type Rep StartRecoveryRequestSourceServer Source # 
Instance details

Defined in Amazonka.DrS.Types.StartRecoveryRequestSourceServer

type Rep StartRecoveryRequestSourceServer = D1 ('MetaData "StartRecoveryRequestSourceServer" "Amazonka.DrS.Types.StartRecoveryRequestSourceServer" "amazonka-drs-2.0-Jcy074h2jPgFhWHQx96blx" 'False) (C1 ('MetaCons "StartRecoveryRequestSourceServer'" 'PrefixI 'True) (S1 ('MetaSel ('Just "recoverySnapshotID") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "sourceServerID") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newStartRecoveryRequestSourceServer Source #

Create a value of StartRecoveryRequestSourceServer 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:recoverySnapshotID:StartRecoveryRequestSourceServer', startRecoveryRequestSourceServer_recoverySnapshotID - The ID of a Recovery Snapshot we want to recover from. Omit this field to launch from the latest data by taking an on-demand snapshot.

$sel:sourceServerID:StartRecoveryRequestSourceServer', startRecoveryRequestSourceServer_sourceServerID - The ID of the Source Server you want to recover.

startRecoveryRequestSourceServer_recoverySnapshotID :: Lens' StartRecoveryRequestSourceServer (Maybe Text) Source #

The ID of a Recovery Snapshot we want to recover from. Omit this field to launch from the latest data by taking an on-demand snapshot.