Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Returns the policy definition containing the logic for your Config Custom Policy rule.
Synopsis
- data GetCustomRulePolicy = GetCustomRulePolicy' {}
- newGetCustomRulePolicy :: GetCustomRulePolicy
- getCustomRulePolicy_configRuleName :: Lens' GetCustomRulePolicy (Maybe Text)
- data GetCustomRulePolicyResponse = GetCustomRulePolicyResponse' {
- policyText :: Maybe Text
- httpStatus :: Int
- newGetCustomRulePolicyResponse :: Int -> GetCustomRulePolicyResponse
- getCustomRulePolicyResponse_policyText :: Lens' GetCustomRulePolicyResponse (Maybe Text)
- getCustomRulePolicyResponse_httpStatus :: Lens' GetCustomRulePolicyResponse Int
Creating a Request
data GetCustomRulePolicy Source #
See: newGetCustomRulePolicy
smart constructor.
GetCustomRulePolicy' | |
|
Instances
newGetCustomRulePolicy :: GetCustomRulePolicy Source #
Create a value of GetCustomRulePolicy
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:
GetCustomRulePolicy
, getCustomRulePolicy_configRuleName
- The name of your Config Custom Policy rule.
Request Lenses
getCustomRulePolicy_configRuleName :: Lens' GetCustomRulePolicy (Maybe Text) Source #
The name of your Config Custom Policy rule.
Destructuring the Response
data GetCustomRulePolicyResponse Source #
See: newGetCustomRulePolicyResponse
smart constructor.
GetCustomRulePolicyResponse' | |
|
Instances
newGetCustomRulePolicyResponse Source #
Create a value of GetCustomRulePolicyResponse
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:
GetCustomRulePolicyResponse
, getCustomRulePolicyResponse_policyText
- The policy definition containing the logic for your Config Custom Policy
rule.
$sel:httpStatus:GetCustomRulePolicyResponse'
, getCustomRulePolicyResponse_httpStatus
- The response's http status code.
Response Lenses
getCustomRulePolicyResponse_policyText :: Lens' GetCustomRulePolicyResponse (Maybe Text) Source #
The policy definition containing the logic for your Config Custom Policy rule.
getCustomRulePolicyResponse_httpStatus :: Lens' GetCustomRulePolicyResponse Int Source #
The response's http status code.