Returns information about any jobs for AWS CodePipeline to act on.
PollForJobs is valid only for action types with "Custom" in the owner
field. If the action type contains "AWS" or "ThirdParty" in the owner field, the
PollForJobs action returns an error.
When this API is called, AWS CodePipeline returns temporary credentials for the
S3 bucket used to store artifacts for the pipeline, if the action requires access to
that S3 bucket for input or output artifacts. This API also returns any secret
values defined for the action.
example
Use a bare-bones client and the command you need to make an API call.
Returns information about any jobs for AWS CodePipeline to act on.
PollForJobs
is valid only for action types with "Custom" in the owner field. If the action type contains "AWS" or "ThirdParty" in the owner field, thePollForJobs
action returns an error.When this API is called, AWS CodePipeline returns temporary credentials for the S3 bucket used to store artifacts for the pipeline, if the action requires access to that S3 bucket for input or output artifacts. This API also returns any secret values defined for the action.
Use a bare-bones client and the command you need to make an API call.
import { CodePipelineClient, PollForJobsCommand } from "@aws-sdk/client-codepipeline"; // ES Modules import // const { CodePipelineClient, PollForJobsCommand } = require("@aws-sdk/client-codepipeline"); // CommonJS import const client = new CodePipelineClient(config); const command = new PollForJobsCommand(input); const response = await client.send(command);
PollForJobsCommandInput for command's
input
shape.PollForJobsCommandOutput for command's
response
shape.config for CodePipelineClient's
config
shape.