Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data RouteResponse = RouteResponse' {}
- newRouteResponse :: Text -> RouteResponse
- routeResponse_modelSelectionExpression :: Lens' RouteResponse (Maybe Text)
- routeResponse_responseModels :: Lens' RouteResponse (Maybe (HashMap Text Text))
- routeResponse_routeResponseId :: Lens' RouteResponse (Maybe Text)
- routeResponse_responseParameters :: Lens' RouteResponse (Maybe (HashMap Text ParameterConstraints))
- 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:routeResponseId:RouteResponse'
, routeResponse_routeResponseId
- Represents the identifier of a route response.
$sel:responseParameters:RouteResponse'
, routeResponse_responseParameters
- Represents the response parameters 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_routeResponseId :: Lens' RouteResponse (Maybe Text) Source #
Represents the identifier of a route response.
routeResponse_responseParameters :: Lens' RouteResponse (Maybe (HashMap Text ParameterConstraints)) Source #
Represents the response parameters of a route response.
routeResponse_routeResponseKey :: Lens' RouteResponse Text Source #
Represents the route response key of a route response.