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
1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 | |