Jump to Content

New API Documentation - Developer Preview Available

We are excited to announce the developer preview of our new API documentation for AWS SDK for JavaScript v3. Please follow instructions on the landing page to leave us your feedback.

Class DeleteCustomActionTypeCommandProtected

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.

import { CodePipelineClient, DeleteCustomActionTypeCommand } from "@aws-sdk/client-codepipeline"; // ES Modules import
// const { CodePipelineClient, DeleteCustomActionTypeCommand } = require("@aws-sdk/client-codepipeline"); // CommonJS import
const client = new CodePipelineClient(config);
const input = { // DeleteCustomActionTypeInput
category: "Source" || "Build" || "Deploy" || "Test" || "Invoke" || "Approval", // required
provider: "STRING_VALUE", // required
version: "STRING_VALUE", // required
};
const command = new DeleteCustomActionTypeCommand(input);
const response = await client.send(command);
// {};

Param

DeleteCustomActionTypeCommandInput

Returns

DeleteCustomActionTypeCommandOutput

See

Throws

ConcurrentModificationException (client fault)

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

Throws

ValidationException (client fault)

The validation was specified in an invalid format.

Throws

CodePipelineServiceException

Base exception class for all service exceptions from CodePipeline service.

Hierarchy

Constructors

Properties

Methods