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 #

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 #

See: describeConfigRules smart constructor.

Instances

Eq DescribeConfigRules # 
Data DescribeConfigRules # 

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 # 
Show DescribeConfigRules # 
Generic DescribeConfigRules # 
Hashable DescribeConfigRules # 
ToJSON DescribeConfigRules # 
NFData DescribeConfigRules # 

Methods

rnf :: DescribeConfigRules -> () #

AWSRequest DescribeConfigRules # 
ToQuery DescribeConfigRules # 
ToPath DescribeConfigRules # 
ToHeaders DescribeConfigRules # 
type Rep DescribeConfigRules # 
type Rep DescribeConfigRules = D1 (MetaData "DescribeConfigRules" "Network.AWS.Config.DescribeConfigRules" "amazonka-config-1.4.5-6okYkGmQ3l6FTRqeDLduhb" 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 # 

Request Lenses

dcrConfigRuleNames :: Lens' DescribeConfigRules [Text] #

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) #

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 #

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 #

See: describeConfigRulesResponse smart constructor.

Instances

Eq DescribeConfigRulesResponse # 
Data DescribeConfigRulesResponse # 

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 # 
Show DescribeConfigRulesResponse # 
Generic DescribeConfigRulesResponse # 
NFData DescribeConfigRulesResponse # 
type Rep DescribeConfigRulesResponse # 
type Rep DescribeConfigRulesResponse = D1 (MetaData "DescribeConfigRulesResponse" "Network.AWS.Config.DescribeConfigRules" "amazonka-config-1.4.5-6okYkGmQ3l6FTRqeDLduhb" 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] #

The details about your AWS Config rules.

dcrrsNextToken :: Lens' DescribeConfigRulesResponse (Maybe Text) #

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