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 |
Describes an artifact.
Synopsis
- data DescribeArtifact = DescribeArtifact' {
- artifactArn :: Text
- newDescribeArtifact :: Text -> DescribeArtifact
- describeArtifact_artifactArn :: Lens' DescribeArtifact Text
- data DescribeArtifactResponse = DescribeArtifactResponse' {
- creationTime :: Maybe POSIX
- metadataProperties :: Maybe MetadataProperties
- createdBy :: Maybe UserContext
- lastModifiedTime :: Maybe POSIX
- artifactName :: Maybe Text
- source :: Maybe ArtifactSource
- lastModifiedBy :: Maybe UserContext
- artifactArn :: Maybe Text
- artifactType :: Maybe Text
- properties :: Maybe (HashMap Text Text)
- httpStatus :: Int
- newDescribeArtifactResponse :: Int -> DescribeArtifactResponse
- describeArtifactResponse_creationTime :: Lens' DescribeArtifactResponse (Maybe UTCTime)
- describeArtifactResponse_metadataProperties :: Lens' DescribeArtifactResponse (Maybe MetadataProperties)
- describeArtifactResponse_createdBy :: Lens' DescribeArtifactResponse (Maybe UserContext)
- describeArtifactResponse_lastModifiedTime :: Lens' DescribeArtifactResponse (Maybe UTCTime)
- describeArtifactResponse_artifactName :: Lens' DescribeArtifactResponse (Maybe Text)
- describeArtifactResponse_source :: Lens' DescribeArtifactResponse (Maybe ArtifactSource)
- describeArtifactResponse_lastModifiedBy :: Lens' DescribeArtifactResponse (Maybe UserContext)
- describeArtifactResponse_artifactArn :: Lens' DescribeArtifactResponse (Maybe Text)
- describeArtifactResponse_artifactType :: Lens' DescribeArtifactResponse (Maybe Text)
- describeArtifactResponse_properties :: Lens' DescribeArtifactResponse (Maybe (HashMap Text Text))
- describeArtifactResponse_httpStatus :: Lens' DescribeArtifactResponse Int
Creating a Request
data DescribeArtifact Source #
See: newDescribeArtifact
smart constructor.
DescribeArtifact' | |
|
Instances
Create a value of DescribeArtifact
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:artifactArn:DescribeArtifact'
, describeArtifact_artifactArn
- The Amazon Resource Name (ARN) of the artifact to describe.
Request Lenses
describeArtifact_artifactArn :: Lens' DescribeArtifact Text Source #
The Amazon Resource Name (ARN) of the artifact to describe.
Destructuring the Response
data DescribeArtifactResponse Source #
See: newDescribeArtifactResponse
smart constructor.
DescribeArtifactResponse' | |
|
Instances
newDescribeArtifactResponse Source #
Create a value of DescribeArtifactResponse
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:creationTime:DescribeArtifactResponse'
, describeArtifactResponse_creationTime
- When the artifact was created.
$sel:metadataProperties:DescribeArtifactResponse'
, describeArtifactResponse_metadataProperties
- Undocumented member.
$sel:createdBy:DescribeArtifactResponse'
, describeArtifactResponse_createdBy
- Undocumented member.
$sel:lastModifiedTime:DescribeArtifactResponse'
, describeArtifactResponse_lastModifiedTime
- When the artifact was last modified.
$sel:artifactName:DescribeArtifactResponse'
, describeArtifactResponse_artifactName
- The name of the artifact.
$sel:source:DescribeArtifactResponse'
, describeArtifactResponse_source
- The source of the artifact.
$sel:lastModifiedBy:DescribeArtifactResponse'
, describeArtifactResponse_lastModifiedBy
- Undocumented member.
$sel:artifactArn:DescribeArtifact'
, describeArtifactResponse_artifactArn
- The Amazon Resource Name (ARN) of the artifact.
$sel:artifactType:DescribeArtifactResponse'
, describeArtifactResponse_artifactType
- The type of the artifact.
$sel:properties:DescribeArtifactResponse'
, describeArtifactResponse_properties
- A list of the artifact's properties.
$sel:httpStatus:DescribeArtifactResponse'
, describeArtifactResponse_httpStatus
- The response's http status code.
Response Lenses
describeArtifactResponse_creationTime :: Lens' DescribeArtifactResponse (Maybe UTCTime) Source #
When the artifact was created.
describeArtifactResponse_metadataProperties :: Lens' DescribeArtifactResponse (Maybe MetadataProperties) Source #
Undocumented member.
describeArtifactResponse_createdBy :: Lens' DescribeArtifactResponse (Maybe UserContext) Source #
Undocumented member.
describeArtifactResponse_lastModifiedTime :: Lens' DescribeArtifactResponse (Maybe UTCTime) Source #
When the artifact was last modified.
describeArtifactResponse_artifactName :: Lens' DescribeArtifactResponse (Maybe Text) Source #
The name of the artifact.
describeArtifactResponse_source :: Lens' DescribeArtifactResponse (Maybe ArtifactSource) Source #
The source of the artifact.
describeArtifactResponse_lastModifiedBy :: Lens' DescribeArtifactResponse (Maybe UserContext) Source #
Undocumented member.
describeArtifactResponse_artifactArn :: Lens' DescribeArtifactResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the artifact.
describeArtifactResponse_artifactType :: Lens' DescribeArtifactResponse (Maybe Text) Source #
The type of the artifact.
describeArtifactResponse_properties :: Lens' DescribeArtifactResponse (Maybe (HashMap Text Text)) Source #
A list of the artifact's properties.
describeArtifactResponse_httpStatus :: Lens' DescribeArtifactResponse Int Source #
The response's http status code.