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

Deletes a sampling rule.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { XRayClient, DeleteSamplingRuleCommand } from "@aws-sdk/client-xray"; // ES Modules import * // const { XRayClient, DeleteSamplingRuleCommand } = 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 = { // DeleteSamplingRuleRequest * RuleName: "STRING_VALUE", * RuleARN: "STRING_VALUE", * }; * const command = new DeleteSamplingRuleCommand(input); * const response = await client.send(command); * // { // DeleteSamplingRuleResult * // SamplingRuleRecord: { // SamplingRuleRecord * // SamplingRule: { // SamplingRule * // RuleName: "STRING_VALUE", * // RuleARN: "STRING_VALUE", * // ResourceARN: "STRING_VALUE", // required * // Priority: Number("int"), // required * // FixedRate: Number("double"), // required * // ReservoirSize: Number("int"), // required * // ServiceName: "STRING_VALUE", // required * // ServiceType: "STRING_VALUE", // required * // Host: "STRING_VALUE", // required * // HTTPMethod: "STRING_VALUE", // required * // URLPath: "STRING_VALUE", // required * // Version: Number("int"), // required * // Attributes: { // AttributeMap * // "": "STRING_VALUE", * // }, * // SamplingRateBoost: { // SamplingRateBoost * // MaxRate: Number("double"), // required * // CooldownWindowMinutes: Number("int"), // required * // }, * // }, * // CreatedAt: new Date("TIMESTAMP"), * // ModifiedAt: new Date("TIMESTAMP"), * // }, * // }; * * ``` * * @param DeleteSamplingRuleCommandInput - {@link DeleteSamplingRuleCommandInput} * @returns {@link DeleteSamplingRuleCommandOutput} * @see {@link DeleteSamplingRuleCommandInput} for command's `input` shape. * @see {@link DeleteSamplingRuleCommandOutput} 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 DeleteSamplingRuleCommand extends DeleteSamplingRuleCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DeleteSamplingRuleRequest; output: DeleteSamplingRuleResult; }; sdk: { input: DeleteSamplingRuleCommandInput; output: DeleteSamplingRuleCommandOutput; }; }; }