DescribeBuildBatchesForPublicProject - AWS CodeBuild

DescribeBuildBatchesForPublicProject

Note

This API element is not contained in the AWS CLI or AWS SDKs.

Request Syntax

{ "filter": { "status": "string" }, "maxResults": number, "nextToken": "string", "publicProjectAlias": "string", "sortOrder": "string" }

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.

Note

In the following list, the required parameters are described first.

publicProjectAlias

Type: String

Length Constraints: Minimum length of 1. Maximum length of 1024.

Pattern: ^[0-9a-zA-Z%+=]+$

Required: Yes

filter

Specifies filters when retrieving batch builds.

Type: BuildBatchFilter object

Required: No

maxResults

Type: Integer

Valid Range: Minimum value of 1. Maximum value of 100.

Required: No

nextToken

Type: String

Required: No

sortOrder

Type: String

Valid Values: ASCENDING | DESCENDING

Required: No

Response Syntax

{ "nextToken": "string", "publicBuildBatches": [ { "buildBatchNumber": number, "buildBatchStatus": "string", "endTime": number, "publicBuildBatchAlias": "string", "sourceVersion": "string", "startTime": number } ] }

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.

Errors

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

InvalidInputException

HTTP Status Code: 400

ResourceNotFoundException

HTTP Status Code: 400