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

Defined in Amazonka.ApiGatewayV2.UpdateRouteResponse

Read UpdateRouteResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.UpdateRouteResponse

Show UpdateRouteResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.UpdateRouteResponse

Generic UpdateRouteResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.UpdateRouteResponse

Associated Types

type Rep UpdateRouteResponse :: Type -> Type #

NFData UpdateRouteResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.UpdateRouteResponse

Methods

rnf :: UpdateRouteResponse -> () #

Hashable UpdateRouteResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.UpdateRouteResponse

ToJSON UpdateRouteResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.UpdateRouteResponse

AWSRequest UpdateRouteResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.UpdateRouteResponse

Associated Types

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

type Rep UpdateRouteResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.UpdateRouteResponse

type Rep UpdateRouteResponse = D1 ('MetaData "UpdateRouteResponse" "Amazonka.ApiGatewayV2.UpdateRouteResponse" "libZSservicesZSamazonka-apigatewayv2ZSamazonka-apigatewayv2" '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 "routeResponseKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "responseParameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text ParameterConstraints))) :*: 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)))))
type AWSResponse UpdateRouteResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.UpdateRouteResponse

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:

$sel:modelSelectionExpression:UpdateRouteResponse', updateRouteResponse_modelSelectionExpression - The model selection expression for the route response. Supported only for WebSocket APIs.

$sel:responseModels:UpdateRouteResponse', updateRouteResponse_responseModels - The response models for the route response.

$sel:routeResponseKey:UpdateRouteResponse', updateRouteResponse_routeResponseKey - The route response key.

$sel:responseParameters:UpdateRouteResponse', updateRouteResponse_responseParameters - The route response parameters.

$sel:routeResponseId:UpdateRouteResponse', updateRouteResponse_routeResponseId - The route response ID.

$sel:apiId:UpdateRouteResponse', updateRouteResponse_apiId - The API identifier.

$sel:routeId: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
Eq UpdateRouteResponseResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.UpdateRouteResponse

Read UpdateRouteResponseResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.UpdateRouteResponse

Show UpdateRouteResponseResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.UpdateRouteResponse

Generic UpdateRouteResponseResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.UpdateRouteResponse

Associated Types

type Rep UpdateRouteResponseResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-apigatewayv2ZSamazonka-apigatewayv2" '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 "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)))))

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:

$sel:modelSelectionExpression:UpdateRouteResponse', updateRouteResponseResponse_modelSelectionExpression - Represents the model selection expression of a route response. Supported only for WebSocket APIs.

$sel:responseModels:UpdateRouteResponse', updateRouteResponseResponse_responseModels - Represents the response models of a route response.

$sel:routeResponseId:UpdateRouteResponse', updateRouteResponseResponse_routeResponseId - Represents the identifier of a route response.

$sel:routeResponseKey:UpdateRouteResponse', updateRouteResponseResponse_routeResponseKey - Represents the route response key of a route response.

$sel:responseParameters:UpdateRouteResponse', updateRouteResponseResponse_responseParameters - Represents the response parameters 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.