@aws-sdk/client-codebuild 3.679.0 → 3.682.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/README.md +1 -1
- package/dist-cjs/index.js +2 -0
- package/dist-es/protocols/Aws_json1_1.js +2 -0
- package/dist-types/commands/BatchGetBuildsCommand.d.ts +6 -0
- package/dist-types/commands/BatchGetProjectsCommand.d.ts +1 -0
- package/dist-types/commands/CreateProjectCommand.d.ts +2 -0
- package/dist-types/commands/RetryBuildCommand.d.ts +6 -0
- package/dist-types/commands/StartBuildCommand.d.ts +7 -0
- package/dist-types/commands/StopBuildCommand.d.ts +6 -0
- package/dist-types/commands/UpdateProjectCommand.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +63 -0
- package/dist-types/ts3.4/models/models_0.d.ts +11 -0
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -21,7 +21,7 @@ Guide</a>.</i>
|
|
|
21
21
|
|
|
22
22
|
## Installing
|
|
23
23
|
|
|
24
|
-
To install
|
|
24
|
+
To install this package, simply type add or install @aws-sdk/client-codebuild
|
|
25
25
|
using your favorite package manager:
|
|
26
26
|
|
|
27
27
|
- `npm install @aws-sdk/client-codebuild`
|
package/dist-cjs/index.js
CHANGED
|
@@ -1812,6 +1812,7 @@ var de_Build = /* @__PURE__ */ __name((output, context) => {
|
|
|
1812
1812
|
return (0, import_smithy_client.take)(output, {
|
|
1813
1813
|
arn: import_smithy_client.expectString,
|
|
1814
1814
|
artifacts: import_smithy_client._json,
|
|
1815
|
+
autoRetryConfig: import_smithy_client._json,
|
|
1815
1816
|
buildBatchArn: import_smithy_client.expectString,
|
|
1816
1817
|
buildComplete: import_smithy_client.expectBoolean,
|
|
1817
1818
|
buildNumber: import_smithy_client.expectLong,
|
|
@@ -2044,6 +2045,7 @@ var de_Project = /* @__PURE__ */ __name((output, context) => {
|
|
|
2044
2045
|
return (0, import_smithy_client.take)(output, {
|
|
2045
2046
|
arn: import_smithy_client.expectString,
|
|
2046
2047
|
artifacts: import_smithy_client._json,
|
|
2048
|
+
autoRetryLimit: import_smithy_client.expectInt32,
|
|
2047
2049
|
badge: import_smithy_client._json,
|
|
2048
2050
|
buildBatchConfig: import_smithy_client._json,
|
|
2049
2051
|
cache: import_smithy_client._json,
|
|
@@ -1130,6 +1130,7 @@ const de_Build = (output, context) => {
|
|
|
1130
1130
|
return take(output, {
|
|
1131
1131
|
arn: __expectString,
|
|
1132
1132
|
artifacts: _json,
|
|
1133
|
+
autoRetryConfig: _json,
|
|
1133
1134
|
buildBatchArn: __expectString,
|
|
1134
1135
|
buildComplete: __expectBoolean,
|
|
1135
1136
|
buildNumber: __expectLong,
|
|
@@ -1378,6 +1379,7 @@ const de_Project = (output, context) => {
|
|
|
1378
1379
|
return take(output, {
|
|
1379
1380
|
arn: __expectString,
|
|
1380
1381
|
artifacts: _json,
|
|
1382
|
+
autoRetryLimit: __expectInt32,
|
|
1381
1383
|
badge: _json,
|
|
1382
1384
|
buildBatchConfig: _json,
|
|
1383
1385
|
cache: _json,
|
|
@@ -227,6 +227,12 @@ declare const BatchGetBuildsCommand_base: {
|
|
|
227
227
|
* // sessionTarget: "STRING_VALUE",
|
|
228
228
|
* // },
|
|
229
229
|
* // buildBatchArn: "STRING_VALUE",
|
|
230
|
+
* // autoRetryConfig: { // AutoRetryConfig
|
|
231
|
+
* // autoRetryLimit: Number("int"),
|
|
232
|
+
* // autoRetryNumber: Number("int"),
|
|
233
|
+
* // nextAutoRetry: "STRING_VALUE",
|
|
234
|
+
* // previousAutoRetry: "STRING_VALUE",
|
|
235
|
+
* // },
|
|
230
236
|
* // },
|
|
231
237
|
* // ],
|
|
232
238
|
* // buildsNotFound: [ // BuildIds
|
|
@@ -237,6 +237,7 @@ declare const BatchGetProjectsCommand_base: {
|
|
|
237
237
|
* // projectVisibility: "PUBLIC_READ" || "PRIVATE",
|
|
238
238
|
* // publicProjectAlias: "STRING_VALUE",
|
|
239
239
|
* // resourceAccessRole: "STRING_VALUE",
|
|
240
|
+
* // autoRetryLimit: Number("int"),
|
|
240
241
|
* // },
|
|
241
242
|
* // ],
|
|
242
243
|
* // projectsNotFound: [ // ProjectNames
|
|
@@ -196,6 +196,7 @@ declare const CreateProjectCommand_base: {
|
|
|
196
196
|
* batchReportMode: "REPORT_INDIVIDUAL_BUILDS" || "REPORT_AGGREGATED_BATCH",
|
|
197
197
|
* },
|
|
198
198
|
* concurrentBuildLimit: Number("int"),
|
|
199
|
+
* autoRetryLimit: Number("int"),
|
|
199
200
|
* };
|
|
200
201
|
* const command = new CreateProjectCommand(input);
|
|
201
202
|
* const response = await client.send(command);
|
|
@@ -394,6 +395,7 @@ declare const CreateProjectCommand_base: {
|
|
|
394
395
|
* // projectVisibility: "PUBLIC_READ" || "PRIVATE",
|
|
395
396
|
* // publicProjectAlias: "STRING_VALUE",
|
|
396
397
|
* // resourceAccessRole: "STRING_VALUE",
|
|
398
|
+
* // autoRetryLimit: Number("int"),
|
|
397
399
|
* // },
|
|
398
400
|
* // };
|
|
399
401
|
*
|
|
@@ -225,6 +225,12 @@ declare const RetryBuildCommand_base: {
|
|
|
225
225
|
* // sessionTarget: "STRING_VALUE",
|
|
226
226
|
* // },
|
|
227
227
|
* // buildBatchArn: "STRING_VALUE",
|
|
228
|
+
* // autoRetryConfig: { // AutoRetryConfig
|
|
229
|
+
* // autoRetryLimit: Number("int"),
|
|
230
|
+
* // autoRetryNumber: Number("int"),
|
|
231
|
+
* // nextAutoRetry: "STRING_VALUE",
|
|
232
|
+
* // previousAutoRetry: "STRING_VALUE",
|
|
233
|
+
* // },
|
|
228
234
|
* // },
|
|
229
235
|
* // };
|
|
230
236
|
*
|
|
@@ -157,6 +157,7 @@ declare const StartBuildCommand_base: {
|
|
|
157
157
|
* fleetOverride: { // ProjectFleet
|
|
158
158
|
* fleetArn: "STRING_VALUE",
|
|
159
159
|
* },
|
|
160
|
+
* autoRetryLimitOverride: Number("int"),
|
|
160
161
|
* };
|
|
161
162
|
* const command = new StartBuildCommand(input);
|
|
162
163
|
* const response = await client.send(command);
|
|
@@ -345,6 +346,12 @@ declare const StartBuildCommand_base: {
|
|
|
345
346
|
* // sessionTarget: "STRING_VALUE",
|
|
346
347
|
* // },
|
|
347
348
|
* // buildBatchArn: "STRING_VALUE",
|
|
349
|
+
* // autoRetryConfig: { // AutoRetryConfig
|
|
350
|
+
* // autoRetryLimit: Number("int"),
|
|
351
|
+
* // autoRetryNumber: Number("int"),
|
|
352
|
+
* // nextAutoRetry: "STRING_VALUE",
|
|
353
|
+
* // previousAutoRetry: "STRING_VALUE",
|
|
354
|
+
* // },
|
|
348
355
|
* // },
|
|
349
356
|
* // };
|
|
350
357
|
*
|
|
@@ -224,6 +224,12 @@ declare const StopBuildCommand_base: {
|
|
|
224
224
|
* // sessionTarget: "STRING_VALUE",
|
|
225
225
|
* // },
|
|
226
226
|
* // buildBatchArn: "STRING_VALUE",
|
|
227
|
+
* // autoRetryConfig: { // AutoRetryConfig
|
|
228
|
+
* // autoRetryLimit: Number("int"),
|
|
229
|
+
* // autoRetryNumber: Number("int"),
|
|
230
|
+
* // nextAutoRetry: "STRING_VALUE",
|
|
231
|
+
* // previousAutoRetry: "STRING_VALUE",
|
|
232
|
+
* // },
|
|
227
233
|
* // },
|
|
228
234
|
* // };
|
|
229
235
|
*
|
|
@@ -196,6 +196,7 @@ declare const UpdateProjectCommand_base: {
|
|
|
196
196
|
* batchReportMode: "REPORT_INDIVIDUAL_BUILDS" || "REPORT_AGGREGATED_BATCH",
|
|
197
197
|
* },
|
|
198
198
|
* concurrentBuildLimit: Number("int"),
|
|
199
|
+
* autoRetryLimit: Number("int"),
|
|
199
200
|
* };
|
|
200
201
|
* const command = new UpdateProjectCommand(input);
|
|
201
202
|
* const response = await client.send(command);
|
|
@@ -394,6 +395,7 @@ declare const UpdateProjectCommand_base: {
|
|
|
394
395
|
* // projectVisibility: "PUBLIC_READ" || "PRIVATE",
|
|
395
396
|
* // publicProjectAlias: "STRING_VALUE",
|
|
396
397
|
* // resourceAccessRole: "STRING_VALUE",
|
|
398
|
+
* // autoRetryLimit: Number("int"),
|
|
397
399
|
* // },
|
|
398
400
|
* // };
|
|
399
401
|
*
|
|
@@ -64,6 +64,36 @@ export declare const AuthType: {
|
|
|
64
64
|
* @public
|
|
65
65
|
*/
|
|
66
66
|
export type AuthType = (typeof AuthType)[keyof typeof AuthType];
|
|
67
|
+
/**
|
|
68
|
+
* <p>Information about the auto-retry configuration for the build.</p>
|
|
69
|
+
* @public
|
|
70
|
+
*/
|
|
71
|
+
export interface AutoRetryConfig {
|
|
72
|
+
/**
|
|
73
|
+
* <p>The maximum number of additional automatic retries after a failed build. For example, if the
|
|
74
|
+
* auto-retry limit is set to 2, CodeBuild will call the <code>RetryBuild</code> API to automatically
|
|
75
|
+
* retry your build for up to 2 additional times.</p>
|
|
76
|
+
* @public
|
|
77
|
+
*/
|
|
78
|
+
autoRetryLimit?: number;
|
|
79
|
+
/**
|
|
80
|
+
* <p>The number of times that the build has been retried. The initial build will have an auto-retry number of 0.</p>
|
|
81
|
+
* @public
|
|
82
|
+
*/
|
|
83
|
+
autoRetryNumber?: number;
|
|
84
|
+
/**
|
|
85
|
+
* <p>The build ARN of the auto-retried build triggered by the current build. The next auto-retry
|
|
86
|
+
* will be <code>null</code> for builds that don't trigger an auto-retry.</p>
|
|
87
|
+
* @public
|
|
88
|
+
*/
|
|
89
|
+
nextAutoRetry?: string;
|
|
90
|
+
/**
|
|
91
|
+
* <p>The build ARN of the build that triggered the current auto-retry build. The previous auto-retry will be
|
|
92
|
+
* <code>null</code> for the initial build.</p>
|
|
93
|
+
* @public
|
|
94
|
+
*/
|
|
95
|
+
previousAutoRetry?: string;
|
|
96
|
+
}
|
|
67
97
|
/**
|
|
68
98
|
* @public
|
|
69
99
|
*/
|
|
@@ -2450,6 +2480,11 @@ export interface Build {
|
|
|
2450
2480
|
* @public
|
|
2451
2481
|
*/
|
|
2452
2482
|
buildBatchArn?: string;
|
|
2483
|
+
/**
|
|
2484
|
+
* <p>Information about the auto-retry configuration for the build.</p>
|
|
2485
|
+
* @public
|
|
2486
|
+
*/
|
|
2487
|
+
autoRetryConfig?: AutoRetryConfig;
|
|
2453
2488
|
}
|
|
2454
2489
|
/**
|
|
2455
2490
|
* @public
|
|
@@ -3787,6 +3822,13 @@ export interface Project {
|
|
|
3787
3822
|
* @public
|
|
3788
3823
|
*/
|
|
3789
3824
|
resourceAccessRole?: string;
|
|
3825
|
+
/**
|
|
3826
|
+
* <p>The maximum number of additional automatic retries after a failed build. For example, if the
|
|
3827
|
+
* auto-retry limit is set to 2, CodeBuild will call the <code>RetryBuild</code> API to automatically
|
|
3828
|
+
* retry your build for up to 2 additional times.</p>
|
|
3829
|
+
* @public
|
|
3830
|
+
*/
|
|
3831
|
+
autoRetryLimit?: number;
|
|
3790
3832
|
}
|
|
3791
3833
|
/**
|
|
3792
3834
|
* @public
|
|
@@ -4636,6 +4678,13 @@ export interface CreateProjectInput {
|
|
|
4636
4678
|
* @public
|
|
4637
4679
|
*/
|
|
4638
4680
|
concurrentBuildLimit?: number;
|
|
4681
|
+
/**
|
|
4682
|
+
* <p>The maximum number of additional automatic retries after a failed build. For example, if the
|
|
4683
|
+
* auto-retry limit is set to 2, CodeBuild will call the <code>RetryBuild</code> API to automatically
|
|
4684
|
+
* retry your build for up to 2 additional times.</p>
|
|
4685
|
+
* @public
|
|
4686
|
+
*/
|
|
4687
|
+
autoRetryLimit?: number;
|
|
4639
4688
|
}
|
|
4640
4689
|
/**
|
|
4641
4690
|
* @public
|
|
@@ -6836,6 +6885,13 @@ export interface StartBuildInput {
|
|
|
6836
6885
|
* @public
|
|
6837
6886
|
*/
|
|
6838
6887
|
fleetOverride?: ProjectFleet;
|
|
6888
|
+
/**
|
|
6889
|
+
* <p>The maximum number of additional automatic retries after a failed build. For example, if the
|
|
6890
|
+
* auto-retry limit is set to 2, CodeBuild will call the <code>RetryBuild</code> API to automatically
|
|
6891
|
+
* retry your build for up to 2 additional times.</p>
|
|
6892
|
+
* @public
|
|
6893
|
+
*/
|
|
6894
|
+
autoRetryLimitOverride?: number;
|
|
6839
6895
|
}
|
|
6840
6896
|
/**
|
|
6841
6897
|
* @public
|
|
@@ -7518,6 +7574,13 @@ export interface UpdateProjectInput {
|
|
|
7518
7574
|
* @public
|
|
7519
7575
|
*/
|
|
7520
7576
|
concurrentBuildLimit?: number;
|
|
7577
|
+
/**
|
|
7578
|
+
* <p>The maximum number of additional automatic retries after a failed build. For example, if the
|
|
7579
|
+
* auto-retry limit is set to 2, CodeBuild will call the <code>RetryBuild</code> API to automatically
|
|
7580
|
+
* retry your build for up to 2 additional times.</p>
|
|
7581
|
+
* @public
|
|
7582
|
+
*/
|
|
7583
|
+
autoRetryLimit?: number;
|
|
7521
7584
|
}
|
|
7522
7585
|
/**
|
|
7523
7586
|
* @public
|
|
@@ -33,6 +33,12 @@ export declare const AuthType: {
|
|
|
33
33
|
readonly SECRETS_MANAGER: "SECRETS_MANAGER";
|
|
34
34
|
};
|
|
35
35
|
export type AuthType = (typeof AuthType)[keyof typeof AuthType];
|
|
36
|
+
export interface AutoRetryConfig {
|
|
37
|
+
autoRetryLimit?: number;
|
|
38
|
+
autoRetryNumber?: number;
|
|
39
|
+
nextAutoRetry?: string;
|
|
40
|
+
previousAutoRetry?: string;
|
|
41
|
+
}
|
|
36
42
|
export interface BatchDeleteBuildsInput {
|
|
37
43
|
ids: string[] | undefined;
|
|
38
44
|
}
|
|
@@ -422,6 +428,7 @@ export interface Build {
|
|
|
422
428
|
fileSystemLocations?: ProjectFileSystemLocation[];
|
|
423
429
|
debugSession?: DebugSession;
|
|
424
430
|
buildBatchArn?: string;
|
|
431
|
+
autoRetryConfig?: AutoRetryConfig;
|
|
425
432
|
}
|
|
426
433
|
export interface BatchGetBuildsOutput {
|
|
427
434
|
builds?: Build[];
|
|
@@ -637,6 +644,7 @@ export interface Project {
|
|
|
637
644
|
projectVisibility?: ProjectVisibilityType;
|
|
638
645
|
publicProjectAlias?: string;
|
|
639
646
|
resourceAccessRole?: string;
|
|
647
|
+
autoRetryLimit?: number;
|
|
640
648
|
}
|
|
641
649
|
export interface BatchGetProjectsOutput {
|
|
642
650
|
projects?: Project[];
|
|
@@ -790,6 +798,7 @@ export interface CreateProjectInput {
|
|
|
790
798
|
fileSystemLocations?: ProjectFileSystemLocation[];
|
|
791
799
|
buildBatchConfig?: ProjectBuildBatchConfig;
|
|
792
800
|
concurrentBuildLimit?: number;
|
|
801
|
+
autoRetryLimit?: number;
|
|
793
802
|
}
|
|
794
803
|
export interface CreateProjectOutput {
|
|
795
804
|
project?: Project;
|
|
@@ -1232,6 +1241,7 @@ export interface StartBuildInput {
|
|
|
1232
1241
|
imagePullCredentialsTypeOverride?: ImagePullCredentialsType;
|
|
1233
1242
|
debugSessionEnabled?: boolean;
|
|
1234
1243
|
fleetOverride?: ProjectFleet;
|
|
1244
|
+
autoRetryLimitOverride?: number;
|
|
1235
1245
|
}
|
|
1236
1246
|
export interface StartBuildOutput {
|
|
1237
1247
|
build?: Build;
|
|
@@ -1322,6 +1332,7 @@ export interface UpdateProjectInput {
|
|
|
1322
1332
|
fileSystemLocations?: ProjectFileSystemLocation[];
|
|
1323
1333
|
buildBatchConfig?: ProjectBuildBatchConfig;
|
|
1324
1334
|
concurrentBuildLimit?: number;
|
|
1335
|
+
autoRetryLimit?: number;
|
|
1325
1336
|
}
|
|
1326
1337
|
export interface UpdateProjectOutput {
|
|
1327
1338
|
project?: Project;
|
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.
|
|
4
|
+
"version": "3.682.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-codebuild",
|
|
@@ -20,19 +20,19 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.682.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.682.0",
|
|
25
25
|
"@aws-sdk/core": "3.679.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.682.0",
|
|
27
27
|
"@aws-sdk/middleware-host-header": "3.679.0",
|
|
28
28
|
"@aws-sdk/middleware-logger": "3.679.0",
|
|
29
29
|
"@aws-sdk/middleware-recursion-detection": "3.679.0",
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.682.0",
|
|
31
31
|
"@aws-sdk/region-config-resolver": "3.679.0",
|
|
32
32
|
"@aws-sdk/types": "3.679.0",
|
|
33
33
|
"@aws-sdk/util-endpoints": "3.679.0",
|
|
34
34
|
"@aws-sdk/util-user-agent-browser": "3.679.0",
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.682.0",
|
|
36
36
|
"@smithy/config-resolver": "^3.0.9",
|
|
37
37
|
"@smithy/core": "^2.4.8",
|
|
38
38
|
"@smithy/fetch-http-handler": "^3.2.9",
|