amazonka-fms-1.6.1: 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 # 
Instance details

Defined in Network.AWS.FMS.GetComplianceDetail

Data GetComplianceDetail Source # 
Instance details

Defined in Network.AWS.FMS.GetComplianceDetail

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 # 
Instance details

Defined in Network.AWS.FMS.GetComplianceDetail

Show GetComplianceDetail Source # 
Instance details

Defined in Network.AWS.FMS.GetComplianceDetail

Generic GetComplianceDetail Source # 
Instance details

Defined in Network.AWS.FMS.GetComplianceDetail

Associated Types

type Rep GetComplianceDetail :: Type -> Type #

Hashable GetComplianceDetail Source # 
Instance details

Defined in Network.AWS.FMS.GetComplianceDetail

ToJSON GetComplianceDetail Source # 
Instance details

Defined in Network.AWS.FMS.GetComplianceDetail

AWSRequest GetComplianceDetail Source # 
Instance details

Defined in Network.AWS.FMS.GetComplianceDetail

Associated Types

type Rs GetComplianceDetail :: Type #

ToHeaders GetComplianceDetail Source # 
Instance details

Defined in Network.AWS.FMS.GetComplianceDetail

ToPath GetComplianceDetail Source # 
Instance details

Defined in Network.AWS.FMS.GetComplianceDetail

ToQuery GetComplianceDetail Source # 
Instance details

Defined in Network.AWS.FMS.GetComplianceDetail

NFData GetComplianceDetail Source # 
Instance details

Defined in Network.AWS.FMS.GetComplianceDetail

Methods

rnf :: GetComplianceDetail -> () #

type Rep GetComplianceDetail Source # 
Instance details

Defined in Network.AWS.FMS.GetComplianceDetail

type Rep GetComplianceDetail = D1 (MetaData "GetComplianceDetail" "Network.AWS.FMS.GetComplianceDetail" "amazonka-fms-1.6.1-Jqf0mlmXXTcC8Iu5gYWu1a" False) (C1 (MetaCons "GetComplianceDetail'" PrefixI True) (S1 (MetaSel (Just "_gcdPolicyId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_gcdMemberAccount") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Rs GetComplianceDetail Source # 
Instance details

Defined in Network.AWS.FMS.GetComplianceDetail

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 # 
Instance details

Defined in Network.AWS.FMS.GetComplianceDetail

Data GetComplianceDetailResponse Source # 
Instance details

Defined in Network.AWS.FMS.GetComplianceDetail

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 # 
Instance details

Defined in Network.AWS.FMS.GetComplianceDetail

Show GetComplianceDetailResponse Source # 
Instance details

Defined in Network.AWS.FMS.GetComplianceDetail

Generic GetComplianceDetailResponse Source # 
Instance details

Defined in Network.AWS.FMS.GetComplianceDetail

Associated Types

type Rep GetComplianceDetailResponse :: Type -> Type #

NFData GetComplianceDetailResponse Source # 
Instance details

Defined in Network.AWS.FMS.GetComplianceDetail

type Rep GetComplianceDetailResponse Source # 
Instance details

Defined in Network.AWS.FMS.GetComplianceDetail

type Rep GetComplianceDetailResponse = D1 (MetaData "GetComplianceDetailResponse" "Network.AWS.FMS.GetComplianceDetail" "amazonka-fms-1.6.1-Jqf0mlmXXTcC8Iu5gYWu1a" False) (C1 (MetaCons "GetComplianceDetailResponse'" PrefixI True) (S1 (MetaSel (Just "_gcdrsPolicyComplianceDetail") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe PolicyComplianceDetail)) :*: S1 (MetaSel (Just "_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.