PollForThirdPartyJobs - CodePipeline
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).


Determines whether there are any third party jobs for a job worker to act on. Used for partner actions only.


When this API is called, 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.

Request Syntax

{ "actionTypeId": { "category": "string", "owner": "string", "provider": "string", "version": "string" }, "maxBatchSize": number }

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters.

The request accepts the following data in JSON format.


Represents information about an action type.

Type: ActionTypeId object

Required: Yes


The maximum number of jobs to return in a poll for jobs call.

Type: Integer

Valid Range: Minimum value of 1.

Required: No

Response Syntax

{ "jobs": [ { "clientId": "string", "jobId": "string" } ] }

Response Elements

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.


Information about the jobs to take action on.

Type: Array of ThirdPartyJob objects


For information about the errors that are common to all actions, see Common Errors.


The specified action type cannot be found.

HTTP Status Code: 400


The validation was specified in an invalid format.

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: