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

Contents

Description

Retrieves all versions of an association for a specific association ID.

Synopsis

Creating a Request

listAssociationVersions Source #

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

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

  • lavNextToken - A token to start the list. Use this token to get the next set of results.
  • lavMaxResults - 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.
  • lavAssociationId - The association ID for which you want to view all versions.

data ListAssociationVersions Source #

See: listAssociationVersions smart constructor.

Instances

Eq ListAssociationVersions Source # 
Data ListAssociationVersions Source # 

Methods

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

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

toConstr :: ListAssociationVersions -> Constr #

dataTypeOf :: ListAssociationVersions -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: ListAssociationVersions -> () #

AWSRequest ListAssociationVersions Source # 
ToHeaders ListAssociationVersions Source # 
ToPath ListAssociationVersions Source # 
ToQuery ListAssociationVersions Source # 
type Rep ListAssociationVersions Source # 
type Rep ListAssociationVersions = D1 * (MetaData "ListAssociationVersions" "Network.AWS.SSM.ListAssociationVersions" "amazonka-ssm-1.6.0-FkXaKF9jjpY64HF15tLQlO" False) (C1 * (MetaCons "ListAssociationVersions'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_lavNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_lavMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Nat))) (S1 * (MetaSel (Just Symbol "_lavAssociationId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)))))
type Rs ListAssociationVersions Source # 

Request Lenses

lavNextToken :: Lens' ListAssociationVersions (Maybe Text) Source #

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

lavMaxResults :: Lens' ListAssociationVersions (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.

lavAssociationId :: Lens' ListAssociationVersions Text Source #

The association ID for which you want to view all versions.

Destructuring the Response

listAssociationVersionsResponse Source #

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

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

data ListAssociationVersionsResponse Source #

See: listAssociationVersionsResponse smart constructor.

Instances

Eq ListAssociationVersionsResponse Source # 
Data ListAssociationVersionsResponse Source # 

Methods

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

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

toConstr :: ListAssociationVersionsResponse -> Constr #

dataTypeOf :: ListAssociationVersionsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListAssociationVersionsResponse Source # 
Show ListAssociationVersionsResponse Source # 
Generic ListAssociationVersionsResponse Source # 
NFData ListAssociationVersionsResponse Source # 
type Rep ListAssociationVersionsResponse Source # 
type Rep ListAssociationVersionsResponse = D1 * (MetaData "ListAssociationVersionsResponse" "Network.AWS.SSM.ListAssociationVersions" "amazonka-ssm-1.6.0-FkXaKF9jjpY64HF15tLQlO" False) (C1 * (MetaCons "ListAssociationVersionsResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_lavrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_lavrsAssociationVersions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe (List1 AssociationVersionInfo)))) (S1 * (MetaSel (Just Symbol "_lavrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))

Response Lenses

lavrsNextToken :: Lens' ListAssociationVersionsResponse (Maybe Text) Source #

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

lavrsAssociationVersions :: Lens' ListAssociationVersionsResponse (Maybe (NonEmpty AssociationVersionInfo)) Source #

Information about all versions of the association for the specified association ID.