| 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.GetImageRecipePolicy
Description
Gets an image recipe policy.
Synopsis
- data GetImageRecipePolicy = GetImageRecipePolicy' {}
- newGetImageRecipePolicy :: Text -> GetImageRecipePolicy
- getImageRecipePolicy_imageRecipeArn :: Lens' GetImageRecipePolicy Text
- data GetImageRecipePolicyResponse = GetImageRecipePolicyResponse' {}
- newGetImageRecipePolicyResponse :: Int -> GetImageRecipePolicyResponse
- getImageRecipePolicyResponse_policy :: Lens' GetImageRecipePolicyResponse (Maybe Text)
- getImageRecipePolicyResponse_requestId :: Lens' GetImageRecipePolicyResponse (Maybe Text)
- getImageRecipePolicyResponse_httpStatus :: Lens' GetImageRecipePolicyResponse Int
Creating a Request
data GetImageRecipePolicy Source #
See: newGetImageRecipePolicy smart constructor.
Constructors
| GetImageRecipePolicy' | |
Fields
| |
Instances
newGetImageRecipePolicy Source #
Arguments
| :: Text | |
| -> GetImageRecipePolicy |
Create a value of GetImageRecipePolicy 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:
GetImageRecipePolicy, getImageRecipePolicy_imageRecipeArn - The Amazon Resource Name (ARN) of the image recipe whose policy you want
to retrieve.
Request Lenses
getImageRecipePolicy_imageRecipeArn :: Lens' GetImageRecipePolicy Text Source #
The Amazon Resource Name (ARN) of the image recipe whose policy you want to retrieve.
Destructuring the Response
data GetImageRecipePolicyResponse Source #
See: newGetImageRecipePolicyResponse smart constructor.
Constructors
| GetImageRecipePolicyResponse' | |
Instances
newGetImageRecipePolicyResponse Source #
Create a value of GetImageRecipePolicyResponse 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:policy:GetImageRecipePolicyResponse', getImageRecipePolicyResponse_policy - The image recipe policy object.
$sel:requestId:GetImageRecipePolicyResponse', getImageRecipePolicyResponse_requestId - The request ID that uniquely identifies this request.
$sel:httpStatus:GetImageRecipePolicyResponse', getImageRecipePolicyResponse_httpStatus - The response's http status code.
Response Lenses
getImageRecipePolicyResponse_policy :: Lens' GetImageRecipePolicyResponse (Maybe Text) Source #
The image recipe policy object.
getImageRecipePolicyResponse_requestId :: Lens' GetImageRecipePolicyResponse (Maybe Text) Source #
The request ID that uniquely identifies this request.
getImageRecipePolicyResponse_httpStatus :: Lens' GetImageRecipePolicyResponse Int Source #
The response's http status code.