Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data Artifact = Artifact' {}
- newArtifact :: Artifact
- artifact_location :: Lens' Artifact (Maybe ArtifactLocation)
- artifact_name :: Lens' Artifact (Maybe Text)
- artifact_revision :: Lens' Artifact (Maybe Text)
Documentation
Represents information about an artifact that is worked on by actions in the pipeline.
See: newArtifact
smart constructor.
Instances
Eq Artifact Source # | |
Read Artifact Source # | |
Show Artifact Source # | |
Generic Artifact Source # | |
NFData Artifact Source # | |
Defined in Amazonka.CodePipeline.Types.Artifact | |
Hashable Artifact Source # | |
Defined in Amazonka.CodePipeline.Types.Artifact | |
FromJSON Artifact Source # | |
type Rep Artifact Source # | |
Defined in Amazonka.CodePipeline.Types.Artifact type Rep Artifact = D1 ('MetaData "Artifact" "Amazonka.CodePipeline.Types.Artifact" "libZSservicesZSamazonka-codepipelineZSamazonka-codepipeline" 'False) (C1 ('MetaCons "Artifact'" 'PrefixI 'True) (S1 ('MetaSel ('Just "location") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ArtifactLocation)) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "revision") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) |
newArtifact :: Artifact Source #
Create a value of Artifact
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:location:Artifact'
, artifact_location
- The location of an artifact.
$sel:name:Artifact'
, artifact_name
- The artifact's name.
$sel:revision:Artifact'
, artifact_revision
- The artifact's revision ID. Depending on the type of object, this could
be a commit ID (GitHub) or a revision ID (Amazon S3).
artifact_location :: Lens' Artifact (Maybe ArtifactLocation) Source #
The location of an artifact.