| 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.LookoutMetrics.GetAnomalyGroup
Description
Returns details about a group of anomalous metrics.
Synopsis
- data GetAnomalyGroup = GetAnomalyGroup' {}
- newGetAnomalyGroup :: Text -> Text -> GetAnomalyGroup
- getAnomalyGroup_anomalyGroupId :: Lens' GetAnomalyGroup Text
- getAnomalyGroup_anomalyDetectorArn :: Lens' GetAnomalyGroup Text
- data GetAnomalyGroupResponse = GetAnomalyGroupResponse' {}
- newGetAnomalyGroupResponse :: Int -> GetAnomalyGroupResponse
- getAnomalyGroupResponse_anomalyGroup :: Lens' GetAnomalyGroupResponse (Maybe AnomalyGroup)
- getAnomalyGroupResponse_httpStatus :: Lens' GetAnomalyGroupResponse Int
Creating a Request
data GetAnomalyGroup Source #
See: newGetAnomalyGroup smart constructor.
Constructors
| GetAnomalyGroup' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> GetAnomalyGroup |
Create a value of GetAnomalyGroup 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:
GetAnomalyGroup, getAnomalyGroup_anomalyGroupId - The ID of the anomaly group.
GetAnomalyGroup, getAnomalyGroup_anomalyDetectorArn - The Amazon Resource Name (ARN) of the anomaly detector.
Request Lenses
getAnomalyGroup_anomalyGroupId :: Lens' GetAnomalyGroup Text Source #
The ID of the anomaly group.
getAnomalyGroup_anomalyDetectorArn :: Lens' GetAnomalyGroup Text Source #
The Amazon Resource Name (ARN) of the anomaly detector.
Destructuring the Response
data GetAnomalyGroupResponse Source #
See: newGetAnomalyGroupResponse smart constructor.
Constructors
| GetAnomalyGroupResponse' | |
Fields
| |
Instances
newGetAnomalyGroupResponse Source #
Create a value of GetAnomalyGroupResponse 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:anomalyGroup:GetAnomalyGroupResponse', getAnomalyGroupResponse_anomalyGroup - Details about the anomaly group.
$sel:httpStatus:GetAnomalyGroupResponse', getAnomalyGroupResponse_httpStatus - The response's http status code.
Response Lenses
getAnomalyGroupResponse_anomalyGroup :: Lens' GetAnomalyGroupResponse (Maybe AnomalyGroup) Source #
Details about the anomaly group.
getAnomalyGroupResponse_httpStatus :: Lens' GetAnomalyGroupResponse Int Source #
The response's http status code.