@aws-sdk/client-codebuild 3.750.0 → 3.756.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/index.js +11 -0
- package/dist-es/models/models_0.js +6 -0
- package/dist-es/protocols/Aws_json1_1.js +3 -0
- package/dist-types/commands/BatchGetBuildBatchesCommand.d.ts +3 -0
- package/dist-types/commands/BatchGetProjectsCommand.d.ts +2 -0
- package/dist-types/commands/CreateProjectCommand.d.ts +2 -0
- package/dist-types/commands/CreateWebhookCommand.d.ts +2 -0
- package/dist-types/commands/RetryBuildBatchCommand.d.ts +3 -0
- package/dist-types/commands/StartBuildBatchCommand.d.ts +3 -0
- package/dist-types/commands/StopBuildBatchCommand.d.ts +3 -0
- package/dist-types/commands/UpdateProjectCommand.d.ts +2 -0
- package/dist-types/commands/UpdateWebhookCommand.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +47 -0
- package/dist-types/ts3.4/models/models_0.d.ts +10 -0
- package/package.json +1 -1
package/dist-cjs/index.js
CHANGED
|
@@ -130,6 +130,7 @@ __export(src_exports, {
|
|
|
130
130
|
WebhookBuildType: () => WebhookBuildType,
|
|
131
131
|
WebhookFilterType: () => WebhookFilterType,
|
|
132
132
|
WebhookScopeType: () => WebhookScopeType,
|
|
133
|
+
WebhookStatus: () => WebhookStatus,
|
|
133
134
|
__Client: () => import_smithy_client.Client,
|
|
134
135
|
paginateDescribeCodeCoverages: () => paginateDescribeCodeCoverages,
|
|
135
136
|
paginateDescribeTestCases: () => paginateDescribeTestCases,
|
|
@@ -554,6 +555,12 @@ var WebhookScopeType = {
|
|
|
554
555
|
GITHUB_ORGANIZATION: "GITHUB_ORGANIZATION",
|
|
555
556
|
GITLAB_GROUP: "GITLAB_GROUP"
|
|
556
557
|
};
|
|
558
|
+
var WebhookStatus = {
|
|
559
|
+
ACTIVE: "ACTIVE",
|
|
560
|
+
CREATE_FAILED: "CREATE_FAILED",
|
|
561
|
+
CREATING: "CREATING",
|
|
562
|
+
DELETING: "DELETING"
|
|
563
|
+
};
|
|
557
564
|
var ReportExportConfigType = {
|
|
558
565
|
NO_EXPORT: "NO_EXPORT",
|
|
559
566
|
S3: "S3"
|
|
@@ -1891,6 +1898,7 @@ var de_BuildBatch = /* @__PURE__ */ __name((output, context) => {
|
|
|
1891
1898
|
phases: (_) => de_BuildBatchPhases(_, context),
|
|
1892
1899
|
projectName: import_smithy_client.expectString,
|
|
1893
1900
|
queuedTimeoutInMinutes: import_smithy_client.expectInt32,
|
|
1901
|
+
reportArns: import_smithy_client._json,
|
|
1894
1902
|
resolvedSourceVersion: import_smithy_client.expectString,
|
|
1895
1903
|
secondaryArtifacts: import_smithy_client._json,
|
|
1896
1904
|
secondarySourceVersions: import_smithy_client._json,
|
|
@@ -2243,6 +2251,8 @@ var de_Webhook = /* @__PURE__ */ __name((output, context) => {
|
|
|
2243
2251
|
payloadUrl: import_smithy_client.expectString,
|
|
2244
2252
|
scopeConfiguration: import_smithy_client._json,
|
|
2245
2253
|
secret: import_smithy_client.expectString,
|
|
2254
|
+
status: import_smithy_client.expectString,
|
|
2255
|
+
statusMessage: import_smithy_client.expectString,
|
|
2246
2256
|
url: import_smithy_client.expectString
|
|
2247
2257
|
});
|
|
2248
2258
|
}, "de_Webhook");
|
|
@@ -3243,6 +3253,7 @@ var paginateListSharedReportGroups = (0, import_core.createPaginator)(CodeBuildC
|
|
|
3243
3253
|
WebhookBuildType,
|
|
3244
3254
|
WebhookFilterType,
|
|
3245
3255
|
WebhookScopeType,
|
|
3256
|
+
WebhookStatus,
|
|
3246
3257
|
ReportExportConfigType,
|
|
3247
3258
|
ReportPackagingType,
|
|
3248
3259
|
ReportGroupStatusType,
|
|
@@ -223,6 +223,12 @@ export const WebhookScopeType = {
|
|
|
223
223
|
GITHUB_ORGANIZATION: "GITHUB_ORGANIZATION",
|
|
224
224
|
GITLAB_GROUP: "GITLAB_GROUP",
|
|
225
225
|
};
|
|
226
|
+
export const WebhookStatus = {
|
|
227
|
+
ACTIVE: "ACTIVE",
|
|
228
|
+
CREATE_FAILED: "CREATE_FAILED",
|
|
229
|
+
CREATING: "CREATING",
|
|
230
|
+
DELETING: "DELETING",
|
|
231
|
+
};
|
|
226
232
|
export const ReportExportConfigType = {
|
|
227
233
|
NO_EXPORT: "NO_EXPORT",
|
|
228
234
|
S3: "S3",
|
|
@@ -1188,6 +1188,7 @@ const de_BuildBatch = (output, context) => {
|
|
|
1188
1188
|
phases: (_) => de_BuildBatchPhases(_, context),
|
|
1189
1189
|
projectName: __expectString,
|
|
1190
1190
|
queuedTimeoutInMinutes: __expectInt32,
|
|
1191
|
+
reportArns: _json,
|
|
1191
1192
|
resolvedSourceVersion: __expectString,
|
|
1192
1193
|
secondaryArtifacts: _json,
|
|
1193
1194
|
secondarySourceVersions: _json,
|
|
@@ -1566,6 +1567,8 @@ const de_Webhook = (output, context) => {
|
|
|
1566
1567
|
payloadUrl: __expectString,
|
|
1567
1568
|
scopeConfiguration: _json,
|
|
1568
1569
|
secret: __expectString,
|
|
1570
|
+
status: __expectString,
|
|
1571
|
+
statusMessage: __expectString,
|
|
1569
1572
|
url: __expectString,
|
|
1570
1573
|
});
|
|
1571
1574
|
};
|
|
@@ -266,6 +266,9 @@ declare const BatchGetBuildBatchesCommand_base: {
|
|
|
266
266
|
* // },
|
|
267
267
|
* // ],
|
|
268
268
|
* // debugSessionEnabled: true || false,
|
|
269
|
+
* // reportArns: [ // BuildReportArns
|
|
270
|
+
* // "STRING_VALUE",
|
|
271
|
+
* // ],
|
|
269
272
|
* // },
|
|
270
273
|
* // ],
|
|
271
274
|
* // buildBatchesNotFound: [ // BuildBatchIds
|
|
@@ -191,6 +191,8 @@ declare const BatchGetProjectsCommand_base: {
|
|
|
191
191
|
* // domain: "STRING_VALUE",
|
|
192
192
|
* // scope: "GITHUB_ORGANIZATION" || "GITHUB_GLOBAL" || "GITLAB_GROUP", // required
|
|
193
193
|
* // },
|
|
194
|
+
* // status: "CREATING" || "CREATE_FAILED" || "ACTIVE" || "DELETING",
|
|
195
|
+
* // statusMessage: "STRING_VALUE",
|
|
194
196
|
* // },
|
|
195
197
|
* // vpcConfig: { // VpcConfig
|
|
196
198
|
* // vpcId: "STRING_VALUE",
|
|
@@ -358,6 +358,8 @@ declare const CreateProjectCommand_base: {
|
|
|
358
358
|
* // domain: "STRING_VALUE",
|
|
359
359
|
* // scope: "GITHUB_ORGANIZATION" || "GITHUB_GLOBAL" || "GITLAB_GROUP", // required
|
|
360
360
|
* // },
|
|
361
|
+
* // status: "CREATING" || "CREATE_FAILED" || "ACTIVE" || "DELETING",
|
|
362
|
+
* // statusMessage: "STRING_VALUE",
|
|
361
363
|
* // },
|
|
362
364
|
* // vpcConfig: { // VpcConfig
|
|
363
365
|
* // vpcId: "STRING_VALUE",
|
|
@@ -89,6 +89,8 @@ declare const CreateWebhookCommand_base: {
|
|
|
89
89
|
* // domain: "STRING_VALUE",
|
|
90
90
|
* // scope: "GITHUB_ORGANIZATION" || "GITHUB_GLOBAL" || "GITLAB_GROUP", // required
|
|
91
91
|
* // },
|
|
92
|
+
* // status: "CREATING" || "CREATE_FAILED" || "ACTIVE" || "DELETING",
|
|
93
|
+
* // statusMessage: "STRING_VALUE",
|
|
92
94
|
* // },
|
|
93
95
|
* // };
|
|
94
96
|
*
|
|
@@ -358,6 +358,8 @@ declare const UpdateProjectCommand_base: {
|
|
|
358
358
|
* // domain: "STRING_VALUE",
|
|
359
359
|
* // scope: "GITHUB_ORGANIZATION" || "GITHUB_GLOBAL" || "GITLAB_GROUP", // required
|
|
360
360
|
* // },
|
|
361
|
+
* // status: "CREATING" || "CREATE_FAILED" || "ACTIVE" || "DELETING",
|
|
362
|
+
* // statusMessage: "STRING_VALUE",
|
|
361
363
|
* // },
|
|
362
364
|
* // vpcConfig: { // VpcConfig
|
|
363
365
|
* // vpcId: "STRING_VALUE",
|
|
@@ -78,6 +78,8 @@ declare const UpdateWebhookCommand_base: {
|
|
|
78
78
|
* // domain: "STRING_VALUE",
|
|
79
79
|
* // scope: "GITHUB_ORGANIZATION" || "GITHUB_GLOBAL" || "GITLAB_GROUP", // required
|
|
80
80
|
* // },
|
|
81
|
+
* // status: "CREATING" || "CREATE_FAILED" || "ACTIVE" || "DELETING",
|
|
82
|
+
* // statusMessage: "STRING_VALUE",
|
|
81
83
|
* // },
|
|
82
84
|
* // };
|
|
83
85
|
*
|
|
@@ -2005,6 +2005,11 @@ export interface BuildBatch {
|
|
|
2005
2005
|
* @public
|
|
2006
2006
|
*/
|
|
2007
2007
|
debugSessionEnabled?: boolean | undefined;
|
|
2008
|
+
/**
|
|
2009
|
+
* <p>An array that contains the ARNs of reports created by merging reports from builds associated with this batch build.</p>
|
|
2010
|
+
* @public
|
|
2011
|
+
*/
|
|
2012
|
+
reportArns?: string[] | undefined;
|
|
2008
2013
|
}
|
|
2009
2014
|
/**
|
|
2010
2015
|
* @public
|
|
@@ -3658,6 +3663,20 @@ export interface ScopeConfiguration {
|
|
|
3658
3663
|
*/
|
|
3659
3664
|
scope: WebhookScopeType | undefined;
|
|
3660
3665
|
}
|
|
3666
|
+
/**
|
|
3667
|
+
* @public
|
|
3668
|
+
* @enum
|
|
3669
|
+
*/
|
|
3670
|
+
export declare const WebhookStatus: {
|
|
3671
|
+
readonly ACTIVE: "ACTIVE";
|
|
3672
|
+
readonly CREATE_FAILED: "CREATE_FAILED";
|
|
3673
|
+
readonly CREATING: "CREATING";
|
|
3674
|
+
readonly DELETING: "DELETING";
|
|
3675
|
+
};
|
|
3676
|
+
/**
|
|
3677
|
+
* @public
|
|
3678
|
+
*/
|
|
3679
|
+
export type WebhookStatus = (typeof WebhookStatus)[keyof typeof WebhookStatus];
|
|
3661
3680
|
/**
|
|
3662
3681
|
* <p>Information about a webhook that connects repository events to a build project in
|
|
3663
3682
|
* CodeBuild.</p>
|
|
@@ -3738,6 +3757,34 @@ export interface Webhook {
|
|
|
3738
3757
|
* @public
|
|
3739
3758
|
*/
|
|
3740
3759
|
scopeConfiguration?: ScopeConfiguration | undefined;
|
|
3760
|
+
/**
|
|
3761
|
+
* <p>The status of the webhook. Valid values include:</p>
|
|
3762
|
+
* <ul>
|
|
3763
|
+
* <li>
|
|
3764
|
+
* <p>
|
|
3765
|
+
* <code>CREATING</code>: The webhook is being created.</p>
|
|
3766
|
+
* </li>
|
|
3767
|
+
* <li>
|
|
3768
|
+
* <p>
|
|
3769
|
+
* <code>CREATE_FAILED</code>: The webhook has failed to create.</p>
|
|
3770
|
+
* </li>
|
|
3771
|
+
* <li>
|
|
3772
|
+
* <p>
|
|
3773
|
+
* <code>ACTIVE</code>: The webhook has succeeded and is active.</p>
|
|
3774
|
+
* </li>
|
|
3775
|
+
* <li>
|
|
3776
|
+
* <p>
|
|
3777
|
+
* <code>DELETING</code>: The webhook is being deleted.</p>
|
|
3778
|
+
* </li>
|
|
3779
|
+
* </ul>
|
|
3780
|
+
* @public
|
|
3781
|
+
*/
|
|
3782
|
+
status?: WebhookStatus | undefined;
|
|
3783
|
+
/**
|
|
3784
|
+
* <p>A message associated with the status of a webhook.</p>
|
|
3785
|
+
* @public
|
|
3786
|
+
*/
|
|
3787
|
+
statusMessage?: string | undefined;
|
|
3741
3788
|
}
|
|
3742
3789
|
/**
|
|
3743
3790
|
* <p>Information about a build project.</p>
|
|
@@ -359,6 +359,7 @@ export interface BuildBatch {
|
|
|
359
359
|
buildBatchConfig?: ProjectBuildBatchConfig | undefined;
|
|
360
360
|
buildGroups?: BuildGroup[] | undefined;
|
|
361
361
|
debugSessionEnabled?: boolean | undefined;
|
|
362
|
+
reportArns?: string[] | undefined;
|
|
362
363
|
}
|
|
363
364
|
export interface BatchGetBuildBatchesOutput {
|
|
364
365
|
buildBatches?: BuildBatch[] | undefined;
|
|
@@ -625,6 +626,13 @@ export interface ScopeConfiguration {
|
|
|
625
626
|
domain?: string | undefined;
|
|
626
627
|
scope: WebhookScopeType | undefined;
|
|
627
628
|
}
|
|
629
|
+
export declare const WebhookStatus: {
|
|
630
|
+
readonly ACTIVE: "ACTIVE";
|
|
631
|
+
readonly CREATE_FAILED: "CREATE_FAILED";
|
|
632
|
+
readonly CREATING: "CREATING";
|
|
633
|
+
readonly DELETING: "DELETING";
|
|
634
|
+
};
|
|
635
|
+
export type WebhookStatus = (typeof WebhookStatus)[keyof typeof WebhookStatus];
|
|
628
636
|
export interface Webhook {
|
|
629
637
|
url?: string | undefined;
|
|
630
638
|
payloadUrl?: string | undefined;
|
|
@@ -635,6 +643,8 @@ export interface Webhook {
|
|
|
635
643
|
manualCreation?: boolean | undefined;
|
|
636
644
|
lastModifiedSecret?: Date | undefined;
|
|
637
645
|
scopeConfiguration?: ScopeConfiguration | undefined;
|
|
646
|
+
status?: WebhookStatus | undefined;
|
|
647
|
+
statusMessage?: string | undefined;
|
|
638
648
|
}
|
|
639
649
|
export interface Project {
|
|
640
650
|
name?: string | undefined;
|
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.756.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",
|