list_telemetry_rules_for_organization
async
¶
list_telemetry_rules_for_organization(
*,
config_overrides: Optional[AsyncObservabilityAdminClientConfig] = None,
rule_name_prefix: Optional[str] = None,
source_account_ids: Optional[AccountIdentifiers] = None,
source_organization_unit_ids: Optional[OrganizationUnitIdentifiers] = None,
max_results: Optional[ListTelemetryRulesForOrganizationMaxResults] = None,
next_token: Optional[NextToken] = None,
) -> ListTelemetryRulesForOrganizationOutput
Lists all telemetry rules in your organization. This operation can only be called by the organization's management account or a delegated administrator account.
Parameters:
-
rule_name_prefix(Optional[str], default:None) –A string to filter organization telemetry rules whose names begin with the specified prefix.
-
source_account_ids(Optional[AccountIdentifiers], default:None) –The list of account IDs to filter organization telemetry rules by their source accounts.
-
source_organization_unit_ids(Optional[OrganizationUnitIdentifiers], default:None) –The list of organizational unit IDs to filter organization telemetry rules by their source organizational units.
-
max_results(Optional[ListTelemetryRulesForOrganizationMaxResults], default:None) –The maximum number of organization telemetry rules to return in a single call.
-
next_token(Optional[NextToken], default:None) –The token for the next set of results. A previous call generates this token.
Raises:
-
AccessDeniedException–Indicates 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 for Amazon Web Services resources in the IAM user guide.
-
InternalServerException–Indicates the request has failed to process because of an unknown server error, exception, or failure.
-
TooManyRequestsException–The request throughput limit was exceeded.
-
ValidationException–Indicates input validation failed. Check your request parameters and retry the request.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_observabilityadmin/_services/async_observability_admin.py
1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 | |