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 policy.
Synopsis
- data GetImageRecipePolicy = GetImageRecipePolicy' {}
- newGetImageRecipePolicy :: Text -> GetImageRecipePolicy
- getImageRecipePolicy_imageRecipeArn :: Lens' GetImageRecipePolicy Text
- data GetImageRecipePolicyResponse = GetImageRecipePolicyResponse' {}
- newGetImageRecipePolicyResponse :: Int -> GetImageRecipePolicyResponse
- getImageRecipePolicyResponse_requestId :: Lens' GetImageRecipePolicyResponse (Maybe Text)
- getImageRecipePolicyResponse_policy :: Lens' GetImageRecipePolicyResponse (Maybe Text)
- getImageRecipePolicyResponse_httpStatus :: Lens' GetImageRecipePolicyResponse Int
Creating a Request
data GetImageRecipePolicy Source #
See: newGetImageRecipePolicy
smart constructor.
GetImageRecipePolicy' | |
|
Instances
newGetImageRecipePolicy Source #
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:
$sel:imageRecipeArn: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.
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:requestId:GetImageRecipePolicyResponse'
, getImageRecipePolicyResponse_requestId
- The request ID that uniquely identifies this request.
$sel:policy:GetImageRecipePolicyResponse'
, getImageRecipePolicyResponse_policy
- The image recipe policy object.
$sel:httpStatus:GetImageRecipePolicyResponse'
, getImageRecipePolicyResponse_httpStatus
- The response's http status code.
Response Lenses
getImageRecipePolicyResponse_requestId :: Lens' GetImageRecipePolicyResponse (Maybe Text) Source #
The request ID that uniquely identifies this request.
getImageRecipePolicyResponse_policy :: Lens' GetImageRecipePolicyResponse (Maybe Text) Source #
The image recipe policy object.
getImageRecipePolicyResponse_httpStatus :: Lens' GetImageRecipePolicyResponse Int Source #
The response's http status code.