import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DeleteNotificationRuleRequest, DeleteNotificationRuleResult } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link DeleteNotificationRuleCommand}. */ export interface DeleteNotificationRuleCommandInput extends DeleteNotificationRuleRequest { } /** * @public * * The output of {@link DeleteNotificationRuleCommand}. */ export interface DeleteNotificationRuleCommandOutput extends DeleteNotificationRuleResult, __MetadataBearer { } declare const DeleteNotificationRuleCommand_base: { new (input: DeleteNotificationRuleCommandInput): import("@smithy/core/client").CommandImpl; new (input: DeleteNotificationRuleCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Deletes a notification rule for a resource.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { CodestarNotificationsClient, DeleteNotificationRuleCommand } from "@aws-sdk/client-codestar-notifications"; // ES Modules import * // const { CodestarNotificationsClient, DeleteNotificationRuleCommand } = require("@aws-sdk/client-codestar-notifications"); // CommonJS import * // import type { CodestarNotificationsClientConfig } from "@aws-sdk/client-codestar-notifications"; * const config = {}; // type is CodestarNotificationsClientConfig * const client = new CodestarNotificationsClient(config); * const input = { // DeleteNotificationRuleRequest * Arn: "STRING_VALUE", // required * }; * const command = new DeleteNotificationRuleCommand(input); * const response = await client.send(command); * // { // DeleteNotificationRuleResult * // Arn: "STRING_VALUE", * // }; * * ``` * * @param DeleteNotificationRuleCommandInput - {@link DeleteNotificationRuleCommandInput} * @returns {@link DeleteNotificationRuleCommandOutput} * @see {@link DeleteNotificationRuleCommandInput} for command's `input` shape. * @see {@link DeleteNotificationRuleCommandOutput} for command's `response` shape. * @see {@link CodestarNotificationsClientResolvedConfig | config} for CodestarNotificationsClient's `config` shape. * * @throws {@link ConcurrentModificationException} (client fault) *

CodeStar Notifications can't complete the request because the resource is being modified by * another process. Wait a few minutes and try again.

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

One of the CodeStar Notifications limits has been exceeded. Limits apply to * accounts, notification rules, notifications, resources, and targets. For more * information, see Limits.

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

One or more parameter values are not valid.

* * @throws {@link CodestarNotificationsServiceException} *

Base exception class for all service exceptions from CodestarNotifications service.

* * * @public */ export declare class DeleteNotificationRuleCommand extends DeleteNotificationRuleCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DeleteNotificationRuleRequest; output: DeleteNotificationRuleResult; }; sdk: { input: DeleteNotificationRuleCommandInput; output: DeleteNotificationRuleCommandOutput; }; }; }