import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchClient"; import type { StartOTelEnrichmentInput, StartOTelEnrichmentOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link StartOTelEnrichmentCommand}. */ export interface StartOTelEnrichmentCommandInput extends StartOTelEnrichmentInput { } /** * @public * * The output of {@link StartOTelEnrichmentCommand}. */ export interface StartOTelEnrichmentCommandOutput extends StartOTelEnrichmentOutput, __MetadataBearer { } declare const StartOTelEnrichmentCommand_base: { new (input: StartOTelEnrichmentCommandInput): import("@smithy/smithy-client").CommandImpl; new (...[input]: [] | [StartOTelEnrichmentCommandInput]): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Enables enrichment and PromQL access for CloudWatch vended metrics for * supported AWS resources in the account. Once enabled, metrics that * contain a resource identifier dimension (for example, EC2 * CPUUtilization with an InstanceId dimension) are enriched * with resource ARN and resource tag labels and become queryable using * PromQL.

*

Before calling this operation, you must enable resource tags on telemetry for * your account. For more information, see Enable resource tags on telemetry.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { CloudWatchClient, StartOTelEnrichmentCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import * // const { CloudWatchClient, StartOTelEnrichmentCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import * // import type { CloudWatchClientConfig } from "@aws-sdk/client-cloudwatch"; * const config = {}; // type is CloudWatchClientConfig * const client = new CloudWatchClient(config); * const input = {}; * const command = new StartOTelEnrichmentCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param StartOTelEnrichmentCommandInput - {@link StartOTelEnrichmentCommandInput} * @returns {@link StartOTelEnrichmentCommandOutput} * @see {@link StartOTelEnrichmentCommandInput} for command's `input` shape. * @see {@link StartOTelEnrichmentCommandOutput} for command's `response` shape. * @see {@link CloudWatchClientResolvedConfig | config} for CloudWatchClient's `config` shape. * * @throws {@link CloudWatchServiceException} *

Base exception class for all service exceptions from CloudWatch service.

* * * @public */ export declare class StartOTelEnrichmentCommand extends StartOTelEnrichmentCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: {}; output: {}; }; sdk: { input: StartOTelEnrichmentCommandInput; output: StartOTelEnrichmentCommandOutput; }; }; }