CloudWatchObservabilityAdminService / Paginator / ListResourceTelemetry

ListResourceTelemetry

class CloudWatchObservabilityAdminService.Paginator.ListResourceTelemetry
paginator = client.get_paginator('list_resource_telemetry')
paginate(**kwargs)

Creates an iterator that will paginate through responses from CloudWatchObservabilityAdminService.Client.list_resource_telemetry().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    ResourceIdentifierPrefix='string',
    ResourceTypes=[
        'AWS::EC2::Instance'|'AWS::EC2::VPC'|'AWS::Lambda::Function'|'AWS::CloudTrail'|'AWS::EKS::Cluster'|'AWS::WAFv2::WebACL'|'AWS::ElasticLoadBalancingV2::LoadBalancer'|'AWS::Route53Resolver::ResolverEndpoint'|'AWS::BedrockAgentCore::Runtime'|'AWS::BedrockAgentCore::Browser'|'AWS::BedrockAgentCore::CodeInterpreter'|'AWS::BedrockAgentCore::Gateway'|'AWS::BedrockAgentCore::Memory'|'AWS::BedrockAgentCore::WorkloadIdentity'|'AWS::SecurityHub::Hub'|'AWS::CloudFront::Distribution'|'AWS::SecurityHub::HubV2'|'AWS::CloudWatch::OTelEnrichment'|'AWS::MSK::Cluster'|'AWS::S3::Bucket'|'AWS::Bedrock::KnowledgeBase',
    ],
    TelemetryConfigurationState={
        'string': 'Enabled'|'Disabled'|'NotApplicable'
    },
    ResourceTags={
        'string': 'string'
    },
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters:
  • ResourceIdentifierPrefix (string) – A string used to filter resources which have a ResourceIdentifier starting with the ResourceIdentifierPrefix.

  • ResourceTypes (list) –

    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)

    • (string) –

  • TelemetryConfigurationState (dict) –

    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.

    • (string) –

      • (string) –

  • ResourceTags (dict) –

    A key-value pair to filter resources based on tags associated with the resource. For more information about tags, see What are tags?

    • (string) –

      • (string) –

  • PaginationConfig (dict) –

    A dictionary that provides parameters to control pagination.

    • MaxItems (integer) –

      The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.

    • PageSize (integer) –

      The size of each page.

    • StartingToken (string) –

      A token to specify where to start paginating. This is the NextToken from a previous response.

Return type:

dict

Returns:

Response Syntax

{
    'TelemetryConfigurations': [
        {
            'AccountIdentifier': 'string',
            'TelemetryConfigurationState': {
                'string': 'Enabled'|'Disabled'|'NotApplicable'
            },
            'ResourceType': 'AWS::EC2::Instance'|'AWS::EC2::VPC'|'AWS::Lambda::Function'|'AWS::CloudTrail'|'AWS::EKS::Cluster'|'AWS::WAFv2::WebACL'|'AWS::ElasticLoadBalancingV2::LoadBalancer'|'AWS::Route53Resolver::ResolverEndpoint'|'AWS::BedrockAgentCore::Runtime'|'AWS::BedrockAgentCore::Browser'|'AWS::BedrockAgentCore::CodeInterpreter'|'AWS::BedrockAgentCore::Gateway'|'AWS::BedrockAgentCore::Memory'|'AWS::BedrockAgentCore::WorkloadIdentity'|'AWS::SecurityHub::Hub'|'AWS::CloudFront::Distribution'|'AWS::SecurityHub::HubV2'|'AWS::CloudWatch::OTelEnrichment'|'AWS::MSK::Cluster'|'AWS::S3::Bucket'|'AWS::Bedrock::KnowledgeBase',
            'ResourceIdentifier': 'string',
            'ResourceTags': {
                'string': 'string'
            },
            'LastUpdateTimeStamp': 123,
            'TelemetrySourceType': 'VPC_FLOW_LOGS'|'ROUTE53_RESOLVER_QUERY_LOGS'|'EKS_AUDIT_LOGS'|'EKS_AUTHENTICATOR_LOGS'|'EKS_CONTROLLER_MANAGER_LOGS'|'EKS_SCHEDULER_LOGS'|'EKS_API_LOGS'
        },
    ],

}

Response Structure

  • (dict) –

    • TelemetryConfigurations (list) –

      A list of telemetry configurations for Amazon Web Services resources supported by telemetry config in the caller’s account.

      • (dict) –

        A model representing the state of a resource within an account according to telemetry config.

        • AccountIdentifier (string) –

          The account ID which contains the resource managed in telemetry configuration. An example of a valid account ID is 012345678901.

        • TelemetryConfigurationState (dict) –

          The configuration state for the resource, for example { Logs: NotApplicable; Metrics: Enabled; Traces: NotApplicable; }.

          • (string) –

            • (string) –

        • ResourceType (string) –

          The type of resource, for example Amazon Web Services::EC2::Instance, or Amazon Web Services::EKS::Cluster, etc.

        • ResourceIdentifier (string) –

          The identifier of the resource, for example for Amazon VPC, it would be vpc-1a2b3c4d5e6f1a2b3.

        • ResourceTags (dict) –

          Tags associated with the resource, for example { Name: "ExampleInstance", Environment: "Development" }.

          • (string) –

            • (string) –

        • LastUpdateTimeStamp (integer) –

          The timestamp of the last change to the telemetry configuration for the resource. For example, 1728679196318.

        • TelemetrySourceType (string) –

          Specifies the type of telemetry source for a resource, such as EKS cluster logs.