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 |
Documentation
data EndpointItemResponse Source #
Provides the status code and message that result from processing data for an endpoint.
See: newEndpointItemResponse
smart constructor.
Instances
newEndpointItemResponse :: EndpointItemResponse Source #
Create a value of EndpointItemResponse
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:message:EndpointItemResponse'
, endpointItemResponse_message
- The custom message that's returned in the response as a result of
processing the endpoint data.
$sel:statusCode:EndpointItemResponse'
, endpointItemResponse_statusCode
- The status code that's returned in the response as a result of
processing the endpoint data.
endpointItemResponse_message :: Lens' EndpointItemResponse (Maybe Text) Source #
The custom message that's returned in the response as a result of processing the endpoint data.
endpointItemResponse_statusCode :: Lens' EndpointItemResponse (Maybe Int) Source #
The status code that's returned in the response as a result of processing the endpoint data.