amazonka-apigateway-1.6.0: Amazon API Gateway 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.APIGateway.GetDocumentationVersions

Contents

Description

Undocumented operation.

Synopsis

Creating a Request

getDocumentationVersions Source #

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

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

  • gdvLimit - The maximum number of returned results per page. The default value is 25 and the maximum value is 500.
  • gdvPosition - The current pagination position in the paged result set.
  • gdvRestAPIId - [Required] The string identifier of the associated RestApi .

data GetDocumentationVersions Source #

Gets the documentation versions of an API.

See: getDocumentationVersions smart constructor.

Instances

Eq GetDocumentationVersions Source # 
Data GetDocumentationVersions Source # 

Methods

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

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

toConstr :: GetDocumentationVersions -> Constr #

dataTypeOf :: GetDocumentationVersions -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetDocumentationVersions Source # 
Show GetDocumentationVersions Source # 
Generic GetDocumentationVersions Source # 
Hashable GetDocumentationVersions Source # 
NFData GetDocumentationVersions Source # 
AWSRequest GetDocumentationVersions Source # 
ToHeaders GetDocumentationVersions Source # 
ToPath GetDocumentationVersions Source # 
ToQuery GetDocumentationVersions Source # 
type Rep GetDocumentationVersions Source # 
type Rep GetDocumentationVersions = D1 * (MetaData "GetDocumentationVersions" "Network.AWS.APIGateway.GetDocumentationVersions" "amazonka-apigateway-1.6.0-JJ9NJtNe0aRBcVRYpJCEA2" False) (C1 * (MetaCons "GetDocumentationVersions'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_gdvLimit") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Int))) ((:*:) * (S1 * (MetaSel (Just Symbol "_gdvPosition") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_gdvRestAPIId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)))))
type Rs GetDocumentationVersions Source # 

Request Lenses

gdvLimit :: Lens' GetDocumentationVersions (Maybe Int) Source #

The maximum number of returned results per page. The default value is 25 and the maximum value is 500.

gdvPosition :: Lens' GetDocumentationVersions (Maybe Text) Source #

The current pagination position in the paged result set.

gdvRestAPIId :: Lens' GetDocumentationVersions Text Source #

Required
The string identifier of the associated RestApi .

Destructuring the Response

getDocumentationVersionsResponse Source #

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

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

data GetDocumentationVersionsResponse Source #

The collection of documentation snapshots of an API.

Use the DocumentationVersions to manage documentation snapshots associated with various API stages.

Documenting an API , DocumentationPart , DocumentationVersion

See: getDocumentationVersionsResponse smart constructor.

Instances

Eq GetDocumentationVersionsResponse Source # 
Data GetDocumentationVersionsResponse Source # 

Methods

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

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

toConstr :: GetDocumentationVersionsResponse -> Constr #

dataTypeOf :: GetDocumentationVersionsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetDocumentationVersionsResponse Source # 
Show GetDocumentationVersionsResponse Source # 
Generic GetDocumentationVersionsResponse Source # 
NFData GetDocumentationVersionsResponse Source # 
type Rep GetDocumentationVersionsResponse Source # 
type Rep GetDocumentationVersionsResponse = D1 * (MetaData "GetDocumentationVersionsResponse" "Network.AWS.APIGateway.GetDocumentationVersions" "amazonka-apigateway-1.6.0-JJ9NJtNe0aRBcVRYpJCEA2" False) (C1 * (MetaCons "GetDocumentationVersionsResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_gdvrsItems") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [DocumentationVersion]))) ((:*:) * (S1 * (MetaSel (Just Symbol "_gdvrsPosition") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_gdvrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))

Response Lenses

gdvrsItems :: Lens' GetDocumentationVersionsResponse [DocumentationVersion] Source #

The current page of elements from this collection.