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 recipe.
Synopsis
- data GetImageRecipe = GetImageRecipe' {}
- newGetImageRecipe :: Text -> GetImageRecipe
- getImageRecipe_imageRecipeArn :: Lens' GetImageRecipe Text
- data GetImageRecipeResponse = GetImageRecipeResponse' {}
- newGetImageRecipeResponse :: Int -> GetImageRecipeResponse
- getImageRecipeResponse_requestId :: Lens' GetImageRecipeResponse (Maybe Text)
- getImageRecipeResponse_imageRecipe :: Lens' GetImageRecipeResponse (Maybe ImageRecipe)
- getImageRecipeResponse_httpStatus :: Lens' GetImageRecipeResponse Int
Creating a Request
data GetImageRecipe Source #
See: newGetImageRecipe
smart constructor.
GetImageRecipe' | |
|
Instances
Create a value of GetImageRecipe
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:imageRecipeArn:GetImageRecipe'
, getImageRecipe_imageRecipeArn
- The Amazon Resource Name (ARN) of the image recipe that you want to
retrieve.
Request Lenses
getImageRecipe_imageRecipeArn :: Lens' GetImageRecipe Text Source #
The Amazon Resource Name (ARN) of the image recipe that you want to retrieve.
Destructuring the Response
data GetImageRecipeResponse Source #
See: newGetImageRecipeResponse
smart constructor.
GetImageRecipeResponse' | |
|
Instances
newGetImageRecipeResponse Source #
Create a value of GetImageRecipeResponse
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:GetImageRecipeResponse'
, getImageRecipeResponse_requestId
- The request ID that uniquely identifies this request.
$sel:imageRecipe:GetImageRecipeResponse'
, getImageRecipeResponse_imageRecipe
- The image recipe object.
$sel:httpStatus:GetImageRecipeResponse'
, getImageRecipeResponse_httpStatus
- The response's http status code.
Response Lenses
getImageRecipeResponse_requestId :: Lens' GetImageRecipeResponse (Maybe Text) Source #
The request ID that uniquely identifies this request.
getImageRecipeResponse_imageRecipe :: Lens' GetImageRecipeResponse (Maybe ImageRecipe) Source #
The image recipe object.
getImageRecipeResponse_httpStatus :: Lens' GetImageRecipeResponse Int Source #
The response's http status code.