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 |
Describes an anomaly or error with the application.
Synopsis
- data DescribeObservation = DescribeObservation' {}
- newDescribeObservation :: Text -> DescribeObservation
- describeObservation_observationId :: Lens' DescribeObservation Text
- data DescribeObservationResponse = DescribeObservationResponse' {}
- newDescribeObservationResponse :: Int -> DescribeObservationResponse
- describeObservationResponse_observation :: Lens' DescribeObservationResponse (Maybe Observation)
- describeObservationResponse_httpStatus :: Lens' DescribeObservationResponse Int
Creating a Request
data DescribeObservation Source #
See: newDescribeObservation
smart constructor.
DescribeObservation' | |
|
Instances
newDescribeObservation Source #
Create a value of DescribeObservation
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:observationId:DescribeObservation'
, describeObservation_observationId
- The ID of the observation.
Request Lenses
describeObservation_observationId :: Lens' DescribeObservation Text Source #
The ID of the observation.
Destructuring the Response
data DescribeObservationResponse Source #
See: newDescribeObservationResponse
smart constructor.
DescribeObservationResponse' | |
|
Instances
newDescribeObservationResponse Source #
Create a value of DescribeObservationResponse
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:observation:DescribeObservationResponse'
, describeObservationResponse_observation
- Information about the observation.
$sel:httpStatus:DescribeObservationResponse'
, describeObservationResponse_httpStatus
- The response's http status code.
Response Lenses
describeObservationResponse_observation :: Lens' DescribeObservationResponse (Maybe Observation) Source #
Information about the observation.
describeObservationResponse_httpStatus :: Lens' DescribeObservationResponse Int Source #
The response's http status code.