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

Contents

Description

Undocumented operation.

Synopsis

Creating a Request

updateDocumentationVersion Source #

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

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

  • udvPatchOperations - A list of update operations to be applied to the specified resource and in the order specified in this list.
  • udvRestAPIId - [Required] The string identifier of the associated RestApi ..
  • udvDocumentationVersion - [Required] The version identifier of the to-be-updated documentation version.

data UpdateDocumentationVersion Source #

Updates an existing documentation version of an API.

See: updateDocumentationVersion smart constructor.

Instances
Eq UpdateDocumentationVersion Source # 
Instance details

Defined in Network.AWS.APIGateway.UpdateDocumentationVersion

Data UpdateDocumentationVersion Source # 
Instance details

Defined in Network.AWS.APIGateway.UpdateDocumentationVersion

Methods

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

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

toConstr :: UpdateDocumentationVersion -> Constr #

dataTypeOf :: UpdateDocumentationVersion -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateDocumentationVersion Source # 
Instance details

Defined in Network.AWS.APIGateway.UpdateDocumentationVersion

Show UpdateDocumentationVersion Source # 
Instance details

Defined in Network.AWS.APIGateway.UpdateDocumentationVersion

Generic UpdateDocumentationVersion Source # 
Instance details

Defined in Network.AWS.APIGateway.UpdateDocumentationVersion

Associated Types

type Rep UpdateDocumentationVersion :: Type -> Type #

Hashable UpdateDocumentationVersion Source # 
Instance details

Defined in Network.AWS.APIGateway.UpdateDocumentationVersion

ToJSON UpdateDocumentationVersion Source # 
Instance details

Defined in Network.AWS.APIGateway.UpdateDocumentationVersion

AWSRequest UpdateDocumentationVersion Source # 
Instance details

Defined in Network.AWS.APIGateway.UpdateDocumentationVersion

Associated Types

type Rs UpdateDocumentationVersion :: Type #

ToHeaders UpdateDocumentationVersion Source # 
Instance details

Defined in Network.AWS.APIGateway.UpdateDocumentationVersion

ToPath UpdateDocumentationVersion Source # 
Instance details

Defined in Network.AWS.APIGateway.UpdateDocumentationVersion

ToQuery UpdateDocumentationVersion Source # 
Instance details

Defined in Network.AWS.APIGateway.UpdateDocumentationVersion

NFData UpdateDocumentationVersion Source # 
Instance details

Defined in Network.AWS.APIGateway.UpdateDocumentationVersion

type Rep UpdateDocumentationVersion Source # 
Instance details

Defined in Network.AWS.APIGateway.UpdateDocumentationVersion

type Rep UpdateDocumentationVersion = D1 (MetaData "UpdateDocumentationVersion" "Network.AWS.APIGateway.UpdateDocumentationVersion" "amazonka-apigateway-1.6.1-BCCM2RP3l9Q2ENgHvKrj59" False) (C1 (MetaCons "UpdateDocumentationVersion'" PrefixI True) (S1 (MetaSel (Just "_udvPatchOperations") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [PatchOperation])) :*: (S1 (MetaSel (Just "_udvRestAPIId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_udvDocumentationVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs UpdateDocumentationVersion Source # 
Instance details

Defined in Network.AWS.APIGateway.UpdateDocumentationVersion

Request Lenses

udvPatchOperations :: Lens' UpdateDocumentationVersion [PatchOperation] Source #

A list of update operations to be applied to the specified resource and in the order specified in this list.

udvRestAPIId :: Lens' UpdateDocumentationVersion Text Source #

Required
The string identifier of the associated RestApi ..

udvDocumentationVersion :: Lens' UpdateDocumentationVersion Text Source #

Required
The version identifier of the to-be-updated documentation version.

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.