| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Network.AWS.CloudFormation.GetStackPolicy
Description
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
- data GetStackPolicy
- getStackPolicy :: Text -> GetStackPolicy
- gspStackName :: Lens' GetStackPolicy Text
- data GetStackPolicyResponse
- getStackPolicyResponse :: GetStackPolicyResponse
- gsprStackPolicyBody :: Lens' GetStackPolicyResponse (Maybe Text)
Request
data GetStackPolicy Source
Instances
| 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
Arguments
| :: Text | |
| -> GetStackPolicy |
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:
gsprStackPolicyBody::MaybeText
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.)