import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { BatchGetRumMetricDefinitionsRequest, BatchGetRumMetricDefinitionsResponse } from "../models/models_0"; import type { RUMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RUMClient"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link BatchGetRumMetricDefinitionsCommand}. */ export interface BatchGetRumMetricDefinitionsCommandInput extends BatchGetRumMetricDefinitionsRequest { } /** * @public * * The output of {@link BatchGetRumMetricDefinitionsCommand}. */ export interface BatchGetRumMetricDefinitionsCommandOutput extends BatchGetRumMetricDefinitionsResponse, __MetadataBearer { } declare const BatchGetRumMetricDefinitionsCommand_base: { new (input: BatchGetRumMetricDefinitionsCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: BatchGetRumMetricDefinitionsCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Retrieves the list of metrics and dimensions that a RUM app monitor is sending to a single destination.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { RUMClient, BatchGetRumMetricDefinitionsCommand } from "@aws-sdk/client-rum"; // ES Modules import * // const { RUMClient, BatchGetRumMetricDefinitionsCommand } = require("@aws-sdk/client-rum"); // CommonJS import * // import type { RUMClientConfig } from "@aws-sdk/client-rum"; * const config = {}; // type is RUMClientConfig * const client = new RUMClient(config); * const input = { // BatchGetRumMetricDefinitionsRequest * AppMonitorName: "STRING_VALUE", // required * Destination: "STRING_VALUE", // required * DestinationArn: "STRING_VALUE", * MaxResults: Number("int"), * NextToken: "STRING_VALUE", * }; * const command = new BatchGetRumMetricDefinitionsCommand(input); * const response = await client.send(command); * // { // BatchGetRumMetricDefinitionsResponse * // MetricDefinitions: [ // MetricDefinitions * // { // MetricDefinition * // MetricDefinitionId: "STRING_VALUE", // required * // Name: "STRING_VALUE", // required * // ValueKey: "STRING_VALUE", * // UnitLabel: "STRING_VALUE", * // DimensionKeys: { // DimensionKeysMap * // "": "STRING_VALUE", * // }, * // EventPattern: "STRING_VALUE", * // Namespace: "STRING_VALUE", * // }, * // ], * // NextToken: "STRING_VALUE", * // }; * * ``` * * @param BatchGetRumMetricDefinitionsCommandInput - {@link BatchGetRumMetricDefinitionsCommandInput} * @returns {@link BatchGetRumMetricDefinitionsCommandOutput} * @see {@link BatchGetRumMetricDefinitionsCommandInput} for command's `input` shape. * @see {@link BatchGetRumMetricDefinitionsCommandOutput} for command's `response` shape. * @see {@link RUMClientResolvedConfig | config} for RUMClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

You don't have sufficient permissions to perform this action.

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

Internal service exception.

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

Resource not found.

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

One of the arguments for the request is not valid.

* * @throws {@link RUMServiceException} *

Base exception class for all service exceptions from RUM service.

* * * @public */ export declare class BatchGetRumMetricDefinitionsCommand extends BatchGetRumMetricDefinitionsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: BatchGetRumMetricDefinitionsRequest; output: BatchGetRumMetricDefinitionsResponse; }; sdk: { input: BatchGetRumMetricDefinitionsCommandInput; output: BatchGetRumMetricDefinitionsCommandOutput; }; }; }