import { Command as $Command } from "@smithy/core/client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { UpdateTraceSegmentDestinationRequest, UpdateTraceSegmentDestinationResult } from "../models/models_0"; import type { ServiceInputTypes, ServiceOutputTypes, XRayClientResolvedConfig } from "../XRayClient"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link UpdateTraceSegmentDestinationCommand}. */ export interface UpdateTraceSegmentDestinationCommandInput extends UpdateTraceSegmentDestinationRequest { } /** * @public * * The output of {@link UpdateTraceSegmentDestinationCommand}. */ export interface UpdateTraceSegmentDestinationCommandOutput extends UpdateTraceSegmentDestinationResult, __MetadataBearer { } declare const UpdateTraceSegmentDestinationCommand_base: { new (input: UpdateTraceSegmentDestinationCommandInput): import("@smithy/core/client").CommandImpl; new (...[input]: [] | [UpdateTraceSegmentDestinationCommandInput]): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): { [x: string]: unknown; }; }; /** *

* Modifies the destination of data sent to PutTraceSegments. The Transaction Search feature requires the CloudWatchLogs destination. For more information, see Transaction Search. *

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { XRayClient, UpdateTraceSegmentDestinationCommand } from "@aws-sdk/client-xray"; // ES Modules import * // const { XRayClient, UpdateTraceSegmentDestinationCommand } = require("@aws-sdk/client-xray"); // CommonJS import * // import type { XRayClientConfig } from "@aws-sdk/client-xray"; * const config = {}; // type is XRayClientConfig * const client = new XRayClient(config); * const input = { // UpdateTraceSegmentDestinationRequest * Destination: "XRay" || "CloudWatchLogs", * }; * const command = new UpdateTraceSegmentDestinationCommand(input); * const response = await client.send(command); * // { // UpdateTraceSegmentDestinationResult * // Destination: "XRay" || "CloudWatchLogs", * // Status: "PENDING" || "ACTIVE", * // }; * * ``` * * @param UpdateTraceSegmentDestinationCommandInput - {@link UpdateTraceSegmentDestinationCommandInput} * @returns {@link UpdateTraceSegmentDestinationCommandOutput} * @see {@link UpdateTraceSegmentDestinationCommandInput} for command's `input` shape. * @see {@link UpdateTraceSegmentDestinationCommandOutput} for command's `response` shape. * @see {@link XRayClientResolvedConfig | config} for XRayClient's `config` shape. * * @throws {@link InvalidRequestException} (client fault) *

The request is missing required parameters or has invalid parameters.

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

The request exceeds the maximum number of requests per second.

* * @throws {@link XRayServiceException} *

Base exception class for all service exceptions from XRay service.

* * * @public */ export declare class UpdateTraceSegmentDestinationCommand extends UpdateTraceSegmentDestinationCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: UpdateTraceSegmentDestinationRequest; output: UpdateTraceSegmentDestinationResult; }; sdk: { input: UpdateTraceSegmentDestinationCommandInput; output: UpdateTraceSegmentDestinationCommandOutput; }; }; }