getInsight method
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.
May throw InvalidRequestException. May throw ThrottledException.
Parameter insightId
:
The insight's unique identifier. Use the GetInsightSummaries action to
retrieve an InsightId.
Implementation
Future<GetInsightResult> getInsight({
required String insightId,
}) async {
ArgumentError.checkNotNull(insightId, 'insightId');
final $payload = <String, dynamic>{
'InsightId': insightId,
};
final response = await _protocol.send(
payload: $payload,
method: 'POST',
requestUri: '/Insight',
exceptionFnMap: _exceptionFns,
);
return GetInsightResult.fromJson(response);
}