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 |
Gets an image.
Synopsis
- data GetImage = GetImage' {}
- newGetImage :: Text -> GetImage
- getImage_imageBuildVersionArn :: Lens' GetImage Text
- data GetImageResponse = GetImageResponse' {}
- newGetImageResponse :: Int -> GetImageResponse
- getImageResponse_requestId :: Lens' GetImageResponse (Maybe Text)
- getImageResponse_image :: Lens' GetImageResponse (Maybe Image)
- getImageResponse_httpStatus :: Lens' GetImageResponse Int
Creating a Request
See: newGetImage
smart constructor.
GetImage' | |
|
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.
Instances
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:
$sel:requestId:GetImageResponse'
, getImageResponse_requestId
- The request ID that uniquely identifies this request.
$sel:image:GetImageResponse'
, getImageResponse_image
- The image object.
$sel:httpStatus:GetImageResponse'
, getImageResponse_httpStatus
- The response's http status code.
Response Lenses
getImageResponse_requestId :: Lens' GetImageResponse (Maybe Text) Source #
The request ID that uniquely identifies this request.
getImageResponse_image :: Lens' GetImageResponse (Maybe Image) Source #
The image object.
getImageResponse_httpStatus :: Lens' GetImageResponse Int Source #
The response's http status code.