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.
http://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_GetStackPolicy.html
Request
data GetStackPolicy Source
Eq GetStackPolicy | |
Ord GetStackPolicy | |
Read GetStackPolicy | |
Show GetStackPolicy | |
IsString GetStackPolicy | |
Monoid GetStackPolicy | |
AWSRequest GetStackPolicy | |
ToQuery GetStackPolicy | |
ToPath GetStackPolicy | |
ToHeaders GetStackPolicy | |
type Sv GetStackPolicy = CloudFormation | |
type Rs GetStackPolicy = GetStackPolicyResponse |
Request constructor
GetStackPolicy
constructor.
The fields accessible through corresponding lenses are:
gspStackName
::
Text
Request lenses
gspStackName :: Lens' GetStackPolicy Text Source
The name or stack ID that is associated with the stack whose policy you want to get.
Response
Response constructor
getStackPolicyResponse :: GetStackPolicyResponse Source
GetStackPolicyResponse
constructor.
The fields accessible through corresponding lenses are:
Response lenses
gsprStackPolicyBody :: 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.)