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 |
Returns details about an anomaly that you specify using its ID.
Synopsis
- data DescribeAnomaly = DescribeAnomaly' {}
- newDescribeAnomaly :: Text -> DescribeAnomaly
- describeAnomaly_id :: Lens' DescribeAnomaly Text
- data DescribeAnomalyResponse = DescribeAnomalyResponse' {}
- newDescribeAnomalyResponse :: Int -> DescribeAnomalyResponse
- describeAnomalyResponse_reactiveAnomaly :: Lens' DescribeAnomalyResponse (Maybe ReactiveAnomaly)
- describeAnomalyResponse_proactiveAnomaly :: Lens' DescribeAnomalyResponse (Maybe ProactiveAnomaly)
- describeAnomalyResponse_httpStatus :: Lens' DescribeAnomalyResponse Int
Creating a Request
data DescribeAnomaly Source #
See: newDescribeAnomaly
smart constructor.
Instances
Create a value of DescribeAnomaly
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:id:DescribeAnomaly'
, describeAnomaly_id
- The ID of the anomaly.
Request Lenses
describeAnomaly_id :: Lens' DescribeAnomaly Text Source #
The ID of the anomaly.
Destructuring the Response
data DescribeAnomalyResponse Source #
See: newDescribeAnomalyResponse
smart constructor.
DescribeAnomalyResponse' | |
|
Instances
newDescribeAnomalyResponse Source #
Create a value of DescribeAnomalyResponse
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:reactiveAnomaly:DescribeAnomalyResponse'
, describeAnomalyResponse_reactiveAnomaly
- A ProactiveAnomaly
object that represents the requested anomaly.
$sel:proactiveAnomaly:DescribeAnomalyResponse'
, describeAnomalyResponse_proactiveAnomaly
- A ReactiveAnomaly
object that represents the requested anomaly.
$sel:httpStatus:DescribeAnomalyResponse'
, describeAnomalyResponse_httpStatus
- The response's http status code.
Response Lenses
describeAnomalyResponse_reactiveAnomaly :: Lens' DescribeAnomalyResponse (Maybe ReactiveAnomaly) Source #
A ProactiveAnomaly
object that represents the requested anomaly.
describeAnomalyResponse_proactiveAnomaly :: Lens' DescribeAnomalyResponse (Maybe ProactiveAnomaly) Source #
A ReactiveAnomaly
object that represents the requested anomaly.
describeAnomalyResponse_httpStatus :: Lens' DescribeAnomalyResponse Int Source #
The response's http status code.