list_problems
¶
list_problems(
*,
config_overrides: Optional[ApplicationInsightsClientConfig] = None,
account_id: Optional[AccountId] = None,
resource_group_name: Optional[ResourceGroupName] = None,
start_time: Optional[StartTime] = None,
end_time: Optional[EndTime] = None,
max_results: Optional[MaxEntities] = None,
next_token: Optional[PaginationToken] = None,
component_name: Optional[ComponentName] = None,
visibility: Optional[Visibility] = None,
) -> ListProblemsResponse
Lists the problems with your application.
Parameters:
-
account_id(Optional[AccountId], default:None) –The Amazon Web Services account ID for the resource group owner.
-
resource_group_name(Optional[ResourceGroupName], default:None) –The name of the resource group.
-
start_time(Optional[StartTime], default:None) –The time when the problem was detected, in epoch seconds. If you don't specify a time frame for the request, problems within the past seven days are returned.
-
end_time(Optional[EndTime], default:None) –The time when the problem ended, in epoch seconds. If not specified, problems within the past seven days are returned.
-
max_results(Optional[MaxEntities], default:None) –The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned
NextTokenvalue. -
next_token(Optional[PaginationToken], default:None) –The token to request the next page of results.
-
component_name(Optional[ComponentName], default:None) –The name of the component.
-
visibility(Optional[Visibility], default:None) –Specifies whether or not you can view the problem. If not specified, visible and ignored problems are returned.
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
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 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 | |