Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PollForJobsCommand

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.

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);
see

PollForJobsCommandInput for command's input shape.

see

PollForJobsCommandOutput for command's response shape.

see

config for CodePipelineClient's config shape.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly input

input: PollForJobsCommandInput

Readonly middlewareStack

middlewareStack: IMiddlewareStack<PollForJobsCommandInput, PollForJobsCommandOutput>

Methods

Static getEndpointParameterInstructions