amazonka-config-2.0: Amazon Config SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Config.GetOrganizationCustomRulePolicy

Description

Returns the policy definition containing the logic for your organization Config Custom Policy rule.

Synopsis

Creating a Request

data GetOrganizationCustomRulePolicy Source #

See: newGetOrganizationCustomRulePolicy smart constructor.

Constructors

GetOrganizationCustomRulePolicy' 

Fields

Instances

Instances details
ToJSON GetOrganizationCustomRulePolicy Source # 
Instance details

Defined in Amazonka.Config.GetOrganizationCustomRulePolicy

ToHeaders GetOrganizationCustomRulePolicy Source # 
Instance details

Defined in Amazonka.Config.GetOrganizationCustomRulePolicy

ToPath GetOrganizationCustomRulePolicy Source # 
Instance details

Defined in Amazonka.Config.GetOrganizationCustomRulePolicy

ToQuery GetOrganizationCustomRulePolicy Source # 
Instance details

Defined in Amazonka.Config.GetOrganizationCustomRulePolicy

AWSRequest GetOrganizationCustomRulePolicy Source # 
Instance details

Defined in Amazonka.Config.GetOrganizationCustomRulePolicy

Generic GetOrganizationCustomRulePolicy Source # 
Instance details

Defined in Amazonka.Config.GetOrganizationCustomRulePolicy

Associated Types

type Rep GetOrganizationCustomRulePolicy :: Type -> Type #

Read GetOrganizationCustomRulePolicy Source # 
Instance details

Defined in Amazonka.Config.GetOrganizationCustomRulePolicy

Show GetOrganizationCustomRulePolicy Source # 
Instance details

Defined in Amazonka.Config.GetOrganizationCustomRulePolicy

NFData GetOrganizationCustomRulePolicy Source # 
Instance details

Defined in Amazonka.Config.GetOrganizationCustomRulePolicy

Eq GetOrganizationCustomRulePolicy Source # 
Instance details

Defined in Amazonka.Config.GetOrganizationCustomRulePolicy

Hashable GetOrganizationCustomRulePolicy Source # 
Instance details

Defined in Amazonka.Config.GetOrganizationCustomRulePolicy

type AWSResponse GetOrganizationCustomRulePolicy Source # 
Instance details

Defined in Amazonka.Config.GetOrganizationCustomRulePolicy

type Rep GetOrganizationCustomRulePolicy Source # 
Instance details

Defined in Amazonka.Config.GetOrganizationCustomRulePolicy

type Rep GetOrganizationCustomRulePolicy = D1 ('MetaData "GetOrganizationCustomRulePolicy" "Amazonka.Config.GetOrganizationCustomRulePolicy" "amazonka-config-2.0-7GF0fBbVw65uROwJwpcE3" 'False) (C1 ('MetaCons "GetOrganizationCustomRulePolicy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "organizationConfigRuleName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

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

Destructuring the Response

data GetOrganizationCustomRulePolicyResponse Source #

Constructors

GetOrganizationCustomRulePolicyResponse' 

Fields

  • policyText :: Maybe Text

    The policy definition containing the logic for your organization Config Custom Policy rule.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic GetOrganizationCustomRulePolicyResponse Source # 
Instance details

Defined in Amazonka.Config.GetOrganizationCustomRulePolicy

Read GetOrganizationCustomRulePolicyResponse Source # 
Instance details

Defined in Amazonka.Config.GetOrganizationCustomRulePolicy

Show GetOrganizationCustomRulePolicyResponse Source # 
Instance details

Defined in Amazonka.Config.GetOrganizationCustomRulePolicy

NFData GetOrganizationCustomRulePolicyResponse Source # 
Instance details

Defined in Amazonka.Config.GetOrganizationCustomRulePolicy

Eq GetOrganizationCustomRulePolicyResponse Source # 
Instance details

Defined in Amazonka.Config.GetOrganizationCustomRulePolicy

type Rep GetOrganizationCustomRulePolicyResponse Source # 
Instance details

Defined in Amazonka.Config.GetOrganizationCustomRulePolicy

type Rep GetOrganizationCustomRulePolicyResponse = D1 ('MetaData "GetOrganizationCustomRulePolicyResponse" "Amazonka.Config.GetOrganizationCustomRulePolicy" "amazonka-config-2.0-7GF0fBbVw65uROwJwpcE3" 'False) (C1 ('MetaCons "GetOrganizationCustomRulePolicyResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "policyText") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGetOrganizationCustomRulePolicyResponse Source #

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.