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 |
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]
- displayName :: Maybe Text
- description :: Maybe Text
- roleArn :: Maybe Text
- imageName :: Text
- newUpdateImage :: Text -> UpdateImage
- updateImage_deleteProperties :: Lens' UpdateImage (Maybe [Text])
- updateImage_displayName :: Lens' UpdateImage (Maybe Text)
- updateImage_description :: 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.
UpdateImage' | |
|
Instances
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.
$sel:displayName:UpdateImage'
, updateImage_displayName
- The new display name for the image.
$sel:description:UpdateImage'
, updateImage_description
- The new description for the image.
$sel:roleArn:UpdateImage'
, updateImage_roleArn
- The new Amazon Resource Name (ARN) for the IAM role that enables Amazon
SageMaker to perform tasks on your behalf.
$sel:imageName: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_displayName :: Lens' UpdateImage (Maybe Text) Source #
The new display name for the image.
updateImage_description :: Lens' UpdateImage (Maybe Text) Source #
The new description for the image.
updateImage_roleArn :: Lens' UpdateImage (Maybe Text) Source #
The new Amazon Resource Name (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.
UpdateImageResponse' | |
|
Instances
newUpdateImageResponse Source #
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:
$sel:imageArn:UpdateImageResponse'
, updateImageResponse_imageArn
- The Amazon Resource Name (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 Amazon Resource Name (ARN) of the image.
updateImageResponse_httpStatus :: Lens' UpdateImageResponse Int Source #
The response's http status code.