list_organization_insights
¶
list_organization_insights(
status_filter: ListInsightsStatusFilter,
*,
config_overrides: Optional[DevOpsGuruClientConfig] = 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/dev_ops_guru.py
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 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 | |