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 { DeleteCustomActionTypeInput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link DeleteCustomActionTypeCommand}. */ export interface DeleteCustomActionTypeCommandInput extends DeleteCustomActionTypeInput { } /** * @public * * The output of {@link DeleteCustomActionTypeCommand}. */ export interface DeleteCustomActionTypeCommandOutput extends __MetadataBearer { } declare const DeleteCustomActionTypeCommand_base: { new (input: DeleteCustomActionTypeCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: DeleteCustomActionTypeCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Marks a custom action as deleted. PollForJobs for the custom action * fails after the action is marked for deletion. Used for custom actions only.

* *

To re-create a custom action after it has been deleted you must use a string in * the version field that has never been used before. This string can be an incremented * version number, for example. To restore a deleted custom action, use a JSON file * that is identical to the deleted action, including the original string in the * version field.

*
* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { CodePipelineClient, DeleteCustomActionTypeCommand } from "@aws-sdk/client-codepipeline"; // ES Modules import * // const { CodePipelineClient, DeleteCustomActionTypeCommand } = 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 = { // DeleteCustomActionTypeInput * category: "Source" || "Build" || "Deploy" || "Test" || "Invoke" || "Approval" || "Compute", // required * provider: "STRING_VALUE", // required * version: "STRING_VALUE", // required * }; * const command = new DeleteCustomActionTypeCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param DeleteCustomActionTypeCommandInput - {@link DeleteCustomActionTypeCommandInput} * @returns {@link DeleteCustomActionTypeCommandOutput} * @see {@link DeleteCustomActionTypeCommandInput} for command's `input` shape. * @see {@link DeleteCustomActionTypeCommandOutput} 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 DeleteCustomActionTypeCommand extends DeleteCustomActionTypeCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DeleteCustomActionTypeInput; output: {}; }; sdk: { input: DeleteCustomActionTypeCommandInput; output: DeleteCustomActionTypeCommandOutput; }; }; }