amazonka-apigateway-1.6.1: 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.CreateDocumentationVersion

Contents

Description

Undocumented operation.

Synopsis

Creating a Request

createDocumentationVersion Source #

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

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

  • cdvStageName - The stage name to be associated with the new documentation snapshot.
  • cdvDescription - A description about the new documentation snapshot.
  • cdvRestAPIId - [Required] The string identifier of the associated RestApi .
  • cdvDocumentationVersion - [Required] The version identifier of the new snapshot.

data CreateDocumentationVersion Source #

Creates a new documentation version of a given API.

See: createDocumentationVersion smart constructor.

Instances
Eq CreateDocumentationVersion Source # 
Instance details

Defined in Network.AWS.APIGateway.CreateDocumentationVersion

Data CreateDocumentationVersion Source # 
Instance details

Defined in Network.AWS.APIGateway.CreateDocumentationVersion

Methods

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

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

toConstr :: CreateDocumentationVersion -> Constr #

dataTypeOf :: CreateDocumentationVersion -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateDocumentationVersion Source # 
Instance details

Defined in Network.AWS.APIGateway.CreateDocumentationVersion

Show CreateDocumentationVersion Source # 
Instance details

Defined in Network.AWS.APIGateway.CreateDocumentationVersion

Generic CreateDocumentationVersion Source # 
Instance details

Defined in Network.AWS.APIGateway.CreateDocumentationVersion

Associated Types

type Rep CreateDocumentationVersion :: Type -> Type #

Hashable CreateDocumentationVersion Source # 
Instance details

Defined in Network.AWS.APIGateway.CreateDocumentationVersion

ToJSON CreateDocumentationVersion Source # 
Instance details

Defined in Network.AWS.APIGateway.CreateDocumentationVersion

AWSRequest CreateDocumentationVersion Source # 
Instance details

Defined in Network.AWS.APIGateway.CreateDocumentationVersion

Associated Types

type Rs CreateDocumentationVersion :: Type #

ToHeaders CreateDocumentationVersion Source # 
Instance details

Defined in Network.AWS.APIGateway.CreateDocumentationVersion

ToPath CreateDocumentationVersion Source # 
Instance details

Defined in Network.AWS.APIGateway.CreateDocumentationVersion

ToQuery CreateDocumentationVersion Source # 
Instance details

Defined in Network.AWS.APIGateway.CreateDocumentationVersion

NFData CreateDocumentationVersion Source # 
Instance details

Defined in Network.AWS.APIGateway.CreateDocumentationVersion

type Rep CreateDocumentationVersion Source # 
Instance details

Defined in Network.AWS.APIGateway.CreateDocumentationVersion

type Rep CreateDocumentationVersion = D1 (MetaData "CreateDocumentationVersion" "Network.AWS.APIGateway.CreateDocumentationVersion" "amazonka-apigateway-1.6.1-BCCM2RP3l9Q2ENgHvKrj59" False) (C1 (MetaCons "CreateDocumentationVersion'" PrefixI True) ((S1 (MetaSel (Just "_cdvStageName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_cdvDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_cdvRestAPIId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_cdvDocumentationVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs CreateDocumentationVersion Source # 
Instance details

Defined in Network.AWS.APIGateway.CreateDocumentationVersion

Request Lenses

cdvStageName :: Lens' CreateDocumentationVersion (Maybe Text) Source #

The stage name to be associated with the new documentation snapshot.

cdvDescription :: Lens' CreateDocumentationVersion (Maybe Text) Source #

A description about the new documentation snapshot.

cdvRestAPIId :: Lens' CreateDocumentationVersion Text Source #

Required
The string identifier of the associated RestApi .

cdvDocumentationVersion :: Lens' CreateDocumentationVersion Text Source #

Required
The version identifier of the new 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 # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Data DocumentationVersion Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

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 # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Show DocumentationVersion Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Generic DocumentationVersion Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Associated Types

type Rep DocumentationVersion :: Type -> Type #

Hashable DocumentationVersion Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

FromJSON DocumentationVersion Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

NFData DocumentationVersion Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Methods

rnf :: DocumentationVersion -> () #

type Rep DocumentationVersion Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

type Rep DocumentationVersion = D1 (MetaData "DocumentationVersion" "Network.AWS.APIGateway.Types.Product" "amazonka-apigateway-1.6.1-BCCM2RP3l9Q2ENgHvKrj59" False) (C1 (MetaCons "DocumentationVersion'" PrefixI True) (S1 (MetaSel (Just "_dvCreatedDate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 (MetaSel (Just "_dvVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_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.