@aws-sdk/client-codebuild 3.325.0 → 3.326.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.
Files changed (46) hide show
  1. package/dist-types/commands/BatchDeleteBuildsCommand.d.ts +14 -0
  2. package/dist-types/commands/BatchGetBuildBatchesCommand.d.ts +222 -0
  3. package/dist-types/commands/BatchGetBuildsCommand.d.ts +192 -0
  4. package/dist-types/commands/BatchGetProjectsCommand.d.ts +196 -0
  5. package/dist-types/commands/BatchGetReportGroupsCommand.d.ts +35 -0
  6. package/dist-types/commands/BatchGetReportsCommand.d.ts +47 -0
  7. package/dist-types/commands/CreateProjectCommand.d.ts +191 -0
  8. package/dist-types/commands/CreateReportGroupCommand.d.ts +30 -0
  9. package/dist-types/commands/CreateWebhookCommand.d.ts +22 -0
  10. package/dist-types/commands/DeleteBuildBatchCommand.d.ts +15 -0
  11. package/dist-types/commands/DeleteProjectCommand.d.ts +4 -0
  12. package/dist-types/commands/DeleteReportCommand.d.ts +4 -0
  13. package/dist-types/commands/DeleteReportGroupCommand.d.ts +4 -0
  14. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +4 -0
  15. package/dist-types/commands/DeleteSourceCredentialsCommand.d.ts +6 -0
  16. package/dist-types/commands/DeleteWebhookCommand.d.ts +4 -0
  17. package/dist-types/commands/DescribeCodeCoveragesCommand.d.ts +20 -0
  18. package/dist-types/commands/DescribeTestCasesCommand.d.ts +18 -0
  19. package/dist-types/commands/GetReportGroupTrendCommand.d.ts +16 -0
  20. package/dist-types/commands/GetResourcePolicyCommand.d.ts +6 -0
  21. package/dist-types/commands/ImportSourceCredentialsCommand.d.ts +6 -0
  22. package/dist-types/commands/InvalidateProjectCacheCommand.d.ts +4 -0
  23. package/dist-types/commands/ListBuildBatchesCommand.d.ts +9 -0
  24. package/dist-types/commands/ListBuildBatchesForProjectCommand.d.ts +9 -0
  25. package/dist-types/commands/ListBuildsCommand.d.ts +9 -0
  26. package/dist-types/commands/ListBuildsForProjectCommand.d.ts +9 -0
  27. package/dist-types/commands/ListCuratedEnvironmentImagesCommand.d.ts +24 -0
  28. package/dist-types/commands/ListProjectsCommand.d.ts +9 -0
  29. package/dist-types/commands/ListReportGroupsCommand.d.ts +9 -0
  30. package/dist-types/commands/ListReportsCommand.d.ts +9 -0
  31. package/dist-types/commands/ListReportsForReportGroupCommand.d.ts +9 -0
  32. package/dist-types/commands/ListSharedProjectsCommand.d.ts +9 -0
  33. package/dist-types/commands/ListSharedReportGroupsCommand.d.ts +9 -0
  34. package/dist-types/commands/ListSourceCredentialsCommand.d.ts +12 -0
  35. package/dist-types/commands/PutResourcePolicyCommand.d.ts +6 -0
  36. package/dist-types/commands/RetryBuildBatchCommand.d.ts +217 -0
  37. package/dist-types/commands/RetryBuildCommand.d.ts +187 -0
  38. package/dist-types/commands/StartBuildBatchCommand.d.ts +217 -0
  39. package/dist-types/commands/StartBuildCommand.d.ts +187 -0
  40. package/dist-types/commands/StopBuildBatchCommand.d.ts +217 -0
  41. package/dist-types/commands/StopBuildCommand.d.ts +187 -0
  42. package/dist-types/commands/UpdateProjectCommand.d.ts +191 -0
  43. package/dist-types/commands/UpdateProjectVisibilityCommand.d.ts +8 -0
  44. package/dist-types/commands/UpdateReportGroupCommand.d.ts +30 -0
  45. package/dist-types/commands/UpdateWebhookCommand.d.ts +22 -0
  46. package/package.json +3 -3
@@ -188,6 +188,195 @@ export interface UpdateProjectCommandOutput extends UpdateProjectOutput, __Metad
188
188
  * };
189
189
  * const command = new UpdateProjectCommand(input);
190
190
  * const response = await client.send(command);
191
+ * // { // UpdateProjectOutput
192
+ * // project: { // Project
193
+ * // name: "STRING_VALUE",
194
+ * // arn: "STRING_VALUE",
195
+ * // description: "STRING_VALUE",
196
+ * // source: { // ProjectSource
197
+ * // type: "STRING_VALUE", // required
198
+ * // location: "STRING_VALUE",
199
+ * // gitCloneDepth: Number("int"),
200
+ * // gitSubmodulesConfig: { // GitSubmodulesConfig
201
+ * // fetchSubmodules: true || false, // required
202
+ * // },
203
+ * // buildspec: "STRING_VALUE",
204
+ * // auth: { // SourceAuth
205
+ * // type: "STRING_VALUE", // required
206
+ * // resource: "STRING_VALUE",
207
+ * // },
208
+ * // reportBuildStatus: true || false,
209
+ * // buildStatusConfig: { // BuildStatusConfig
210
+ * // context: "STRING_VALUE",
211
+ * // targetUrl: "STRING_VALUE",
212
+ * // },
213
+ * // insecureSsl: true || false,
214
+ * // sourceIdentifier: "STRING_VALUE",
215
+ * // },
216
+ * // secondarySources: [ // ProjectSources
217
+ * // {
218
+ * // type: "STRING_VALUE", // required
219
+ * // location: "STRING_VALUE",
220
+ * // gitCloneDepth: Number("int"),
221
+ * // gitSubmodulesConfig: {
222
+ * // fetchSubmodules: true || false, // required
223
+ * // },
224
+ * // buildspec: "STRING_VALUE",
225
+ * // auth: {
226
+ * // type: "STRING_VALUE", // required
227
+ * // resource: "STRING_VALUE",
228
+ * // },
229
+ * // reportBuildStatus: true || false,
230
+ * // buildStatusConfig: {
231
+ * // context: "STRING_VALUE",
232
+ * // targetUrl: "STRING_VALUE",
233
+ * // },
234
+ * // insecureSsl: true || false,
235
+ * // sourceIdentifier: "STRING_VALUE",
236
+ * // },
237
+ * // ],
238
+ * // sourceVersion: "STRING_VALUE",
239
+ * // secondarySourceVersions: [ // ProjectSecondarySourceVersions
240
+ * // { // ProjectSourceVersion
241
+ * // sourceIdentifier: "STRING_VALUE", // required
242
+ * // sourceVersion: "STRING_VALUE", // required
243
+ * // },
244
+ * // ],
245
+ * // artifacts: { // ProjectArtifacts
246
+ * // type: "STRING_VALUE", // required
247
+ * // location: "STRING_VALUE",
248
+ * // path: "STRING_VALUE",
249
+ * // namespaceType: "STRING_VALUE",
250
+ * // name: "STRING_VALUE",
251
+ * // packaging: "STRING_VALUE",
252
+ * // overrideArtifactName: true || false,
253
+ * // encryptionDisabled: true || false,
254
+ * // artifactIdentifier: "STRING_VALUE",
255
+ * // bucketOwnerAccess: "STRING_VALUE",
256
+ * // },
257
+ * // secondaryArtifacts: [ // ProjectArtifactsList
258
+ * // {
259
+ * // type: "STRING_VALUE", // required
260
+ * // location: "STRING_VALUE",
261
+ * // path: "STRING_VALUE",
262
+ * // namespaceType: "STRING_VALUE",
263
+ * // name: "STRING_VALUE",
264
+ * // packaging: "STRING_VALUE",
265
+ * // overrideArtifactName: true || false,
266
+ * // encryptionDisabled: true || false,
267
+ * // artifactIdentifier: "STRING_VALUE",
268
+ * // bucketOwnerAccess: "STRING_VALUE",
269
+ * // },
270
+ * // ],
271
+ * // cache: { // ProjectCache
272
+ * // type: "STRING_VALUE", // required
273
+ * // location: "STRING_VALUE",
274
+ * // modes: [ // ProjectCacheModes
275
+ * // "STRING_VALUE",
276
+ * // ],
277
+ * // },
278
+ * // environment: { // ProjectEnvironment
279
+ * // type: "STRING_VALUE", // required
280
+ * // image: "STRING_VALUE", // required
281
+ * // computeType: "STRING_VALUE", // required
282
+ * // environmentVariables: [ // EnvironmentVariables
283
+ * // { // EnvironmentVariable
284
+ * // name: "STRING_VALUE", // required
285
+ * // value: "STRING_VALUE", // required
286
+ * // type: "STRING_VALUE",
287
+ * // },
288
+ * // ],
289
+ * // privilegedMode: true || false,
290
+ * // certificate: "STRING_VALUE",
291
+ * // registryCredential: { // RegistryCredential
292
+ * // credential: "STRING_VALUE", // required
293
+ * // credentialProvider: "STRING_VALUE", // required
294
+ * // },
295
+ * // imagePullCredentialsType: "STRING_VALUE",
296
+ * // },
297
+ * // serviceRole: "STRING_VALUE",
298
+ * // timeoutInMinutes: Number("int"),
299
+ * // queuedTimeoutInMinutes: Number("int"),
300
+ * // encryptionKey: "STRING_VALUE",
301
+ * // tags: [ // TagList
302
+ * // { // Tag
303
+ * // key: "STRING_VALUE",
304
+ * // value: "STRING_VALUE",
305
+ * // },
306
+ * // ],
307
+ * // created: new Date("TIMESTAMP"),
308
+ * // lastModified: new Date("TIMESTAMP"),
309
+ * // webhook: { // Webhook
310
+ * // url: "STRING_VALUE",
311
+ * // payloadUrl: "STRING_VALUE",
312
+ * // secret: "STRING_VALUE",
313
+ * // branchFilter: "STRING_VALUE",
314
+ * // filterGroups: [ // FilterGroups
315
+ * // [ // FilterGroup
316
+ * // { // WebhookFilter
317
+ * // type: "STRING_VALUE", // required
318
+ * // pattern: "STRING_VALUE", // required
319
+ * // excludeMatchedPattern: true || false,
320
+ * // },
321
+ * // ],
322
+ * // ],
323
+ * // buildType: "STRING_VALUE",
324
+ * // lastModifiedSecret: new Date("TIMESTAMP"),
325
+ * // },
326
+ * // vpcConfig: { // VpcConfig
327
+ * // vpcId: "STRING_VALUE",
328
+ * // subnets: [ // Subnets
329
+ * // "STRING_VALUE",
330
+ * // ],
331
+ * // securityGroupIds: [ // SecurityGroupIds
332
+ * // "STRING_VALUE",
333
+ * // ],
334
+ * // },
335
+ * // badge: { // ProjectBadge
336
+ * // badgeEnabled: true || false,
337
+ * // badgeRequestUrl: "STRING_VALUE",
338
+ * // },
339
+ * // logsConfig: { // LogsConfig
340
+ * // cloudWatchLogs: { // CloudWatchLogsConfig
341
+ * // status: "STRING_VALUE", // required
342
+ * // groupName: "STRING_VALUE",
343
+ * // streamName: "STRING_VALUE",
344
+ * // },
345
+ * // s3Logs: { // S3LogsConfig
346
+ * // status: "STRING_VALUE", // required
347
+ * // location: "STRING_VALUE",
348
+ * // encryptionDisabled: true || false,
349
+ * // bucketOwnerAccess: "STRING_VALUE",
350
+ * // },
351
+ * // },
352
+ * // fileSystemLocations: [ // ProjectFileSystemLocations
353
+ * // { // ProjectFileSystemLocation
354
+ * // type: "STRING_VALUE",
355
+ * // location: "STRING_VALUE",
356
+ * // mountPoint: "STRING_VALUE",
357
+ * // identifier: "STRING_VALUE",
358
+ * // mountOptions: "STRING_VALUE",
359
+ * // },
360
+ * // ],
361
+ * // buildBatchConfig: { // ProjectBuildBatchConfig
362
+ * // serviceRole: "STRING_VALUE",
363
+ * // combineArtifacts: true || false,
364
+ * // restrictions: { // BatchRestrictions
365
+ * // maximumBuildsAllowed: Number("int"),
366
+ * // computeTypesAllowed: [ // ComputeTypesAllowed
367
+ * // "STRING_VALUE",
368
+ * // ],
369
+ * // },
370
+ * // timeoutInMins: Number("int"),
371
+ * // batchReportMode: "STRING_VALUE",
372
+ * // },
373
+ * // concurrentBuildLimit: Number("int"),
374
+ * // projectVisibility: "STRING_VALUE",
375
+ * // publicProjectAlias: "STRING_VALUE",
376
+ * // resourceAccessRole: "STRING_VALUE",
377
+ * // },
378
+ * // };
379
+ *
191
380
  * ```
192
381
  *
193
382
  * @param UpdateProjectCommandInput - {@link UpdateProjectCommandInput}
@@ -202,6 +391,8 @@ export interface UpdateProjectCommandOutput extends UpdateProjectOutput, __Metad
202
391
  * @throws {@link ResourceNotFoundException} (client fault)
203
392
  * <p>The specified Amazon Web Services resource cannot be found.</p>
204
393
  *
394
+ * @throws {@link CodeBuildServiceException}
395
+ * <p>Base exception class for all service exceptions from CodeBuild service.</p>
205
396
  *
206
397
  */
207
398
  export declare class UpdateProjectCommand extends $Command<UpdateProjectCommandInput, UpdateProjectCommandOutput, CodeBuildClientResolvedConfig> {
@@ -70,6 +70,12 @@ export interface UpdateProjectVisibilityCommandOutput extends UpdateProjectVisib
70
70
  * };
71
71
  * const command = new UpdateProjectVisibilityCommand(input);
72
72
  * const response = await client.send(command);
73
+ * // { // UpdateProjectVisibilityOutput
74
+ * // projectArn: "STRING_VALUE",
75
+ * // publicProjectAlias: "STRING_VALUE",
76
+ * // projectVisibility: "STRING_VALUE",
77
+ * // };
78
+ *
73
79
  * ```
74
80
  *
75
81
  * @param UpdateProjectVisibilityCommandInput - {@link UpdateProjectVisibilityCommandInput}
@@ -84,6 +90,8 @@ export interface UpdateProjectVisibilityCommandOutput extends UpdateProjectVisib
84
90
  * @throws {@link ResourceNotFoundException} (client fault)
85
91
  * <p>The specified Amazon Web Services resource cannot be found.</p>
86
92
  *
93
+ * @throws {@link CodeBuildServiceException}
94
+ * <p>Base exception class for all service exceptions from CodeBuild service.</p>
87
95
  *
88
96
  */
89
97
  export declare class UpdateProjectVisibilityCommand extends $Command<UpdateProjectVisibilityCommandInput, UpdateProjectVisibilityCommandOutput, CodeBuildClientResolvedConfig> {
@@ -50,6 +50,34 @@ export interface UpdateReportGroupCommandOutput extends UpdateReportGroupOutput,
50
50
  * };
51
51
  * const command = new UpdateReportGroupCommand(input);
52
52
  * const response = await client.send(command);
53
+ * // { // UpdateReportGroupOutput
54
+ * // reportGroup: { // ReportGroup
55
+ * // arn: "STRING_VALUE",
56
+ * // name: "STRING_VALUE",
57
+ * // type: "STRING_VALUE",
58
+ * // exportConfig: { // ReportExportConfig
59
+ * // exportConfigType: "STRING_VALUE",
60
+ * // s3Destination: { // S3ReportExportConfig
61
+ * // bucket: "STRING_VALUE",
62
+ * // bucketOwner: "STRING_VALUE",
63
+ * // path: "STRING_VALUE",
64
+ * // packaging: "STRING_VALUE",
65
+ * // encryptionKey: "STRING_VALUE",
66
+ * // encryptionDisabled: true || false,
67
+ * // },
68
+ * // },
69
+ * // created: new Date("TIMESTAMP"),
70
+ * // lastModified: new Date("TIMESTAMP"),
71
+ * // tags: [ // TagList
72
+ * // { // Tag
73
+ * // key: "STRING_VALUE",
74
+ * // value: "STRING_VALUE",
75
+ * // },
76
+ * // ],
77
+ * // status: "STRING_VALUE",
78
+ * // },
79
+ * // };
80
+ *
53
81
  * ```
54
82
  *
55
83
  * @param UpdateReportGroupCommandInput - {@link UpdateReportGroupCommandInput}
@@ -64,6 +92,8 @@ export interface UpdateReportGroupCommandOutput extends UpdateReportGroupOutput,
64
92
  * @throws {@link ResourceNotFoundException} (client fault)
65
93
  * <p>The specified Amazon Web Services resource cannot be found.</p>
66
94
  *
95
+ * @throws {@link CodeBuildServiceException}
96
+ * <p>Base exception class for all service exceptions from CodeBuild service.</p>
67
97
  *
68
98
  */
69
99
  export declare class UpdateReportGroupCommand extends $Command<UpdateReportGroupCommandInput, UpdateReportGroupCommandOutput, CodeBuildClientResolvedConfig> {
@@ -47,6 +47,26 @@ export interface UpdateWebhookCommandOutput extends UpdateWebhookOutput, __Metad
47
47
  * };
48
48
  * const command = new UpdateWebhookCommand(input);
49
49
  * const response = await client.send(command);
50
+ * // { // UpdateWebhookOutput
51
+ * // webhook: { // Webhook
52
+ * // url: "STRING_VALUE",
53
+ * // payloadUrl: "STRING_VALUE",
54
+ * // secret: "STRING_VALUE",
55
+ * // branchFilter: "STRING_VALUE",
56
+ * // filterGroups: [ // FilterGroups
57
+ * // [ // FilterGroup
58
+ * // { // WebhookFilter
59
+ * // type: "STRING_VALUE", // required
60
+ * // pattern: "STRING_VALUE", // required
61
+ * // excludeMatchedPattern: true || false,
62
+ * // },
63
+ * // ],
64
+ * // ],
65
+ * // buildType: "STRING_VALUE",
66
+ * // lastModifiedSecret: new Date("TIMESTAMP"),
67
+ * // },
68
+ * // };
69
+ *
50
70
  * ```
51
71
  *
52
72
  * @param UpdateWebhookCommandInput - {@link UpdateWebhookCommandInput}
@@ -64,6 +84,8 @@ export interface UpdateWebhookCommandOutput extends UpdateWebhookOutput, __Metad
64
84
  * @throws {@link ResourceNotFoundException} (client fault)
65
85
  * <p>The specified Amazon Web Services resource cannot be found.</p>
66
86
  *
87
+ * @throws {@link CodeBuildServiceException}
88
+ * <p>Base exception class for all service exceptions from CodeBuild service.</p>
67
89
  *
68
90
  */
69
91
  export declare class UpdateWebhookCommand extends $Command<UpdateWebhookCommandInput, UpdateWebhookCommandOutput, CodeBuildClientResolvedConfig> {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-codebuild",
3
3
  "description": "AWS SDK for JavaScript Codebuild Client for Node.js, Browser and React Native",
4
- "version": "3.325.0",
4
+ "version": "3.326.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,9 +21,9 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.325.0",
24
+ "@aws-sdk/client-sts": "3.326.0",
25
25
  "@aws-sdk/config-resolver": "3.310.0",
26
- "@aws-sdk/credential-provider-node": "3.325.0",
26
+ "@aws-sdk/credential-provider-node": "3.326.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.310.0",
28
28
  "@aws-sdk/hash-node": "3.310.0",
29
29
  "@aws-sdk/invalid-dependency": "3.310.0",