| 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 |
Amazonka.ApplicationInsights.DescribeObservation
Description
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.
Constructors
| DescribeObservation' | |
Fields
| |
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.
Constructors
| DescribeObservationResponse' | |
Fields
| |
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.