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

Description

Gets documentation versions.

This operation returns paginated results.

Synopsis

Creating a Request

data GetDocumentationVersions Source #

Gets the documentation versions of an API.

See: newGetDocumentationVersions smart constructor.

Constructors

GetDocumentationVersions' 

Fields

  • limit :: Maybe Int

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

  • position :: Maybe Text

    The current pagination position in the paged result set.

  • restApiId :: Text

    The string identifier of the associated RestApi.

Instances

Instances details
ToHeaders GetDocumentationVersions Source # 
Instance details

Defined in Amazonka.APIGateway.GetDocumentationVersions

ToPath GetDocumentationVersions Source # 
Instance details

Defined in Amazonka.APIGateway.GetDocumentationVersions

ToQuery GetDocumentationVersions Source # 
Instance details

Defined in Amazonka.APIGateway.GetDocumentationVersions

AWSPager GetDocumentationVersions Source # 
Instance details

Defined in Amazonka.APIGateway.GetDocumentationVersions

AWSRequest GetDocumentationVersions Source # 
Instance details

Defined in Amazonka.APIGateway.GetDocumentationVersions

Generic GetDocumentationVersions Source # 
Instance details

Defined in Amazonka.APIGateway.GetDocumentationVersions

Associated Types

type Rep GetDocumentationVersions :: Type -> Type #

Read GetDocumentationVersions Source # 
Instance details

Defined in Amazonka.APIGateway.GetDocumentationVersions

Show GetDocumentationVersions Source # 
Instance details

Defined in Amazonka.APIGateway.GetDocumentationVersions

NFData GetDocumentationVersions Source # 
Instance details

Defined in Amazonka.APIGateway.GetDocumentationVersions

Eq GetDocumentationVersions Source # 
Instance details

Defined in Amazonka.APIGateway.GetDocumentationVersions

Hashable GetDocumentationVersions Source # 
Instance details

Defined in Amazonka.APIGateway.GetDocumentationVersions

type AWSResponse GetDocumentationVersions Source # 
Instance details

Defined in Amazonka.APIGateway.GetDocumentationVersions

type Rep GetDocumentationVersions Source # 
Instance details

Defined in Amazonka.APIGateway.GetDocumentationVersions

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

newGetDocumentationVersions Source #

Create a value of GetDocumentationVersions 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:

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

GetDocumentationVersions, getDocumentationVersions_position - The current pagination position in the paged result set.

GetDocumentationVersions, getDocumentationVersions_restApiId - The string identifier of the associated RestApi.

Request Lenses

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

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

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

The current pagination position in the paged result set.

getDocumentationVersions_restApiId :: Lens' GetDocumentationVersions Text Source #

The string identifier of the associated RestApi.

Destructuring the Response

data GetDocumentationVersionsResponse Source #

The collection of documentation snapshots of an API.

See: newGetDocumentationVersionsResponse smart constructor.

Constructors

GetDocumentationVersionsResponse' 

Fields

Instances

Instances details
Generic GetDocumentationVersionsResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetDocumentationVersions

Associated Types

type Rep GetDocumentationVersionsResponse :: Type -> Type #

Read GetDocumentationVersionsResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetDocumentationVersions

Show GetDocumentationVersionsResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetDocumentationVersions

NFData GetDocumentationVersionsResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetDocumentationVersions

Eq GetDocumentationVersionsResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetDocumentationVersions

type Rep GetDocumentationVersionsResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetDocumentationVersions

type Rep GetDocumentationVersionsResponse = D1 ('MetaData "GetDocumentationVersionsResponse" "Amazonka.APIGateway.GetDocumentationVersions" "amazonka-apigateway-2.0-zw0Lbt4rUGxZBjJ4Rpfi" 'False) (C1 ('MetaCons "GetDocumentationVersionsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [DocumentationVersion])) :*: (S1 ('MetaSel ('Just "position") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newGetDocumentationVersionsResponse Source #

Create a value of GetDocumentationVersionsResponse 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:

GetDocumentationVersionsResponse, getDocumentationVersionsResponse_items - The current page of elements from this collection.

GetDocumentationVersions, getDocumentationVersionsResponse_position - Undocumented member.

$sel:httpStatus:GetDocumentationVersionsResponse', getDocumentationVersionsResponse_httpStatus - The response's http status code.

Response Lenses