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 |
Gets a RouteResponse.
Synopsis
- data GetRouteResponse = GetRouteResponse' {}
- newGetRouteResponse :: Text -> Text -> Text -> GetRouteResponse
- getRouteResponse_routeResponseId :: Lens' GetRouteResponse Text
- getRouteResponse_apiId :: Lens' GetRouteResponse Text
- getRouteResponse_routeId :: Lens' GetRouteResponse Text
- data GetRouteResponseResponse = GetRouteResponseResponse' {}
- newGetRouteResponseResponse :: Int -> GetRouteResponseResponse
- getRouteResponseResponse_modelSelectionExpression :: Lens' GetRouteResponseResponse (Maybe Text)
- getRouteResponseResponse_responseModels :: Lens' GetRouteResponseResponse (Maybe (HashMap Text Text))
- getRouteResponseResponse_routeResponseId :: Lens' GetRouteResponseResponse (Maybe Text)
- getRouteResponseResponse_routeResponseKey :: Lens' GetRouteResponseResponse (Maybe Text)
- getRouteResponseResponse_responseParameters :: Lens' GetRouteResponseResponse (Maybe (HashMap Text ParameterConstraints))
- getRouteResponseResponse_httpStatus :: Lens' GetRouteResponseResponse Int
Creating a Request
data GetRouteResponse Source #
See: newGetRouteResponse
smart constructor.
Instances
:: Text | |
-> Text | |
-> Text | |
-> GetRouteResponse |
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:
$sel:routeResponseId:GetRouteResponse'
, getRouteResponse_routeResponseId
- The route response ID.
$sel:apiId:GetRouteResponse'
, getRouteResponse_apiId
- The API identifier.
$sel:routeId:GetRouteResponse'
, getRouteResponse_routeId
- The route ID.
Request Lenses
getRouteResponse_routeResponseId :: Lens' GetRouteResponse Text Source #
The route response ID.
getRouteResponse_apiId :: Lens' GetRouteResponse Text Source #
The API identifier.
getRouteResponse_routeId :: Lens' GetRouteResponse Text Source #
The route ID.
Destructuring the Response
data GetRouteResponseResponse Source #
See: newGetRouteResponseResponse
smart constructor.
GetRouteResponseResponse' | |
|
Instances
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:
$sel:modelSelectionExpression:GetRouteResponseResponse'
, getRouteResponseResponse_modelSelectionExpression
- Represents the model selection expression of a route response. Supported
only for WebSocket APIs.
$sel:responseModels:GetRouteResponseResponse'
, getRouteResponseResponse_responseModels
- Represents the response models of a route response.
$sel:routeResponseId:GetRouteResponse'
, getRouteResponseResponse_routeResponseId
- Represents the identifier of a route response.
$sel:routeResponseKey:GetRouteResponseResponse'
, getRouteResponseResponse_routeResponseKey
- Represents the route response key of a route response.
$sel:responseParameters:GetRouteResponseResponse'
, getRouteResponseResponse_responseParameters
- Represents the response parameters 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.
getRouteResponseResponse_responseParameters :: Lens' GetRouteResponseResponse (Maybe (HashMap Text ParameterConstraints)) Source #
Represents the response parameters of a route response.
getRouteResponseResponse_httpStatus :: Lens' GetRouteResponseResponse Int Source #
The response's http status code.