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.GetCustomRulePolicy

Description

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

Synopsis

Creating a Request

data GetCustomRulePolicy Source #

See: newGetCustomRulePolicy smart constructor.

Constructors

GetCustomRulePolicy' 

Fields

Instances

Instances details
ToJSON GetCustomRulePolicy Source # 
Instance details

Defined in Amazonka.Config.GetCustomRulePolicy

ToHeaders GetCustomRulePolicy Source # 
Instance details

Defined in Amazonka.Config.GetCustomRulePolicy

ToPath GetCustomRulePolicy Source # 
Instance details

Defined in Amazonka.Config.GetCustomRulePolicy

ToQuery GetCustomRulePolicy Source # 
Instance details

Defined in Amazonka.Config.GetCustomRulePolicy

AWSRequest GetCustomRulePolicy Source # 
Instance details

Defined in Amazonka.Config.GetCustomRulePolicy

Associated Types

type AWSResponse GetCustomRulePolicy #

Generic GetCustomRulePolicy Source # 
Instance details

Defined in Amazonka.Config.GetCustomRulePolicy

Associated Types

type Rep GetCustomRulePolicy :: Type -> Type #

Read GetCustomRulePolicy Source # 
Instance details

Defined in Amazonka.Config.GetCustomRulePolicy

Show GetCustomRulePolicy Source # 
Instance details

Defined in Amazonka.Config.GetCustomRulePolicy

NFData GetCustomRulePolicy Source # 
Instance details

Defined in Amazonka.Config.GetCustomRulePolicy

Methods

rnf :: GetCustomRulePolicy -> () #

Eq GetCustomRulePolicy Source # 
Instance details

Defined in Amazonka.Config.GetCustomRulePolicy

Hashable GetCustomRulePolicy Source # 
Instance details

Defined in Amazonka.Config.GetCustomRulePolicy

type AWSResponse GetCustomRulePolicy Source # 
Instance details

Defined in Amazonka.Config.GetCustomRulePolicy

type Rep GetCustomRulePolicy Source # 
Instance details

Defined in Amazonka.Config.GetCustomRulePolicy

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

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.

Constructors

GetCustomRulePolicyResponse' 

Fields

Instances

Instances details
Generic GetCustomRulePolicyResponse Source # 
Instance details

Defined in Amazonka.Config.GetCustomRulePolicy

Associated Types

type Rep GetCustomRulePolicyResponse :: Type -> Type #

Read GetCustomRulePolicyResponse Source # 
Instance details

Defined in Amazonka.Config.GetCustomRulePolicy

Show GetCustomRulePolicyResponse Source # 
Instance details

Defined in Amazonka.Config.GetCustomRulePolicy

NFData GetCustomRulePolicyResponse Source # 
Instance details

Defined in Amazonka.Config.GetCustomRulePolicy

Eq GetCustomRulePolicyResponse Source # 
Instance details

Defined in Amazonka.Config.GetCustomRulePolicy

type Rep GetCustomRulePolicyResponse Source # 
Instance details

Defined in Amazonka.Config.GetCustomRulePolicy

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

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.