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 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.
GetAnomalyGroup' | |
|
Instances
:: 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:
$sel:anomalyGroupId:GetAnomalyGroup'
, getAnomalyGroup_anomalyGroupId
- The ID of the anomaly group.
$sel:anomalyDetectorArn: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.
GetAnomalyGroupResponse' | |
|
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.