libZSservicesZSamazonka-codepipelineZSamazonka-codepipeline
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.CodePipeline.Types.SourceRevision

Description

 
Synopsis

Documentation

data SourceRevision Source #

Information about the version (or revision) of a source artifact that initiated a pipeline execution.

See: newSourceRevision smart constructor.

Constructors

SourceRevision' 

Fields

  • revisionSummary :: Maybe Text

    Summary information about the most recent revision of the artifact. For GitHub and AWS CodeCommit repositories, the commit message. For Amazon S3 buckets or actions, the user-provided content of a codepipeline-artifact-revision-summary key specified in the object metadata.

  • revisionUrl :: Maybe Text

    The commit ID for the artifact revision. For artifacts stored in GitHub or AWS CodeCommit repositories, the commit ID is linked to a commit details page.

  • revisionId :: Maybe Text

    The system-generated unique ID that identifies the revision number of the artifact.

  • actionName :: Text

    The name of the action that processed the revision to the source artifact.

Instances

Instances details
Eq SourceRevision Source # 
Instance details

Defined in Amazonka.CodePipeline.Types.SourceRevision

Read SourceRevision Source # 
Instance details

Defined in Amazonka.CodePipeline.Types.SourceRevision

Show SourceRevision Source # 
Instance details

Defined in Amazonka.CodePipeline.Types.SourceRevision

Generic SourceRevision Source # 
Instance details

Defined in Amazonka.CodePipeline.Types.SourceRevision

Associated Types

type Rep SourceRevision :: Type -> Type #

NFData SourceRevision Source # 
Instance details

Defined in Amazonka.CodePipeline.Types.SourceRevision

Methods

rnf :: SourceRevision -> () #

Hashable SourceRevision Source # 
Instance details

Defined in Amazonka.CodePipeline.Types.SourceRevision

FromJSON SourceRevision Source # 
Instance details

Defined in Amazonka.CodePipeline.Types.SourceRevision

type Rep SourceRevision Source # 
Instance details

Defined in Amazonka.CodePipeline.Types.SourceRevision

type Rep SourceRevision = D1 ('MetaData "SourceRevision" "Amazonka.CodePipeline.Types.SourceRevision" "libZSservicesZSamazonka-codepipelineZSamazonka-codepipeline" 'False) (C1 ('MetaCons "SourceRevision'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "revisionSummary") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "revisionUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "revisionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "actionName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newSourceRevision Source #

Create a value of SourceRevision 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:revisionSummary:SourceRevision', sourceRevision_revisionSummary - Summary information about the most recent revision of the artifact. For GitHub and AWS CodeCommit repositories, the commit message. For Amazon S3 buckets or actions, the user-provided content of a codepipeline-artifact-revision-summary key specified in the object metadata.

$sel:revisionUrl:SourceRevision', sourceRevision_revisionUrl - The commit ID for the artifact revision. For artifacts stored in GitHub or AWS CodeCommit repositories, the commit ID is linked to a commit details page.

$sel:revisionId:SourceRevision', sourceRevision_revisionId - The system-generated unique ID that identifies the revision number of the artifact.

$sel:actionName:SourceRevision', sourceRevision_actionName - The name of the action that processed the revision to the source artifact.

sourceRevision_revisionSummary :: Lens' SourceRevision (Maybe Text) Source #

Summary information about the most recent revision of the artifact. For GitHub and AWS CodeCommit repositories, the commit message. For Amazon S3 buckets or actions, the user-provided content of a codepipeline-artifact-revision-summary key specified in the object metadata.

sourceRevision_revisionUrl :: Lens' SourceRevision (Maybe Text) Source #

The commit ID for the artifact revision. For artifacts stored in GitHub or AWS CodeCommit repositories, the commit ID is linked to a commit details page.

sourceRevision_revisionId :: Lens' SourceRevision (Maybe Text) Source #

The system-generated unique ID that identifies the revision number of the artifact.

sourceRevision_actionName :: Lens' SourceRevision Text Source #

The name of the action that processed the revision to the source artifact.