| 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.UpdateArtifact
Description
Updates an artifact.
Synopsis
- data UpdateArtifact = UpdateArtifact' {
- artifactName :: Maybe Text
- properties :: Maybe (HashMap Text Text)
- propertiesToRemove :: Maybe [Text]
- artifactArn :: Text
- newUpdateArtifact :: Text -> UpdateArtifact
- updateArtifact_artifactName :: Lens' UpdateArtifact (Maybe Text)
- updateArtifact_properties :: Lens' UpdateArtifact (Maybe (HashMap Text Text))
- updateArtifact_propertiesToRemove :: Lens' UpdateArtifact (Maybe [Text])
- updateArtifact_artifactArn :: Lens' UpdateArtifact Text
- data UpdateArtifactResponse = UpdateArtifactResponse' {
- artifactArn :: Maybe Text
- httpStatus :: Int
- newUpdateArtifactResponse :: Int -> UpdateArtifactResponse
- updateArtifactResponse_artifactArn :: Lens' UpdateArtifactResponse (Maybe Text)
- updateArtifactResponse_httpStatus :: Lens' UpdateArtifactResponse Int
Creating a Request
data UpdateArtifact Source #
See: newUpdateArtifact smart constructor.
Constructors
| UpdateArtifact' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> UpdateArtifact |
Create a value of UpdateArtifact 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:
UpdateArtifact, updateArtifact_artifactName - The new name for the artifact.
UpdateArtifact, updateArtifact_properties - The new list of properties. Overwrites the current property list.
$sel:propertiesToRemove:UpdateArtifact', updateArtifact_propertiesToRemove - A list of properties to remove.
UpdateArtifact, updateArtifact_artifactArn - The Amazon Resource Name (ARN) of the artifact to update.
Request Lenses
updateArtifact_artifactName :: Lens' UpdateArtifact (Maybe Text) Source #
The new name for the artifact.
updateArtifact_properties :: Lens' UpdateArtifact (Maybe (HashMap Text Text)) Source #
The new list of properties. Overwrites the current property list.
updateArtifact_propertiesToRemove :: Lens' UpdateArtifact (Maybe [Text]) Source #
A list of properties to remove.
updateArtifact_artifactArn :: Lens' UpdateArtifact Text Source #
The Amazon Resource Name (ARN) of the artifact to update.
Destructuring the Response
data UpdateArtifactResponse Source #
See: newUpdateArtifactResponse smart constructor.
Constructors
| UpdateArtifactResponse' | |
Fields
| |
Instances
newUpdateArtifactResponse Source #
Create a value of UpdateArtifactResponse 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:
UpdateArtifact, updateArtifactResponse_artifactArn - The Amazon Resource Name (ARN) of the artifact.
$sel:httpStatus:UpdateArtifactResponse', updateArtifactResponse_httpStatus - The response's http status code.
Response Lenses
updateArtifactResponse_artifactArn :: Lens' UpdateArtifactResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the artifact.
updateArtifactResponse_httpStatus :: Lens' UpdateArtifactResponse Int Source #
The response's http status code.