list_anomalies_for_insight
¶
list_anomalies_for_insight(
insight_id: InsightId,
*,
config_overrides: Optional[DevOpsGuruClientConfig] = None,
start_time_range: Optional[StartTimeRange] = None,
max_results: Optional[ListAnomaliesForInsightMaxResults] = None,
next_token: Optional[UuidNextToken] = None,
account_id: Optional[AwsAccountId] = None,
filters: Optional[ListAnomaliesForInsightFilters] = None,
) -> ListAnomaliesForInsightResponse
Returns a list of the anomalies that belong to an insight that you specify using its ID.
Parameters:
-
insight_id(InsightId) –The ID of the insight. The returned anomalies belong to this insight.
-
start_time_range(Optional[StartTimeRange], default:None) –A time range used to specify when the requested anomalies started. All returned anomalies started during this time range.
-
max_results(Optional[ListAnomaliesForInsightMaxResults], default:None) –The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned
nextTokenvalue. -
next_token(Optional[UuidNextToken], default:None) –The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.
-
account_id(Optional[AwsAccountId], default:None) –The ID of the Amazon Web Services account.
-
filters(Optional[ListAnomaliesForInsightFilters], default:None) –Specifies one or more service names that are used to list anomalies.
Raises:
-
AccessDeniedException–You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.
-
InternalServerException–An internal failure in an Amazon service occurred.
-
ResourceNotFoundException–A requested resource could not be found
-
ThrottlingException–The request was denied due to a request throttling.
-
ValidationException–Contains information about data passed in to a field during a request that is not valid.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_devops_guru/_services/dev_ops_guru.py
1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 | |