Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Returns the stack policy for a specified stack. If a stack doesn't have a policy, a null value is returned.
- getStackPolicy :: Text -> GetStackPolicy
- data GetStackPolicy
- gspStackName :: Lens' GetStackPolicy Text
- getStackPolicyResponse :: Int -> GetStackPolicyResponse
- data GetStackPolicyResponse
- gsprsStackPolicyBody :: Lens' GetStackPolicyResponse (Maybe Text)
- gsprsResponseStatus :: Lens' GetStackPolicyResponse Int
Creating a Request
Creates a value of GetStackPolicy
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data GetStackPolicy Source #
The input for the GetStackPolicy action.
See: getStackPolicy
smart constructor.
Request Lenses
gspStackName :: Lens' GetStackPolicy Text Source #
The name or unique stack ID that is associated with the stack whose policy you want to get.
Destructuring the Response
getStackPolicyResponse Source #
Creates a value of GetStackPolicyResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data GetStackPolicyResponse Source #
The output for the GetStackPolicy action.
See: getStackPolicyResponse
smart constructor.
Response Lenses
gsprsStackPolicyBody :: Lens' GetStackPolicyResponse (Maybe Text) Source #
Structure containing the stack policy body. (For more information, go to Prevent Updates to Stack Resources in the AWS CloudFormation User Guide.)
gsprsResponseStatus :: Lens' GetStackPolicyResponse Int Source #
The response status code.