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

Description

 
Synopsis

Documentation

data LifeCycle Source #

An object representing the Source Server Lifecycle.

See: newLifeCycle smart constructor.

Constructors

LifeCycle' 

Fields

Instances

Instances details
FromJSON LifeCycle Source # 
Instance details

Defined in Amazonka.DrS.Types.LifeCycle

Generic LifeCycle Source # 
Instance details

Defined in Amazonka.DrS.Types.LifeCycle

Associated Types

type Rep LifeCycle :: Type -> Type #

Read LifeCycle Source # 
Instance details

Defined in Amazonka.DrS.Types.LifeCycle

Show LifeCycle Source # 
Instance details

Defined in Amazonka.DrS.Types.LifeCycle

NFData LifeCycle Source # 
Instance details

Defined in Amazonka.DrS.Types.LifeCycle

Methods

rnf :: LifeCycle -> () #

Eq LifeCycle Source # 
Instance details

Defined in Amazonka.DrS.Types.LifeCycle

Hashable LifeCycle Source # 
Instance details

Defined in Amazonka.DrS.Types.LifeCycle

type Rep LifeCycle Source # 
Instance details

Defined in Amazonka.DrS.Types.LifeCycle

type Rep LifeCycle = D1 ('MetaData "LifeCycle" "Amazonka.DrS.Types.LifeCycle" "amazonka-drs-2.0-Jcy074h2jPgFhWHQx96blx" 'False) (C1 ('MetaCons "LifeCycle'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "addedToServiceDateTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "elapsedReplicationDuration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "firstByteDateTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "lastLaunch") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LifeCycleLastLaunch)) :*: S1 ('MetaSel ('Just "lastSeenByServiceDateTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newLifeCycle :: LifeCycle Source #

Create a value of LifeCycle 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:addedToServiceDateTime:LifeCycle', lifeCycle_addedToServiceDateTime - The date and time of when the Source Server was added to the service.

$sel:elapsedReplicationDuration:LifeCycle', lifeCycle_elapsedReplicationDuration - The amount of time that the Source Server has been replicating for.

$sel:firstByteDateTime:LifeCycle', lifeCycle_firstByteDateTime - The date and time of the first byte that was replicated from the Source Server.

$sel:lastLaunch:LifeCycle', lifeCycle_lastLaunch - An object containing information regarding the last launch of the Source Server.

$sel:lastSeenByServiceDateTime:LifeCycle', lifeCycle_lastSeenByServiceDateTime - The date and time this Source Server was last seen by the service.

lifeCycle_addedToServiceDateTime :: Lens' LifeCycle (Maybe Text) Source #

The date and time of when the Source Server was added to the service.

lifeCycle_elapsedReplicationDuration :: Lens' LifeCycle (Maybe Text) Source #

The amount of time that the Source Server has been replicating for.

lifeCycle_firstByteDateTime :: Lens' LifeCycle (Maybe Text) Source #

The date and time of the first byte that was replicated from the Source Server.

lifeCycle_lastLaunch :: Lens' LifeCycle (Maybe LifeCycleLastLaunch) Source #

An object containing information regarding the last launch of the Source Server.

lifeCycle_lastSeenByServiceDateTime :: Lens' LifeCycle (Maybe Text) Source #

The date and time this Source Server was last seen by the service.