list_configuration_history
¶
list_configuration_history(
*,
config_overrides: Optional[ApplicationInsightsClientConfig] = 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/application_insights.py
1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 | |