Seleccione sus preferencias de cookies

Usamos cookies esenciales y herramientas similares que son necesarias para proporcionar nuestro sitio y nuestros servicios. Usamos cookies de rendimiento para recopilar estadísticas anónimas para que podamos entender cómo los clientes usan nuestro sitio y hacer mejoras. Las cookies esenciales no se pueden desactivar, pero puede hacer clic en “Personalizar” o “Rechazar” para rechazar las cookies de rendimiento.

Si está de acuerdo, AWS y los terceros aprobados también utilizarán cookies para proporcionar características útiles del sitio, recordar sus preferencias y mostrar contenido relevante, incluida publicidad relevante. Para aceptar o rechazar todas las cookies no esenciales, haga clic en “Aceptar” o “Rechazar”. Para elegir opciones más detalladas, haga clic en “Personalizar”.

DescribeBuildsForPublicProject - AWS CodeBuild
Esta página no se ha traducido a su idioma. Solicitar traducción

DescribeBuildsForPublicProject

Note

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

Request Syntax

{ "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

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

{ "builds": [ { "artifacts": { "artifactIdentifier": "string", "packaging": "string", "type": "string" }, "buildComplete": boolean, "buildNumber": number, "buildStatus": "string", "endTime": number, "environment": { "computeType": "string", "environmentVariables": [ { "name": "string", "type": "string", "value": "string" } ], "image": "string", "type": "string" }, "id": "string", "initiator": "string", "logsStatus": { "cloudWatchLogsStatus": "string", "s3LogsStatus": "string" }, "phases": [ { "contexts": [ { "message": "string", "statusCode": "string" } ], "durationInSeconds": number, "endTime": number, "phaseStatus": "string", "phaseType": "string", "startTime": number } ], "projectName": "string", "queuedTimeoutInMinutes": number, "resolvedSourceVersion": "string", "secondaryArtifacts": [ { "artifactIdentifier": "string", "packaging": "string", "type": "string" } ], "secondarySources": [ { "buildspec": "string", "gitCloneDepth": number, "gitSubmodulesConfig": { "fetchSubmodules": boolean }, "location": "string", "sourceIdentifier": "string", "type": "string" } ], "secondarySourceVersions": [ { "sourceIdentifier": "string", "sourceVersion": "string" } ], "source": { "buildspec": "string", "gitCloneDepth": number, "gitSubmodulesConfig": { "fetchSubmodules": boolean }, "location": "string", "sourceIdentifier": "string", "type": "string" }, "sourceVersion": "string", "startTime": number, "timeoutInMinutes": number } ], "nextToken": "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.

builds

Type: Array of PublicBuild objects

nextToken

Type: String

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

PrivacidadTérminos del sitioPreferencias de cookies
© 2025, Amazon Web Services, Inc o sus afiliados. Todos los derechos reservados.