libZSservicesZSamazonka-configZSamazonka-config
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Config.DescribeConfigRules

Description

Returns details about your Config rules.

This operation returns paginated results.

Synopsis

Creating a Request

data DescribeConfigRules Source #

See: newDescribeConfigRules smart constructor.

Constructors

DescribeConfigRules' 

Fields

  • configRuleNames :: Maybe [Text]

    The names of the Config rules for which you want details. If you do not specify any names, Config returns details for all your rules.

  • nextToken :: Maybe Text

    The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.

Instances

Instances details
Eq DescribeConfigRules Source # 
Instance details

Defined in Amazonka.Config.DescribeConfigRules

Read DescribeConfigRules Source # 
Instance details

Defined in Amazonka.Config.DescribeConfigRules

Show DescribeConfigRules Source # 
Instance details

Defined in Amazonka.Config.DescribeConfigRules

Generic DescribeConfigRules Source # 
Instance details

Defined in Amazonka.Config.DescribeConfigRules

Associated Types

type Rep DescribeConfigRules :: Type -> Type #

NFData DescribeConfigRules Source # 
Instance details

Defined in Amazonka.Config.DescribeConfigRules

Methods

rnf :: DescribeConfigRules -> () #

Hashable DescribeConfigRules Source # 
Instance details

Defined in Amazonka.Config.DescribeConfigRules

ToJSON DescribeConfigRules Source # 
Instance details

Defined in Amazonka.Config.DescribeConfigRules

AWSPager DescribeConfigRules Source # 
Instance details

Defined in Amazonka.Config.DescribeConfigRules

AWSRequest DescribeConfigRules Source # 
Instance details

Defined in Amazonka.Config.DescribeConfigRules

Associated Types

type AWSResponse DescribeConfigRules #

ToHeaders DescribeConfigRules Source # 
Instance details

Defined in Amazonka.Config.DescribeConfigRules

ToPath DescribeConfigRules Source # 
Instance details

Defined in Amazonka.Config.DescribeConfigRules

ToQuery DescribeConfigRules Source # 
Instance details

Defined in Amazonka.Config.DescribeConfigRules

type Rep DescribeConfigRules Source # 
Instance details

Defined in Amazonka.Config.DescribeConfigRules

type Rep DescribeConfigRules = D1 ('MetaData "DescribeConfigRules" "Amazonka.Config.DescribeConfigRules" "libZSservicesZSamazonka-configZSamazonka-config" 'False) (C1 ('MetaCons "DescribeConfigRules'" 'PrefixI 'True) (S1 ('MetaSel ('Just "configRuleNames") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))
type AWSResponse DescribeConfigRules Source # 
Instance details

Defined in Amazonka.Config.DescribeConfigRules

newDescribeConfigRules :: DescribeConfigRules Source #

Create a value of DescribeConfigRules 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:

$sel:configRuleNames:DescribeConfigRules', describeConfigRules_configRuleNames - The names of the Config rules for which you want details. If you do not specify any names, Config returns details for all your rules.

$sel:nextToken:DescribeConfigRules', describeConfigRules_nextToken - The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.

Request Lenses

describeConfigRules_configRuleNames :: Lens' DescribeConfigRules (Maybe [Text]) Source #

The names of the Config rules for which you want details. If you do not specify any names, Config returns details for all your rules.

describeConfigRules_nextToken :: Lens' DescribeConfigRules (Maybe Text) Source #

The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.

Destructuring the Response

data DescribeConfigRulesResponse Source #

See: newDescribeConfigRulesResponse smart constructor.

Constructors

DescribeConfigRulesResponse' 

Fields

Instances

Instances details
Eq DescribeConfigRulesResponse Source # 
Instance details

Defined in Amazonka.Config.DescribeConfigRules

Read DescribeConfigRulesResponse Source # 
Instance details

Defined in Amazonka.Config.DescribeConfigRules

Show DescribeConfigRulesResponse Source # 
Instance details

Defined in Amazonka.Config.DescribeConfigRules

Generic DescribeConfigRulesResponse Source # 
Instance details

Defined in Amazonka.Config.DescribeConfigRules

Associated Types

type Rep DescribeConfigRulesResponse :: Type -> Type #

NFData DescribeConfigRulesResponse Source # 
Instance details

Defined in Amazonka.Config.DescribeConfigRules

type Rep DescribeConfigRulesResponse Source # 
Instance details

Defined in Amazonka.Config.DescribeConfigRules

type Rep DescribeConfigRulesResponse = D1 ('MetaData "DescribeConfigRulesResponse" "Amazonka.Config.DescribeConfigRules" "libZSservicesZSamazonka-configZSamazonka-config" 'False) (C1 ('MetaCons "DescribeConfigRulesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "configRules") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ConfigRule])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newDescribeConfigRulesResponse Source #

Create a value of DescribeConfigRulesResponse 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:

$sel:configRules:DescribeConfigRulesResponse', describeConfigRulesResponse_configRules - The details about your Config rules.

$sel:nextToken:DescribeConfigRules', describeConfigRulesResponse_nextToken - The string that you use in a subsequent request to get the next page of results in a paginated response.

$sel:httpStatus:DescribeConfigRulesResponse', describeConfigRulesResponse_httpStatus - The response's http status code.

Response Lenses

describeConfigRulesResponse_nextToken :: Lens' DescribeConfigRulesResponse (Maybe Text) Source #

The string that you use in a subsequent request to get the next page of results in a paginated response.