View a markdown version of this page

GetPublicProject - AWS CodeBuild

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

GetPublicProject

참고

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

구문 요청

{ "publicProjectAlias": "string" }

요청 파라미터

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

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

참고

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

publicProjectAlias

유형: 문자열

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

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

필수 여부: 예

응답 구문

{ "project": { "artifacts": { "artifactIdentifier": "string", "location": "string", "type": "string" }, "buildBatchConfig": { "combineArtifacts": boolean, "restrictions": { "computeTypesAllowed": [ "string" ], "maximumBuildsAllowed": number }, "timeoutInMins": number }, "concurrentBuildLimit": number, "description": "string", "environment": { "computeType": "string", "environmentVariables": [ { "name": "string", "type": "string", "value": "string" } ], "image": "string", "type": "string" }, "name": "string", "queuedTimeoutInMinutes": number, "secondaryArtifacts": [ { "artifactIdentifier": "string", "location": "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", "timeoutInMinutes": number, "webhook": { "branchFilter": "string", "buildType": "string", "filterGroups": [ [ { "excludeMatchedPattern": boolean, "pattern": "string", "type": "string" } ] ], "payloadUrl": "string", "url": "string" } } }

응답 요소

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

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

프로젝트

타입: PublicProject 객체

오류

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

InvalidInputException

HTTP 상태 코드: 400

ResourceNotFoundException

HTTP 상태 코드: 400