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

Description

 
Synopsis

Documentation

data Revision Source #

Revision detail data for a commit and push that activates a sync attempt

See: newRevision smart constructor.

Constructors

Revision' 

Fields

Instances

Instances details
FromJSON Revision Source # 
Instance details

Defined in Amazonka.Proton.Types.Revision

Generic Revision Source # 
Instance details

Defined in Amazonka.Proton.Types.Revision

Associated Types

type Rep Revision :: Type -> Type #

Methods

from :: Revision -> Rep Revision x #

to :: Rep Revision x -> Revision #

Read Revision Source # 
Instance details

Defined in Amazonka.Proton.Types.Revision

Show Revision Source # 
Instance details

Defined in Amazonka.Proton.Types.Revision

NFData Revision Source # 
Instance details

Defined in Amazonka.Proton.Types.Revision

Methods

rnf :: Revision -> () #

Eq Revision Source # 
Instance details

Defined in Amazonka.Proton.Types.Revision

Hashable Revision Source # 
Instance details

Defined in Amazonka.Proton.Types.Revision

Methods

hashWithSalt :: Int -> Revision -> Int #

hash :: Revision -> Int #

type Rep Revision Source # 
Instance details

Defined in Amazonka.Proton.Types.Revision

type Rep Revision = D1 ('MetaData "Revision" "Amazonka.Proton.Types.Revision" "amazonka-proton-2.0-LlJ92rKPVfGGXHsLqGeI74" 'False) (C1 ('MetaCons "Revision'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "branch") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "directory") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "repositoryName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "repositoryProvider") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 RepositoryProvider) :*: S1 ('MetaSel ('Just "sha") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newRevision Source #

Create a value of Revision 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:branch:Revision', revision_branch - The repository branch.

$sel:directory:Revision', revision_directory - The repository directory changed by a commit and push that activated the sync attempt.

$sel:repositoryName:Revision', revision_repositoryName - The repository name.

$sel:repositoryProvider:Revision', revision_repositoryProvider - The repository provider.

$sel:sha:Revision', revision_sha - The secure hash algorithm (SHA) hash for the revision.

revision_branch :: Lens' Revision Text Source #

The repository branch.

revision_directory :: Lens' Revision Text Source #

The repository directory changed by a commit and push that activated the sync attempt.

revision_sha :: Lens' Revision Text Source #

The secure hash algorithm (SHA) hash for the revision.