list_resource_telemetry
async
¶
list_resource_telemetry(
*,
config_overrides: Optional[AsyncObservabilityAdminClientConfig] = 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/async_observability_admin.py
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 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 | |