libZSservicesZSamazonka-apigatewayv2ZSamazonka-apigatewayv2
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.ApiGatewayV2.ExportApi

Description

  • - | Undocumented operation.
Synopsis

Creating a Request

data ExportApi Source #

See: newExportApi smart constructor.

Constructors

ExportApi' 

Fields

  • exportVersion :: Maybe Text

    The version of the API Gateway export algorithm. API Gateway uses the latest version by default. Currently, the only supported version is 1.0.

  • stageName :: Maybe Text

    The name of the API stage to export. If you don't specify this property, a representation of the latest API configuration is exported.

  • includeExtensions :: Maybe Bool

    Specifies whether to include API Gateway extensions in the exported API definition. API Gateway extensions are included by default.

  • specification :: Text

    The version of the API specification to use. OAS30, for OpenAPI 3.0, is the only supported value.

  • outputType :: Text

    The output type of the exported definition file. Valid values are JSON and YAML.

  • apiId :: Text

    The API identifier.

Instances

Instances details
Eq ExportApi Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.ExportApi

Read ExportApi Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.ExportApi

Show ExportApi Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.ExportApi

Generic ExportApi Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.ExportApi

Associated Types

type Rep ExportApi :: Type -> Type #

NFData ExportApi Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.ExportApi

Methods

rnf :: ExportApi -> () #

Hashable ExportApi Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.ExportApi

AWSRequest ExportApi Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.ExportApi

Associated Types

type AWSResponse ExportApi #

ToHeaders ExportApi Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.ExportApi

Methods

toHeaders :: ExportApi -> [Header] #

ToPath ExportApi Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.ExportApi

ToQuery ExportApi Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.ExportApi

type Rep ExportApi Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.ExportApi

type Rep ExportApi = D1 ('MetaData "ExportApi" "Amazonka.ApiGatewayV2.ExportApi" "libZSservicesZSamazonka-apigatewayv2ZSamazonka-apigatewayv2" 'False) (C1 ('MetaCons "ExportApi'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "exportVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "stageName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "includeExtensions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))) :*: (S1 ('MetaSel ('Just "specification") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "outputType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "apiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse ExportApi Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.ExportApi

newExportApi Source #

Create a value of ExportApi 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:exportVersion:ExportApi', exportApi_exportVersion - The version of the API Gateway export algorithm. API Gateway uses the latest version by default. Currently, the only supported version is 1.0.

$sel:stageName:ExportApi', exportApi_stageName - The name of the API stage to export. If you don't specify this property, a representation of the latest API configuration is exported.

$sel:includeExtensions:ExportApi', exportApi_includeExtensions - Specifies whether to include API Gateway extensions in the exported API definition. API Gateway extensions are included by default.

$sel:specification:ExportApi', exportApi_specification - The version of the API specification to use. OAS30, for OpenAPI 3.0, is the only supported value.

$sel:outputType:ExportApi', exportApi_outputType - The output type of the exported definition file. Valid values are JSON and YAML.

$sel:apiId:ExportApi', exportApi_apiId - The API identifier.

Request Lenses

exportApi_exportVersion :: Lens' ExportApi (Maybe Text) Source #

The version of the API Gateway export algorithm. API Gateway uses the latest version by default. Currently, the only supported version is 1.0.

exportApi_stageName :: Lens' ExportApi (Maybe Text) Source #

The name of the API stage to export. If you don't specify this property, a representation of the latest API configuration is exported.

exportApi_includeExtensions :: Lens' ExportApi (Maybe Bool) Source #

Specifies whether to include API Gateway extensions in the exported API definition. API Gateway extensions are included by default.

exportApi_specification :: Lens' ExportApi Text Source #

The version of the API specification to use. OAS30, for OpenAPI 3.0, is the only supported value.

exportApi_outputType :: Lens' ExportApi Text Source #

The output type of the exported definition file. Valid values are JSON and YAML.

exportApi_apiId :: Lens' ExportApi Text Source #

The API identifier.

Destructuring the Response

data ExportApiResponse Source #

See: newExportApiResponse smart constructor.

Constructors

ExportApiResponse' 

Fields

Instances

Instances details
Eq ExportApiResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.ExportApi

Read ExportApiResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.ExportApi

Show ExportApiResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.ExportApi

Generic ExportApiResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.ExportApi

Associated Types

type Rep ExportApiResponse :: Type -> Type #

NFData ExportApiResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.ExportApi

Methods

rnf :: ExportApiResponse -> () #

type Rep ExportApiResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.ExportApi

type Rep ExportApiResponse = D1 ('MetaData "ExportApiResponse" "Amazonka.ApiGatewayV2.ExportApi" "libZSservicesZSamazonka-apigatewayv2ZSamazonka-apigatewayv2" 'False) (C1 ('MetaCons "ExportApiResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "body") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ByteString)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newExportApiResponse Source #

Create a value of ExportApiResponse 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:body:ExportApiResponse', exportApiResponse_body - Undocumented member.

$sel:httpStatus:ExportApiResponse', exportApiResponse_httpStatus - The response's http status code.

Response Lenses

exportApiResponse_httpStatus :: Lens' ExportApiResponse Int Source #

The response's http status code.