import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { CodePipelineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodePipelineClient"; import type { DeleteWebhookInput, DeleteWebhookOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link DeleteWebhookCommand}. */ export interface DeleteWebhookCommandInput extends DeleteWebhookInput { } /** * @public * * The output of {@link DeleteWebhookCommand}. */ export interface DeleteWebhookCommandOutput extends DeleteWebhookOutput, __MetadataBearer { } declare const DeleteWebhookCommand_base: { new (input: DeleteWebhookCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: DeleteWebhookCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Deletes a previously created webhook by name. Deleting the webhook stops CodePipeline from starting a pipeline every time an external event occurs. The API * returns successfully when trying to delete a webhook that is already deleted. If a * deleted webhook is re-created by calling PutWebhook with the same name, it will have a * different URL.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { CodePipelineClient, DeleteWebhookCommand } from "@aws-sdk/client-codepipeline"; // ES Modules import * // const { CodePipelineClient, DeleteWebhookCommand } = require("@aws-sdk/client-codepipeline"); // CommonJS import * // import type { CodePipelineClientConfig } from "@aws-sdk/client-codepipeline"; * const config = {}; // type is CodePipelineClientConfig * const client = new CodePipelineClient(config); * const input = { // DeleteWebhookInput * name: "STRING_VALUE", // required * }; * const command = new DeleteWebhookCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param DeleteWebhookCommandInput - {@link DeleteWebhookCommandInput} * @returns {@link DeleteWebhookCommandOutput} * @see {@link DeleteWebhookCommandInput} for command's `input` shape. * @see {@link DeleteWebhookCommandOutput} for command's `response` shape. * @see {@link CodePipelineClientResolvedConfig | config} for CodePipelineClient's `config` shape. * * @throws {@link ConcurrentModificationException} (client fault) *

Unable to modify the tag due to a simultaneous update request.

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

The validation was specified in an invalid format.

* * @throws {@link CodePipelineServiceException} *

Base exception class for all service exceptions from CodePipeline service.

* * * @public */ export declare class DeleteWebhookCommand extends DeleteWebhookCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DeleteWebhookInput; output: {}; }; sdk: { input: DeleteWebhookCommandInput; output: DeleteWebhookCommandOutput; }; }; }