amazonka-config-1.4.2: 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.GetComplianceDetailsByConfigRule

Contents

Description

Returns the evaluation results for the specified AWS Config rule. The results indicate which AWS resources were evaluated by the rule, when each resource was last evaluated, and whether each resource complies with the rule.

Synopsis

Creating a Request

getComplianceDetailsByConfigRule Source #

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

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

data GetComplianceDetailsByConfigRule Source #

See: getComplianceDetailsByConfigRule smart constructor.

Instances

Eq GetComplianceDetailsByConfigRule Source # 
Data GetComplianceDetailsByConfigRule Source # 

Methods

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

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

toConstr :: GetComplianceDetailsByConfigRule -> Constr #

dataTypeOf :: GetComplianceDetailsByConfigRule -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetComplianceDetailsByConfigRule Source # 
Show GetComplianceDetailsByConfigRule Source # 
Generic GetComplianceDetailsByConfigRule Source # 
ToJSON GetComplianceDetailsByConfigRule Source # 
Hashable GetComplianceDetailsByConfigRule Source # 
NFData GetComplianceDetailsByConfigRule Source # 
AWSRequest GetComplianceDetailsByConfigRule Source # 
ToPath GetComplianceDetailsByConfigRule Source # 
ToHeaders GetComplianceDetailsByConfigRule Source # 
ToQuery GetComplianceDetailsByConfigRule Source # 
type Rep GetComplianceDetailsByConfigRule Source # 
type Rep GetComplianceDetailsByConfigRule = D1 (MetaData "GetComplianceDetailsByConfigRule" "Network.AWS.Config.GetComplianceDetailsByConfigRule" "amazonka-config-1.4.2-B6rHeIRozauEAaKRLBzyIl" False) (C1 (MetaCons "GetComplianceDetailsByConfigRule'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_gcdbcrComplianceTypes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [ComplianceType]))) (S1 (MetaSel (Just Symbol "_gcdbcrNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_gcdbcrLimit") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat))) (S1 (MetaSel (Just Symbol "_gcdbcrConfigRuleName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Rs GetComplianceDetailsByConfigRule Source # 

Request Lenses

gcdbcrComplianceTypes :: Lens' GetComplianceDetailsByConfigRule [ComplianceType] Source #

Filters the results by compliance.

The allowed values are COMPLIANT, NON_COMPLIANT, and NOT_APPLICABLE.

gcdbcrNextToken :: Lens' GetComplianceDetailsByConfigRule (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.

gcdbcrLimit :: Lens' GetComplianceDetailsByConfigRule (Maybe Natural) Source #

The maximum number of evaluation results returned on each page. The default is 10. You cannot specify a limit greater than 100. If you specify 0, AWS Config uses the default.

gcdbcrConfigRuleName :: Lens' GetComplianceDetailsByConfigRule Text Source #

The name of the AWS Config rule for which you want compliance information.

Destructuring the Response

getComplianceDetailsByConfigRuleResponse Source #

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

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

data GetComplianceDetailsByConfigRuleResponse Source #

Instances

Eq GetComplianceDetailsByConfigRuleResponse Source # 
Data GetComplianceDetailsByConfigRuleResponse Source # 

Methods

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

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

toConstr :: GetComplianceDetailsByConfigRuleResponse -> Constr #

dataTypeOf :: GetComplianceDetailsByConfigRuleResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetComplianceDetailsByConfigRuleResponse Source # 
Show GetComplianceDetailsByConfigRuleResponse Source # 
Generic GetComplianceDetailsByConfigRuleResponse Source # 
NFData GetComplianceDetailsByConfigRuleResponse Source # 
type Rep GetComplianceDetailsByConfigRuleResponse Source # 
type Rep GetComplianceDetailsByConfigRuleResponse = D1 (MetaData "GetComplianceDetailsByConfigRuleResponse" "Network.AWS.Config.GetComplianceDetailsByConfigRule" "amazonka-config-1.4.2-B6rHeIRozauEAaKRLBzyIl" False) (C1 (MetaCons "GetComplianceDetailsByConfigRuleResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_gcdbcrrsEvaluationResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [EvaluationResult]))) ((:*:) (S1 (MetaSel (Just Symbol "_gcdbcrrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_gcdbcrrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))))

Response Lenses

gcdbcrrsEvaluationResults :: Lens' GetComplianceDetailsByConfigRuleResponse [EvaluationResult] Source #

Indicates whether the AWS resource complies with the specified AWS Config rule.

gcdbcrrsNextToken :: Lens' GetComplianceDetailsByConfigRuleResponse (Maybe Text) Source #

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