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.
Protected
Confirms a job worker has received the specified job. Used for partner actions only.
Use a bare-bones client and the command you need to make an API call.
import { CodePipelineClient, AcknowledgeThirdPartyJobCommand } from "@aws-sdk/client-codepipeline"; // ES Modules import// const { CodePipelineClient, AcknowledgeThirdPartyJobCommand } = require("@aws-sdk/client-codepipeline"); // CommonJS importconst client = new CodePipelineClient(config);const input = { // AcknowledgeThirdPartyJobInput jobId: "STRING_VALUE", // required nonce: "STRING_VALUE", // required clientToken: "STRING_VALUE", // required};const command = new AcknowledgeThirdPartyJobCommand(input);const response = await client.send(command);// { // AcknowledgeThirdPartyJobOutput// status: "Created" || "Queued" || "Dispatched" || "InProgress" || "TimedOut" || "Succeeded" || "Failed",// };
AcknowledgeThirdPartyJobCommandInput
AcknowledgeThirdPartyJobCommandOutput
input
response
config
InvalidClientTokenException (client fault)
The client token was specified in an invalid format
InvalidNonceException (client fault)
The nonce was specified in an invalid format.
JobNotFoundException (client fault)
The job was specified in an invalid format or cannot be found.
ValidationException (client fault)
The validation was specified in an invalid format.
CodePipelineServiceException
Base exception class for all service exceptions from CodePipeline service.
Readonly
Static
Confirms a job worker has received the specified job. Used for partner actions only.
Example
Use a bare-bones client and the command you need to make an API call.
Param
AcknowledgeThirdPartyJobCommandInput
Returns
AcknowledgeThirdPartyJobCommandOutput
See
input
shape.response
shape.config
shape.Throws
InvalidClientTokenException (client fault)
The client token was specified in an invalid format
Throws
InvalidNonceException (client fault)
The nonce 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.