amazonka-apigateway-2.0: Amazon API Gateway SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.APIGateway.CreateDocumentationVersion

Description

Creates a documentation version

Synopsis

Creating a Request

data CreateDocumentationVersion Source #

Creates a new documentation version of a given API.

See: newCreateDocumentationVersion smart constructor.

Constructors

CreateDocumentationVersion' 

Fields

Instances

Instances details
ToJSON CreateDocumentationVersion Source # 
Instance details

Defined in Amazonka.APIGateway.CreateDocumentationVersion

ToHeaders CreateDocumentationVersion Source # 
Instance details

Defined in Amazonka.APIGateway.CreateDocumentationVersion

ToPath CreateDocumentationVersion Source # 
Instance details

Defined in Amazonka.APIGateway.CreateDocumentationVersion

ToQuery CreateDocumentationVersion Source # 
Instance details

Defined in Amazonka.APIGateway.CreateDocumentationVersion

AWSRequest CreateDocumentationVersion Source # 
Instance details

Defined in Amazonka.APIGateway.CreateDocumentationVersion

Generic CreateDocumentationVersion Source # 
Instance details

Defined in Amazonka.APIGateway.CreateDocumentationVersion

Associated Types

type Rep CreateDocumentationVersion :: Type -> Type #

Read CreateDocumentationVersion Source # 
Instance details

Defined in Amazonka.APIGateway.CreateDocumentationVersion

Show CreateDocumentationVersion Source # 
Instance details

Defined in Amazonka.APIGateway.CreateDocumentationVersion

NFData CreateDocumentationVersion Source # 
Instance details

Defined in Amazonka.APIGateway.CreateDocumentationVersion

Eq CreateDocumentationVersion Source # 
Instance details

Defined in Amazonka.APIGateway.CreateDocumentationVersion

Hashable CreateDocumentationVersion Source # 
Instance details

Defined in Amazonka.APIGateway.CreateDocumentationVersion

type AWSResponse CreateDocumentationVersion Source # 
Instance details

Defined in Amazonka.APIGateway.CreateDocumentationVersion

type Rep CreateDocumentationVersion Source # 
Instance details

Defined in Amazonka.APIGateway.CreateDocumentationVersion

type Rep CreateDocumentationVersion = D1 ('MetaData "CreateDocumentationVersion" "Amazonka.APIGateway.CreateDocumentationVersion" "amazonka-apigateway-2.0-zw0Lbt4rUGxZBjJ4Rpfi" 'False) (C1 ('MetaCons "CreateDocumentationVersion'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "stageName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "restApiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "documentationVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newCreateDocumentationVersion Source #

Create a value of CreateDocumentationVersion with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

CreateDocumentationVersion, createDocumentationVersion_description - A description about the new documentation snapshot.

CreateDocumentationVersion, createDocumentationVersion_stageName - The stage name to be associated with the new documentation snapshot.

CreateDocumentationVersion, createDocumentationVersion_restApiId - The string identifier of the associated RestApi.

CreateDocumentationVersion, createDocumentationVersion_documentationVersion - The version identifier of the new snapshot.

Request Lenses

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

A description about the new documentation snapshot.

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

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

createDocumentationVersion_restApiId :: Lens' CreateDocumentationVersion Text Source #

The string identifier of the associated RestApi.

Destructuring the Response

data DocumentationVersion Source #

A snapshot of the documentation of an API.

See: newDocumentationVersion smart constructor.

Constructors

DocumentationVersion' 

Fields

Instances

Instances details
FromJSON DocumentationVersion Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationVersion

Generic DocumentationVersion Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationVersion

Associated Types

type Rep DocumentationVersion :: Type -> Type #

Read DocumentationVersion Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationVersion

Show DocumentationVersion Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationVersion

NFData DocumentationVersion Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationVersion

Methods

rnf :: DocumentationVersion -> () #

Eq DocumentationVersion Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationVersion

Hashable DocumentationVersion Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationVersion

type Rep DocumentationVersion Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationVersion

type Rep DocumentationVersion = D1 ('MetaData "DocumentationVersion" "Amazonka.APIGateway.Types.DocumentationVersion" "amazonka-apigateway-2.0-zw0Lbt4rUGxZBjJ4Rpfi" 'False) (C1 ('MetaCons "DocumentationVersion'" 'PrefixI 'True) (S1 ('MetaSel ('Just "createdDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "version") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newDocumentationVersion :: DocumentationVersion Source #

Create a value of DocumentationVersion with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:createdDate:DocumentationVersion', documentationVersion_createdDate - The date when the API documentation snapshot is created.

$sel:description:DocumentationVersion', documentationVersion_description - The description of the API documentation snapshot.

$sel:version:DocumentationVersion', documentationVersion_version - The version identifier of the API documentation snapshot.

Response Lenses

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

The date when the API documentation snapshot is created.

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

The description of the API documentation snapshot.

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

The version identifier of the API documentation snapshot.