amazonka-config-1.6.0: Amazon Config SDK.

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@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.

This operation returns paginated results.

Synopsis

Creating a Request

getComplianceDetailsByConfigRule #

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:

  • gcdbcrComplianceTypes - Filters the results by compliance. The allowed values are COMPLIANT , NON_COMPLIANT , and NOT_APPLICABLE .
  • gcdbcrNextToken - The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.
  • gcdbcrLimit - The maximum number of evaluation results returned on each page. The default is 10. You cannot specify a number greater than 100. If you specify 0, AWS Config uses the default.
  • gcdbcrConfigRuleName - The name of the AWS Config rule for which you want compliance information.

data GetComplianceDetailsByConfigRule #

See: getComplianceDetailsByConfigRule smart constructor.

Instances

Eq GetComplianceDetailsByConfigRule # 
Data GetComplianceDetailsByConfigRule # 

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 # 
Show GetComplianceDetailsByConfigRule # 
Generic GetComplianceDetailsByConfigRule # 
Hashable GetComplianceDetailsByConfigRule # 
ToJSON GetComplianceDetailsByConfigRule # 
NFData GetComplianceDetailsByConfigRule # 
AWSPager GetComplianceDetailsByConfigRule # 
AWSRequest GetComplianceDetailsByConfigRule # 
ToHeaders GetComplianceDetailsByConfigRule # 
ToPath GetComplianceDetailsByConfigRule # 
ToQuery GetComplianceDetailsByConfigRule # 
type Rep GetComplianceDetailsByConfigRule # 
type Rep GetComplianceDetailsByConfigRule = D1 * (MetaData "GetComplianceDetailsByConfigRule" "Network.AWS.Config.GetComplianceDetailsByConfigRule" "amazonka-config-1.6.0-BQWWAOBXDMaLRM4ns599nE" 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 # 

Request Lenses

gcdbcrComplianceTypes :: Lens' GetComplianceDetailsByConfigRule [ComplianceType] #

Filters the results by compliance. The allowed values are COMPLIANT , NON_COMPLIANT , and NOT_APPLICABLE .

gcdbcrNextToken :: Lens' GetComplianceDetailsByConfigRule (Maybe Text) #

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

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

gcdbcrConfigRuleName :: Lens' GetComplianceDetailsByConfigRule Text #

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

Destructuring the Response

getComplianceDetailsByConfigRuleResponse #

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 #

Instances

Eq GetComplianceDetailsByConfigRuleResponse # 
Data GetComplianceDetailsByConfigRuleResponse # 

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 # 
Show GetComplianceDetailsByConfigRuleResponse # 
Generic GetComplianceDetailsByConfigRuleResponse # 
NFData GetComplianceDetailsByConfigRuleResponse # 
type Rep GetComplianceDetailsByConfigRuleResponse # 
type Rep GetComplianceDetailsByConfigRuleResponse = D1 * (MetaData "GetComplianceDetailsByConfigRuleResponse" "Network.AWS.Config.GetComplianceDetailsByConfigRule" "amazonka-config-1.6.0-BQWWAOBXDMaLRM4ns599nE" 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] #

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

gcdbcrrsNextToken :: Lens' GetComplianceDetailsByConfigRuleResponse (Maybe Text) #

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