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 the specified image. You cannot delete an image when it is in use. After you delete an image, you cannot provision new capacity using the image.
Synopsis
- data DeleteImage = DeleteImage' {}
- newDeleteImage :: Text -> DeleteImage
- deleteImage_name :: Lens' DeleteImage Text
- data DeleteImageResponse = DeleteImageResponse' {
- image :: Maybe Image
- httpStatus :: Int
- newDeleteImageResponse :: Int -> DeleteImageResponse
- deleteImageResponse_image :: Lens' DeleteImageResponse (Maybe Image)
- 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:name:DeleteImage'
, deleteImage_name
- The name of the image.
Request Lenses
deleteImage_name :: Lens' DeleteImage Text Source #
The name of the image.
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:image:DeleteImageResponse'
, deleteImageResponse_image
- Information about the image.
$sel:httpStatus:DeleteImageResponse'
, deleteImageResponse_httpStatus
- The response's http status code.
Response Lenses
deleteImageResponse_image :: Lens' DeleteImageResponse (Maybe Image) Source #
Information about the image.
deleteImageResponse_httpStatus :: Lens' DeleteImageResponse Int Source #
The response's http status code.