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
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 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 | |