amazonka-ssm-1.6.0: Amazon Simple Systems Manager (SSM) 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.SSM.ListComplianceItems

Contents

Description

For a specified resource ID, this API action returns a list of compliance statuses for different resource types. Currently, you can only specify one resource ID per call. List results depend on the criteria specified in the filter.

Synopsis

Creating a Request

listComplianceItems :: ListComplianceItems Source #

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

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

  • lResourceIds - The ID for the resources from which to get compliance information. Currently, you can only specify one resource ID.
  • lFilters - One or more compliance filters. Use a filter to return a more specific list of results.
  • lNextToken - A token to start the list. Use this token to get the next set of results.
  • lMaxResults - The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.
  • lResourceTypes - The type of resource from which to get compliance information. Currently, the only supported resource type is ManagedInstance .

data ListComplianceItems Source #

See: listComplianceItems smart constructor.

Instances

Eq ListComplianceItems Source # 
Data ListComplianceItems Source # 

Methods

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

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

toConstr :: ListComplianceItems -> Constr #

dataTypeOf :: ListComplianceItems -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: ListComplianceItems -> () #

AWSRequest ListComplianceItems Source # 
ToHeaders ListComplianceItems Source # 
ToPath ListComplianceItems Source # 
ToQuery ListComplianceItems Source # 
type Rep ListComplianceItems Source # 
type Rep ListComplianceItems = D1 * (MetaData "ListComplianceItems" "Network.AWS.SSM.ListComplianceItems" "amazonka-ssm-1.6.0-FkXaKF9jjpY64HF15tLQlO" False) (C1 * (MetaCons "ListComplianceItems'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_lResourceIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe (List1 Text)))) (S1 * (MetaSel (Just Symbol "_lFilters") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [ComplianceStringFilter])))) ((:*:) * (S1 * (MetaSel (Just Symbol "_lNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_lMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Nat))) (S1 * (MetaSel (Just Symbol "_lResourceTypes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe (List1 Text))))))))
type Rs ListComplianceItems Source # 

Request Lenses

lResourceIds :: Lens' ListComplianceItems (Maybe (NonEmpty Text)) Source #

The ID for the resources from which to get compliance information. Currently, you can only specify one resource ID.

lFilters :: Lens' ListComplianceItems [ComplianceStringFilter] Source #

One or more compliance filters. Use a filter to return a more specific list of results.

lNextToken :: Lens' ListComplianceItems (Maybe Text) Source #

A token to start the list. Use this token to get the next set of results.

lMaxResults :: Lens' ListComplianceItems (Maybe Natural) Source #

The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.

lResourceTypes :: Lens' ListComplianceItems (Maybe (NonEmpty Text)) Source #

The type of resource from which to get compliance information. Currently, the only supported resource type is ManagedInstance .

Destructuring the Response

listComplianceItemsResponse Source #

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

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

data ListComplianceItemsResponse Source #

See: listComplianceItemsResponse smart constructor.

Instances

Eq ListComplianceItemsResponse Source # 
Data ListComplianceItemsResponse Source # 

Methods

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

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

toConstr :: ListComplianceItemsResponse -> Constr #

dataTypeOf :: ListComplianceItemsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListComplianceItemsResponse Source # 
Show ListComplianceItemsResponse Source # 
Generic ListComplianceItemsResponse Source # 
NFData ListComplianceItemsResponse Source # 
type Rep ListComplianceItemsResponse Source # 
type Rep ListComplianceItemsResponse = D1 * (MetaData "ListComplianceItemsResponse" "Network.AWS.SSM.ListComplianceItems" "amazonka-ssm-1.6.0-FkXaKF9jjpY64HF15tLQlO" False) (C1 * (MetaCons "ListComplianceItemsResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_lcirsComplianceItems") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [ComplianceItem]))) ((:*:) * (S1 * (MetaSel (Just Symbol "_lcirsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_lcirsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))

Response Lenses

lcirsComplianceItems :: Lens' ListComplianceItemsResponse [ComplianceItem] Source #

A list of compliance information for the specified resource ID.

lcirsNextToken :: Lens' ListComplianceItemsResponse (Maybe Text) Source #

The token for the next set of items to return. Use this token to get the next set of results.