| 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.ImageBuilder.GetImage
Description
Gets an image.
Synopsis
- data GetImage = GetImage' {}
- newGetImage :: Text -> GetImage
- getImage_imageBuildVersionArn :: Lens' GetImage Text
- data GetImageResponse = GetImageResponse' {}
- newGetImageResponse :: Int -> GetImageResponse
- getImageResponse_image :: Lens' GetImageResponse (Maybe Image)
- getImageResponse_requestId :: Lens' GetImageResponse (Maybe Text)
- getImageResponse_httpStatus :: Lens' GetImageResponse Int
Creating a Request
See: newGetImage smart constructor.
Constructors
| GetImage' | |
Fields
| |
Instances
Create a value of GetImage 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:imageBuildVersionArn:GetImage', getImage_imageBuildVersionArn - The Amazon Resource Name (ARN) of the image that you want to retrieve.
Request Lenses
getImage_imageBuildVersionArn :: Lens' GetImage Text Source #
The Amazon Resource Name (ARN) of the image that you want to retrieve.
Destructuring the Response
data GetImageResponse Source #
See: newGetImageResponse smart constructor.
Constructors
| GetImageResponse' | |
Instances
Arguments
| :: Int | |
| -> GetImageResponse |
Create a value of GetImageResponse 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:
GetImageResponse, getImageResponse_image - The image object.
$sel:requestId:GetImageResponse', getImageResponse_requestId - The request ID that uniquely identifies this request.
$sel:httpStatus:GetImageResponse', getImageResponse_httpStatus - The response's http status code.
Response Lenses
getImageResponse_image :: Lens' GetImageResponse (Maybe Image) Source #
The image object.
getImageResponse_requestId :: Lens' GetImageResponse (Maybe Text) Source #
The request ID that uniquely identifies this request.
getImageResponse_httpStatus :: Lens' GetImageResponse Int Source #
The response's http status code.