list_organization_insights
async
¶
list_organization_insights(
status_filter: ListInsightsStatusFilter,
*,
config_overrides: Optional[AsyncDevOpsGuruClientConfig] = None,
max_results: Optional[ListInsightsMaxResults] = None,
account_ids: Optional[ListInsightsAccountIdList] = None,
organizational_unit_ids: Optional[ListInsightsOrganizationalUnitIdList] = None,
next_token: Optional[UuidNextToken] = None,
) -> ListOrganizationInsightsResponse
Returns a list of insights associated with the account or OU Id.
Parameters:
-
max_results(Optional[ListInsightsMaxResults], 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. -
account_ids(Optional[ListInsightsAccountIdList], default:None) –The ID of the Amazon Web Services account.
-
organizational_unit_ids(Optional[ListInsightsOrganizationalUnitIdList], default:None) –The ID of the organizational unit.
-
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.
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.
-
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/async_dev_ops_guru.py
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 | |