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

Description

Creates a RouteResponse for a Route.

Synopsis

Creating a Request

data CreateRouteResponse Source #

Creates a new RouteResponse resource to represent a route response.

See: newCreateRouteResponse smart constructor.

Constructors

CreateRouteResponse' 

Fields

Instances

Instances details
Eq CreateRouteResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.CreateRouteResponse

Read CreateRouteResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.CreateRouteResponse

Show CreateRouteResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.CreateRouteResponse

Generic CreateRouteResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.CreateRouteResponse

Associated Types

type Rep CreateRouteResponse :: Type -> Type #

NFData CreateRouteResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.CreateRouteResponse

Methods

rnf :: CreateRouteResponse -> () #

Hashable CreateRouteResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.CreateRouteResponse

ToJSON CreateRouteResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.CreateRouteResponse

AWSRequest CreateRouteResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.CreateRouteResponse

Associated Types

type AWSResponse CreateRouteResponse #

ToHeaders CreateRouteResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.CreateRouteResponse

ToPath CreateRouteResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.CreateRouteResponse

ToQuery CreateRouteResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.CreateRouteResponse

type Rep CreateRouteResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.CreateRouteResponse

type Rep CreateRouteResponse = D1 ('MetaData "CreateRouteResponse" "Amazonka.ApiGatewayV2.CreateRouteResponse" "libZSservicesZSamazonka-apigatewayv2ZSamazonka-apigatewayv2" 'False) (C1 ('MetaCons "CreateRouteResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "modelSelectionExpression") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "responseModels") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "responseParameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text ParameterConstraints))))) :*: (S1 ('MetaSel ('Just "apiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "routeId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "routeResponseKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse CreateRouteResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.CreateRouteResponse

newCreateRouteResponse Source #

Create a value of CreateRouteResponse 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:modelSelectionExpression:CreateRouteResponse', createRouteResponse_modelSelectionExpression - The model selection expression for the route response. Supported only for WebSocket APIs.

$sel:responseModels:CreateRouteResponse', createRouteResponse_responseModels - The response models for the route response.

$sel:responseParameters:CreateRouteResponse', createRouteResponse_responseParameters - The route response parameters.

$sel:apiId:CreateRouteResponse', createRouteResponse_apiId - The API identifier.

$sel:routeId:CreateRouteResponse', createRouteResponse_routeId - The route ID.

$sel:routeResponseKey:CreateRouteResponse', createRouteResponse_routeResponseKey - The route response key.

Request Lenses

createRouteResponse_modelSelectionExpression :: Lens' CreateRouteResponse (Maybe Text) Source #

The model selection expression for the route response. Supported only for WebSocket APIs.

createRouteResponse_responseModels :: Lens' CreateRouteResponse (Maybe (HashMap Text Text)) Source #

The response models for the route response.

Destructuring the Response

data CreateRouteResponseResponse Source #

See: newCreateRouteResponseResponse smart constructor.

Constructors

CreateRouteResponseResponse' 

Fields

Instances

Instances details
Eq CreateRouteResponseResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.CreateRouteResponse

Read CreateRouteResponseResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.CreateRouteResponse

Show CreateRouteResponseResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.CreateRouteResponse

Generic CreateRouteResponseResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.CreateRouteResponse

Associated Types

type Rep CreateRouteResponseResponse :: Type -> Type #

NFData CreateRouteResponseResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.CreateRouteResponse

type Rep CreateRouteResponseResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.CreateRouteResponse

type Rep CreateRouteResponseResponse = D1 ('MetaData "CreateRouteResponseResponse" "Amazonka.ApiGatewayV2.CreateRouteResponse" "libZSservicesZSamazonka-apigatewayv2ZSamazonka-apigatewayv2" 'False) (C1 ('MetaCons "CreateRouteResponseResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "modelSelectionExpression") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "responseModels") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "routeResponseId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "routeResponseKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "responseParameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text ParameterConstraints))) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

newCreateRouteResponseResponse Source #

Create a value of CreateRouteResponseResponse 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:modelSelectionExpression:CreateRouteResponse', createRouteResponseResponse_modelSelectionExpression - Represents the model selection expression of a route response. Supported only for WebSocket APIs.

$sel:responseModels:CreateRouteResponse', createRouteResponseResponse_responseModels - Represents the response models of a route response.

$sel:routeResponseId:CreateRouteResponseResponse', createRouteResponseResponse_routeResponseId - Represents the identifier of a route response.

$sel:routeResponseKey:CreateRouteResponse', createRouteResponseResponse_routeResponseKey - Represents the route response key of a route response.

$sel:responseParameters:CreateRouteResponse', createRouteResponseResponse_responseParameters - Represents the response parameters of a route response.

$sel:httpStatus:CreateRouteResponseResponse', createRouteResponseResponse_httpStatus - The response's http status code.

Response Lenses

createRouteResponseResponse_modelSelectionExpression :: Lens' CreateRouteResponseResponse (Maybe Text) Source #

Represents the model selection expression of a route response. Supported only for WebSocket APIs.

createRouteResponseResponse_routeResponseKey :: Lens' CreateRouteResponseResponse (Maybe Text) Source #

Represents the route response key of a route response.