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

Contents

Description

Undocumented operation.

Synopsis

Creating a Request

getDocumentationVersion Source #

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

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

data GetDocumentationVersion Source #

Gets a documentation snapshot of an API.

See: getDocumentationVersion smart constructor.

Instances

Eq GetDocumentationVersion Source # 
Data GetDocumentationVersion Source # 

Methods

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

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

toConstr :: GetDocumentationVersion -> Constr #

dataTypeOf :: GetDocumentationVersion -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetDocumentationVersion Source # 
Show GetDocumentationVersion Source # 
Generic GetDocumentationVersion Source # 
Hashable GetDocumentationVersion Source # 
NFData GetDocumentationVersion Source # 

Methods

rnf :: GetDocumentationVersion -> () #

AWSRequest GetDocumentationVersion Source # 
ToQuery GetDocumentationVersion Source # 
ToPath GetDocumentationVersion Source # 
ToHeaders GetDocumentationVersion Source # 
type Rep GetDocumentationVersion Source # 
type Rep GetDocumentationVersion = D1 (MetaData "GetDocumentationVersion" "Network.AWS.APIGateway.GetDocumentationVersion" "amazonka-apigateway-1.5.0-3jDq4KKltGt78uikPpOCEJ" False) (C1 (MetaCons "GetDocumentationVersion'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_gdvdRestAPIId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_gdvdDocumentationVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs GetDocumentationVersion Source # 

Request Lenses

gdvdRestAPIId :: Lens' GetDocumentationVersion Text Source #

Required
The string identifier of the associated RestApi .

gdvdDocumentationVersion :: Lens' GetDocumentationVersion Text Source #

Required
The version identifier of the to-be-retrieved documentation snapshot.

Destructuring the Response

documentationVersion :: DocumentationVersion Source #

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

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

  • dvCreatedDate - The date when the API documentation snapshot is created.
  • dvVersion - The version identifier of the API documentation snapshot.
  • dvDescription - The description of the API documentation snapshot.

data DocumentationVersion Source #

A snapshot of the documentation of an API.

Publishing API documentation involves creating a documentation version associated with an API stage and exporting the versioned documentation to an external (e.g., Swagger) file.

Documenting an API , DocumentationPart , DocumentationVersions

See: documentationVersion smart constructor.

Instances

Eq DocumentationVersion Source # 
Data DocumentationVersion Source # 

Methods

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

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

toConstr :: DocumentationVersion -> Constr #

dataTypeOf :: DocumentationVersion -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DocumentationVersion Source # 
Show DocumentationVersion Source # 
Generic DocumentationVersion Source # 
Hashable DocumentationVersion Source # 
FromJSON DocumentationVersion Source # 
NFData DocumentationVersion Source # 

Methods

rnf :: DocumentationVersion -> () #

type Rep DocumentationVersion Source # 
type Rep DocumentationVersion = D1 (MetaData "DocumentationVersion" "Network.AWS.APIGateway.Types.Product" "amazonka-apigateway-1.5.0-3jDq4KKltGt78uikPpOCEJ" False) (C1 (MetaCons "DocumentationVersion'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dvCreatedDate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX))) ((:*:) (S1 (MetaSel (Just Symbol "_dvVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_dvDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))

Response Lenses

dvCreatedDate :: Lens' DocumentationVersion (Maybe UTCTime) Source #

The date when the API documentation snapshot is created.

dvVersion :: Lens' DocumentationVersion (Maybe Text) Source #

The version identifier of the API documentation snapshot.

dvDescription :: Lens' DocumentationVersion (Maybe Text) Source #

The description of the API documentation snapshot.