libZSservicesZSamazonka-mwaaZSamazonka-mwaa
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.MwAA.Types.LastUpdate

Description

 
Synopsis

Documentation

data LastUpdate Source #

The status of the last update on the environment, and any errors that were encountered.

See: newLastUpdate smart constructor.

Constructors

LastUpdate' 

Fields

Instances

Instances details
Eq LastUpdate Source # 
Instance details

Defined in Amazonka.MwAA.Types.LastUpdate

Read LastUpdate Source # 
Instance details

Defined in Amazonka.MwAA.Types.LastUpdate

Show LastUpdate Source # 
Instance details

Defined in Amazonka.MwAA.Types.LastUpdate

Generic LastUpdate Source # 
Instance details

Defined in Amazonka.MwAA.Types.LastUpdate

Associated Types

type Rep LastUpdate :: Type -> Type #

NFData LastUpdate Source # 
Instance details

Defined in Amazonka.MwAA.Types.LastUpdate

Methods

rnf :: LastUpdate -> () #

Hashable LastUpdate Source # 
Instance details

Defined in Amazonka.MwAA.Types.LastUpdate

FromJSON LastUpdate Source # 
Instance details

Defined in Amazonka.MwAA.Types.LastUpdate

type Rep LastUpdate Source # 
Instance details

Defined in Amazonka.MwAA.Types.LastUpdate

type Rep LastUpdate = D1 ('MetaData "LastUpdate" "Amazonka.MwAA.Types.LastUpdate" "libZSservicesZSamazonka-mwaaZSamazonka-mwaa" 'False) (C1 ('MetaCons "LastUpdate'" 'PrefixI 'True) (S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe UpdateStatus)) :*: (S1 ('MetaSel ('Just "createdAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "error") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe UpdateError)))))

newLastUpdate :: LastUpdate Source #

Create a value of LastUpdate 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:status:LastUpdate', lastUpdate_status - The status of the last update on the environment. Valid values: SUCCESS, PENDING, FAILED.

$sel:createdAt:LastUpdate', lastUpdate_createdAt - The day and time of the last update on the environment.

$sel:error:LastUpdate', lastUpdate_error - The error that was encountered during the last update of the environment.

lastUpdate_status :: Lens' LastUpdate (Maybe UpdateStatus) Source #

The status of the last update on the environment. Valid values: SUCCESS, PENDING, FAILED.

lastUpdate_createdAt :: Lens' LastUpdate (Maybe UTCTime) Source #

The day and time of the last update on the environment.

lastUpdate_error :: Lens' LastUpdate (Maybe UpdateError) Source #

The error that was encountered during the last update of the environment.