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

Description

Updates a RouteResponse.

Synopsis

Creating a Request

data UpdateRouteResponse Source #

Updates a RouteResponse.

See: newUpdateRouteResponse smart constructor.

Constructors

UpdateRouteResponse' 

Fields

Instances

Instances details
ToJSON UpdateRouteResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.UpdateRouteResponse

ToHeaders UpdateRouteResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.UpdateRouteResponse

ToPath UpdateRouteResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.UpdateRouteResponse

ToQuery UpdateRouteResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.UpdateRouteResponse

AWSRequest UpdateRouteResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.UpdateRouteResponse

Associated Types

type AWSResponse UpdateRouteResponse #

Generic UpdateRouteResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.UpdateRouteResponse

Associated Types

type Rep UpdateRouteResponse :: Type -> Type #

Read UpdateRouteResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.UpdateRouteResponse

Show UpdateRouteResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.UpdateRouteResponse

NFData UpdateRouteResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.UpdateRouteResponse

Methods

rnf :: UpdateRouteResponse -> () #

Eq UpdateRouteResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.UpdateRouteResponse

Hashable UpdateRouteResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.UpdateRouteResponse

type AWSResponse UpdateRouteResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.UpdateRouteResponse

type Rep UpdateRouteResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.UpdateRouteResponse

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

newUpdateRouteResponse Source #

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

UpdateRouteResponse, updateRouteResponse_modelSelectionExpression - The model selection expression for the route response. Supported only for WebSocket APIs.

UpdateRouteResponse, updateRouteResponse_responseModels - The response models for the route response.

UpdateRouteResponse, updateRouteResponse_responseParameters - The route response parameters.

UpdateRouteResponse, updateRouteResponse_routeResponseKey - The route response key.

UpdateRouteResponse, updateRouteResponse_routeResponseId - The route response ID.

UpdateRouteResponse, updateRouteResponse_apiId - The API identifier.

UpdateRouteResponse, updateRouteResponse_routeId - The route ID.

Request Lenses

updateRouteResponse_modelSelectionExpression :: Lens' UpdateRouteResponse (Maybe Text) Source #

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

updateRouteResponse_responseModels :: Lens' UpdateRouteResponse (Maybe (HashMap Text Text)) Source #

The response models for the route response.

Destructuring the Response

data UpdateRouteResponseResponse Source #

See: newUpdateRouteResponseResponse smart constructor.

Constructors

UpdateRouteResponseResponse' 

Fields

Instances

Instances details
Generic UpdateRouteResponseResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.UpdateRouteResponse

Associated Types

type Rep UpdateRouteResponseResponse :: Type -> Type #

Read UpdateRouteResponseResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.UpdateRouteResponse

Show UpdateRouteResponseResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.UpdateRouteResponse

NFData UpdateRouteResponseResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.UpdateRouteResponse

Eq UpdateRouteResponseResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.UpdateRouteResponse

type Rep UpdateRouteResponseResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.UpdateRouteResponse

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

newUpdateRouteResponseResponse Source #

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

UpdateRouteResponse, updateRouteResponseResponse_modelSelectionExpression - Represents the model selection expression of a route response. Supported only for WebSocket APIs.

UpdateRouteResponse, updateRouteResponseResponse_responseModels - Represents the response models of a route response.

UpdateRouteResponse, updateRouteResponseResponse_responseParameters - Represents the response parameters of a route response.

UpdateRouteResponse, updateRouteResponseResponse_routeResponseId - Represents the identifier of a route response.

UpdateRouteResponse, updateRouteResponseResponse_routeResponseKey - Represents the route response key of a route response.

$sel:httpStatus:UpdateRouteResponseResponse', updateRouteResponseResponse_httpStatus - The response's http status code.

Response Lenses

updateRouteResponseResponse_modelSelectionExpression :: Lens' UpdateRouteResponseResponse (Maybe Text) Source #

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

updateRouteResponseResponse_routeResponseKey :: Lens' UpdateRouteResponseResponse (Maybe Text) Source #

Represents the route response key of a route response.