get_insight_impact_graph
async
¶
get_insight_impact_graph(
insight_id: InsightId,
start_time: Timestamp,
end_time: Timestamp,
*,
config_overrides: Optional[AsyncXRayClientConfig] = None,
next_token: Optional[Token] = None,
) -> GetInsightImpactGraphResult
Retrieves a service graph structure filtered by the specified insight. The service graph is limited to only structural information. For a complete service graph, use this API with the GetServiceGraph API.
Parameters:
-
insight_id(InsightId) –The insight's unique identifier. Use the GetInsightSummaries action to retrieve an InsightId.
-
start_time(Timestamp) –The estimated start time of the insight, in Unix time seconds. The StartTime is inclusive of the value provided and can't be more than 30 days old.
-
end_time(Timestamp) –The estimated end time of the insight, in Unix time seconds. The EndTime is exclusive of the value provided. The time range between the start time and end time can't be more than six hours.
-
next_token(Optional[Token], default:None) –Specify the pagination token returned by a previous request to retrieve the next page of results.
Raises:
-
InvalidRequestException–The request is missing required parameters or has invalid parameters.
-
ThrottledException–The request exceeds the maximum number of requests per second.
-
UnknownServiceError–The service returned an error code this client does not model.