| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.SageMaker.CreateArtifact
Description
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_artifactName :: Lens' CreateArtifact (Maybe Text)
- createArtifact_metadataProperties :: Lens' CreateArtifact (Maybe MetadataProperties)
- createArtifact_properties :: Lens' CreateArtifact (Maybe (HashMap Text Text))
- createArtifact_tags :: Lens' CreateArtifact (Maybe [Tag])
- 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.
Constructors
| CreateArtifact' | |
Fields
| |
Instances
Arguments
| :: 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:
CreateArtifact, createArtifact_artifactName - The name of the artifact. Must be unique to your account in an Amazon
Web Services Region.
CreateArtifact, createArtifact_metadataProperties - Undocumented member.
CreateArtifact, createArtifact_properties - A list of properties to add to the artifact.
CreateArtifact, createArtifact_tags - A list of tags to apply to the artifact.
CreateArtifact, createArtifact_source - The ID, ID type, and URI of the source.
CreateArtifact, createArtifact_artifactType - The artifact type.
Request Lenses
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_metadataProperties :: Lens' CreateArtifact (Maybe MetadataProperties) Source #
Undocumented member.
createArtifact_properties :: Lens' CreateArtifact (Maybe (HashMap Text Text)) Source #
A list of properties to add to the artifact.
createArtifact_tags :: Lens' CreateArtifact (Maybe [Tag]) Source #
A list of tags to apply 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.
Constructors
| CreateArtifactResponse' | |
Fields
| |
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:
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.