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 |
Retrieves the summary information of an insight. This includes impact to clients and root cause services, the top anomalous services, the category, the state of the insight, and the start and end time of the insight.
Synopsis
- data GetInsight = GetInsight' {}
- newGetInsight :: Text -> GetInsight
- getInsight_insightId :: Lens' GetInsight Text
- data GetInsightResponse = GetInsightResponse' {
- insight :: Maybe Insight
- httpStatus :: Int
- newGetInsightResponse :: Int -> GetInsightResponse
- getInsightResponse_insight :: Lens' GetInsightResponse (Maybe Insight)
- getInsightResponse_httpStatus :: Lens' GetInsightResponse Int
Creating a Request
data GetInsight Source #
See: newGetInsight
smart constructor.
Instances
Create a value of GetInsight
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:insightId:GetInsight'
, getInsight_insightId
- The insight's unique identifier. Use the GetInsightSummaries action to
retrieve an InsightId.
Request Lenses
getInsight_insightId :: Lens' GetInsight Text Source #
The insight's unique identifier. Use the GetInsightSummaries action to retrieve an InsightId.
Destructuring the Response
data GetInsightResponse Source #
See: newGetInsightResponse
smart constructor.
GetInsightResponse' | |
|
Instances
newGetInsightResponse Source #
Create a value of GetInsightResponse
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:insight:GetInsightResponse'
, getInsightResponse_insight
- The summary information of an insight.
$sel:httpStatus:GetInsightResponse'
, getInsightResponse_httpStatus
- The response's http status code.
Response Lenses
getInsightResponse_insight :: Lens' GetInsightResponse (Maybe Insight) Source #
The summary information of an insight.
getInsightResponse_httpStatus :: Lens' GetInsightResponse Int Source #
The response's http status code.