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

Description

Gets a RouteResponse.

Synopsis

Creating a Request

data GetRouteResponse Source #

See: newGetRouteResponse smart constructor.

Constructors

GetRouteResponse' 

Fields

Instances

Instances details
ToHeaders GetRouteResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.GetRouteResponse

ToPath GetRouteResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.GetRouteResponse

ToQuery GetRouteResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.GetRouteResponse

AWSRequest GetRouteResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.GetRouteResponse

Associated Types

type AWSResponse GetRouteResponse #

Generic GetRouteResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.GetRouteResponse

Associated Types

type Rep GetRouteResponse :: Type -> Type #

Read GetRouteResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.GetRouteResponse

Show GetRouteResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.GetRouteResponse

NFData GetRouteResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.GetRouteResponse

Methods

rnf :: GetRouteResponse -> () #

Eq GetRouteResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.GetRouteResponse

Hashable GetRouteResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.GetRouteResponse

type AWSResponse GetRouteResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.GetRouteResponse

type Rep GetRouteResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.GetRouteResponse

type Rep GetRouteResponse = D1 ('MetaData "GetRouteResponse" "Amazonka.ApiGatewayV2.GetRouteResponse" "amazonka-apigatewayv2-2.0-4MZ8oueToeLOWomgegceF" 'False) (C1 ('MetaCons "GetRouteResponse'" 'PrefixI 'True) (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))))

newGetRouteResponse Source #

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

GetRouteResponse, getRouteResponse_routeResponseId - The route response ID.

GetRouteResponse, getRouteResponse_apiId - The API identifier.

GetRouteResponse, getRouteResponse_routeId - The route ID.

Request Lenses

Destructuring the Response

data GetRouteResponseResponse Source #

See: newGetRouteResponseResponse smart constructor.

Constructors

GetRouteResponseResponse' 

Fields

Instances

Instances details
Generic GetRouteResponseResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.GetRouteResponse

Associated Types

type Rep GetRouteResponseResponse :: Type -> Type #

Read GetRouteResponseResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.GetRouteResponse

Show GetRouteResponseResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.GetRouteResponse

NFData GetRouteResponseResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.GetRouteResponse

Eq GetRouteResponseResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.GetRouteResponse

type Rep GetRouteResponseResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.GetRouteResponse

type Rep GetRouteResponseResponse = D1 ('MetaData "GetRouteResponseResponse" "Amazonka.ApiGatewayV2.GetRouteResponse" "amazonka-apigatewayv2-2.0-4MZ8oueToeLOWomgegceF" 'False) (C1 ('MetaCons "GetRouteResponseResponse'" '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)))))

newGetRouteResponseResponse Source #

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

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

GetRouteResponseResponse, getRouteResponseResponse_responseModels - Represents the response models of a route response.

GetRouteResponseResponse, getRouteResponseResponse_responseParameters - Represents the response parameters of a route response.

GetRouteResponse, getRouteResponseResponse_routeResponseId - Represents the identifier of a route response.

GetRouteResponseResponse, getRouteResponseResponse_routeResponseKey - Represents the route response key of a route response.

$sel:httpStatus:GetRouteResponseResponse', getRouteResponseResponse_httpStatus - The response's http status code.

Response Lenses

getRouteResponseResponse_modelSelectionExpression :: Lens' GetRouteResponseResponse (Maybe Text) Source #

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

getRouteResponseResponse_responseModels :: Lens' GetRouteResponseResponse (Maybe (HashMap Text Text)) Source #

Represents the response models of a route response.

getRouteResponseResponse_routeResponseId :: Lens' GetRouteResponseResponse (Maybe Text) Source #

Represents the identifier of a route response.

getRouteResponseResponse_routeResponseKey :: Lens' GetRouteResponseResponse (Maybe Text) Source #

Represents the route response key of a route response.