amazonka-apigatewayv2-2.0: Amazon ApiGatewayV2 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.ApiGatewayV2.CreateApiMapping

Description

Creates an API mapping.

Synopsis

Creating a Request

data CreateApiMapping Source #

Creates a new ApiMapping resource to represent an API mapping.

See: newCreateApiMapping smart constructor.

Constructors

CreateApiMapping' 

Fields

Instances

Instances details
ToJSON CreateApiMapping Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.CreateApiMapping

ToHeaders CreateApiMapping Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.CreateApiMapping

ToPath CreateApiMapping Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.CreateApiMapping

ToQuery CreateApiMapping Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.CreateApiMapping

AWSRequest CreateApiMapping Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.CreateApiMapping

Associated Types

type AWSResponse CreateApiMapping #

Generic CreateApiMapping Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.CreateApiMapping

Associated Types

type Rep CreateApiMapping :: Type -> Type #

Read CreateApiMapping Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.CreateApiMapping

Show CreateApiMapping Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.CreateApiMapping

NFData CreateApiMapping Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.CreateApiMapping

Methods

rnf :: CreateApiMapping -> () #

Eq CreateApiMapping Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.CreateApiMapping

Hashable CreateApiMapping Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.CreateApiMapping

type AWSResponse CreateApiMapping Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.CreateApiMapping

type Rep CreateApiMapping Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.CreateApiMapping

type Rep CreateApiMapping = D1 ('MetaData "CreateApiMapping" "Amazonka.ApiGatewayV2.CreateApiMapping" "amazonka-apigatewayv2-2.0-4MZ8oueToeLOWomgegceF" 'False) (C1 ('MetaCons "CreateApiMapping'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "apiMappingKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "domainName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "stage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "apiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newCreateApiMapping Source #

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

CreateApiMapping, createApiMapping_apiMappingKey - The API mapping key.

CreateApiMapping, createApiMapping_domainName - The domain name.

CreateApiMapping, createApiMapping_stage - The API stage.

CreateApiMapping, createApiMapping_apiId - The API identifier.

Request Lenses

Destructuring the Response

data CreateApiMappingResponse Source #

See: newCreateApiMappingResponse smart constructor.

Constructors

CreateApiMappingResponse' 

Fields

Instances

Instances details
Generic CreateApiMappingResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.CreateApiMapping

Associated Types

type Rep CreateApiMappingResponse :: Type -> Type #

Read CreateApiMappingResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.CreateApiMapping

Show CreateApiMappingResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.CreateApiMapping

NFData CreateApiMappingResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.CreateApiMapping

Eq CreateApiMappingResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.CreateApiMapping

type Rep CreateApiMappingResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.CreateApiMapping

type Rep CreateApiMappingResponse = D1 ('MetaData "CreateApiMappingResponse" "Amazonka.ApiGatewayV2.CreateApiMapping" "amazonka-apigatewayv2-2.0-4MZ8oueToeLOWomgegceF" 'False) (C1 ('MetaCons "CreateApiMappingResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "apiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "apiMappingId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "apiMappingKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "stage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

newCreateApiMappingResponse Source #

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

CreateApiMapping, createApiMappingResponse_apiId - The API identifier.

CreateApiMappingResponse, createApiMappingResponse_apiMappingId - The API mapping identifier.

CreateApiMapping, createApiMappingResponse_apiMappingKey - The API mapping key.

CreateApiMapping, createApiMappingResponse_stage - The API stage.

$sel:httpStatus:CreateApiMappingResponse', createApiMappingResponse_httpStatus - The response's http status code.

Response Lenses