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 PutThirdPartyJobSuccessResultCommandProtected

Represents the success of a third party job as returned to the pipeline by a job worker. Used for partner actions only.

Example

Use a bare-bones client and the command you need to make an API call.

import { CodePipelineClient, PutThirdPartyJobSuccessResultCommand } from "@aws-sdk/client-codepipeline"; // ES Modules import
// const { CodePipelineClient, PutThirdPartyJobSuccessResultCommand } = require("@aws-sdk/client-codepipeline"); // CommonJS import
const client = new CodePipelineClient(config);
const input = { // PutThirdPartyJobSuccessResultInput
jobId: "STRING_VALUE", // required
clientToken: "STRING_VALUE", // required
currentRevision: { // CurrentRevision
revision: "STRING_VALUE", // required
changeIdentifier: "STRING_VALUE", // required
created: new Date("TIMESTAMP"),
revisionSummary: "STRING_VALUE",
},
continuationToken: "STRING_VALUE",
executionDetails: { // ExecutionDetails
summary: "STRING_VALUE",
externalExecutionId: "STRING_VALUE",
percentComplete: Number("int"),
},
};
const command = new PutThirdPartyJobSuccessResultCommand(input);
const response = await client.send(command);
// {};

Param

PutThirdPartyJobSuccessResultCommandInput

Returns

PutThirdPartyJobSuccessResultCommandOutput

See

Throws

InvalidClientTokenException (client fault)

The client token was specified in an invalid format

Throws

InvalidJobStateException (client fault)

The job state was specified in an invalid format.

Throws

JobNotFoundException (client fault)

The job was specified in an invalid format or cannot be found.

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