import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DeleteCaseRuleRequest, DeleteCaseRuleResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link DeleteCaseRuleCommand}. */ export interface DeleteCaseRuleCommandInput extends DeleteCaseRuleRequest { } /** * @public * * The output of {@link DeleteCaseRuleCommand}. */ export interface DeleteCaseRuleCommandOutput extends DeleteCaseRuleResponse, __MetadataBearer { } declare const DeleteCaseRuleCommand_base: { new (input: DeleteCaseRuleCommandInput): import("@smithy/core/client").CommandImpl; new (input: DeleteCaseRuleCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Deletes a case rule. In the Amazon Connect admin website, case rules are known as case field conditions. For more information about case field conditions, see Add case field conditions to a case template.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { ConnectCasesClient, DeleteCaseRuleCommand } from "@aws-sdk/client-connectcases"; // ES Modules import * // const { ConnectCasesClient, DeleteCaseRuleCommand } = require("@aws-sdk/client-connectcases"); // CommonJS import * // import type { ConnectCasesClientConfig } from "@aws-sdk/client-connectcases"; * const config = {}; // type is ConnectCasesClientConfig * const client = new ConnectCasesClient(config); * const input = { // DeleteCaseRuleRequest * domainId: "STRING_VALUE", // required * caseRuleId: "STRING_VALUE", // required * }; * const command = new DeleteCaseRuleCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param DeleteCaseRuleCommandInput - {@link DeleteCaseRuleCommandInput} * @returns {@link DeleteCaseRuleCommandOutput} * @see {@link DeleteCaseRuleCommandInput} for command's `input` shape. * @see {@link DeleteCaseRuleCommandOutput} for command's `response` shape. * @see {@link ConnectCasesClientResolvedConfig | config} for ConnectCasesClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

You do not have sufficient access to perform this action.

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

The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request. See the accompanying error message for details.

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

We couldn't process your request because of an issue with the server. Try again later.

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

We couldn't find the requested resource. Check that your resources exists and were created in the same Amazon Web Services Region as your request, and try your request again.

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

The rate has been exceeded for this API. Please try again after a few minutes.

* * @throws {@link ConnectCasesServiceException} *

Base exception class for all service exceptions from ConnectCases service.

* * * @public */ export declare class DeleteCaseRuleCommand extends DeleteCaseRuleCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DeleteCaseRuleRequest; output: {}; }; sdk: { input: DeleteCaseRuleCommandInput; output: DeleteCaseRuleCommandOutput; }; }; }