amazonka-config-1.3.3.1: Amazon Config SDK.

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

Network.AWS.Config.DescribeConfigRules

Contents

Description

Returns details about your AWS Config rules.

See: AWS API Reference for DescribeConfigRules.

Synopsis

Creating a Request

describeConfigRules :: DescribeConfigRules Source

Creates a value of DescribeConfigRules with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

dcrConfigRuleNames :: Lens' DescribeConfigRules [Text] Source

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

dcrNextToken :: 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

describeConfigRulesResponse Source

Creates a value of DescribeConfigRulesResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Response Lenses

dcrrsConfigRules :: Lens' DescribeConfigRulesResponse [ConfigRule] Source

The details about your AWS Config rules.

dcrrsNextToken :: 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.