list_resource_telemetry
¶
list_resource_telemetry(
*,
config_overrides: Optional[ObservabilityAdminClientConfig] = None,
resource_identifier_prefix: Optional[ResourceIdentifierPrefix] = None,
resource_types: Optional[ResourceTypes] = None,
telemetry_configuration_state: Optional[TelemetryConfigurationState] = None,
resource_tags: Optional[TagMapInput] = None,
max_results: Optional[ListResourceTelemetryMaxResults] = None,
next_token: Optional[NextToken] = None,
) -> ListResourceTelemetryOutput
Returns a list of telemetry configurations for Amazon Web Services resources supported by telemetry config. For more information, see Auditing CloudWatch telemetry configurations.
Parameters:
-
resource_identifier_prefix(Optional[ResourceIdentifierPrefix], default:None) –A string used to filter resources which have a
ResourceIdentifierstarting with theResourceIdentifierPrefix. -
resource_types(Optional[ResourceTypes], default:None) –A list of resource types used to filter resources supported by telemetry config. If this parameter is provided, the service returns the resources in the same order as specified in the request. Currently supported resource types for discovery are:
-
AWS::EC2::Instance -
AWS::EC2::VPC -
AWS::Lambda::Function -
AWS::EKS::Cluster -
AWS::WAFv2::WebACL -
AWS::ElasticLoadBalancingV2::LoadBalancer(Network Load Balancers only)
-
-
telemetry_configuration_state(Optional[TelemetryConfigurationState], default:None) –A key-value pair to filter resources based on the telemetry type and the state of the telemetry configuration. The key is the telemetry type and the value is the state.
-
resource_tags(Optional[TagMapInput], default:None) –A key-value pair to filter resources based on tags associated with the resource. For more information about tags, see What are tags?
-
max_results(Optional[ListResourceTelemetryMaxResults], default:None) –A number field used to limit the number of results within the returned list.
-
next_token(Optional[NextToken], default:None) –The token for the next set of items to return. 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/observability_admin.py
1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 | |