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

Contents

Description

Lists the associations for the specified Systems Manager document or instance.

This operation returns paginated results.

Synopsis

Creating a Request

listAssociations :: ListAssociations Source #

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

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

  • laAssociationFilterList - One or more filters. Use a filter to return a more specific list of results.
  • laNextToken - The token for the next set of items to return. (You received this token from a previous call.)
  • laMaxResults - 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.

data ListAssociations Source #

See: listAssociations smart constructor.

Instances

Eq ListAssociations Source # 
Data ListAssociations Source # 

Methods

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

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

toConstr :: ListAssociations -> Constr #

dataTypeOf :: ListAssociations -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: ListAssociations -> () #

AWSPager ListAssociations Source # 
AWSRequest ListAssociations Source # 
ToHeaders ListAssociations Source # 
ToPath ListAssociations Source # 
ToQuery ListAssociations Source # 
type Rep ListAssociations Source # 
type Rep ListAssociations = D1 * (MetaData "ListAssociations" "Network.AWS.SSM.ListAssociations" "amazonka-ssm-1.6.0-FkXaKF9jjpY64HF15tLQlO" False) (C1 * (MetaCons "ListAssociations'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_laAssociationFilterList") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe (List1 AssociationFilter)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_laNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_laMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Nat))))))
type Rs ListAssociations Source # 

Request Lenses

laAssociationFilterList :: Lens' ListAssociations (Maybe (NonEmpty AssociationFilter)) Source #

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

laNextToken :: Lens' ListAssociations (Maybe Text) Source #

The token for the next set of items to return. (You received this token from a previous call.)

laMaxResults :: Lens' ListAssociations (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.

Destructuring the Response

listAssociationsResponse Source #

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

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

data ListAssociationsResponse Source #

See: listAssociationsResponse smart constructor.

Instances

Eq ListAssociationsResponse Source # 
Data ListAssociationsResponse Source # 

Methods

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

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

toConstr :: ListAssociationsResponse -> Constr #

dataTypeOf :: ListAssociationsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListAssociationsResponse Source # 
Show ListAssociationsResponse Source # 
Generic ListAssociationsResponse Source # 
NFData ListAssociationsResponse Source # 
type Rep ListAssociationsResponse Source # 
type Rep ListAssociationsResponse = D1 * (MetaData "ListAssociationsResponse" "Network.AWS.SSM.ListAssociations" "amazonka-ssm-1.6.0-FkXaKF9jjpY64HF15tLQlO" False) (C1 * (MetaCons "ListAssociationsResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_larsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_larsAssociations") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [Association]))) (S1 * (MetaSel (Just Symbol "_larsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))

Response Lenses

larsNextToken :: Lens' ListAssociationsResponse (Maybe Text) Source #

The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.