get_insight_summaries
¶
get_insight_summaries(
start_time: Timestamp,
end_time: Timestamp,
*,
config_overrides: Optional[XRayClientConfig] = None,
states: Optional[InsightStateList] = None,
group_arn: Optional[GroupARN] = None,
group_name: Optional[GroupName] = None,
max_results: Optional[GetInsightSummariesMaxResults] = None,
next_token: Optional[Token] = None,
) -> GetInsightSummariesResult
Retrieves the summaries of all insights in the specified group matching the provided filter values.
Parameters:
-
states(Optional[InsightStateList], default:None) –The list of insight states.
-
group_arn(Optional[GroupARN], default:None) –The Amazon Resource Name (ARN) of the group. Required if the GroupName isn't provided.
-
group_name(Optional[GroupName], default:None) –The name of the group. Required if the GroupARN isn't provided.
-
start_time(Timestamp) –The beginning of the time frame in which the insights started. The start time can't be more than 30 days old.
-
end_time(Timestamp) –The end of the time frame in which the insights ended. The end time can't be more than 30 days old.
-
max_results(Optional[GetInsightSummariesMaxResults], default:None) –The maximum number of results to display.
-
next_token(Optional[Token], default:None) –Pagination token.
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.
Source code in docs_src/capo_xray/_services/x_ray.py
1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 | |