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.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
Eq CreateApiMapping Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.CreateApiMapping

Read CreateApiMapping Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.CreateApiMapping

Show CreateApiMapping Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.CreateApiMapping

Generic CreateApiMapping Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.CreateApiMapping

Associated Types

type Rep CreateApiMapping :: Type -> Type #

NFData CreateApiMapping Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.CreateApiMapping

Methods

rnf :: CreateApiMapping -> () #

Hashable CreateApiMapping Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.CreateApiMapping

ToJSON CreateApiMapping Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.CreateApiMapping

AWSRequest CreateApiMapping Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.CreateApiMapping

Associated Types

type AWSResponse 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

type Rep CreateApiMapping Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.CreateApiMapping

type Rep CreateApiMapping = D1 ('MetaData "CreateApiMapping" "Amazonka.ApiGatewayV2.CreateApiMapping" "libZSservicesZSamazonka-apigatewayv2ZSamazonka-apigatewayv2" '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))))
type AWSResponse CreateApiMapping Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.CreateApiMapping

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:

$sel:apiMappingKey:CreateApiMapping', createApiMapping_apiMappingKey - The API mapping key.

$sel:domainName:CreateApiMapping', createApiMapping_domainName - The domain name.

$sel:stage:CreateApiMapping', createApiMapping_stage - The API stage.

$sel:apiId:CreateApiMapping', createApiMapping_apiId - The API identifier.

Request Lenses

Destructuring the Response

data CreateApiMappingResponse Source #

See: newCreateApiMappingResponse smart constructor.

Constructors

CreateApiMappingResponse' 

Fields

Instances

Instances details
Eq CreateApiMappingResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.CreateApiMapping

Read CreateApiMappingResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.CreateApiMapping

Show CreateApiMappingResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.CreateApiMapping

Generic CreateApiMappingResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.CreateApiMapping

Associated Types

type Rep CreateApiMappingResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-apigatewayv2ZSamazonka-apigatewayv2" 'False) (C1 ('MetaCons "CreateApiMappingResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "stage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "apiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "apiMappingKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "apiMappingId") '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:

$sel:stage:CreateApiMapping', createApiMappingResponse_stage - The API stage.

$sel:apiId:CreateApiMapping', createApiMappingResponse_apiId - The API identifier.

$sel:apiMappingKey:CreateApiMapping', createApiMappingResponse_apiMappingKey - The API mapping key.

$sel:apiMappingId:CreateApiMappingResponse', createApiMappingResponse_apiMappingId - The API mapping identifier.

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

Response Lenses