amazonka-config-1.4.5: Amazon Config SDK.

Copyright(c) 2013-2016 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.

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:

  • dcrConfigRuleNames - 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 - The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.

data DescribeConfigRules Source #

See: describeConfigRules smart constructor.

Instances

Eq DescribeConfigRules Source # 
Data DescribeConfigRules Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DescribeConfigRules -> c DescribeConfigRules #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DescribeConfigRules #

toConstr :: DescribeConfigRules -> Constr #

dataTypeOf :: DescribeConfigRules -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DescribeConfigRules) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DescribeConfigRules) #

gmapT :: (forall b. Data b => b -> b) -> DescribeConfigRules -> DescribeConfigRules #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DescribeConfigRules -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DescribeConfigRules -> r #

gmapQ :: (forall d. Data d => d -> u) -> DescribeConfigRules -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DescribeConfigRules -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DescribeConfigRules -> m DescribeConfigRules #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeConfigRules -> m DescribeConfigRules #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeConfigRules -> m DescribeConfigRules #

Read DescribeConfigRules Source # 
Show DescribeConfigRules Source # 
Generic DescribeConfigRules Source # 
Hashable DescribeConfigRules Source # 
ToJSON DescribeConfigRules Source # 
NFData DescribeConfigRules Source # 

Methods

rnf :: DescribeConfigRules -> () #

AWSRequest DescribeConfigRules Source # 
ToPath DescribeConfigRules Source # 
ToHeaders DescribeConfigRules Source # 
ToQuery DescribeConfigRules Source # 
type Rep DescribeConfigRules Source # 
type Rep DescribeConfigRules = D1 (MetaData "DescribeConfigRules" "Network.AWS.Config.DescribeConfigRules" "amazonka-config-1.4.5-4BEmfDxyecaImBS3zasUBg" False) (C1 (MetaCons "DescribeConfigRules'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dcrConfigRuleNames") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) (S1 (MetaSel (Just Symbol "_dcrNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))
type Rs DescribeConfigRules Source # 

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:

data DescribeConfigRulesResponse Source #

See: describeConfigRulesResponse smart constructor.

Instances

Eq DescribeConfigRulesResponse Source # 
Data DescribeConfigRulesResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DescribeConfigRulesResponse -> c DescribeConfigRulesResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DescribeConfigRulesResponse #

toConstr :: DescribeConfigRulesResponse -> Constr #

dataTypeOf :: DescribeConfigRulesResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DescribeConfigRulesResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DescribeConfigRulesResponse) #

gmapT :: (forall b. Data b => b -> b) -> DescribeConfigRulesResponse -> DescribeConfigRulesResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DescribeConfigRulesResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DescribeConfigRulesResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> DescribeConfigRulesResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DescribeConfigRulesResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DescribeConfigRulesResponse -> m DescribeConfigRulesResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeConfigRulesResponse -> m DescribeConfigRulesResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeConfigRulesResponse -> m DescribeConfigRulesResponse #

Read DescribeConfigRulesResponse Source # 
Show DescribeConfigRulesResponse Source # 
Generic DescribeConfigRulesResponse Source # 
NFData DescribeConfigRulesResponse Source # 
type Rep DescribeConfigRulesResponse Source # 
type Rep DescribeConfigRulesResponse = D1 (MetaData "DescribeConfigRulesResponse" "Network.AWS.Config.DescribeConfigRules" "amazonka-config-1.4.5-4BEmfDxyecaImBS3zasUBg" False) (C1 (MetaCons "DescribeConfigRulesResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dcrrsConfigRules") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [ConfigRule]))) ((:*:) (S1 (MetaSel (Just Symbol "_dcrrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_dcrrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)))))

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.