amazonka-proton-2.0: Amazon Proton 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.Proton.Types.ResourceSyncAttempt

Description

 
Synopsis

Documentation

data ResourceSyncAttempt Source #

Detail data for a resource sync attempt activated by a push to a repository.

See: newResourceSyncAttempt smart constructor.

Constructors

ResourceSyncAttempt' 

Fields

Instances

Instances details
FromJSON ResourceSyncAttempt Source # 
Instance details

Defined in Amazonka.Proton.Types.ResourceSyncAttempt

Generic ResourceSyncAttempt Source # 
Instance details

Defined in Amazonka.Proton.Types.ResourceSyncAttempt

Associated Types

type Rep ResourceSyncAttempt :: Type -> Type #

Read ResourceSyncAttempt Source # 
Instance details

Defined in Amazonka.Proton.Types.ResourceSyncAttempt

Show ResourceSyncAttempt Source # 
Instance details

Defined in Amazonka.Proton.Types.ResourceSyncAttempt

NFData ResourceSyncAttempt Source # 
Instance details

Defined in Amazonka.Proton.Types.ResourceSyncAttempt

Methods

rnf :: ResourceSyncAttempt -> () #

Eq ResourceSyncAttempt Source # 
Instance details

Defined in Amazonka.Proton.Types.ResourceSyncAttempt

Hashable ResourceSyncAttempt Source # 
Instance details

Defined in Amazonka.Proton.Types.ResourceSyncAttempt

type Rep ResourceSyncAttempt Source # 
Instance details

Defined in Amazonka.Proton.Types.ResourceSyncAttempt

type Rep ResourceSyncAttempt = D1 ('MetaData "ResourceSyncAttempt" "Amazonka.Proton.Types.ResourceSyncAttempt" "amazonka-proton-2.0-LlJ92rKPVfGGXHsLqGeI74" 'False) (C1 ('MetaCons "ResourceSyncAttempt'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "events") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [ResourceSyncEvent]) :*: (S1 ('MetaSel ('Just "initialRevision") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Revision) :*: S1 ('MetaSel ('Just "startedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX))) :*: (S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ResourceSyncStatus) :*: (S1 ('MetaSel ('Just "target") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "targetRevision") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Revision)))))

newResourceSyncAttempt Source #

Create a value of ResourceSyncAttempt 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:events:ResourceSyncAttempt', resourceSyncAttempt_events - An array of events with detail data.

$sel:initialRevision:ResourceSyncAttempt', resourceSyncAttempt_initialRevision - Detail data for the initial repository commit, path and push.

$sel:startedAt:ResourceSyncAttempt', resourceSyncAttempt_startedAt - The time when the sync attempt started.

$sel:status:ResourceSyncAttempt', resourceSyncAttempt_status - The status of the sync attempt.

$sel:target:ResourceSyncAttempt', resourceSyncAttempt_target - The resource that is synced to.

$sel:targetRevision:ResourceSyncAttempt', resourceSyncAttempt_targetRevision - Detail data for the target revision.

resourceSyncAttempt_initialRevision :: Lens' ResourceSyncAttempt Revision Source #

Detail data for the initial repository commit, path and push.

resourceSyncAttempt_startedAt :: Lens' ResourceSyncAttempt UTCTime Source #

The time when the sync attempt started.