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

Contents

Description

Describes one or more of your SSM documents.

This operation returns paginated results.

Synopsis

Creating a Request

listDocuments :: ListDocuments Source #

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

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

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

See: listDocuments smart constructor.

Instances

Eq ListDocuments Source # 
Data ListDocuments Source # 

Methods

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

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

toConstr :: ListDocuments -> Constr #

dataTypeOf :: ListDocuments -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListDocuments Source # 
Show ListDocuments Source # 
Generic ListDocuments Source # 

Associated Types

type Rep ListDocuments :: * -> * #

Hashable ListDocuments Source # 
ToJSON ListDocuments Source # 
NFData ListDocuments Source # 

Methods

rnf :: ListDocuments -> () #

AWSPager ListDocuments Source # 
AWSRequest ListDocuments Source # 
ToPath ListDocuments Source # 
ToHeaders ListDocuments Source # 
ToQuery ListDocuments Source # 
type Rep ListDocuments Source # 
type Rep ListDocuments = D1 (MetaData "ListDocuments" "Network.AWS.SSM.ListDocuments" "amazonka-ssm-1.4.5-B1a5iPTYqlbHaMCHVQ4GNL" False) (C1 (MetaCons "ListDocuments'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ldDocumentFilterList") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (List1 DocumentFilter)))) ((:*:) (S1 (MetaSel (Just Symbol "_ldNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_ldMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat))))))
type Rs ListDocuments Source # 

Request Lenses

ldDocumentFilterList :: Lens' ListDocuments (Maybe (NonEmpty DocumentFilter)) Source #

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

ldNextToken :: Lens' ListDocuments (Maybe Text) Source #

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

ldMaxResults :: Lens' ListDocuments (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

listDocumentsResponse Source #

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

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

data ListDocumentsResponse Source #

See: listDocumentsResponse smart constructor.

Instances

Eq ListDocumentsResponse Source # 
Data ListDocumentsResponse Source # 

Methods

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

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

toConstr :: ListDocumentsResponse -> Constr #

dataTypeOf :: ListDocumentsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListDocumentsResponse Source # 
Show ListDocumentsResponse Source # 
Generic ListDocumentsResponse Source # 
NFData ListDocumentsResponse Source # 

Methods

rnf :: ListDocumentsResponse -> () #

type Rep ListDocumentsResponse Source # 
type Rep ListDocumentsResponse = D1 (MetaData "ListDocumentsResponse" "Network.AWS.SSM.ListDocuments" "amazonka-ssm-1.4.5-B1a5iPTYqlbHaMCHVQ4GNL" False) (C1 (MetaCons "ListDocumentsResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ldrsDocumentIdentifiers") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [DocumentIdentifier]))) ((:*:) (S1 (MetaSel (Just Symbol "_ldrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_ldrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)))))

Response Lenses

ldrsNextToken :: Lens' ListDocumentsResponse (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.

ldrsResponseStatus :: Lens' ListDocumentsResponse Int Source #

  • - | The response status code.