| 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.AppStream.DeleteImage
Description
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.
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_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.
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: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.