amazonka-fms-1.6.0: Amazon Firewall Management Service 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.FMS.GetComplianceDetail

Contents

Description

Returns detailed compliance information about the specified member account. Details include resources that are in and out of compliance with the specified policy. Resources are considered non-compliant if the specified policy has not been applied to them.

Synopsis

Creating a Request

getComplianceDetail Source #

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

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

  • gcdPolicyId - The ID of the policy that you want to get the details for. PolicyId is returned by PutPolicy and by ListPolicies .
  • gcdMemberAccount - The AWS account that owns the resources that you want to get the details for.

data GetComplianceDetail Source #

See: getComplianceDetail smart constructor.

Instances

Eq GetComplianceDetail Source # 
Data GetComplianceDetail Source # 

Methods

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

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

toConstr :: GetComplianceDetail -> Constr #

dataTypeOf :: GetComplianceDetail -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: GetComplianceDetail -> () #

AWSRequest GetComplianceDetail Source # 
ToHeaders GetComplianceDetail Source # 
ToPath GetComplianceDetail Source # 
ToQuery GetComplianceDetail Source # 
type Rep GetComplianceDetail Source # 
type Rep GetComplianceDetail = D1 * (MetaData "GetComplianceDetail" "Network.AWS.FMS.GetComplianceDetail" "amazonka-fms-1.6.0-LeoW8RIt9JY546wb6d63QL" False) (C1 * (MetaCons "GetComplianceDetail'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_gcdPolicyId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_gcdMemberAccount") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text))))
type Rs GetComplianceDetail Source # 

Request Lenses

gcdPolicyId :: Lens' GetComplianceDetail Text Source #

The ID of the policy that you want to get the details for. PolicyId is returned by PutPolicy and by ListPolicies .

gcdMemberAccount :: Lens' GetComplianceDetail Text Source #

The AWS account that owns the resources that you want to get the details for.

Destructuring the Response

getComplianceDetailResponse Source #

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

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

data GetComplianceDetailResponse Source #

See: getComplianceDetailResponse smart constructor.

Instances

Eq GetComplianceDetailResponse Source # 
Data GetComplianceDetailResponse Source # 

Methods

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

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

toConstr :: GetComplianceDetailResponse -> Constr #

dataTypeOf :: GetComplianceDetailResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetComplianceDetailResponse Source # 
Show GetComplianceDetailResponse Source # 
Generic GetComplianceDetailResponse Source # 
NFData GetComplianceDetailResponse Source # 
type Rep GetComplianceDetailResponse Source # 
type Rep GetComplianceDetailResponse = D1 * (MetaData "GetComplianceDetailResponse" "Network.AWS.FMS.GetComplianceDetail" "amazonka-fms-1.6.0-LeoW8RIt9JY546wb6d63QL" False) (C1 * (MetaCons "GetComplianceDetailResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_gcdrsPolicyComplianceDetail") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe PolicyComplianceDetail))) (S1 * (MetaSel (Just Symbol "_gcdrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))

Response Lenses

gcdrsPolicyComplianceDetail :: Lens' GetComplianceDetailResponse (Maybe PolicyComplianceDetail) Source #

Information about the resources and the policy that you specified in the GetComplianceDetail request.