| Copyright | (c) 2013-2018 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 |
| Language | Haskell2010 |
Network.AWS.WAF.GetPermissionPolicy
Description
Returns the IAM policy attached to the RuleGroup.
Synopsis
- getPermissionPolicy :: Text -> GetPermissionPolicy
- data GetPermissionPolicy
- gppResourceARN :: Lens' GetPermissionPolicy Text
- getPermissionPolicyResponse :: Int -> GetPermissionPolicyResponse
- data GetPermissionPolicyResponse
- gpprsPolicy :: Lens' GetPermissionPolicyResponse (Maybe Text)
- gpprsResponseStatus :: Lens' GetPermissionPolicyResponse Int
Creating a Request
Arguments
| :: Text | |
| -> GetPermissionPolicy |
Creates a value of GetPermissionPolicy with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gppResourceARN- The Amazon Resource Name (ARN) of the RuleGroup for which you want to get the policy.
data GetPermissionPolicy Source #
See: getPermissionPolicy smart constructor.
Instances
Request Lenses
gppResourceARN :: Lens' GetPermissionPolicy Text Source #
The Amazon Resource Name (ARN) of the RuleGroup for which you want to get the policy.
Destructuring the Response
getPermissionPolicyResponse Source #
Arguments
| :: Int | |
| -> GetPermissionPolicyResponse |
Creates a value of GetPermissionPolicyResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gpprsPolicy- The IAM policy attached to the specified RuleGroup.gpprsResponseStatus- -- | The response status code.
data GetPermissionPolicyResponse Source #
See: getPermissionPolicyResponse smart constructor.
Instances
Response Lenses
gpprsPolicy :: Lens' GetPermissionPolicyResponse (Maybe Text) Source #
The IAM policy attached to the specified RuleGroup.
gpprsResponseStatus :: Lens' GetPermissionPolicyResponse Int Source #
- - | The response status code.