@aws-sdk/client-codebuild 3.408.0 → 3.410.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-cjs/runtimeExtensions.js +3 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/runtimeExtensions.js +3 -0
- 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/extensionConfiguration.d.ts +2 -1
- package/dist-types/index.d.ts +2 -2
- package/dist-types/models/models_0.d.ts +486 -489
- package/dist-types/runtimeConfig.browser.d.ts +4 -1
- package/dist-types/runtimeConfig.d.ts +4 -1
- package/dist-types/runtimeConfig.native.d.ts +4 -1
- package/dist-types/runtimeExtensions.d.ts +1 -1
- package/dist-types/ts3.4/extensionConfiguration.d.ts +3 -1
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +8 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +8 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +8 -1
- package/dist-types/ts3.4/runtimeExtensions.d.ts +1 -1
- package/package.json +28 -28
|
@@ -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
|
* // },
|
|
@@ -34,7 +34,7 @@ export interface CreateProjectCommandOutput extends CreateProjectOutput, __Metad
|
|
|
34
34
|
* name: "STRING_VALUE", // required
|
|
35
35
|
* description: "STRING_VALUE",
|
|
36
36
|
* source: { // ProjectSource
|
|
37
|
-
* type: "
|
|
37
|
+
* type: "CODECOMMIT" || "CODEPIPELINE" || "GITHUB" || "S3" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "NO_SOURCE", // required
|
|
38
38
|
* location: "STRING_VALUE",
|
|
39
39
|
* gitCloneDepth: Number("int"),
|
|
40
40
|
* gitSubmodulesConfig: { // GitSubmodulesConfig
|
|
@@ -42,7 +42,7 @@ export interface CreateProjectCommandOutput extends CreateProjectOutput, __Metad
|
|
|
42
42
|
* },
|
|
43
43
|
* buildspec: "STRING_VALUE",
|
|
44
44
|
* auth: { // SourceAuth
|
|
45
|
-
* type: "
|
|
45
|
+
* type: "OAUTH", // required
|
|
46
46
|
* resource: "STRING_VALUE",
|
|
47
47
|
* },
|
|
48
48
|
* reportBuildStatus: true || false,
|
|
@@ -55,7 +55,7 @@ export interface CreateProjectCommandOutput extends CreateProjectOutput, __Metad
|
|
|
55
55
|
* },
|
|
56
56
|
* secondarySources: [ // ProjectSources
|
|
57
57
|
* {
|
|
58
|
-
* type: "
|
|
58
|
+
* type: "CODECOMMIT" || "CODEPIPELINE" || "GITHUB" || "S3" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "NO_SOURCE", // required
|
|
59
59
|
* location: "STRING_VALUE",
|
|
60
60
|
* gitCloneDepth: Number("int"),
|
|
61
61
|
* gitSubmodulesConfig: {
|
|
@@ -63,7 +63,7 @@ export interface CreateProjectCommandOutput extends CreateProjectOutput, __Metad
|
|
|
63
63
|
* },
|
|
64
64
|
* buildspec: "STRING_VALUE",
|
|
65
65
|
* auth: {
|
|
66
|
-
* type: "
|
|
66
|
+
* type: "OAUTH", // required
|
|
67
67
|
* resource: "STRING_VALUE",
|
|
68
68
|
* },
|
|
69
69
|
* reportBuildStatus: true || false,
|
|
@@ -83,56 +83,56 @@ export interface CreateProjectCommandOutput extends CreateProjectOutput, __Metad
|
|
|
83
83
|
* },
|
|
84
84
|
* ],
|
|
85
85
|
* artifacts: { // ProjectArtifacts
|
|
86
|
-
* type: "
|
|
86
|
+
* type: "CODEPIPELINE" || "S3" || "NO_ARTIFACTS", // required
|
|
87
87
|
* location: "STRING_VALUE",
|
|
88
88
|
* path: "STRING_VALUE",
|
|
89
|
-
* namespaceType: "
|
|
89
|
+
* namespaceType: "NONE" || "BUILD_ID",
|
|
90
90
|
* name: "STRING_VALUE",
|
|
91
|
-
* packaging: "
|
|
91
|
+
* packaging: "NONE" || "ZIP",
|
|
92
92
|
* overrideArtifactName: true || false,
|
|
93
93
|
* encryptionDisabled: true || false,
|
|
94
94
|
* artifactIdentifier: "STRING_VALUE",
|
|
95
|
-
* bucketOwnerAccess: "
|
|
95
|
+
* bucketOwnerAccess: "NONE" || "READ_ONLY" || "FULL",
|
|
96
96
|
* },
|
|
97
97
|
* secondaryArtifacts: [ // ProjectArtifactsList
|
|
98
98
|
* {
|
|
99
|
-
* type: "
|
|
99
|
+
* type: "CODEPIPELINE" || "S3" || "NO_ARTIFACTS", // required
|
|
100
100
|
* location: "STRING_VALUE",
|
|
101
101
|
* path: "STRING_VALUE",
|
|
102
|
-
* namespaceType: "
|
|
102
|
+
* namespaceType: "NONE" || "BUILD_ID",
|
|
103
103
|
* name: "STRING_VALUE",
|
|
104
|
-
* packaging: "
|
|
104
|
+
* packaging: "NONE" || "ZIP",
|
|
105
105
|
* overrideArtifactName: true || false,
|
|
106
106
|
* encryptionDisabled: true || false,
|
|
107
107
|
* artifactIdentifier: "STRING_VALUE",
|
|
108
|
-
* bucketOwnerAccess: "
|
|
108
|
+
* bucketOwnerAccess: "NONE" || "READ_ONLY" || "FULL",
|
|
109
109
|
* },
|
|
110
110
|
* ],
|
|
111
111
|
* cache: { // ProjectCache
|
|
112
|
-
* type: "
|
|
112
|
+
* type: "NO_CACHE" || "S3" || "LOCAL", // required
|
|
113
113
|
* location: "STRING_VALUE",
|
|
114
114
|
* modes: [ // ProjectCacheModes
|
|
115
|
-
* "
|
|
115
|
+
* "LOCAL_DOCKER_LAYER_CACHE" || "LOCAL_SOURCE_CACHE" || "LOCAL_CUSTOM_CACHE",
|
|
116
116
|
* ],
|
|
117
117
|
* },
|
|
118
118
|
* environment: { // ProjectEnvironment
|
|
119
|
-
* type: "
|
|
119
|
+
* type: "WINDOWS_CONTAINER" || "LINUX_CONTAINER" || "LINUX_GPU_CONTAINER" || "ARM_CONTAINER" || "WINDOWS_SERVER_2019_CONTAINER", // required
|
|
120
120
|
* image: "STRING_VALUE", // required
|
|
121
|
-
* computeType: "
|
|
121
|
+
* computeType: "BUILD_GENERAL1_SMALL" || "BUILD_GENERAL1_MEDIUM" || "BUILD_GENERAL1_LARGE" || "BUILD_GENERAL1_2XLARGE", // required
|
|
122
122
|
* environmentVariables: [ // EnvironmentVariables
|
|
123
123
|
* { // EnvironmentVariable
|
|
124
124
|
* name: "STRING_VALUE", // required
|
|
125
125
|
* value: "STRING_VALUE", // required
|
|
126
|
-
* type: "
|
|
126
|
+
* type: "PLAINTEXT" || "PARAMETER_STORE" || "SECRETS_MANAGER",
|
|
127
127
|
* },
|
|
128
128
|
* ],
|
|
129
129
|
* privilegedMode: true || false,
|
|
130
130
|
* certificate: "STRING_VALUE",
|
|
131
131
|
* registryCredential: { // RegistryCredential
|
|
132
132
|
* credential: "STRING_VALUE", // required
|
|
133
|
-
* credentialProvider: "
|
|
133
|
+
* credentialProvider: "SECRETS_MANAGER", // required
|
|
134
134
|
* },
|
|
135
|
-
* imagePullCredentialsType: "
|
|
135
|
+
* imagePullCredentialsType: "CODEBUILD" || "SERVICE_ROLE",
|
|
136
136
|
* },
|
|
137
137
|
* serviceRole: "STRING_VALUE", // required
|
|
138
138
|
* timeoutInMinutes: Number("int"),
|
|
@@ -156,20 +156,20 @@ export interface CreateProjectCommandOutput extends CreateProjectOutput, __Metad
|
|
|
156
156
|
* badgeEnabled: true || false,
|
|
157
157
|
* logsConfig: { // LogsConfig
|
|
158
158
|
* cloudWatchLogs: { // CloudWatchLogsConfig
|
|
159
|
-
* status: "
|
|
159
|
+
* status: "ENABLED" || "DISABLED", // required
|
|
160
160
|
* groupName: "STRING_VALUE",
|
|
161
161
|
* streamName: "STRING_VALUE",
|
|
162
162
|
* },
|
|
163
163
|
* s3Logs: { // S3LogsConfig
|
|
164
|
-
* status: "
|
|
164
|
+
* status: "ENABLED" || "DISABLED", // required
|
|
165
165
|
* location: "STRING_VALUE",
|
|
166
166
|
* encryptionDisabled: true || false,
|
|
167
|
-
* bucketOwnerAccess: "
|
|
167
|
+
* bucketOwnerAccess: "NONE" || "READ_ONLY" || "FULL",
|
|
168
168
|
* },
|
|
169
169
|
* },
|
|
170
170
|
* fileSystemLocations: [ // ProjectFileSystemLocations
|
|
171
171
|
* { // ProjectFileSystemLocation
|
|
172
|
-
* type: "
|
|
172
|
+
* type: "EFS",
|
|
173
173
|
* location: "STRING_VALUE",
|
|
174
174
|
* mountPoint: "STRING_VALUE",
|
|
175
175
|
* identifier: "STRING_VALUE",
|
|
@@ -186,7 +186,7 @@ export interface CreateProjectCommandOutput extends CreateProjectOutput, __Metad
|
|
|
186
186
|
* ],
|
|
187
187
|
* },
|
|
188
188
|
* timeoutInMins: Number("int"),
|
|
189
|
-
* batchReportMode: "
|
|
189
|
+
* batchReportMode: "REPORT_INDIVIDUAL_BUILDS" || "REPORT_AGGREGATED_BATCH",
|
|
190
190
|
* },
|
|
191
191
|
* concurrentBuildLimit: Number("int"),
|
|
192
192
|
* };
|
|
@@ -198,7 +198,7 @@ export interface CreateProjectCommandOutput extends CreateProjectOutput, __Metad
|
|
|
198
198
|
* // arn: "STRING_VALUE",
|
|
199
199
|
* // description: "STRING_VALUE",
|
|
200
200
|
* // source: { // ProjectSource
|
|
201
|
-
* // type: "
|
|
201
|
+
* // type: "CODECOMMIT" || "CODEPIPELINE" || "GITHUB" || "S3" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "NO_SOURCE", // required
|
|
202
202
|
* // location: "STRING_VALUE",
|
|
203
203
|
* // gitCloneDepth: Number("int"),
|
|
204
204
|
* // gitSubmodulesConfig: { // GitSubmodulesConfig
|
|
@@ -206,7 +206,7 @@ export interface CreateProjectCommandOutput extends CreateProjectOutput, __Metad
|
|
|
206
206
|
* // },
|
|
207
207
|
* // buildspec: "STRING_VALUE",
|
|
208
208
|
* // auth: { // SourceAuth
|
|
209
|
-
* // type: "
|
|
209
|
+
* // type: "OAUTH", // required
|
|
210
210
|
* // resource: "STRING_VALUE",
|
|
211
211
|
* // },
|
|
212
212
|
* // reportBuildStatus: true || false,
|
|
@@ -219,7 +219,7 @@ export interface CreateProjectCommandOutput extends CreateProjectOutput, __Metad
|
|
|
219
219
|
* // },
|
|
220
220
|
* // secondarySources: [ // ProjectSources
|
|
221
221
|
* // {
|
|
222
|
-
* // type: "
|
|
222
|
+
* // type: "CODECOMMIT" || "CODEPIPELINE" || "GITHUB" || "S3" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "NO_SOURCE", // required
|
|
223
223
|
* // location: "STRING_VALUE",
|
|
224
224
|
* // gitCloneDepth: Number("int"),
|
|
225
225
|
* // gitSubmodulesConfig: {
|
|
@@ -227,7 +227,7 @@ export interface CreateProjectCommandOutput extends CreateProjectOutput, __Metad
|
|
|
227
227
|
* // },
|
|
228
228
|
* // buildspec: "STRING_VALUE",
|
|
229
229
|
* // auth: {
|
|
230
|
-
* // type: "
|
|
230
|
+
* // type: "OAUTH", // required
|
|
231
231
|
* // resource: "STRING_VALUE",
|
|
232
232
|
* // },
|
|
233
233
|
* // reportBuildStatus: true || false,
|
|
@@ -247,56 +247,56 @@ export interface CreateProjectCommandOutput extends CreateProjectOutput, __Metad
|
|
|
247
247
|
* // },
|
|
248
248
|
* // ],
|
|
249
249
|
* // artifacts: { // ProjectArtifacts
|
|
250
|
-
* // type: "
|
|
250
|
+
* // type: "CODEPIPELINE" || "S3" || "NO_ARTIFACTS", // required
|
|
251
251
|
* // location: "STRING_VALUE",
|
|
252
252
|
* // path: "STRING_VALUE",
|
|
253
|
-
* // namespaceType: "
|
|
253
|
+
* // namespaceType: "NONE" || "BUILD_ID",
|
|
254
254
|
* // name: "STRING_VALUE",
|
|
255
|
-
* // packaging: "
|
|
255
|
+
* // packaging: "NONE" || "ZIP",
|
|
256
256
|
* // overrideArtifactName: true || false,
|
|
257
257
|
* // encryptionDisabled: true || false,
|
|
258
258
|
* // artifactIdentifier: "STRING_VALUE",
|
|
259
|
-
* // bucketOwnerAccess: "
|
|
259
|
+
* // bucketOwnerAccess: "NONE" || "READ_ONLY" || "FULL",
|
|
260
260
|
* // },
|
|
261
261
|
* // secondaryArtifacts: [ // ProjectArtifactsList
|
|
262
262
|
* // {
|
|
263
|
-
* // type: "
|
|
263
|
+
* // type: "CODEPIPELINE" || "S3" || "NO_ARTIFACTS", // required
|
|
264
264
|
* // location: "STRING_VALUE",
|
|
265
265
|
* // path: "STRING_VALUE",
|
|
266
|
-
* // namespaceType: "
|
|
266
|
+
* // namespaceType: "NONE" || "BUILD_ID",
|
|
267
267
|
* // name: "STRING_VALUE",
|
|
268
|
-
* // packaging: "
|
|
268
|
+
* // packaging: "NONE" || "ZIP",
|
|
269
269
|
* // overrideArtifactName: true || false,
|
|
270
270
|
* // encryptionDisabled: true || false,
|
|
271
271
|
* // artifactIdentifier: "STRING_VALUE",
|
|
272
|
-
* // bucketOwnerAccess: "
|
|
272
|
+
* // bucketOwnerAccess: "NONE" || "READ_ONLY" || "FULL",
|
|
273
273
|
* // },
|
|
274
274
|
* // ],
|
|
275
275
|
* // cache: { // ProjectCache
|
|
276
|
-
* // type: "
|
|
276
|
+
* // type: "NO_CACHE" || "S3" || "LOCAL", // required
|
|
277
277
|
* // location: "STRING_VALUE",
|
|
278
278
|
* // modes: [ // ProjectCacheModes
|
|
279
|
-
* // "
|
|
279
|
+
* // "LOCAL_DOCKER_LAYER_CACHE" || "LOCAL_SOURCE_CACHE" || "LOCAL_CUSTOM_CACHE",
|
|
280
280
|
* // ],
|
|
281
281
|
* // },
|
|
282
282
|
* // environment: { // ProjectEnvironment
|
|
283
|
-
* // type: "
|
|
283
|
+
* // type: "WINDOWS_CONTAINER" || "LINUX_CONTAINER" || "LINUX_GPU_CONTAINER" || "ARM_CONTAINER" || "WINDOWS_SERVER_2019_CONTAINER", // required
|
|
284
284
|
* // image: "STRING_VALUE", // required
|
|
285
|
-
* // computeType: "
|
|
285
|
+
* // computeType: "BUILD_GENERAL1_SMALL" || "BUILD_GENERAL1_MEDIUM" || "BUILD_GENERAL1_LARGE" || "BUILD_GENERAL1_2XLARGE", // required
|
|
286
286
|
* // environmentVariables: [ // EnvironmentVariables
|
|
287
287
|
* // { // EnvironmentVariable
|
|
288
288
|
* // name: "STRING_VALUE", // required
|
|
289
289
|
* // value: "STRING_VALUE", // required
|
|
290
|
-
* // type: "
|
|
290
|
+
* // type: "PLAINTEXT" || "PARAMETER_STORE" || "SECRETS_MANAGER",
|
|
291
291
|
* // },
|
|
292
292
|
* // ],
|
|
293
293
|
* // privilegedMode: true || false,
|
|
294
294
|
* // certificate: "STRING_VALUE",
|
|
295
295
|
* // registryCredential: { // RegistryCredential
|
|
296
296
|
* // credential: "STRING_VALUE", // required
|
|
297
|
-
* // credentialProvider: "
|
|
297
|
+
* // credentialProvider: "SECRETS_MANAGER", // required
|
|
298
298
|
* // },
|
|
299
|
-
* // imagePullCredentialsType: "
|
|
299
|
+
* // imagePullCredentialsType: "CODEBUILD" || "SERVICE_ROLE",
|
|
300
300
|
* // },
|
|
301
301
|
* // serviceRole: "STRING_VALUE",
|
|
302
302
|
* // timeoutInMinutes: Number("int"),
|
|
@@ -318,13 +318,13 @@ export interface CreateProjectCommandOutput extends CreateProjectOutput, __Metad
|
|
|
318
318
|
* // filterGroups: [ // FilterGroups
|
|
319
319
|
* // [ // FilterGroup
|
|
320
320
|
* // { // WebhookFilter
|
|
321
|
-
* // type: "
|
|
321
|
+
* // type: "EVENT" || "BASE_REF" || "HEAD_REF" || "ACTOR_ACCOUNT_ID" || "FILE_PATH" || "COMMIT_MESSAGE", // required
|
|
322
322
|
* // pattern: "STRING_VALUE", // required
|
|
323
323
|
* // excludeMatchedPattern: true || false,
|
|
324
324
|
* // },
|
|
325
325
|
* // ],
|
|
326
326
|
* // ],
|
|
327
|
-
* // buildType: "
|
|
327
|
+
* // buildType: "BUILD" || "BUILD_BATCH",
|
|
328
328
|
* // lastModifiedSecret: new Date("TIMESTAMP"),
|
|
329
329
|
* // },
|
|
330
330
|
* // vpcConfig: { // VpcConfig
|
|
@@ -342,20 +342,20 @@ export interface CreateProjectCommandOutput extends CreateProjectOutput, __Metad
|
|
|
342
342
|
* // },
|
|
343
343
|
* // logsConfig: { // LogsConfig
|
|
344
344
|
* // cloudWatchLogs: { // CloudWatchLogsConfig
|
|
345
|
-
* // status: "
|
|
345
|
+
* // status: "ENABLED" || "DISABLED", // required
|
|
346
346
|
* // groupName: "STRING_VALUE",
|
|
347
347
|
* // streamName: "STRING_VALUE",
|
|
348
348
|
* // },
|
|
349
349
|
* // s3Logs: { // S3LogsConfig
|
|
350
|
-
* // status: "
|
|
350
|
+
* // status: "ENABLED" || "DISABLED", // required
|
|
351
351
|
* // location: "STRING_VALUE",
|
|
352
352
|
* // encryptionDisabled: true || false,
|
|
353
|
-
* // bucketOwnerAccess: "
|
|
353
|
+
* // bucketOwnerAccess: "NONE" || "READ_ONLY" || "FULL",
|
|
354
354
|
* // },
|
|
355
355
|
* // },
|
|
356
356
|
* // fileSystemLocations: [ // ProjectFileSystemLocations
|
|
357
357
|
* // { // ProjectFileSystemLocation
|
|
358
|
-
* // type: "
|
|
358
|
+
* // type: "EFS",
|
|
359
359
|
* // location: "STRING_VALUE",
|
|
360
360
|
* // mountPoint: "STRING_VALUE",
|
|
361
361
|
* // identifier: "STRING_VALUE",
|
|
@@ -372,10 +372,10 @@ export interface CreateProjectCommandOutput extends CreateProjectOutput, __Metad
|
|
|
372
372
|
* // ],
|
|
373
373
|
* // },
|
|
374
374
|
* // timeoutInMins: Number("int"),
|
|
375
|
-
* // batchReportMode: "
|
|
375
|
+
* // batchReportMode: "REPORT_INDIVIDUAL_BUILDS" || "REPORT_AGGREGATED_BATCH",
|
|
376
376
|
* // },
|
|
377
377
|
* // concurrentBuildLimit: Number("int"),
|
|
378
|
-
* // projectVisibility: "
|
|
378
|
+
* // projectVisibility: "PUBLIC_READ" || "PRIVATE",
|
|
379
379
|
* // publicProjectAlias: "STRING_VALUE",
|
|
380
380
|
* // resourceAccessRole: "STRING_VALUE",
|
|
381
381
|
* // },
|
|
@@ -34,14 +34,14 @@ export interface CreateReportGroupCommandOutput extends CreateReportGroupOutput,
|
|
|
34
34
|
* const client = new CodeBuildClient(config);
|
|
35
35
|
* const input = { // CreateReportGroupInput
|
|
36
36
|
* name: "STRING_VALUE", // required
|
|
37
|
-
* type: "
|
|
37
|
+
* type: "TEST" || "CODE_COVERAGE", // required
|
|
38
38
|
* exportConfig: { // ReportExportConfig
|
|
39
|
-
* exportConfigType: "
|
|
39
|
+
* exportConfigType: "S3" || "NO_EXPORT",
|
|
40
40
|
* s3Destination: { // S3ReportExportConfig
|
|
41
41
|
* bucket: "STRING_VALUE",
|
|
42
42
|
* bucketOwner: "STRING_VALUE",
|
|
43
43
|
* path: "STRING_VALUE",
|
|
44
|
-
* packaging: "
|
|
44
|
+
* packaging: "ZIP" || "NONE",
|
|
45
45
|
* encryptionKey: "STRING_VALUE",
|
|
46
46
|
* encryptionDisabled: true || false,
|
|
47
47
|
* },
|
|
@@ -59,14 +59,14 @@ export interface CreateReportGroupCommandOutput extends CreateReportGroupOutput,
|
|
|
59
59
|
* // reportGroup: { // ReportGroup
|
|
60
60
|
* // arn: "STRING_VALUE",
|
|
61
61
|
* // name: "STRING_VALUE",
|
|
62
|
-
* // type: "
|
|
62
|
+
* // type: "TEST" || "CODE_COVERAGE",
|
|
63
63
|
* // exportConfig: { // ReportExportConfig
|
|
64
|
-
* // exportConfigType: "
|
|
64
|
+
* // exportConfigType: "S3" || "NO_EXPORT",
|
|
65
65
|
* // s3Destination: { // S3ReportExportConfig
|
|
66
66
|
* // bucket: "STRING_VALUE",
|
|
67
67
|
* // bucketOwner: "STRING_VALUE",
|
|
68
68
|
* // path: "STRING_VALUE",
|
|
69
|
-
* // packaging: "
|
|
69
|
+
* // packaging: "ZIP" || "NONE",
|
|
70
70
|
* // encryptionKey: "STRING_VALUE",
|
|
71
71
|
* // encryptionDisabled: true || false,
|
|
72
72
|
* // },
|
|
@@ -79,7 +79,7 @@ export interface CreateReportGroupCommandOutput extends CreateReportGroupOutput,
|
|
|
79
79
|
* // value: "STRING_VALUE",
|
|
80
80
|
* // },
|
|
81
81
|
* // ],
|
|
82
|
-
* // status: "
|
|
82
|
+
* // status: "ACTIVE" || "DELETING",
|
|
83
83
|
* // },
|
|
84
84
|
* // };
|
|
85
85
|
*
|
|
@@ -46,13 +46,13 @@ export interface CreateWebhookCommandOutput extends CreateWebhookOutput, __Metad
|
|
|
46
46
|
* filterGroups: [ // FilterGroups
|
|
47
47
|
* [ // FilterGroup
|
|
48
48
|
* { // WebhookFilter
|
|
49
|
-
* type: "
|
|
49
|
+
* type: "EVENT" || "BASE_REF" || "HEAD_REF" || "ACTOR_ACCOUNT_ID" || "FILE_PATH" || "COMMIT_MESSAGE", // required
|
|
50
50
|
* pattern: "STRING_VALUE", // required
|
|
51
51
|
* excludeMatchedPattern: true || false,
|
|
52
52
|
* },
|
|
53
53
|
* ],
|
|
54
54
|
* ],
|
|
55
|
-
* buildType: "
|
|
55
|
+
* buildType: "BUILD" || "BUILD_BATCH",
|
|
56
56
|
* };
|
|
57
57
|
* const command = new CreateWebhookCommand(input);
|
|
58
58
|
* const response = await client.send(command);
|
|
@@ -65,13 +65,13 @@ export interface CreateWebhookCommandOutput extends CreateWebhookOutput, __Metad
|
|
|
65
65
|
* // filterGroups: [ // FilterGroups
|
|
66
66
|
* // [ // FilterGroup
|
|
67
67
|
* // { // WebhookFilter
|
|
68
|
-
* // type: "
|
|
68
|
+
* // type: "EVENT" || "BASE_REF" || "HEAD_REF" || "ACTOR_ACCOUNT_ID" || "FILE_PATH" || "COMMIT_MESSAGE", // required
|
|
69
69
|
* // pattern: "STRING_VALUE", // required
|
|
70
70
|
* // excludeMatchedPattern: true || false,
|
|
71
71
|
* // },
|
|
72
72
|
* // ],
|
|
73
73
|
* // ],
|
|
74
|
-
* // buildType: "
|
|
74
|
+
* // buildType: "BUILD" || "BUILD_BATCH",
|
|
75
75
|
* // lastModifiedSecret: new Date("TIMESTAMP"),
|
|
76
76
|
* // },
|
|
77
77
|
* // };
|
|
@@ -34,8 +34,8 @@ export interface DescribeCodeCoveragesCommandOutput extends DescribeCodeCoverage
|
|
|
34
34
|
* reportArn: "STRING_VALUE", // required
|
|
35
35
|
* nextToken: "STRING_VALUE",
|
|
36
36
|
* maxResults: Number("int"),
|
|
37
|
-
* sortOrder: "
|
|
38
|
-
* sortBy: "
|
|
37
|
+
* sortOrder: "ASCENDING" || "DESCENDING",
|
|
38
|
+
* sortBy: "LINE_COVERAGE_PERCENTAGE" || "FILE_PATH",
|
|
39
39
|
* minLineCoveragePercentage: Number("double"),
|
|
40
40
|
* maxLineCoveragePercentage: Number("double"),
|
|
41
41
|
* };
|
|
@@ -33,7 +33,7 @@ export interface GetReportGroupTrendCommandOutput extends GetReportGroupTrendOut
|
|
|
33
33
|
* const input = { // GetReportGroupTrendInput
|
|
34
34
|
* reportGroupArn: "STRING_VALUE", // required
|
|
35
35
|
* numOfReports: Number("int"),
|
|
36
|
-
* trendField: "
|
|
36
|
+
* trendField: "PASS_RATE" || "DURATION" || "TOTAL" || "LINE_COVERAGE" || "LINES_COVERED" || "LINES_MISSED" || "BRANCH_COVERAGE" || "BRANCHES_COVERED" || "BRANCHES_MISSED", // required
|
|
37
37
|
* };
|
|
38
38
|
* const command = new GetReportGroupTrendCommand(input);
|
|
39
39
|
* const response = await client.send(command);
|
|
@@ -34,8 +34,8 @@ export interface ImportSourceCredentialsCommandOutput extends ImportSourceCreden
|
|
|
34
34
|
* const input = { // ImportSourceCredentialsInput
|
|
35
35
|
* username: "STRING_VALUE",
|
|
36
36
|
* token: "STRING_VALUE", // required
|
|
37
|
-
* serverType: "
|
|
38
|
-
* authType: "
|
|
37
|
+
* serverType: "GITHUB" || "BITBUCKET" || "GITHUB_ENTERPRISE", // required
|
|
38
|
+
* authType: "OAUTH" || "BASIC_AUTH" || "PERSONAL_ACCESS_TOKEN", // required
|
|
39
39
|
* shouldOverwrite: true || false,
|
|
40
40
|
* };
|
|
41
41
|
* const command = new ImportSourceCredentialsCommand(input);
|
|
@@ -32,10 +32,10 @@ export interface ListBuildBatchesCommandOutput extends ListBuildBatchesOutput, _
|
|
|
32
32
|
* const client = new CodeBuildClient(config);
|
|
33
33
|
* const input = { // ListBuildBatchesInput
|
|
34
34
|
* filter: { // BuildBatchFilter
|
|
35
|
-
* status: "
|
|
35
|
+
* status: "SUCCEEDED" || "FAILED" || "FAULT" || "TIMED_OUT" || "IN_PROGRESS" || "STOPPED",
|
|
36
36
|
* },
|
|
37
37
|
* maxResults: Number("int"),
|
|
38
|
-
* sortOrder: "
|
|
38
|
+
* sortOrder: "ASCENDING" || "DESCENDING",
|
|
39
39
|
* nextToken: "STRING_VALUE",
|
|
40
40
|
* };
|
|
41
41
|
* const command = new ListBuildBatchesCommand(input);
|
|
@@ -33,10 +33,10 @@ export interface ListBuildBatchesForProjectCommandOutput extends ListBuildBatche
|
|
|
33
33
|
* const input = { // ListBuildBatchesForProjectInput
|
|
34
34
|
* projectName: "STRING_VALUE",
|
|
35
35
|
* filter: { // BuildBatchFilter
|
|
36
|
-
* status: "
|
|
36
|
+
* status: "SUCCEEDED" || "FAILED" || "FAULT" || "TIMED_OUT" || "IN_PROGRESS" || "STOPPED",
|
|
37
37
|
* },
|
|
38
38
|
* maxResults: Number("int"),
|
|
39
|
-
* sortOrder: "
|
|
39
|
+
* sortOrder: "ASCENDING" || "DESCENDING",
|
|
40
40
|
* nextToken: "STRING_VALUE",
|
|
41
41
|
* };
|
|
42
42
|
* const command = new ListBuildBatchesForProjectCommand(input);
|
|
@@ -31,7 +31,7 @@ export interface ListBuildsCommandOutput extends ListBuildsOutput, __MetadataBea
|
|
|
31
31
|
* // const { CodeBuildClient, ListBuildsCommand } = require("@aws-sdk/client-codebuild"); // CommonJS import
|
|
32
32
|
* const client = new CodeBuildClient(config);
|
|
33
33
|
* const input = { // ListBuildsInput
|
|
34
|
-
* sortOrder: "
|
|
34
|
+
* sortOrder: "ASCENDING" || "DESCENDING",
|
|
35
35
|
* nextToken: "STRING_VALUE",
|
|
36
36
|
* };
|
|
37
37
|
* const command = new ListBuildsCommand(input);
|
|
@@ -33,7 +33,7 @@ export interface ListBuildsForProjectCommandOutput extends ListBuildsForProjectO
|
|
|
33
33
|
* const client = new CodeBuildClient(config);
|
|
34
34
|
* const input = { // ListBuildsForProjectInput
|
|
35
35
|
* projectName: "STRING_VALUE", // required
|
|
36
|
-
* sortOrder: "
|
|
36
|
+
* sortOrder: "ASCENDING" || "DESCENDING",
|
|
37
37
|
* nextToken: "STRING_VALUE",
|
|
38
38
|
* };
|
|
39
39
|
* const command = new ListBuildsForProjectCommand(input);
|
|
@@ -36,10 +36,10 @@ export interface ListCuratedEnvironmentImagesCommandOutput extends ListCuratedEn
|
|
|
36
36
|
* // { // ListCuratedEnvironmentImagesOutput
|
|
37
37
|
* // platforms: [ // EnvironmentPlatforms
|
|
38
38
|
* // { // EnvironmentPlatform
|
|
39
|
-
* // platform: "
|
|
39
|
+
* // platform: "DEBIAN" || "AMAZON_LINUX" || "UBUNTU" || "WINDOWS_SERVER",
|
|
40
40
|
* // languages: [ // EnvironmentLanguages
|
|
41
41
|
* // { // EnvironmentLanguage
|
|
42
|
-
* // language: "
|
|
42
|
+
* // language: "JAVA" || "PYTHON" || "NODE_JS" || "RUBY" || "GOLANG" || "DOCKER" || "ANDROID" || "DOTNET" || "BASE" || "PHP",
|
|
43
43
|
* // images: [ // EnvironmentImages
|
|
44
44
|
* // { // EnvironmentImage
|
|
45
45
|
* // name: "STRING_VALUE",
|
|
@@ -32,8 +32,8 @@ export interface ListProjectsCommandOutput extends ListProjectsOutput, __Metadat
|
|
|
32
32
|
* // const { CodeBuildClient, ListProjectsCommand } = require("@aws-sdk/client-codebuild"); // CommonJS import
|
|
33
33
|
* const client = new CodeBuildClient(config);
|
|
34
34
|
* const input = { // ListProjectsInput
|
|
35
|
-
* sortBy: "
|
|
36
|
-
* sortOrder: "
|
|
35
|
+
* sortBy: "NAME" || "CREATED_TIME" || "LAST_MODIFIED_TIME",
|
|
36
|
+
* sortOrder: "ASCENDING" || "DESCENDING",
|
|
37
37
|
* nextToken: "STRING_VALUE",
|
|
38
38
|
* };
|
|
39
39
|
* const command = new ListProjectsCommand(input);
|
|
@@ -33,8 +33,8 @@ export interface ListReportGroupsCommandOutput extends ListReportGroupsOutput, _
|
|
|
33
33
|
* // const { CodeBuildClient, ListReportGroupsCommand } = require("@aws-sdk/client-codebuild"); // CommonJS import
|
|
34
34
|
* const client = new CodeBuildClient(config);
|
|
35
35
|
* const input = { // ListReportGroupsInput
|
|
36
|
-
* sortOrder: "
|
|
37
|
-
* sortBy: "
|
|
36
|
+
* sortOrder: "ASCENDING" || "DESCENDING",
|
|
37
|
+
* sortBy: "NAME" || "CREATED_TIME" || "LAST_MODIFIED_TIME",
|
|
38
38
|
* nextToken: "STRING_VALUE",
|
|
39
39
|
* maxResults: Number("int"),
|
|
40
40
|
* };
|
|
@@ -33,11 +33,11 @@ export interface ListReportsCommandOutput extends ListReportsOutput, __MetadataB
|
|
|
33
33
|
* // const { CodeBuildClient, ListReportsCommand } = require("@aws-sdk/client-codebuild"); // CommonJS import
|
|
34
34
|
* const client = new CodeBuildClient(config);
|
|
35
35
|
* const input = { // ListReportsInput
|
|
36
|
-
* sortOrder: "
|
|
36
|
+
* sortOrder: "ASCENDING" || "DESCENDING",
|
|
37
37
|
* nextToken: "STRING_VALUE",
|
|
38
38
|
* maxResults: Number("int"),
|
|
39
39
|
* filter: { // ReportFilter
|
|
40
|
-
* status: "
|
|
40
|
+
* status: "GENERATING" || "SUCCEEDED" || "FAILED" || "INCOMPLETE" || "DELETING",
|
|
41
41
|
* },
|
|
42
42
|
* };
|
|
43
43
|
* const command = new ListReportsCommand(input);
|
|
@@ -35,10 +35,10 @@ export interface ListReportsForReportGroupCommandOutput extends ListReportsForRe
|
|
|
35
35
|
* const input = { // ListReportsForReportGroupInput
|
|
36
36
|
* reportGroupArn: "STRING_VALUE", // required
|
|
37
37
|
* nextToken: "STRING_VALUE",
|
|
38
|
-
* sortOrder: "
|
|
38
|
+
* sortOrder: "ASCENDING" || "DESCENDING",
|
|
39
39
|
* maxResults: Number("int"),
|
|
40
40
|
* filter: { // ReportFilter
|
|
41
|
-
* status: "
|
|
41
|
+
* status: "GENERATING" || "SUCCEEDED" || "FAILED" || "INCOMPLETE" || "DELETING",
|
|
42
42
|
* },
|
|
43
43
|
* };
|
|
44
44
|
* const command = new ListReportsForReportGroupCommand(input);
|
|
@@ -31,8 +31,8 @@ export interface ListSharedProjectsCommandOutput extends ListSharedProjectsOutpu
|
|
|
31
31
|
* // const { CodeBuildClient, ListSharedProjectsCommand } = require("@aws-sdk/client-codebuild"); // CommonJS import
|
|
32
32
|
* const client = new CodeBuildClient(config);
|
|
33
33
|
* const input = { // ListSharedProjectsInput
|
|
34
|
-
* sortBy: "
|
|
35
|
-
* sortOrder: "
|
|
34
|
+
* sortBy: "ARN" || "MODIFIED_TIME",
|
|
35
|
+
* sortOrder: "ASCENDING" || "DESCENDING",
|
|
36
36
|
* maxResults: Number("int"),
|
|
37
37
|
* nextToken: "STRING_VALUE",
|
|
38
38
|
* };
|
|
@@ -32,8 +32,8 @@ export interface ListSharedReportGroupsCommandOutput extends ListSharedReportGro
|
|
|
32
32
|
* // const { CodeBuildClient, ListSharedReportGroupsCommand } = require("@aws-sdk/client-codebuild"); // CommonJS import
|
|
33
33
|
* const client = new CodeBuildClient(config);
|
|
34
34
|
* const input = { // ListSharedReportGroupsInput
|
|
35
|
-
* sortOrder: "
|
|
36
|
-
* sortBy: "
|
|
35
|
+
* sortOrder: "ASCENDING" || "DESCENDING",
|
|
36
|
+
* sortBy: "ARN" || "MODIFIED_TIME",
|
|
37
37
|
* nextToken: "STRING_VALUE",
|
|
38
38
|
* maxResults: Number("int"),
|
|
39
39
|
* };
|
|
@@ -37,8 +37,8 @@ export interface ListSourceCredentialsCommandOutput extends ListSourceCredential
|
|
|
37
37
|
* // sourceCredentialsInfos: [ // SourceCredentialsInfos
|
|
38
38
|
* // { // SourceCredentialsInfo
|
|
39
39
|
* // arn: "STRING_VALUE",
|
|
40
|
-
* // serverType: "
|
|
41
|
-
* // authType: "
|
|
40
|
+
* // serverType: "GITHUB" || "BITBUCKET" || "GITHUB_ENTERPRISE",
|
|
41
|
+
* // authType: "OAUTH" || "BASIC_AUTH" || "PERSONAL_ACCESS_TOKEN",
|
|
42
42
|
* // },
|
|
43
43
|
* // ],
|
|
44
44
|
* // };
|