| 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.UpdateImage
Description
Updates the properties of a SageMaker image. To change the image's tags, use the AddTags and DeleteTags APIs.
Synopsis
- data UpdateImage = UpdateImage' {
- deleteProperties :: Maybe [Text]
- description :: Maybe Text
- displayName :: Maybe Text
- roleArn :: Maybe Text
- imageName :: Text
- newUpdateImage :: Text -> UpdateImage
- updateImage_deleteProperties :: Lens' UpdateImage (Maybe [Text])
- updateImage_description :: Lens' UpdateImage (Maybe Text)
- updateImage_displayName :: Lens' UpdateImage (Maybe Text)
- updateImage_roleArn :: Lens' UpdateImage (Maybe Text)
- updateImage_imageName :: Lens' UpdateImage Text
- data UpdateImageResponse = UpdateImageResponse' {
- imageArn :: Maybe Text
- httpStatus :: Int
- newUpdateImageResponse :: Int -> UpdateImageResponse
- updateImageResponse_imageArn :: Lens' UpdateImageResponse (Maybe Text)
- updateImageResponse_httpStatus :: Lens' UpdateImageResponse Int
Creating a Request
data UpdateImage Source #
See: newUpdateImage smart constructor.
Constructors
| UpdateImage' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> UpdateImage |
Create a value of UpdateImage 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:deleteProperties:UpdateImage', updateImage_deleteProperties - A list of properties to delete. Only the Description and DisplayName
properties can be deleted.
UpdateImage, updateImage_description - The new description for the image.
UpdateImage, updateImage_displayName - The new display name for the image.
UpdateImage, updateImage_roleArn - The new ARN for the IAM role that enables Amazon SageMaker to perform
tasks on your behalf.
UpdateImage, updateImage_imageName - The name of the image to update.
Request Lenses
updateImage_deleteProperties :: Lens' UpdateImage (Maybe [Text]) Source #
A list of properties to delete. Only the Description and DisplayName
properties can be deleted.
updateImage_description :: Lens' UpdateImage (Maybe Text) Source #
The new description for the image.
updateImage_displayName :: Lens' UpdateImage (Maybe Text) Source #
The new display name for the image.
updateImage_roleArn :: Lens' UpdateImage (Maybe Text) Source #
The new ARN for the IAM role that enables Amazon SageMaker to perform tasks on your behalf.
updateImage_imageName :: Lens' UpdateImage Text Source #
The name of the image to update.
Destructuring the Response
data UpdateImageResponse Source #
See: newUpdateImageResponse smart constructor.
Constructors
| UpdateImageResponse' | |
Fields
| |
Instances
newUpdateImageResponse Source #
Arguments
| :: Int | |
| -> UpdateImageResponse |
Create a value of UpdateImageResponse 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:
UpdateImageResponse, updateImageResponse_imageArn - The ARN of the image.
$sel:httpStatus:UpdateImageResponse', updateImageResponse_httpStatus - The response's http status code.
Response Lenses
updateImageResponse_imageArn :: Lens' UpdateImageResponse (Maybe Text) Source #
The ARN of the image.
updateImageResponse_httpStatus :: Lens' UpdateImageResponse Int Source #
The response's http status code.