Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data RouteResponse = RouteResponse' {}
- newRouteResponse :: Text -> RouteResponse
- routeResponse_modelSelectionExpression :: Lens' RouteResponse (Maybe Text)
- routeResponse_responseModels :: Lens' RouteResponse (Maybe (HashMap Text Text))
- routeResponse_responseParameters :: Lens' RouteResponse (Maybe (HashMap Text ParameterConstraints))
- routeResponse_routeResponseId :: Lens' RouteResponse (Maybe Text)
- routeResponse_routeResponseKey :: Lens' RouteResponse Text
Documentation
data RouteResponse Source #
Represents a route response.
See: newRouteResponse
smart constructor.
RouteResponse' | |
|
Instances
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.