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 |
Updates a RouteResponse.
Synopsis
- data UpdateRouteResponse = UpdateRouteResponse' {}
- newUpdateRouteResponse :: Text -> Text -> Text -> UpdateRouteResponse
- updateRouteResponse_modelSelectionExpression :: Lens' UpdateRouteResponse (Maybe Text)
- updateRouteResponse_responseModels :: Lens' UpdateRouteResponse (Maybe (HashMap Text Text))
- updateRouteResponse_routeResponseKey :: Lens' UpdateRouteResponse (Maybe Text)
- updateRouteResponse_responseParameters :: Lens' UpdateRouteResponse (Maybe (HashMap Text ParameterConstraints))
- updateRouteResponse_routeResponseId :: Lens' UpdateRouteResponse Text
- updateRouteResponse_apiId :: Lens' UpdateRouteResponse Text
- updateRouteResponse_routeId :: Lens' UpdateRouteResponse Text
- data UpdateRouteResponseResponse = UpdateRouteResponseResponse' {}
- newUpdateRouteResponseResponse :: Int -> UpdateRouteResponseResponse
- updateRouteResponseResponse_modelSelectionExpression :: Lens' UpdateRouteResponseResponse (Maybe Text)
- updateRouteResponseResponse_responseModels :: Lens' UpdateRouteResponseResponse (Maybe (HashMap Text Text))
- updateRouteResponseResponse_routeResponseId :: Lens' UpdateRouteResponseResponse (Maybe Text)
- updateRouteResponseResponse_routeResponseKey :: Lens' UpdateRouteResponseResponse (Maybe Text)
- updateRouteResponseResponse_responseParameters :: Lens' UpdateRouteResponseResponse (Maybe (HashMap Text ParameterConstraints))
- updateRouteResponseResponse_httpStatus :: Lens' UpdateRouteResponseResponse Int
Creating a Request
data UpdateRouteResponse Source #
Updates a RouteResponse.
See: newUpdateRouteResponse
smart constructor.
UpdateRouteResponse' | |
|
Instances
newUpdateRouteResponse Source #
:: Text | |
-> Text | |
-> Text | |
-> UpdateRouteResponse |
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.
updateRouteResponse_routeResponseKey :: Lens' UpdateRouteResponse (Maybe Text) Source #
The route response key.
updateRouteResponse_responseParameters :: Lens' UpdateRouteResponse (Maybe (HashMap Text ParameterConstraints)) Source #
The route response parameters.
updateRouteResponse_routeResponseId :: Lens' UpdateRouteResponse Text Source #
The route response ID.
updateRouteResponse_apiId :: Lens' UpdateRouteResponse Text Source #
The API identifier.
updateRouteResponse_routeId :: Lens' UpdateRouteResponse Text Source #
The route ID.
Destructuring the Response
data UpdateRouteResponseResponse Source #
See: newUpdateRouteResponseResponse
smart constructor.
UpdateRouteResponseResponse' | |
|
Instances
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_responseModels :: Lens' UpdateRouteResponseResponse (Maybe (HashMap Text Text)) Source #
Represents the response models of a route response.
updateRouteResponseResponse_routeResponseId :: Lens' UpdateRouteResponseResponse (Maybe Text) Source #
Represents the identifier of a route response.
updateRouteResponseResponse_routeResponseKey :: Lens' UpdateRouteResponseResponse (Maybe Text) Source #
Represents the route response key of a route response.
updateRouteResponseResponse_responseParameters :: Lens' UpdateRouteResponseResponse (Maybe (HashMap Text ParameterConstraints)) Source #
Represents the response parameters of a route response.
updateRouteResponseResponse_httpStatus :: Lens' UpdateRouteResponseResponse Int Source #
The response's http status code.