@aws-sdk/client-codebuild 3.405.0 → 3.409.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-types/CodeBuild.d.ts +2 -2
- package/dist-types/CodeBuildClient.d.ts +2 -2
- package/dist-types/commands/BatchGetBuildBatchesCommand.d.ts +26 -26
- package/dist-types/commands/BatchGetBuildsCommand.d.ts +20 -20
- package/dist-types/commands/BatchGetProjectsCommand.d.ts +27 -27
- package/dist-types/commands/BatchGetReportGroupsCommand.d.ts +4 -4
- package/dist-types/commands/BatchGetReportsCommand.d.ts +4 -4
- package/dist-types/commands/CreateProjectCommand.d.ts +51 -51
- package/dist-types/commands/CreateReportGroupCommand.d.ts +7 -7
- package/dist-types/commands/CreateWebhookCommand.d.ts +4 -4
- package/dist-types/commands/DescribeCodeCoveragesCommand.d.ts +2 -2
- package/dist-types/commands/GetReportGroupTrendCommand.d.ts +1 -1
- package/dist-types/commands/ImportSourceCredentialsCommand.d.ts +2 -2
- package/dist-types/commands/ListBuildBatchesCommand.d.ts +2 -2
- package/dist-types/commands/ListBuildBatchesForProjectCommand.d.ts +2 -2
- package/dist-types/commands/ListBuildsCommand.d.ts +1 -1
- package/dist-types/commands/ListBuildsForProjectCommand.d.ts +1 -1
- package/dist-types/commands/ListCuratedEnvironmentImagesCommand.d.ts +2 -2
- package/dist-types/commands/ListProjectsCommand.d.ts +2 -2
- package/dist-types/commands/ListReportGroupsCommand.d.ts +2 -2
- package/dist-types/commands/ListReportsCommand.d.ts +2 -2
- package/dist-types/commands/ListReportsForReportGroupCommand.d.ts +2 -2
- package/dist-types/commands/ListSharedProjectsCommand.d.ts +2 -2
- package/dist-types/commands/ListSharedReportGroupsCommand.d.ts +2 -2
- package/dist-types/commands/ListSourceCredentialsCommand.d.ts +2 -2
- package/dist-types/commands/RetryBuildBatchCommand.d.ts +27 -27
- package/dist-types/commands/RetryBuildCommand.d.ts +20 -20
- package/dist-types/commands/StartBuildBatchCommand.d.ts +49 -49
- package/dist-types/commands/StartBuildCommand.d.ts +42 -42
- package/dist-types/commands/StopBuildBatchCommand.d.ts +26 -26
- package/dist-types/commands/StopBuildCommand.d.ts +20 -20
- package/dist-types/commands/UpdateProjectCommand.d.ts +51 -51
- package/dist-types/commands/UpdateProjectVisibilityCommand.d.ts +2 -2
- package/dist-types/commands/UpdateReportGroupCommand.d.ts +6 -6
- package/dist-types/commands/UpdateWebhookCommand.d.ts +4 -4
- package/dist-types/index.d.ts +2 -2
- package/dist-types/models/models_0.d.ts +486 -489
- package/package.json +12 -12
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
|
-
const
|
|
5
|
-
const a = "
|
|
6
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
4
|
+
const q = "required", r = "fn", s = "argv", t = "ref";
|
|
5
|
+
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
|
|
6
|
+
const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }, { conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ endpoint: { url: "https://codebuild-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ endpoint: { url: "https://codebuild-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ endpoint: { url: "https://codebuild.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://codebuild.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] };
|
|
7
7
|
exports.ruleSet = _data;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
2
|
-
const a = "
|
|
3
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
1
|
+
const q = "required", r = "fn", s = "argv", t = "ref";
|
|
2
|
+
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
|
|
3
|
+
const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }, { conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ endpoint: { url: "https://codebuild-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ endpoint: { url: "https://codebuild-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ endpoint: { url: "https://codebuild.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://codebuild.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] };
|
|
4
4
|
export const ruleSet = _data;
|
|
@@ -320,14 +320,14 @@ export interface CodeBuild {
|
|
|
320
320
|
/**
|
|
321
321
|
* @public
|
|
322
322
|
* <fullname>CodeBuild</fullname>
|
|
323
|
-
*
|
|
323
|
+
* <p>CodeBuild is a fully managed build service in the cloud. CodeBuild compiles your source code,
|
|
324
324
|
* runs unit tests, and produces artifacts that are ready to deploy. CodeBuild eliminates the
|
|
325
325
|
* need to provision, manage, and scale your own build servers. It provides prepackaged
|
|
326
326
|
* build environments for the most popular programming languages and build tools, such as
|
|
327
327
|
* Apache Maven, Gradle, and more. You can also fully customize build environments in CodeBuild
|
|
328
328
|
* to use your own build tools. CodeBuild scales automatically to meet peak build requests. You
|
|
329
329
|
* pay only for the build time you consume. For more information about CodeBuild, see the <i>
|
|
330
|
-
*
|
|
330
|
+
* <a href="https://docs.aws.amazon.com/codebuild/latest/userguide/welcome.html">CodeBuild User
|
|
331
331
|
* Guide</a>.</i>
|
|
332
332
|
* </p>
|
|
333
333
|
*/
|
|
@@ -196,14 +196,14 @@ export interface CodeBuildClientResolvedConfig extends CodeBuildClientResolvedCo
|
|
|
196
196
|
/**
|
|
197
197
|
* @public
|
|
198
198
|
* <fullname>CodeBuild</fullname>
|
|
199
|
-
*
|
|
199
|
+
* <p>CodeBuild is a fully managed build service in the cloud. CodeBuild compiles your source code,
|
|
200
200
|
* runs unit tests, and produces artifacts that are ready to deploy. CodeBuild eliminates the
|
|
201
201
|
* need to provision, manage, and scale your own build servers. It provides prepackaged
|
|
202
202
|
* build environments for the most popular programming languages and build tools, such as
|
|
203
203
|
* Apache Maven, Gradle, and more. You can also fully customize build environments in CodeBuild
|
|
204
204
|
* to use your own build tools. CodeBuild scales automatically to meet peak build requests. You
|
|
205
205
|
* pay only for the build time you consume. For more information about CodeBuild, see the <i>
|
|
206
|
-
*
|
|
206
|
+
* <a href="https://docs.aws.amazon.com/codebuild/latest/userguide/welcome.html">CodeBuild User
|
|
207
207
|
* Guide</a>.</i>
|
|
208
208
|
* </p>
|
|
209
209
|
*/
|
|
@@ -45,14 +45,14 @@ export interface BatchGetBuildBatchesCommandOutput extends BatchGetBuildBatchesO
|
|
|
45
45
|
* // startTime: new Date("TIMESTAMP"),
|
|
46
46
|
* // endTime: new Date("TIMESTAMP"),
|
|
47
47
|
* // currentPhase: "STRING_VALUE",
|
|
48
|
-
* // buildBatchStatus: "
|
|
48
|
+
* // buildBatchStatus: "SUCCEEDED" || "FAILED" || "FAULT" || "TIMED_OUT" || "IN_PROGRESS" || "STOPPED",
|
|
49
49
|
* // sourceVersion: "STRING_VALUE",
|
|
50
50
|
* // resolvedSourceVersion: "STRING_VALUE",
|
|
51
51
|
* // projectName: "STRING_VALUE",
|
|
52
52
|
* // phases: [ // BuildBatchPhases
|
|
53
53
|
* // { // BuildBatchPhase
|
|
54
|
-
* // phaseType: "
|
|
55
|
-
* // phaseStatus: "
|
|
54
|
+
* // phaseType: "SUBMITTED" || "DOWNLOAD_BATCHSPEC" || "IN_PROGRESS" || "COMBINE_ARTIFACTS" || "SUCCEEDED" || "FAILED" || "STOPPED",
|
|
55
|
+
* // phaseStatus: "SUCCEEDED" || "FAILED" || "FAULT" || "TIMED_OUT" || "IN_PROGRESS" || "STOPPED",
|
|
56
56
|
* // startTime: new Date("TIMESTAMP"),
|
|
57
57
|
* // endTime: new Date("TIMESTAMP"),
|
|
58
58
|
* // durationInSeconds: Number("long"),
|
|
@@ -65,7 +65,7 @@ export interface BatchGetBuildBatchesCommandOutput extends BatchGetBuildBatchesO
|
|
|
65
65
|
* // },
|
|
66
66
|
* // ],
|
|
67
67
|
* // source: { // ProjectSource
|
|
68
|
-
* // type: "
|
|
68
|
+
* // type: "CODECOMMIT" || "CODEPIPELINE" || "GITHUB" || "S3" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "NO_SOURCE", // required
|
|
69
69
|
* // location: "STRING_VALUE",
|
|
70
70
|
* // gitCloneDepth: Number("int"),
|
|
71
71
|
* // gitSubmodulesConfig: { // GitSubmodulesConfig
|
|
@@ -73,7 +73,7 @@ export interface BatchGetBuildBatchesCommandOutput extends BatchGetBuildBatchesO
|
|
|
73
73
|
* // },
|
|
74
74
|
* // buildspec: "STRING_VALUE",
|
|
75
75
|
* // auth: { // SourceAuth
|
|
76
|
-
* // type: "
|
|
76
|
+
* // type: "OAUTH", // required
|
|
77
77
|
* // resource: "STRING_VALUE",
|
|
78
78
|
* // },
|
|
79
79
|
* // reportBuildStatus: true || false,
|
|
@@ -86,7 +86,7 @@ export interface BatchGetBuildBatchesCommandOutput extends BatchGetBuildBatchesO
|
|
|
86
86
|
* // },
|
|
87
87
|
* // secondarySources: [ // ProjectSources
|
|
88
88
|
* // {
|
|
89
|
-
* // type: "
|
|
89
|
+
* // type: "CODECOMMIT" || "CODEPIPELINE" || "GITHUB" || "S3" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "NO_SOURCE", // required
|
|
90
90
|
* // location: "STRING_VALUE",
|
|
91
91
|
* // gitCloneDepth: Number("int"),
|
|
92
92
|
* // gitSubmodulesConfig: {
|
|
@@ -94,7 +94,7 @@ export interface BatchGetBuildBatchesCommandOutput extends BatchGetBuildBatchesO
|
|
|
94
94
|
* // },
|
|
95
95
|
* // buildspec: "STRING_VALUE",
|
|
96
96
|
* // auth: {
|
|
97
|
-
* // type: "
|
|
97
|
+
* // type: "OAUTH", // required
|
|
98
98
|
* // resource: "STRING_VALUE",
|
|
99
99
|
* // },
|
|
100
100
|
* // reportBuildStatus: true || false,
|
|
@@ -119,7 +119,7 @@ export interface BatchGetBuildBatchesCommandOutput extends BatchGetBuildBatchesO
|
|
|
119
119
|
* // overrideArtifactName: true || false,
|
|
120
120
|
* // encryptionDisabled: true || false,
|
|
121
121
|
* // artifactIdentifier: "STRING_VALUE",
|
|
122
|
-
* // bucketOwnerAccess: "
|
|
122
|
+
* // bucketOwnerAccess: "NONE" || "READ_ONLY" || "FULL",
|
|
123
123
|
* // },
|
|
124
124
|
* // secondaryArtifacts: [ // BuildArtifactsList
|
|
125
125
|
* // {
|
|
@@ -129,47 +129,47 @@ export interface BatchGetBuildBatchesCommandOutput extends BatchGetBuildBatchesO
|
|
|
129
129
|
* // overrideArtifactName: true || false,
|
|
130
130
|
* // encryptionDisabled: true || false,
|
|
131
131
|
* // artifactIdentifier: "STRING_VALUE",
|
|
132
|
-
* // bucketOwnerAccess: "
|
|
132
|
+
* // bucketOwnerAccess: "NONE" || "READ_ONLY" || "FULL",
|
|
133
133
|
* // },
|
|
134
134
|
* // ],
|
|
135
135
|
* // cache: { // ProjectCache
|
|
136
|
-
* // type: "
|
|
136
|
+
* // type: "NO_CACHE" || "S3" || "LOCAL", // required
|
|
137
137
|
* // location: "STRING_VALUE",
|
|
138
138
|
* // modes: [ // ProjectCacheModes
|
|
139
|
-
* // "
|
|
139
|
+
* // "LOCAL_DOCKER_LAYER_CACHE" || "LOCAL_SOURCE_CACHE" || "LOCAL_CUSTOM_CACHE",
|
|
140
140
|
* // ],
|
|
141
141
|
* // },
|
|
142
142
|
* // environment: { // ProjectEnvironment
|
|
143
|
-
* // type: "
|
|
143
|
+
* // type: "WINDOWS_CONTAINER" || "LINUX_CONTAINER" || "LINUX_GPU_CONTAINER" || "ARM_CONTAINER" || "WINDOWS_SERVER_2019_CONTAINER", // required
|
|
144
144
|
* // image: "STRING_VALUE", // required
|
|
145
|
-
* // computeType: "
|
|
145
|
+
* // computeType: "BUILD_GENERAL1_SMALL" || "BUILD_GENERAL1_MEDIUM" || "BUILD_GENERAL1_LARGE" || "BUILD_GENERAL1_2XLARGE", // required
|
|
146
146
|
* // environmentVariables: [ // EnvironmentVariables
|
|
147
147
|
* // { // EnvironmentVariable
|
|
148
148
|
* // name: "STRING_VALUE", // required
|
|
149
149
|
* // value: "STRING_VALUE", // required
|
|
150
|
-
* // type: "
|
|
150
|
+
* // type: "PLAINTEXT" || "PARAMETER_STORE" || "SECRETS_MANAGER",
|
|
151
151
|
* // },
|
|
152
152
|
* // ],
|
|
153
153
|
* // privilegedMode: true || false,
|
|
154
154
|
* // certificate: "STRING_VALUE",
|
|
155
155
|
* // registryCredential: { // RegistryCredential
|
|
156
156
|
* // credential: "STRING_VALUE", // required
|
|
157
|
-
* // credentialProvider: "
|
|
157
|
+
* // credentialProvider: "SECRETS_MANAGER", // required
|
|
158
158
|
* // },
|
|
159
|
-
* // imagePullCredentialsType: "
|
|
159
|
+
* // imagePullCredentialsType: "CODEBUILD" || "SERVICE_ROLE",
|
|
160
160
|
* // },
|
|
161
161
|
* // serviceRole: "STRING_VALUE",
|
|
162
162
|
* // logConfig: { // LogsConfig
|
|
163
163
|
* // cloudWatchLogs: { // CloudWatchLogsConfig
|
|
164
|
-
* // status: "
|
|
164
|
+
* // status: "ENABLED" || "DISABLED", // required
|
|
165
165
|
* // groupName: "STRING_VALUE",
|
|
166
166
|
* // streamName: "STRING_VALUE",
|
|
167
167
|
* // },
|
|
168
168
|
* // s3Logs: { // S3LogsConfig
|
|
169
|
-
* // status: "
|
|
169
|
+
* // status: "ENABLED" || "DISABLED", // required
|
|
170
170
|
* // location: "STRING_VALUE",
|
|
171
171
|
* // encryptionDisabled: true || false,
|
|
172
|
-
* // bucketOwnerAccess: "
|
|
172
|
+
* // bucketOwnerAccess: "NONE" || "READ_ONLY" || "FULL",
|
|
173
173
|
* // },
|
|
174
174
|
* // },
|
|
175
175
|
* // buildTimeoutInMinutes: Number("int"),
|
|
@@ -189,7 +189,7 @@ export interface BatchGetBuildBatchesCommandOutput extends BatchGetBuildBatchesO
|
|
|
189
189
|
* // buildBatchNumber: Number("long"),
|
|
190
190
|
* // fileSystemLocations: [ // ProjectFileSystemLocations
|
|
191
191
|
* // { // ProjectFileSystemLocation
|
|
192
|
-
* // type: "
|
|
192
|
+
* // type: "EFS",
|
|
193
193
|
* // location: "STRING_VALUE",
|
|
194
194
|
* // mountPoint: "STRING_VALUE",
|
|
195
195
|
* // identifier: "STRING_VALUE",
|
|
@@ -206,7 +206,7 @@ export interface BatchGetBuildBatchesCommandOutput extends BatchGetBuildBatchesO
|
|
|
206
206
|
* // ],
|
|
207
207
|
* // },
|
|
208
208
|
* // timeoutInMins: Number("int"),
|
|
209
|
-
* // batchReportMode: "
|
|
209
|
+
* // batchReportMode: "REPORT_INDIVIDUAL_BUILDS" || "REPORT_AGGREGATED_BATCH",
|
|
210
210
|
* // },
|
|
211
211
|
* // buildGroups: [ // BuildGroups
|
|
212
212
|
* // { // BuildGroup
|
|
@@ -218,15 +218,15 @@ export interface BatchGetBuildBatchesCommandOutput extends BatchGetBuildBatchesO
|
|
|
218
218
|
* // currentBuildSummary: { // BuildSummary
|
|
219
219
|
* // arn: "STRING_VALUE",
|
|
220
220
|
* // requestedOn: new Date("TIMESTAMP"),
|
|
221
|
-
* // buildStatus: "
|
|
221
|
+
* // buildStatus: "SUCCEEDED" || "FAILED" || "FAULT" || "TIMED_OUT" || "IN_PROGRESS" || "STOPPED",
|
|
222
222
|
* // primaryArtifact: { // ResolvedArtifact
|
|
223
|
-
* // type: "
|
|
223
|
+
* // type: "CODEPIPELINE" || "S3" || "NO_ARTIFACTS",
|
|
224
224
|
* // location: "STRING_VALUE",
|
|
225
225
|
* // identifier: "STRING_VALUE",
|
|
226
226
|
* // },
|
|
227
227
|
* // secondaryArtifacts: [ // ResolvedSecondaryArtifacts
|
|
228
228
|
* // {
|
|
229
|
-
* // type: "
|
|
229
|
+
* // type: "CODEPIPELINE" || "S3" || "NO_ARTIFACTS",
|
|
230
230
|
* // location: "STRING_VALUE",
|
|
231
231
|
* // identifier: "STRING_VALUE",
|
|
232
232
|
* // },
|
|
@@ -236,9 +236,9 @@ export interface BatchGetBuildBatchesCommandOutput extends BatchGetBuildBatchesO
|
|
|
236
236
|
* // {
|
|
237
237
|
* // arn: "STRING_VALUE",
|
|
238
238
|
* // requestedOn: new Date("TIMESTAMP"),
|
|
239
|
-
* // buildStatus: "
|
|
239
|
+
* // buildStatus: "SUCCEEDED" || "FAILED" || "FAULT" || "TIMED_OUT" || "IN_PROGRESS" || "STOPPED",
|
|
240
240
|
* // primaryArtifact: {
|
|
241
|
-
* // type: "
|
|
241
|
+
* // type: "CODEPIPELINE" || "S3" || "NO_ARTIFACTS",
|
|
242
242
|
* // location: "STRING_VALUE",
|
|
243
243
|
* // identifier: "STRING_VALUE",
|
|
244
244
|
* // },
|
|
@@ -46,14 +46,14 @@ export interface BatchGetBuildsCommandOutput extends BatchGetBuildsOutput, __Met
|
|
|
46
46
|
* // startTime: new Date("TIMESTAMP"),
|
|
47
47
|
* // endTime: new Date("TIMESTAMP"),
|
|
48
48
|
* // currentPhase: "STRING_VALUE",
|
|
49
|
-
* // buildStatus: "
|
|
49
|
+
* // buildStatus: "SUCCEEDED" || "FAILED" || "FAULT" || "TIMED_OUT" || "IN_PROGRESS" || "STOPPED",
|
|
50
50
|
* // sourceVersion: "STRING_VALUE",
|
|
51
51
|
* // resolvedSourceVersion: "STRING_VALUE",
|
|
52
52
|
* // projectName: "STRING_VALUE",
|
|
53
53
|
* // phases: [ // BuildPhases
|
|
54
54
|
* // { // BuildPhase
|
|
55
|
-
* // phaseType: "
|
|
56
|
-
* // phaseStatus: "
|
|
55
|
+
* // phaseType: "SUBMITTED" || "QUEUED" || "PROVISIONING" || "DOWNLOAD_SOURCE" || "INSTALL" || "PRE_BUILD" || "BUILD" || "POST_BUILD" || "UPLOAD_ARTIFACTS" || "FINALIZING" || "COMPLETED",
|
|
56
|
+
* // phaseStatus: "SUCCEEDED" || "FAILED" || "FAULT" || "TIMED_OUT" || "IN_PROGRESS" || "STOPPED",
|
|
57
57
|
* // startTime: new Date("TIMESTAMP"),
|
|
58
58
|
* // endTime: new Date("TIMESTAMP"),
|
|
59
59
|
* // durationInSeconds: Number("long"),
|
|
@@ -66,7 +66,7 @@ export interface BatchGetBuildsCommandOutput extends BatchGetBuildsOutput, __Met
|
|
|
66
66
|
* // },
|
|
67
67
|
* // ],
|
|
68
68
|
* // source: { // ProjectSource
|
|
69
|
-
* // type: "
|
|
69
|
+
* // type: "CODECOMMIT" || "CODEPIPELINE" || "GITHUB" || "S3" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "NO_SOURCE", // required
|
|
70
70
|
* // location: "STRING_VALUE",
|
|
71
71
|
* // gitCloneDepth: Number("int"),
|
|
72
72
|
* // gitSubmodulesConfig: { // GitSubmodulesConfig
|
|
@@ -74,7 +74,7 @@ export interface BatchGetBuildsCommandOutput extends BatchGetBuildsOutput, __Met
|
|
|
74
74
|
* // },
|
|
75
75
|
* // buildspec: "STRING_VALUE",
|
|
76
76
|
* // auth: { // SourceAuth
|
|
77
|
-
* // type: "
|
|
77
|
+
* // type: "OAUTH", // required
|
|
78
78
|
* // resource: "STRING_VALUE",
|
|
79
79
|
* // },
|
|
80
80
|
* // reportBuildStatus: true || false,
|
|
@@ -87,7 +87,7 @@ export interface BatchGetBuildsCommandOutput extends BatchGetBuildsOutput, __Met
|
|
|
87
87
|
* // },
|
|
88
88
|
* // secondarySources: [ // ProjectSources
|
|
89
89
|
* // {
|
|
90
|
-
* // type: "
|
|
90
|
+
* // type: "CODECOMMIT" || "CODEPIPELINE" || "GITHUB" || "S3" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "NO_SOURCE", // required
|
|
91
91
|
* // location: "STRING_VALUE",
|
|
92
92
|
* // gitCloneDepth: Number("int"),
|
|
93
93
|
* // gitSubmodulesConfig: {
|
|
@@ -95,7 +95,7 @@ export interface BatchGetBuildsCommandOutput extends BatchGetBuildsOutput, __Met
|
|
|
95
95
|
* // },
|
|
96
96
|
* // buildspec: "STRING_VALUE",
|
|
97
97
|
* // auth: {
|
|
98
|
-
* // type: "
|
|
98
|
+
* // type: "OAUTH", // required
|
|
99
99
|
* // resource: "STRING_VALUE",
|
|
100
100
|
* // },
|
|
101
101
|
* // reportBuildStatus: true || false,
|
|
@@ -120,7 +120,7 @@ export interface BatchGetBuildsCommandOutput extends BatchGetBuildsOutput, __Met
|
|
|
120
120
|
* // overrideArtifactName: true || false,
|
|
121
121
|
* // encryptionDisabled: true || false,
|
|
122
122
|
* // artifactIdentifier: "STRING_VALUE",
|
|
123
|
-
* // bucketOwnerAccess: "
|
|
123
|
+
* // bucketOwnerAccess: "NONE" || "READ_ONLY" || "FULL",
|
|
124
124
|
* // },
|
|
125
125
|
* // secondaryArtifacts: [ // BuildArtifactsList
|
|
126
126
|
* // {
|
|
@@ -130,34 +130,34 @@ export interface BatchGetBuildsCommandOutput extends BatchGetBuildsOutput, __Met
|
|
|
130
130
|
* // overrideArtifactName: true || false,
|
|
131
131
|
* // encryptionDisabled: true || false,
|
|
132
132
|
* // artifactIdentifier: "STRING_VALUE",
|
|
133
|
-
* // bucketOwnerAccess: "
|
|
133
|
+
* // bucketOwnerAccess: "NONE" || "READ_ONLY" || "FULL",
|
|
134
134
|
* // },
|
|
135
135
|
* // ],
|
|
136
136
|
* // cache: { // ProjectCache
|
|
137
|
-
* // type: "
|
|
137
|
+
* // type: "NO_CACHE" || "S3" || "LOCAL", // required
|
|
138
138
|
* // location: "STRING_VALUE",
|
|
139
139
|
* // modes: [ // ProjectCacheModes
|
|
140
|
-
* // "
|
|
140
|
+
* // "LOCAL_DOCKER_LAYER_CACHE" || "LOCAL_SOURCE_CACHE" || "LOCAL_CUSTOM_CACHE",
|
|
141
141
|
* // ],
|
|
142
142
|
* // },
|
|
143
143
|
* // environment: { // ProjectEnvironment
|
|
144
|
-
* // type: "
|
|
144
|
+
* // type: "WINDOWS_CONTAINER" || "LINUX_CONTAINER" || "LINUX_GPU_CONTAINER" || "ARM_CONTAINER" || "WINDOWS_SERVER_2019_CONTAINER", // required
|
|
145
145
|
* // image: "STRING_VALUE", // required
|
|
146
|
-
* // computeType: "
|
|
146
|
+
* // computeType: "BUILD_GENERAL1_SMALL" || "BUILD_GENERAL1_MEDIUM" || "BUILD_GENERAL1_LARGE" || "BUILD_GENERAL1_2XLARGE", // required
|
|
147
147
|
* // environmentVariables: [ // EnvironmentVariables
|
|
148
148
|
* // { // EnvironmentVariable
|
|
149
149
|
* // name: "STRING_VALUE", // required
|
|
150
150
|
* // value: "STRING_VALUE", // required
|
|
151
|
-
* // type: "
|
|
151
|
+
* // type: "PLAINTEXT" || "PARAMETER_STORE" || "SECRETS_MANAGER",
|
|
152
152
|
* // },
|
|
153
153
|
* // ],
|
|
154
154
|
* // privilegedMode: true || false,
|
|
155
155
|
* // certificate: "STRING_VALUE",
|
|
156
156
|
* // registryCredential: { // RegistryCredential
|
|
157
157
|
* // credential: "STRING_VALUE", // required
|
|
158
|
-
* // credentialProvider: "
|
|
158
|
+
* // credentialProvider: "SECRETS_MANAGER", // required
|
|
159
159
|
* // },
|
|
160
|
-
* // imagePullCredentialsType: "
|
|
160
|
+
* // imagePullCredentialsType: "CODEBUILD" || "SERVICE_ROLE",
|
|
161
161
|
* // },
|
|
162
162
|
* // serviceRole: "STRING_VALUE",
|
|
163
163
|
* // logs: { // LogsLocation
|
|
@@ -168,15 +168,15 @@ export interface BatchGetBuildsCommandOutput extends BatchGetBuildsOutput, __Met
|
|
|
168
168
|
* // cloudWatchLogsArn: "STRING_VALUE",
|
|
169
169
|
* // s3LogsArn: "STRING_VALUE",
|
|
170
170
|
* // cloudWatchLogs: { // CloudWatchLogsConfig
|
|
171
|
-
* // status: "
|
|
171
|
+
* // status: "ENABLED" || "DISABLED", // required
|
|
172
172
|
* // groupName: "STRING_VALUE",
|
|
173
173
|
* // streamName: "STRING_VALUE",
|
|
174
174
|
* // },
|
|
175
175
|
* // s3Logs: { // S3LogsConfig
|
|
176
|
-
* // status: "
|
|
176
|
+
* // status: "ENABLED" || "DISABLED", // required
|
|
177
177
|
* // location: "STRING_VALUE",
|
|
178
178
|
* // encryptionDisabled: true || false,
|
|
179
|
-
* // bucketOwnerAccess: "
|
|
179
|
+
* // bucketOwnerAccess: "NONE" || "READ_ONLY" || "FULL",
|
|
180
180
|
* // },
|
|
181
181
|
* // },
|
|
182
182
|
* // timeoutInMinutes: Number("int"),
|
|
@@ -208,7 +208,7 @@ export interface BatchGetBuildsCommandOutput extends BatchGetBuildsOutput, __Met
|
|
|
208
208
|
* // ],
|
|
209
209
|
* // fileSystemLocations: [ // ProjectFileSystemLocations
|
|
210
210
|
* // { // ProjectFileSystemLocation
|
|
211
|
-
* // type: "
|
|
211
|
+
* // type: "EFS",
|
|
212
212
|
* // location: "STRING_VALUE",
|
|
213
213
|
* // mountPoint: "STRING_VALUE",
|
|
214
214
|
* // identifier: "STRING_VALUE",
|
|
@@ -44,7 +44,7 @@ export interface BatchGetProjectsCommandOutput extends BatchGetProjectsOutput, _
|
|
|
44
44
|
* // arn: "STRING_VALUE",
|
|
45
45
|
* // description: "STRING_VALUE",
|
|
46
46
|
* // source: { // ProjectSource
|
|
47
|
-
* // type: "
|
|
47
|
+
* // type: "CODECOMMIT" || "CODEPIPELINE" || "GITHUB" || "S3" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "NO_SOURCE", // required
|
|
48
48
|
* // location: "STRING_VALUE",
|
|
49
49
|
* // gitCloneDepth: Number("int"),
|
|
50
50
|
* // gitSubmodulesConfig: { // GitSubmodulesConfig
|
|
@@ -52,7 +52,7 @@ export interface BatchGetProjectsCommandOutput extends BatchGetProjectsOutput, _
|
|
|
52
52
|
* // },
|
|
53
53
|
* // buildspec: "STRING_VALUE",
|
|
54
54
|
* // auth: { // SourceAuth
|
|
55
|
-
* // type: "
|
|
55
|
+
* // type: "OAUTH", // required
|
|
56
56
|
* // resource: "STRING_VALUE",
|
|
57
57
|
* // },
|
|
58
58
|
* // reportBuildStatus: true || false,
|
|
@@ -65,7 +65,7 @@ export interface BatchGetProjectsCommandOutput extends BatchGetProjectsOutput, _
|
|
|
65
65
|
* // },
|
|
66
66
|
* // secondarySources: [ // ProjectSources
|
|
67
67
|
* // {
|
|
68
|
-
* // type: "
|
|
68
|
+
* // type: "CODECOMMIT" || "CODEPIPELINE" || "GITHUB" || "S3" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "NO_SOURCE", // required
|
|
69
69
|
* // location: "STRING_VALUE",
|
|
70
70
|
* // gitCloneDepth: Number("int"),
|
|
71
71
|
* // gitSubmodulesConfig: {
|
|
@@ -73,7 +73,7 @@ export interface BatchGetProjectsCommandOutput extends BatchGetProjectsOutput, _
|
|
|
73
73
|
* // },
|
|
74
74
|
* // buildspec: "STRING_VALUE",
|
|
75
75
|
* // auth: {
|
|
76
|
-
* // type: "
|
|
76
|
+
* // type: "OAUTH", // required
|
|
77
77
|
* // resource: "STRING_VALUE",
|
|
78
78
|
* // },
|
|
79
79
|
* // reportBuildStatus: true || false,
|
|
@@ -93,56 +93,56 @@ export interface BatchGetProjectsCommandOutput extends BatchGetProjectsOutput, _
|
|
|
93
93
|
* // },
|
|
94
94
|
* // ],
|
|
95
95
|
* // artifacts: { // ProjectArtifacts
|
|
96
|
-
* // type: "
|
|
96
|
+
* // type: "CODEPIPELINE" || "S3" || "NO_ARTIFACTS", // required
|
|
97
97
|
* // location: "STRING_VALUE",
|
|
98
98
|
* // path: "STRING_VALUE",
|
|
99
|
-
* // namespaceType: "
|
|
99
|
+
* // namespaceType: "NONE" || "BUILD_ID",
|
|
100
100
|
* // name: "STRING_VALUE",
|
|
101
|
-
* // packaging: "
|
|
101
|
+
* // packaging: "NONE" || "ZIP",
|
|
102
102
|
* // overrideArtifactName: true || false,
|
|
103
103
|
* // encryptionDisabled: true || false,
|
|
104
104
|
* // artifactIdentifier: "STRING_VALUE",
|
|
105
|
-
* // bucketOwnerAccess: "
|
|
105
|
+
* // bucketOwnerAccess: "NONE" || "READ_ONLY" || "FULL",
|
|
106
106
|
* // },
|
|
107
107
|
* // secondaryArtifacts: [ // ProjectArtifactsList
|
|
108
108
|
* // {
|
|
109
|
-
* // type: "
|
|
109
|
+
* // type: "CODEPIPELINE" || "S3" || "NO_ARTIFACTS", // required
|
|
110
110
|
* // location: "STRING_VALUE",
|
|
111
111
|
* // path: "STRING_VALUE",
|
|
112
|
-
* // namespaceType: "
|
|
112
|
+
* // namespaceType: "NONE" || "BUILD_ID",
|
|
113
113
|
* // name: "STRING_VALUE",
|
|
114
|
-
* // packaging: "
|
|
114
|
+
* // packaging: "NONE" || "ZIP",
|
|
115
115
|
* // overrideArtifactName: true || false,
|
|
116
116
|
* // encryptionDisabled: true || false,
|
|
117
117
|
* // artifactIdentifier: "STRING_VALUE",
|
|
118
|
-
* // bucketOwnerAccess: "
|
|
118
|
+
* // bucketOwnerAccess: "NONE" || "READ_ONLY" || "FULL",
|
|
119
119
|
* // },
|
|
120
120
|
* // ],
|
|
121
121
|
* // cache: { // ProjectCache
|
|
122
|
-
* // type: "
|
|
122
|
+
* // type: "NO_CACHE" || "S3" || "LOCAL", // required
|
|
123
123
|
* // location: "STRING_VALUE",
|
|
124
124
|
* // modes: [ // ProjectCacheModes
|
|
125
|
-
* // "
|
|
125
|
+
* // "LOCAL_DOCKER_LAYER_CACHE" || "LOCAL_SOURCE_CACHE" || "LOCAL_CUSTOM_CACHE",
|
|
126
126
|
* // ],
|
|
127
127
|
* // },
|
|
128
128
|
* // environment: { // ProjectEnvironment
|
|
129
|
-
* // type: "
|
|
129
|
+
* // type: "WINDOWS_CONTAINER" || "LINUX_CONTAINER" || "LINUX_GPU_CONTAINER" || "ARM_CONTAINER" || "WINDOWS_SERVER_2019_CONTAINER", // required
|
|
130
130
|
* // image: "STRING_VALUE", // required
|
|
131
|
-
* // computeType: "
|
|
131
|
+
* // computeType: "BUILD_GENERAL1_SMALL" || "BUILD_GENERAL1_MEDIUM" || "BUILD_GENERAL1_LARGE" || "BUILD_GENERAL1_2XLARGE", // required
|
|
132
132
|
* // environmentVariables: [ // EnvironmentVariables
|
|
133
133
|
* // { // EnvironmentVariable
|
|
134
134
|
* // name: "STRING_VALUE", // required
|
|
135
135
|
* // value: "STRING_VALUE", // required
|
|
136
|
-
* // type: "
|
|
136
|
+
* // type: "PLAINTEXT" || "PARAMETER_STORE" || "SECRETS_MANAGER",
|
|
137
137
|
* // },
|
|
138
138
|
* // ],
|
|
139
139
|
* // privilegedMode: true || false,
|
|
140
140
|
* // certificate: "STRING_VALUE",
|
|
141
141
|
* // registryCredential: { // RegistryCredential
|
|
142
142
|
* // credential: "STRING_VALUE", // required
|
|
143
|
-
* // credentialProvider: "
|
|
143
|
+
* // credentialProvider: "SECRETS_MANAGER", // required
|
|
144
144
|
* // },
|
|
145
|
-
* // imagePullCredentialsType: "
|
|
145
|
+
* // imagePullCredentialsType: "CODEBUILD" || "SERVICE_ROLE",
|
|
146
146
|
* // },
|
|
147
147
|
* // serviceRole: "STRING_VALUE",
|
|
148
148
|
* // timeoutInMinutes: Number("int"),
|
|
@@ -164,13 +164,13 @@ export interface BatchGetProjectsCommandOutput extends BatchGetProjectsOutput, _
|
|
|
164
164
|
* // filterGroups: [ // FilterGroups
|
|
165
165
|
* // [ // FilterGroup
|
|
166
166
|
* // { // WebhookFilter
|
|
167
|
-
* // type: "
|
|
167
|
+
* // type: "EVENT" || "BASE_REF" || "HEAD_REF" || "ACTOR_ACCOUNT_ID" || "FILE_PATH" || "COMMIT_MESSAGE", // required
|
|
168
168
|
* // pattern: "STRING_VALUE", // required
|
|
169
169
|
* // excludeMatchedPattern: true || false,
|
|
170
170
|
* // },
|
|
171
171
|
* // ],
|
|
172
172
|
* // ],
|
|
173
|
-
* // buildType: "
|
|
173
|
+
* // buildType: "BUILD" || "BUILD_BATCH",
|
|
174
174
|
* // lastModifiedSecret: new Date("TIMESTAMP"),
|
|
175
175
|
* // },
|
|
176
176
|
* // vpcConfig: { // VpcConfig
|
|
@@ -188,20 +188,20 @@ export interface BatchGetProjectsCommandOutput extends BatchGetProjectsOutput, _
|
|
|
188
188
|
* // },
|
|
189
189
|
* // logsConfig: { // LogsConfig
|
|
190
190
|
* // cloudWatchLogs: { // CloudWatchLogsConfig
|
|
191
|
-
* // status: "
|
|
191
|
+
* // status: "ENABLED" || "DISABLED", // required
|
|
192
192
|
* // groupName: "STRING_VALUE",
|
|
193
193
|
* // streamName: "STRING_VALUE",
|
|
194
194
|
* // },
|
|
195
195
|
* // s3Logs: { // S3LogsConfig
|
|
196
|
-
* // status: "
|
|
196
|
+
* // status: "ENABLED" || "DISABLED", // required
|
|
197
197
|
* // location: "STRING_VALUE",
|
|
198
198
|
* // encryptionDisabled: true || false,
|
|
199
|
-
* // bucketOwnerAccess: "
|
|
199
|
+
* // bucketOwnerAccess: "NONE" || "READ_ONLY" || "FULL",
|
|
200
200
|
* // },
|
|
201
201
|
* // },
|
|
202
202
|
* // fileSystemLocations: [ // ProjectFileSystemLocations
|
|
203
203
|
* // { // ProjectFileSystemLocation
|
|
204
|
-
* // type: "
|
|
204
|
+
* // type: "EFS",
|
|
205
205
|
* // location: "STRING_VALUE",
|
|
206
206
|
* // mountPoint: "STRING_VALUE",
|
|
207
207
|
* // identifier: "STRING_VALUE",
|
|
@@ -218,10 +218,10 @@ export interface BatchGetProjectsCommandOutput extends BatchGetProjectsOutput, _
|
|
|
218
218
|
* // ],
|
|
219
219
|
* // },
|
|
220
220
|
* // timeoutInMins: Number("int"),
|
|
221
|
-
* // batchReportMode: "
|
|
221
|
+
* // batchReportMode: "REPORT_INDIVIDUAL_BUILDS" || "REPORT_AGGREGATED_BATCH",
|
|
222
222
|
* // },
|
|
223
223
|
* // concurrentBuildLimit: Number("int"),
|
|
224
|
-
* // projectVisibility: "
|
|
224
|
+
* // projectVisibility: "PUBLIC_READ" || "PRIVATE",
|
|
225
225
|
* // publicProjectAlias: "STRING_VALUE",
|
|
226
226
|
* // resourceAccessRole: "STRING_VALUE",
|
|
227
227
|
* // },
|
|
@@ -44,14 +44,14 @@ export interface BatchGetReportGroupsCommandOutput extends BatchGetReportGroupsO
|
|
|
44
44
|
* // { // ReportGroup
|
|
45
45
|
* // arn: "STRING_VALUE",
|
|
46
46
|
* // name: "STRING_VALUE",
|
|
47
|
-
* // type: "
|
|
47
|
+
* // type: "TEST" || "CODE_COVERAGE",
|
|
48
48
|
* // exportConfig: { // ReportExportConfig
|
|
49
|
-
* // exportConfigType: "
|
|
49
|
+
* // exportConfigType: "S3" || "NO_EXPORT",
|
|
50
50
|
* // s3Destination: { // S3ReportExportConfig
|
|
51
51
|
* // bucket: "STRING_VALUE",
|
|
52
52
|
* // bucketOwner: "STRING_VALUE",
|
|
53
53
|
* // path: "STRING_VALUE",
|
|
54
|
-
* // packaging: "
|
|
54
|
+
* // packaging: "ZIP" || "NONE",
|
|
55
55
|
* // encryptionKey: "STRING_VALUE",
|
|
56
56
|
* // encryptionDisabled: true || false,
|
|
57
57
|
* // },
|
|
@@ -64,7 +64,7 @@ export interface BatchGetReportGroupsCommandOutput extends BatchGetReportGroupsO
|
|
|
64
64
|
* // value: "STRING_VALUE",
|
|
65
65
|
* // },
|
|
66
66
|
* // ],
|
|
67
|
-
* // status: "
|
|
67
|
+
* // status: "ACTIVE" || "DELETING",
|
|
68
68
|
* // },
|
|
69
69
|
* // ],
|
|
70
70
|
* // reportGroupsNotFound: [ // ReportGroupArns
|
|
@@ -43,20 +43,20 @@ export interface BatchGetReportsCommandOutput extends BatchGetReportsOutput, __M
|
|
|
43
43
|
* // reports: [ // Reports
|
|
44
44
|
* // { // Report
|
|
45
45
|
* // arn: "STRING_VALUE",
|
|
46
|
-
* // type: "
|
|
46
|
+
* // type: "TEST" || "CODE_COVERAGE",
|
|
47
47
|
* // name: "STRING_VALUE",
|
|
48
48
|
* // reportGroupArn: "STRING_VALUE",
|
|
49
49
|
* // executionId: "STRING_VALUE",
|
|
50
|
-
* // status: "
|
|
50
|
+
* // status: "GENERATING" || "SUCCEEDED" || "FAILED" || "INCOMPLETE" || "DELETING",
|
|
51
51
|
* // created: new Date("TIMESTAMP"),
|
|
52
52
|
* // expired: new Date("TIMESTAMP"),
|
|
53
53
|
* // exportConfig: { // ReportExportConfig
|
|
54
|
-
* // exportConfigType: "
|
|
54
|
+
* // exportConfigType: "S3" || "NO_EXPORT",
|
|
55
55
|
* // s3Destination: { // S3ReportExportConfig
|
|
56
56
|
* // bucket: "STRING_VALUE",
|
|
57
57
|
* // bucketOwner: "STRING_VALUE",
|
|
58
58
|
* // path: "STRING_VALUE",
|
|
59
|
-
* // packaging: "
|
|
59
|
+
* // packaging: "ZIP" || "NONE",
|
|
60
60
|
* // encryptionKey: "STRING_VALUE",
|
|
61
61
|
* // encryptionDisabled: true || false,
|
|
62
62
|
* // },
|