翻訳は機械翻訳により提供されています。提供された翻訳内容と英語版の間で齟齬、不一致または矛盾がある場合、英語版が優先します。
GetPublicProject
注記
この API 要素は、 AWS CLI または AWS SDKsに含まれていません。
リクエストの構文
{
"publicProjectAlias": "string"
}
リクエストパラメーター
すべてのアクションに共通のパラメータの詳細については、「共通パラメータ」を参照してください。
リクエストは以下のデータを JSON 形式で受け入れます。
注記
次のリストで必須のパラメーターを説明します。
- publicProjectAlias
-
タイプ: 文字列
長さの制限: 最小長は 1 です。最大長は 1,024 です。
パターン:
^[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