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.GetComplianceDetailsByResource

Contents

Description

Returns the evaluation results for the specified AWS resource. The results indicate which AWS Config rules were used to evaluate the resource, when each rule was last used, and whether the resource complies with each rule.

Synopsis

Creating a Request

getComplianceDetailsByResource #

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

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

  • gcdbrComplianceTypes - Filters the results by compliance. The allowed values are COMPLIANT , NON_COMPLIANT , and NOT_APPLICABLE .
  • gcdbrNextToken - The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.
  • gcdbrResourceType - The type of the AWS resource for which you want compliance information.
  • gcdbrResourceId - The ID of the AWS resource for which you want compliance information.

data GetComplianceDetailsByResource #

See: getComplianceDetailsByResource smart constructor.

Instances

Eq GetComplianceDetailsByResource # 
Data GetComplianceDetailsByResource # 

Methods

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

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

toConstr :: GetComplianceDetailsByResource -> Constr #

dataTypeOf :: GetComplianceDetailsByResource -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetComplianceDetailsByResource # 
Show GetComplianceDetailsByResource # 
Generic GetComplianceDetailsByResource # 
Hashable GetComplianceDetailsByResource # 
ToJSON GetComplianceDetailsByResource # 
NFData GetComplianceDetailsByResource # 
AWSRequest GetComplianceDetailsByResource # 
ToQuery GetComplianceDetailsByResource # 
ToPath GetComplianceDetailsByResource # 
ToHeaders GetComplianceDetailsByResource # 
type Rep GetComplianceDetailsByResource # 
type Rep GetComplianceDetailsByResource = D1 (MetaData "GetComplianceDetailsByResource" "Network.AWS.Config.GetComplianceDetailsByResource" "amazonka-config-1.4.5-6okYkGmQ3l6FTRqeDLduhb" False) (C1 (MetaCons "GetComplianceDetailsByResource'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_gcdbrComplianceTypes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [ComplianceType]))) (S1 (MetaSel (Just Symbol "_gcdbrNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_gcdbrResourceType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_gcdbrResourceId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Rs GetComplianceDetailsByResource # 

Request Lenses

gcdbrComplianceTypes :: Lens' GetComplianceDetailsByResource [ComplianceType] #

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

gcdbrNextToken :: Lens' GetComplianceDetailsByResource (Maybe Text) #

The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.

gcdbrResourceType :: Lens' GetComplianceDetailsByResource Text #

The type of the AWS resource for which you want compliance information.

gcdbrResourceId :: Lens' GetComplianceDetailsByResource Text #

The ID of the AWS resource for which you want compliance information.

Destructuring the Response

getComplianceDetailsByResourceResponse #

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

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

data GetComplianceDetailsByResourceResponse #

Instances

Eq GetComplianceDetailsByResourceResponse # 
Data GetComplianceDetailsByResourceResponse # 

Methods

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

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

toConstr :: GetComplianceDetailsByResourceResponse -> Constr #

dataTypeOf :: GetComplianceDetailsByResourceResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetComplianceDetailsByResourceResponse # 
Show GetComplianceDetailsByResourceResponse # 
Generic GetComplianceDetailsByResourceResponse # 
NFData GetComplianceDetailsByResourceResponse # 
type Rep GetComplianceDetailsByResourceResponse # 
type Rep GetComplianceDetailsByResourceResponse = D1 (MetaData "GetComplianceDetailsByResourceResponse" "Network.AWS.Config.GetComplianceDetailsByResource" "amazonka-config-1.4.5-6okYkGmQ3l6FTRqeDLduhb" False) (C1 (MetaCons "GetComplianceDetailsByResourceResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_gcdbrrsEvaluationResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [EvaluationResult]))) ((:*:) (S1 (MetaSel (Just Symbol "_gcdbrrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_gcdbrrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)))))

Response Lenses

gcdbrrsEvaluationResults :: Lens' GetComplianceDetailsByResourceResponse [EvaluationResult] #

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

gcdbrrsNextToken :: Lens' GetComplianceDetailsByResourceResponse (Maybe Text) #

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