| 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.DeleteImage
Description
Deletes a SageMaker image and all versions of the image. The container images aren't deleted.
Synopsis
- data DeleteImage = DeleteImage' {}
 - newDeleteImage :: Text -> DeleteImage
 - deleteImage_imageName :: Lens' DeleteImage Text
 - data DeleteImageResponse = DeleteImageResponse' {
- httpStatus :: Int
 
 - newDeleteImageResponse :: Int -> DeleteImageResponse
 - deleteImageResponse_httpStatus :: Lens' DeleteImageResponse Int
 
Creating a Request
data DeleteImage Source #
See: newDeleteImage smart constructor.
Constructors
| DeleteImage' | |
Instances
Arguments
| :: Text | |
| -> DeleteImage | 
Create a value of DeleteImage 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:
DeleteImage, deleteImage_imageName - The name of the image to delete.
Request Lenses
deleteImage_imageName :: Lens' DeleteImage Text Source #
The name of the image to delete.
Destructuring the Response
data DeleteImageResponse Source #
See: newDeleteImageResponse smart constructor.
Constructors
| DeleteImageResponse' | |
Fields 
  | |
Instances
newDeleteImageResponse Source #
Arguments
| :: Int | |
| -> DeleteImageResponse | 
Create a value of DeleteImageResponse 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:httpStatus:DeleteImageResponse', deleteImageResponse_httpStatus - The response's http status code.
Response Lenses
deleteImageResponse_httpStatus :: Lens' DeleteImageResponse Int Source #
The response's http status code.