list_organization_enrollment_configurations
async
¶
list_organization_enrollment_configurations(
*,
config_overrides: Optional[AsyncComputeOptimizerAutomationClientConfig] = None,
target_type: Optional[OrganizationTargetType] = None,
max_results: Optional[int] = None,
next_token: Optional[NextToken] = None,
) -> ListOrganizationEnrollmentConfigurationsResponse
Lists the organization enrollment configurations that are stored directly on accounts, organizational units (OUs), and the organization root.
Only the management account or a delegated administrator can perform this action.
Parameters:
-
target_type(Optional[OrganizationTargetType], default:None) –The target type to use to filter the results. If you specify
OrganizationalUnit, the results also include configurations stored on the organization root. If you don't specify a target type, the operation returns configurations for every target type. -
max_results(Optional[int], default:None) –The maximum number of organization enrollment configurations to return in a single response. If you don't specify a value, the default is 1,000.
-
next_token(Optional[NextToken], default:None) –The token to use to retrieve the next page of results.
Raises:
-
AccessDeniedException–You do not have sufficient permissions to perform this action.
-
ForbiddenException–You are not authorized to perform this action.
-
InternalServerException–An internal error occurred while processing the request.
-
InvalidParameterValueException–One or more parameter values are not valid.
-
OptInRequiredException–The account must be opted in to Compute Optimizer Automation before performing this action.
-
ServiceUnavailableException–The service is temporarily unavailable.
-
ThrottlingException–The request was denied due to request throttling.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_compute_optimizer_automation/_services/async_compute_optimizer_automation.py
1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 | |