View a markdown version of this page

GetPublicBuildBatch - AWS CodeBuild

기계 번역으로 제공되는 번역입니다. 제공된 번역과 원본 영어의 내용이 상충하는 경우에는 영어 버전이 우선합니다.

GetPublicBuildBatch

참고

이 API 요소는 AWS CLI AWS SDKs에 포함되지 않습니다.

구문 요청

{ "publicBuildBatchAlias": "string" }

요청 파라미터

모든 작업에 공통되는 파라미터에 대한 자세한 설명은 공통 파라미터를 참조하세요.

요청은 JSON 형식으로 다음 데이터를 받습니다.

참고

필수 파라미터는 다음 표에 처음으로 설명되어 있습니다.

publicBuildBatchAlias

유형: 문자열

길이 제약: 최소 길이 1. 최대 길이는 1024입니다.

패턴: ^[0-9a-zA-Z%+=]+:[a-z0-9]{8}(-[a-z0-9]{4}){3}-[a-z0-9]{12}$

필수 여부: 예

응답 구문

{ "publicBuildBatch": { "artifacts": { "artifactIdentifier": "string", "packaging": "string", "type": "string" }, "buildBatchConfig": { "combineArtifacts": boolean, "restrictions": { "computeTypesAllowed": [ "string" ], "maximumBuildsAllowed": number }, "timeoutInMins": number }, "buildBatchNumber": number, "buildBatchStatus": "string", "buildGroups": [ { "currentBuildSummary": { "buildStatus": "string", "primaryArtifact": { "identifier": "string", "location": "string", "type": "string" }, "publicBuildAlias": "string", "requestedOn": number, "secondaryArtifacts": [ { "identifier": "string", "location": "string", "type": "string" } ] }, "dependsOn": [ "string" ], "identifier": "string", "ignoreFailure": boolean, "priorBuildSummaryList": [ { "buildStatus": "string", "primaryArtifact": { "identifier": "string", "location": "string", "type": "string" }, "publicBuildAlias": "string", "requestedOn": number, "secondaryArtifacts": [ { "identifier": "string", "location": "string", "type": "string" } ] } ] } ], "buildTimeoutInMinutes": number, "complete": boolean, "currentPhase": "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", "publicBuildBatchAlias": "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 } }

응답 요소

작업이 성공하면 서비스가 HTTP 200 응답을 반송합니다.

다음 데이터는 서비스에 의해 JSON 형식으로 반환됩니다.

오류

모든 작업에 공통적인 오류에 대한 자세한 내용은 공통 오류를 참조하세요.

InvalidInputException

HTTP 상태 코드: 400

ResourceNotFoundException

HTTP 상태 코드: 400