list_configuration_history
async
¶
list_configuration_history(
*,
config_overrides: Optional[AsyncApplicationInsightsClientConfig] = None,
resource_group_name: Optional[ResourceGroupName] = None,
start_time: Optional[StartTime] = None,
end_time: Optional[EndTime] = None,
event_status: Optional[ConfigurationEventStatus] = None,
max_results: Optional[MaxEntities] = None,
next_token: Optional[PaginationToken] = None,
account_id: Optional[AccountId] = None,
) -> ListConfigurationHistoryResponse
Lists the INFO, WARN, and ERROR events for periodic configuration updates performed by Application Insights. Examples of events represented are:
-
INFO: creating a new alarm or updating an alarm threshold.
-
WARN: alarm not created due to insufficient data points used to predict thresholds.
-
ERROR: alarm not created due to permission errors or exceeding quotas.
Parameters:
-
resource_group_name(Optional[ResourceGroupName], default:None) –Resource group to which the application belongs.
-
start_time(Optional[StartTime], default:None) –The start time of the event.
-
end_time(Optional[EndTime], default:None) –The end time of the event.
-
event_status(Optional[ConfigurationEventStatus], default:None) –The status of the configuration update event. Possible values include INFO, WARN, and ERROR.
-
max_results(Optional[MaxEntities], default:None) –The maximum number of results returned by
ListConfigurationHistoryin paginated output. When this parameter is used,ListConfigurationHistoryreturns onlyMaxResultsin a single page along with aNextTokenresponse element. The remaining results of the initial request can be seen by sending anotherListConfigurationHistoryrequest with the returnedNextTokenvalue. If this parameter is not used, thenListConfigurationHistoryreturns all results. -
next_token(Optional[PaginationToken], default:None) –The
NextTokenvalue returned from a previous paginatedListConfigurationHistoryrequest whereMaxResultswas used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned theNextTokenvalue. This value isnullwhen there are no more results to return. -
account_id(Optional[AccountId], default:None) –The Amazon Web Services account ID for the resource group owner.
Raises:
-
InternalServerException–The server encountered an internal error and is unable to complete the request.
-
ResourceNotFoundException–The resource does not exist in the customer account.
-
ValidationException–The parameter is not valid.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_application_insights/_services/async_application_insights.py
1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 | |