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

Creates or updates a destination to receive extended metrics from CloudWatch RUM. You can send extended metrics to CloudWatch or to a CloudWatch Evidently experiment.

For more information about extended metrics, see BatchCreateRumMetricDefinitions.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { RUMClient, PutRumMetricsDestinationCommand } from "@aws-sdk/client-rum"; // ES Modules import * // const { RUMClient, PutRumMetricsDestinationCommand } = 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 = { // PutRumMetricsDestinationRequest * AppMonitorName: "STRING_VALUE", // required * Destination: "STRING_VALUE", // required * DestinationArn: "STRING_VALUE", * IamRoleArn: "STRING_VALUE", * }; * const command = new PutRumMetricsDestinationCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param PutRumMetricsDestinationCommandInput - {@link PutRumMetricsDestinationCommandInput} * @returns {@link PutRumMetricsDestinationCommandOutput} * @see {@link PutRumMetricsDestinationCommandInput} for command's `input` shape. * @see {@link PutRumMetricsDestinationCommandOutput} 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 ConflictException} (client fault) *

This operation attempted to create a resource that already exists.

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

Internal service exception.

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

Resource not found.

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

The request was throttled because of quota limits.

* * @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 PutRumMetricsDestinationCommand extends PutRumMetricsDestinationCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: PutRumMetricsDestinationRequest; output: {}; }; sdk: { input: PutRumMetricsDestinationCommandInput; output: PutRumMetricsDestinationCommandOutput; }; }; }