| 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.GetContainerRecipePolicy
Description
Retrieves the policy for a container recipe.
Synopsis
- data GetContainerRecipePolicy = GetContainerRecipePolicy' {}
- newGetContainerRecipePolicy :: Text -> GetContainerRecipePolicy
- getContainerRecipePolicy_containerRecipeArn :: Lens' GetContainerRecipePolicy Text
- data GetContainerRecipePolicyResponse = GetContainerRecipePolicyResponse' {}
- newGetContainerRecipePolicyResponse :: Int -> GetContainerRecipePolicyResponse
- getContainerRecipePolicyResponse_policy :: Lens' GetContainerRecipePolicyResponse (Maybe Text)
- getContainerRecipePolicyResponse_requestId :: Lens' GetContainerRecipePolicyResponse (Maybe Text)
- getContainerRecipePolicyResponse_httpStatus :: Lens' GetContainerRecipePolicyResponse Int
Creating a Request
data GetContainerRecipePolicy Source #
See: newGetContainerRecipePolicy smart constructor.
Constructors
| GetContainerRecipePolicy' | |
Fields
| |
Instances
newGetContainerRecipePolicy Source #
Arguments
| :: Text | |
| -> GetContainerRecipePolicy |
Create a value of GetContainerRecipePolicy 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:
GetContainerRecipePolicy, getContainerRecipePolicy_containerRecipeArn - The Amazon Resource Name (ARN) of the container recipe for the policy
being requested.
Request Lenses
getContainerRecipePolicy_containerRecipeArn :: Lens' GetContainerRecipePolicy Text Source #
The Amazon Resource Name (ARN) of the container recipe for the policy being requested.
Destructuring the Response
data GetContainerRecipePolicyResponse Source #
See: newGetContainerRecipePolicyResponse smart constructor.
Constructors
| GetContainerRecipePolicyResponse' | |
Instances
newGetContainerRecipePolicyResponse Source #
Create a value of GetContainerRecipePolicyResponse 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:GetContainerRecipePolicyResponse', getContainerRecipePolicyResponse_policy - The container recipe policy object that is returned.
$sel:requestId:GetContainerRecipePolicyResponse', getContainerRecipePolicyResponse_requestId - The request ID that uniquely identifies this request.
$sel:httpStatus:GetContainerRecipePolicyResponse', getContainerRecipePolicyResponse_httpStatus - The response's http status code.
Response Lenses
getContainerRecipePolicyResponse_policy :: Lens' GetContainerRecipePolicyResponse (Maybe Text) Source #
The container recipe policy object that is returned.
getContainerRecipePolicyResponse_requestId :: Lens' GetContainerRecipePolicyResponse (Maybe Text) Source #
The request ID that uniquely identifies this request.
getContainerRecipePolicyResponse_httpStatus :: Lens' GetContainerRecipePolicyResponse Int Source #
The response's http status code.