import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { ListResourceTelemetryInput, ListResourceTelemetryOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link ListResourceTelemetryCommand}. */ export interface ListResourceTelemetryCommandInput extends ListResourceTelemetryInput { } /** * @public * * The output of {@link ListResourceTelemetryCommand}. */ export interface ListResourceTelemetryCommandOutput extends ListResourceTelemetryOutput, __MetadataBearer { } declare const ListResourceTelemetryCommand_base: { new (input: ListResourceTelemetryCommandInput): import("@smithy/core/client").CommandImpl; new (...[input]: [] | [ListResourceTelemetryCommandInput]): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Returns a list of telemetry configurations for Amazon Web Services resources supported by telemetry config. For more information, see Auditing CloudWatch telemetry configurations.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { ObservabilityAdminClient, ListResourceTelemetryCommand } from "@aws-sdk/client-observabilityadmin"; // ES Modules import * // const { ObservabilityAdminClient, ListResourceTelemetryCommand } = require("@aws-sdk/client-observabilityadmin"); // CommonJS import * // import type { ObservabilityAdminClientConfig } from "@aws-sdk/client-observabilityadmin"; * const config = {}; // type is ObservabilityAdminClientConfig * const client = new ObservabilityAdminClient(config); * const input = { // ListResourceTelemetryInput * ResourceIdentifierPrefix: "STRING_VALUE", * ResourceTypes: [ // 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: { // TelemetryConfigurationState * "": "Enabled" || "Disabled" || "NotApplicable", * }, * ResourceTags: { // TagMapInput * "": "STRING_VALUE", * }, * MaxResults: Number("int"), * NextToken: "STRING_VALUE", * }; * const command = new ListResourceTelemetryCommand(input); * const response = await client.send(command); * // { // ListResourceTelemetryOutput * // TelemetryConfigurations: [ // TelemetryConfigurations * // { // TelemetryConfiguration * // AccountIdentifier: "STRING_VALUE", * // TelemetryConfigurationState: { // TelemetryConfigurationState * // "": "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_VALUE", * // ResourceTags: { // TagMapOutput * // "": "STRING_VALUE", * // }, * // LastUpdateTimeStamp: Number("long"), * // TelemetrySourceType: "VPC_FLOW_LOGS" || "ROUTE53_RESOLVER_QUERY_LOGS" || "EKS_AUDIT_LOGS" || "EKS_AUTHENTICATOR_LOGS" || "EKS_CONTROLLER_MANAGER_LOGS" || "EKS_SCHEDULER_LOGS" || "EKS_API_LOGS", * // }, * // ], * // NextToken: "STRING_VALUE", * // }; * * ``` * * @param ListResourceTelemetryCommandInput - {@link ListResourceTelemetryCommandInput} * @returns {@link ListResourceTelemetryCommandOutput} * @see {@link ListResourceTelemetryCommandInput} for command's `input` shape. * @see {@link ListResourceTelemetryCommandOutput} for command's `response` shape. * @see {@link ObservabilityAdminClientResolvedConfig | config} for ObservabilityAdminClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

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.

* * @throws {@link InternalServerException} (server fault) *

Indicates the request has failed to process because of an unknown server error, exception, or failure.

* * @throws {@link TooManyRequestsException} (client fault) *

The request throughput limit was exceeded.

* * @throws {@link ValidationException} (client fault) *

Indicates input validation failed. Check your request parameters and retry the request.

* * @throws {@link ObservabilityAdminServiceException} *

Base exception class for all service exceptions from ObservabilityAdmin service.

* * * @public */ export declare class ListResourceTelemetryCommand extends ListResourceTelemetryCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListResourceTelemetryInput; output: ListResourceTelemetryOutput; }; sdk: { input: ListResourceTelemetryCommandInput; output: ListResourceTelemetryCommandOutput; }; }; }