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.Types.RouteResponse

Description

 
Synopsis

Documentation

data RouteResponse Source #

Represents a route response.

See: newRouteResponse smart constructor.

Constructors

RouteResponse' 

Fields

Instances

Instances details
FromJSON RouteResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.RouteResponse

Generic RouteResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.RouteResponse

Associated Types

type Rep RouteResponse :: Type -> Type #

Read RouteResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.RouteResponse

Show RouteResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.RouteResponse

NFData RouteResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.RouteResponse

Methods

rnf :: RouteResponse -> () #

Eq RouteResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.RouteResponse

Hashable RouteResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.RouteResponse

type Rep RouteResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.RouteResponse

type Rep RouteResponse = D1 ('MetaData "RouteResponse" "Amazonka.ApiGatewayV2.Types.RouteResponse" "amazonka-apigatewayv2-2.0-4MZ8oueToeLOWomgegceF" 'False) (C1 ('MetaCons "RouteResponse'" '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 "routeResponseId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "routeResponseKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newRouteResponse Source #

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

$sel:responseModels:RouteResponse', routeResponse_responseModels - Represents the response models of a route response.

$sel:responseParameters:RouteResponse', routeResponse_responseParameters - Represents the response parameters of a route response.

$sel:routeResponseId:RouteResponse', routeResponse_routeResponseId - Represents the identifier of a route response.

$sel:routeResponseKey:RouteResponse', routeResponse_routeResponseKey - Represents the route response key of a route response.

routeResponse_modelSelectionExpression :: Lens' RouteResponse (Maybe Text) Source #

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

routeResponse_responseModels :: Lens' RouteResponse (Maybe (HashMap Text Text)) Source #

Represents the response models of a route response.

routeResponse_responseParameters :: Lens' RouteResponse (Maybe (HashMap Text ParameterConstraints)) Source #

Represents the response parameters of a route response.

routeResponse_routeResponseId :: Lens' RouteResponse (Maybe Text) Source #

Represents the identifier of a route response.

routeResponse_routeResponseKey :: Lens' RouteResponse Text Source #

Represents the route response key of a route response.