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 |
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_requestId :: Lens' GetContainerRecipePolicyResponse (Maybe Text)
- getContainerRecipePolicyResponse_policy :: Lens' GetContainerRecipePolicyResponse (Maybe Text)
- getContainerRecipePolicyResponse_httpStatus :: Lens' GetContainerRecipePolicyResponse Int
Creating a Request
data GetContainerRecipePolicy Source #
See: newGetContainerRecipePolicy
smart constructor.
GetContainerRecipePolicy' | |
|
Instances
newGetContainerRecipePolicy Source #
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:
$sel:containerRecipeArn: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.
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:requestId:GetContainerRecipePolicyResponse'
, getContainerRecipePolicyResponse_requestId
- The request ID that uniquely identifies this request.
$sel:policy:GetContainerRecipePolicyResponse'
, getContainerRecipePolicyResponse_policy
- The container recipe policy object that is returned.
$sel:httpStatus:GetContainerRecipePolicyResponse'
, getContainerRecipePolicyResponse_httpStatus
- The response's http status code.
Response Lenses
getContainerRecipePolicyResponse_requestId :: Lens' GetContainerRecipePolicyResponse (Maybe Text) Source #
The request ID that uniquely identifies this request.
getContainerRecipePolicyResponse_policy :: Lens' GetContainerRecipePolicyResponse (Maybe Text) Source #
The container recipe policy object that is returned.
getContainerRecipePolicyResponse_httpStatus :: Lens' GetContainerRecipePolicyResponse Int Source #
The response's http status code.