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