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 |
Creates an artifact. An artifact is a lineage tracking entity that represents a URI addressable object or data. Some examples are the S3 URI of a dataset and the ECR registry path of an image. For more information, see Amazon SageMaker ML Lineage Tracking.
Synopsis
- data CreateArtifact = CreateArtifact' {}
- newCreateArtifact :: ArtifactSource -> Text -> CreateArtifact
- createArtifact_metadataProperties :: Lens' CreateArtifact (Maybe MetadataProperties)
- createArtifact_artifactName :: Lens' CreateArtifact (Maybe Text)
- createArtifact_tags :: Lens' CreateArtifact (Maybe [Tag])
- createArtifact_properties :: Lens' CreateArtifact (Maybe (HashMap Text Text))
- createArtifact_source :: Lens' CreateArtifact ArtifactSource
- createArtifact_artifactType :: Lens' CreateArtifact Text
- data CreateArtifactResponse = CreateArtifactResponse' {
- artifactArn :: Maybe Text
- httpStatus :: Int
- newCreateArtifactResponse :: Int -> CreateArtifactResponse
- createArtifactResponse_artifactArn :: Lens' CreateArtifactResponse (Maybe Text)
- createArtifactResponse_httpStatus :: Lens' CreateArtifactResponse Int
Creating a Request
data CreateArtifact Source #
See: newCreateArtifact
smart constructor.
CreateArtifact' | |
|
Instances
:: ArtifactSource | |
-> Text | |
-> CreateArtifact |
Create a value of CreateArtifact
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:metadataProperties:CreateArtifact'
, createArtifact_metadataProperties
- Undocumented member.
$sel:artifactName:CreateArtifact'
, createArtifact_artifactName
- The name of the artifact. Must be unique to your account in an Amazon
Web Services Region.
$sel:tags:CreateArtifact'
, createArtifact_tags
- A list of tags to apply to the artifact.
$sel:properties:CreateArtifact'
, createArtifact_properties
- A list of properties to add to the artifact.
$sel:source:CreateArtifact'
, createArtifact_source
- The ID, ID type, and URI of the source.
$sel:artifactType:CreateArtifact'
, createArtifact_artifactType
- The artifact type.
Request Lenses
createArtifact_metadataProperties :: Lens' CreateArtifact (Maybe MetadataProperties) Source #
Undocumented member.
createArtifact_artifactName :: Lens' CreateArtifact (Maybe Text) Source #
The name of the artifact. Must be unique to your account in an Amazon Web Services Region.
createArtifact_tags :: Lens' CreateArtifact (Maybe [Tag]) Source #
A list of tags to apply to the artifact.
createArtifact_properties :: Lens' CreateArtifact (Maybe (HashMap Text Text)) Source #
A list of properties to add to the artifact.
createArtifact_source :: Lens' CreateArtifact ArtifactSource Source #
The ID, ID type, and URI of the source.
createArtifact_artifactType :: Lens' CreateArtifact Text Source #
The artifact type.
Destructuring the Response
data CreateArtifactResponse Source #
See: newCreateArtifactResponse
smart constructor.
CreateArtifactResponse' | |
|
Instances
newCreateArtifactResponse Source #
Create a value of CreateArtifactResponse
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:CreateArtifactResponse'
, createArtifactResponse_artifactArn
- The Amazon Resource Name (ARN) of the artifact.
$sel:httpStatus:CreateArtifactResponse'
, createArtifactResponse_httpStatus
- The response's http status code.
Response Lenses
createArtifactResponse_artifactArn :: Lens' CreateArtifactResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the artifact.
createArtifactResponse_httpStatus :: Lens' CreateArtifactResponse Int Source #
The response's http status code.