| 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 |
Amazonka.Config.GetOrganizationCustomRulePolicy
Description
Returns the policy definition containing the logic for your organization Config Custom Policy rule.
Synopsis
- data GetOrganizationCustomRulePolicy = GetOrganizationCustomRulePolicy' {}
- newGetOrganizationCustomRulePolicy :: Text -> GetOrganizationCustomRulePolicy
- getOrganizationCustomRulePolicy_organizationConfigRuleName :: Lens' GetOrganizationCustomRulePolicy Text
- data GetOrganizationCustomRulePolicyResponse = GetOrganizationCustomRulePolicyResponse' {
- policyText :: Maybe Text
- httpStatus :: Int
- newGetOrganizationCustomRulePolicyResponse :: Int -> GetOrganizationCustomRulePolicyResponse
- getOrganizationCustomRulePolicyResponse_policyText :: Lens' GetOrganizationCustomRulePolicyResponse (Maybe Text)
- getOrganizationCustomRulePolicyResponse_httpStatus :: Lens' GetOrganizationCustomRulePolicyResponse Int
Creating a Request
data GetOrganizationCustomRulePolicy Source #
See: newGetOrganizationCustomRulePolicy smart constructor.
Constructors
| GetOrganizationCustomRulePolicy' | |
Fields
| |
Instances
newGetOrganizationCustomRulePolicy Source #
Create a value of GetOrganizationCustomRulePolicy 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:
GetOrganizationCustomRulePolicy, getOrganizationCustomRulePolicy_organizationConfigRuleName - The name of your organization Config Custom Policy rule.
Request Lenses
getOrganizationCustomRulePolicy_organizationConfigRuleName :: Lens' GetOrganizationCustomRulePolicy Text Source #
The name of your organization Config Custom Policy rule.
Destructuring the Response
data GetOrganizationCustomRulePolicyResponse Source #
See: newGetOrganizationCustomRulePolicyResponse smart constructor.
Constructors
| GetOrganizationCustomRulePolicyResponse' | |
Fields
| |
Instances
newGetOrganizationCustomRulePolicyResponse Source #
Arguments
| :: Int | |
| -> GetOrganizationCustomRulePolicyResponse |
Create a value of GetOrganizationCustomRulePolicyResponse 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:
GetOrganizationCustomRulePolicyResponse, getOrganizationCustomRulePolicyResponse_policyText - The policy definition containing the logic for your organization Config
Custom Policy rule.
$sel:httpStatus:GetOrganizationCustomRulePolicyResponse', getOrganizationCustomRulePolicyResponse_httpStatus - The response's http status code.
Response Lenses
getOrganizationCustomRulePolicyResponse_policyText :: Lens' GetOrganizationCustomRulePolicyResponse (Maybe Text) Source #
The policy definition containing the logic for your organization Config Custom Policy rule.
getOrganizationCustomRulePolicyResponse_httpStatus :: Lens' GetOrganizationCustomRulePolicyResponse Int Source #
The response's http status code.