amazonka-ssm-1.5.0: Amazon Simple Systems Manager (SSM) SDK.

Copyright(c) 2013-2017 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.ListResourceDataSync

Contents

Description

Lists your resource data sync configurations. Includes information about the last time a sync attempted to start, the last sync status, and the last time a sync successfully completed.

The number of sync configurations might be too large to return using a single call to ListResourceDataSync . You can limit the number of sync configurations returned by using the MaxResults parameter. To determine whether there are more sync configurations to list, check the value of NextToken in the output. If there are more sync configurations to list, you can request them by specifying the NextToken returned in the call to the parameter of a subsequent call.

Synopsis

Creating a Request

listResourceDataSync :: ListResourceDataSync Source #

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

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

  • lrdsNextToken - A token to start the list. Use this token to get the next set of results.
  • lrdsMaxResults - 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 ListResourceDataSync Source #

See: listResourceDataSync smart constructor.

Instances

Eq ListResourceDataSync Source # 
Data ListResourceDataSync Source # 

Methods

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

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

toConstr :: ListResourceDataSync -> Constr #

dataTypeOf :: ListResourceDataSync -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: ListResourceDataSync -> () #

AWSRequest ListResourceDataSync Source # 
ToQuery ListResourceDataSync Source # 
ToPath ListResourceDataSync Source # 
ToHeaders ListResourceDataSync Source # 
type Rep ListResourceDataSync Source # 
type Rep ListResourceDataSync = D1 (MetaData "ListResourceDataSync" "Network.AWS.SSM.ListResourceDataSync" "amazonka-ssm-1.5.0-7otWUS4XVRaHT5J0sMcEDs" False) (C1 (MetaCons "ListResourceDataSync'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_lrdsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_lrdsMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat)))))
type Rs ListResourceDataSync Source # 

Request Lenses

lrdsNextToken :: Lens' ListResourceDataSync (Maybe Text) Source #

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

lrdsMaxResults :: Lens' ListResourceDataSync (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

listResourceDataSyncResponse Source #

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

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

data ListResourceDataSyncResponse Source #

See: listResourceDataSyncResponse smart constructor.

Instances

Eq ListResourceDataSyncResponse Source # 
Data ListResourceDataSyncResponse Source # 

Methods

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

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

toConstr :: ListResourceDataSyncResponse -> Constr #

dataTypeOf :: ListResourceDataSyncResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListResourceDataSyncResponse Source # 
Show ListResourceDataSyncResponse Source # 
Generic ListResourceDataSyncResponse Source # 
NFData ListResourceDataSyncResponse Source # 
type Rep ListResourceDataSyncResponse Source # 
type Rep ListResourceDataSyncResponse = D1 (MetaData "ListResourceDataSyncResponse" "Network.AWS.SSM.ListResourceDataSync" "amazonka-ssm-1.5.0-7otWUS4XVRaHT5J0sMcEDs" False) (C1 (MetaCons "ListResourceDataSyncResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_lrdsrsResourceDataSyncItems") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [ResourceDataSyncItem]))) ((:*:) (S1 (MetaSel (Just Symbol "_lrdsrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_lrdsrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))))

Response Lenses

lrdsrsResourceDataSyncItems :: Lens' ListResourceDataSyncResponse [ResourceDataSyncItem] Source #

A list of your current Resource Data Sync configurations and their statuses.

lrdsrsNextToken :: Lens' ListResourceDataSyncResponse (Maybe Text) Source #

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