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 { RegisterWebhookWithThirdPartyInput, RegisterWebhookWithThirdPartyOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link RegisterWebhookWithThirdPartyCommand}. */ export interface RegisterWebhookWithThirdPartyCommandInput extends RegisterWebhookWithThirdPartyInput { } /** * @public * * The output of {@link RegisterWebhookWithThirdPartyCommand}. */ export interface RegisterWebhookWithThirdPartyCommandOutput extends RegisterWebhookWithThirdPartyOutput, __MetadataBearer { } declare const RegisterWebhookWithThirdPartyCommand_base: { new (input: RegisterWebhookWithThirdPartyCommandInput): import("@smithy/smithy-client").CommandImpl; new (...[input]: [] | [RegisterWebhookWithThirdPartyCommandInput]): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Configures a connection between the webhook that was created and the external tool * with events to be detected.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { CodePipelineClient, RegisterWebhookWithThirdPartyCommand } from "@aws-sdk/client-codepipeline"; // ES Modules import * // const { CodePipelineClient, RegisterWebhookWithThirdPartyCommand } = 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 = { // RegisterWebhookWithThirdPartyInput * webhookName: "STRING_VALUE", * }; * const command = new RegisterWebhookWithThirdPartyCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param RegisterWebhookWithThirdPartyCommandInput - {@link RegisterWebhookWithThirdPartyCommandInput} * @returns {@link RegisterWebhookWithThirdPartyCommandOutput} * @see {@link RegisterWebhookWithThirdPartyCommandInput} for command's `input` shape. * @see {@link RegisterWebhookWithThirdPartyCommandOutput} for command's `response` shape. * @see {@link CodePipelineClientResolvedConfig | config} for CodePipelineClient's `config` shape. * * @throws {@link ValidationException} (client fault) *

The validation was specified in an invalid format.

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

The specified webhook was entered in an invalid format or cannot be * found.

* * @throws {@link CodePipelineServiceException} *

Base exception class for all service exceptions from CodePipeline service.

* * * @public */ export declare class RegisterWebhookWithThirdPartyCommand extends RegisterWebhookWithThirdPartyCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: RegisterWebhookWithThirdPartyInput; output: {}; }; sdk: { input: RegisterWebhookWithThirdPartyCommandInput; output: RegisterWebhookWithThirdPartyCommandOutput; }; }; }