| 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.GetImageRecipe
Description
Gets an image recipe.
Synopsis
- data GetImageRecipe = GetImageRecipe' {}
- newGetImageRecipe :: Text -> GetImageRecipe
- getImageRecipe_imageRecipeArn :: Lens' GetImageRecipe Text
- data GetImageRecipeResponse = GetImageRecipeResponse' {}
- newGetImageRecipeResponse :: Int -> GetImageRecipeResponse
- getImageRecipeResponse_imageRecipe :: Lens' GetImageRecipeResponse (Maybe ImageRecipe)
- getImageRecipeResponse_requestId :: Lens' GetImageRecipeResponse (Maybe Text)
- getImageRecipeResponse_httpStatus :: Lens' GetImageRecipeResponse Int
Creating a Request
data GetImageRecipe Source #
See: newGetImageRecipe smart constructor.
Constructors
| GetImageRecipe' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> GetImageRecipe |
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:
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.
Constructors
| GetImageRecipeResponse' | |
Fields
| |
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:
GetImageRecipeResponse, getImageRecipeResponse_imageRecipe - The image recipe object.
$sel:requestId:GetImageRecipeResponse', getImageRecipeResponse_requestId - The request ID that uniquely identifies this request.
$sel:httpStatus:GetImageRecipeResponse', getImageRecipeResponse_httpStatus - The response's http status code.
Response Lenses
getImageRecipeResponse_imageRecipe :: Lens' GetImageRecipeResponse (Maybe ImageRecipe) Source #
The image recipe object.
getImageRecipeResponse_requestId :: Lens' GetImageRecipeResponse (Maybe Text) Source #
The request ID that uniquely identifies this request.
getImageRecipeResponse_httpStatus :: Lens' GetImageRecipeResponse Int Source #
The response's http status code.