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 |
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.
Instances
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:
$sel:imageName: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.
DeleteImageResponse' | |
|
Instances
newDeleteImageResponse Source #
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.