amazonka-ssm-1.6.1: 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.ListDocumentVersions

Contents

Description

List all versions for a document.

Synopsis

Creating a Request

listDocumentVersions Source #

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

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

  • ldvNextToken - The token for the next set of items to return. (You received this token from a previous call.)
  • ldvMaxResults - 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.
  • ldvName - The name of the document about which you want version information.

data ListDocumentVersions Source #

See: listDocumentVersions smart constructor.

Instances
Eq ListDocumentVersions Source # 
Instance details

Defined in Network.AWS.SSM.ListDocumentVersions

Data ListDocumentVersions Source # 
Instance details

Defined in Network.AWS.SSM.ListDocumentVersions

Methods

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

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

toConstr :: ListDocumentVersions -> Constr #

dataTypeOf :: ListDocumentVersions -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListDocumentVersions Source # 
Instance details

Defined in Network.AWS.SSM.ListDocumentVersions

Show ListDocumentVersions Source # 
Instance details

Defined in Network.AWS.SSM.ListDocumentVersions

Generic ListDocumentVersions Source # 
Instance details

Defined in Network.AWS.SSM.ListDocumentVersions

Associated Types

type Rep ListDocumentVersions :: Type -> Type #

Hashable ListDocumentVersions Source # 
Instance details

Defined in Network.AWS.SSM.ListDocumentVersions

ToJSON ListDocumentVersions Source # 
Instance details

Defined in Network.AWS.SSM.ListDocumentVersions

AWSRequest ListDocumentVersions Source # 
Instance details

Defined in Network.AWS.SSM.ListDocumentVersions

Associated Types

type Rs ListDocumentVersions :: Type #

ToHeaders ListDocumentVersions Source # 
Instance details

Defined in Network.AWS.SSM.ListDocumentVersions

ToPath ListDocumentVersions Source # 
Instance details

Defined in Network.AWS.SSM.ListDocumentVersions

ToQuery ListDocumentVersions Source # 
Instance details

Defined in Network.AWS.SSM.ListDocumentVersions

NFData ListDocumentVersions Source # 
Instance details

Defined in Network.AWS.SSM.ListDocumentVersions

Methods

rnf :: ListDocumentVersions -> () #

type Rep ListDocumentVersions Source # 
Instance details

Defined in Network.AWS.SSM.ListDocumentVersions

type Rep ListDocumentVersions = D1 (MetaData "ListDocumentVersions" "Network.AWS.SSM.ListDocumentVersions" "amazonka-ssm-1.6.1-7PbnocxNW5qAr7pEvzAy6Q" False) (C1 (MetaCons "ListDocumentVersions'" PrefixI True) (S1 (MetaSel (Just "_ldvNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_ldvMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat)) :*: S1 (MetaSel (Just "_ldvName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs ListDocumentVersions Source # 
Instance details

Defined in Network.AWS.SSM.ListDocumentVersions

Request Lenses

ldvNextToken :: Lens' ListDocumentVersions (Maybe Text) Source #

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

ldvMaxResults :: Lens' ListDocumentVersions (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.

ldvName :: Lens' ListDocumentVersions Text Source #

The name of the document about which you want version information.

Destructuring the Response

listDocumentVersionsResponse Source #

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

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

data ListDocumentVersionsResponse Source #

See: listDocumentVersionsResponse smart constructor.

Instances
Eq ListDocumentVersionsResponse Source # 
Instance details

Defined in Network.AWS.SSM.ListDocumentVersions

Data ListDocumentVersionsResponse Source # 
Instance details

Defined in Network.AWS.SSM.ListDocumentVersions

Methods

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

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

toConstr :: ListDocumentVersionsResponse -> Constr #

dataTypeOf :: ListDocumentVersionsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListDocumentVersionsResponse Source # 
Instance details

Defined in Network.AWS.SSM.ListDocumentVersions

Show ListDocumentVersionsResponse Source # 
Instance details

Defined in Network.AWS.SSM.ListDocumentVersions

Generic ListDocumentVersionsResponse Source # 
Instance details

Defined in Network.AWS.SSM.ListDocumentVersions

Associated Types

type Rep ListDocumentVersionsResponse :: Type -> Type #

NFData ListDocumentVersionsResponse Source # 
Instance details

Defined in Network.AWS.SSM.ListDocumentVersions

type Rep ListDocumentVersionsResponse Source # 
Instance details

Defined in Network.AWS.SSM.ListDocumentVersions

type Rep ListDocumentVersionsResponse = D1 (MetaData "ListDocumentVersionsResponse" "Network.AWS.SSM.ListDocumentVersions" "amazonka-ssm-1.6.1-7PbnocxNW5qAr7pEvzAy6Q" False) (C1 (MetaCons "ListDocumentVersionsResponse'" PrefixI True) (S1 (MetaSel (Just "_ldvrsDocumentVersions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (List1 DocumentVersionInfo))) :*: (S1 (MetaSel (Just "_ldvrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ldvrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

ldvrsNextToken :: Lens' ListDocumentVersionsResponse (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.