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

Description

 
Synopsis

Documentation

data RecoveryInstance Source #

A Recovery Instance is a replica of a Source Server running on EC2.

See: newRecoveryInstance smart constructor.

Constructors

RecoveryInstance' 

Fields

Instances

Instances details
FromJSON RecoveryInstance Source # 
Instance details

Defined in Amazonka.DrS.Types.RecoveryInstance

Generic RecoveryInstance Source # 
Instance details

Defined in Amazonka.DrS.Types.RecoveryInstance

Associated Types

type Rep RecoveryInstance :: Type -> Type #

Show RecoveryInstance Source # 
Instance details

Defined in Amazonka.DrS.Types.RecoveryInstance

NFData RecoveryInstance Source # 
Instance details

Defined in Amazonka.DrS.Types.RecoveryInstance

Methods

rnf :: RecoveryInstance -> () #

Eq RecoveryInstance Source # 
Instance details

Defined in Amazonka.DrS.Types.RecoveryInstance

Hashable RecoveryInstance Source # 
Instance details

Defined in Amazonka.DrS.Types.RecoveryInstance

type Rep RecoveryInstance Source # 
Instance details

Defined in Amazonka.DrS.Types.RecoveryInstance

type Rep RecoveryInstance = D1 ('MetaData "RecoveryInstance" "Amazonka.DrS.Types.RecoveryInstance" "amazonka-drs-2.0-Jcy074h2jPgFhWHQx96blx" 'False) (C1 ('MetaCons "RecoveryInstance'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "dataReplicationInfo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RecoveryInstanceDataReplicationInfo)) :*: S1 ('MetaSel ('Just "ec2InstanceID") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "ec2InstanceState") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EC2InstanceState)) :*: (S1 ('MetaSel ('Just "failback") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RecoveryInstanceFailback)) :*: S1 ('MetaSel ('Just "isDrill") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))) :*: ((S1 ('MetaSel ('Just "jobID") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "originEnvironment") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe OriginEnvironment)) :*: S1 ('MetaSel ('Just "pointInTimeSnapshotDateTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "recoveryInstanceID") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "recoveryInstanceProperties") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RecoveryInstanceProperties))) :*: (S1 ('MetaSel ('Just "sourceServerID") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive (HashMap Text Text)))))))))

newRecoveryInstance :: RecoveryInstance Source #

Create a value of RecoveryInstance 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:arn:RecoveryInstance', recoveryInstance_arn - The ARN of the Recovery Instance.

$sel:dataReplicationInfo:RecoveryInstance', recoveryInstance_dataReplicationInfo - The Data Replication Info of the Recovery Instance.

$sel:ec2InstanceID:RecoveryInstance', recoveryInstance_ec2InstanceID - The EC2 instance ID of the Recovery Instance.

$sel:ec2InstanceState:RecoveryInstance', recoveryInstance_ec2InstanceState - The state of the EC2 instance for this Recovery Instance.

$sel:failback:RecoveryInstance', recoveryInstance_failback - An object representing failback related information of the Recovery Instance.

$sel:isDrill:RecoveryInstance', recoveryInstance_isDrill - Whether this Recovery Instance was created for a drill or for an actual Recovery event.

$sel:jobID:RecoveryInstance', recoveryInstance_jobID - The ID of the Job that created the Recovery Instance.

$sel:originEnvironment:RecoveryInstance', recoveryInstance_originEnvironment - Environment (On Premises / AWS) of the instance that the recovery instance originated from.

$sel:pointInTimeSnapshotDateTime:RecoveryInstance', recoveryInstance_pointInTimeSnapshotDateTime - The date and time of the Point in Time (PIT) snapshot that this Recovery Instance was launched from.

$sel:recoveryInstanceID:RecoveryInstance', recoveryInstance_recoveryInstanceID - The ID of the Recovery Instance.

$sel:recoveryInstanceProperties:RecoveryInstance', recoveryInstance_recoveryInstanceProperties - Properties of the Recovery Instance machine.

$sel:sourceServerID:RecoveryInstance', recoveryInstance_sourceServerID - The Source Server ID that this Recovery Instance is associated with.

$sel:tags:RecoveryInstance', recoveryInstance_tags - An array of tags that are associated with the Recovery Instance.

recoveryInstance_arn :: Lens' RecoveryInstance (Maybe Text) Source #

The ARN of the Recovery Instance.

recoveryInstance_ec2InstanceID :: Lens' RecoveryInstance (Maybe Text) Source #

The EC2 instance ID of the Recovery Instance.

recoveryInstance_ec2InstanceState :: Lens' RecoveryInstance (Maybe EC2InstanceState) Source #

The state of the EC2 instance for this Recovery Instance.

recoveryInstance_failback :: Lens' RecoveryInstance (Maybe RecoveryInstanceFailback) Source #

An object representing failback related information of the Recovery Instance.

recoveryInstance_isDrill :: Lens' RecoveryInstance (Maybe Bool) Source #

Whether this Recovery Instance was created for a drill or for an actual Recovery event.

recoveryInstance_jobID :: Lens' RecoveryInstance (Maybe Text) Source #

The ID of the Job that created the Recovery Instance.

recoveryInstance_originEnvironment :: Lens' RecoveryInstance (Maybe OriginEnvironment) Source #

Environment (On Premises / AWS) of the instance that the recovery instance originated from.

recoveryInstance_pointInTimeSnapshotDateTime :: Lens' RecoveryInstance (Maybe Text) Source #

The date and time of the Point in Time (PIT) snapshot that this Recovery Instance was launched from.

recoveryInstance_sourceServerID :: Lens' RecoveryInstance (Maybe Text) Source #

The Source Server ID that this Recovery Instance is associated with.

recoveryInstance_tags :: Lens' RecoveryInstance (Maybe (HashMap Text Text)) Source #

An array of tags that are associated with the Recovery Instance.