@aws-sdk/client-codebuild 3.749.0 → 3.753.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 +10 -0
- package/dist-es/models/models_0.js +6 -0
- package/dist-es/protocols/Aws_json1_1.js +2 -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/UpdateProjectCommand.d.ts +2 -0
- package/dist-types/commands/UpdateWebhookCommand.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +42 -0
- package/dist-types/ts3.4/models/models_0.d.ts +9 -0
- package/package.json +11 -11
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"
|
|
@@ -2243,6 +2250,8 @@ var de_Webhook = /* @__PURE__ */ __name((output, context) => {
|
|
|
2243
2250
|
payloadUrl: import_smithy_client.expectString,
|
|
2244
2251
|
scopeConfiguration: import_smithy_client._json,
|
|
2245
2252
|
secret: import_smithy_client.expectString,
|
|
2253
|
+
status: import_smithy_client.expectString,
|
|
2254
|
+
statusMessage: import_smithy_client.expectString,
|
|
2246
2255
|
url: import_smithy_client.expectString
|
|
2247
2256
|
});
|
|
2248
2257
|
}, "de_Webhook");
|
|
@@ -3243,6 +3252,7 @@ var paginateListSharedReportGroups = (0, import_core.createPaginator)(CodeBuildC
|
|
|
3243
3252
|
WebhookBuildType,
|
|
3244
3253
|
WebhookFilterType,
|
|
3245
3254
|
WebhookScopeType,
|
|
3255
|
+
WebhookStatus,
|
|
3246
3256
|
ReportExportConfigType,
|
|
3247
3257
|
ReportPackagingType,
|
|
3248
3258
|
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",
|
|
@@ -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
|
*
|
|
@@ -3658,6 +3658,20 @@ export interface ScopeConfiguration {
|
|
|
3658
3658
|
*/
|
|
3659
3659
|
scope: WebhookScopeType | undefined;
|
|
3660
3660
|
}
|
|
3661
|
+
/**
|
|
3662
|
+
* @public
|
|
3663
|
+
* @enum
|
|
3664
|
+
*/
|
|
3665
|
+
export declare const WebhookStatus: {
|
|
3666
|
+
readonly ACTIVE: "ACTIVE";
|
|
3667
|
+
readonly CREATE_FAILED: "CREATE_FAILED";
|
|
3668
|
+
readonly CREATING: "CREATING";
|
|
3669
|
+
readonly DELETING: "DELETING";
|
|
3670
|
+
};
|
|
3671
|
+
/**
|
|
3672
|
+
* @public
|
|
3673
|
+
*/
|
|
3674
|
+
export type WebhookStatus = (typeof WebhookStatus)[keyof typeof WebhookStatus];
|
|
3661
3675
|
/**
|
|
3662
3676
|
* <p>Information about a webhook that connects repository events to a build project in
|
|
3663
3677
|
* CodeBuild.</p>
|
|
@@ -3738,6 +3752,34 @@ export interface Webhook {
|
|
|
3738
3752
|
* @public
|
|
3739
3753
|
*/
|
|
3740
3754
|
scopeConfiguration?: ScopeConfiguration | undefined;
|
|
3755
|
+
/**
|
|
3756
|
+
* <p>The status of the webhook. Valid values include:</p>
|
|
3757
|
+
* <ul>
|
|
3758
|
+
* <li>
|
|
3759
|
+
* <p>
|
|
3760
|
+
* <code>CREATING</code>: The webhook is being created.</p>
|
|
3761
|
+
* </li>
|
|
3762
|
+
* <li>
|
|
3763
|
+
* <p>
|
|
3764
|
+
* <code>CREATE_FAILED</code>: The webhook has failed to create.</p>
|
|
3765
|
+
* </li>
|
|
3766
|
+
* <li>
|
|
3767
|
+
* <p>
|
|
3768
|
+
* <code>ACTIVE</code>: The webhook has succeeded and is active.</p>
|
|
3769
|
+
* </li>
|
|
3770
|
+
* <li>
|
|
3771
|
+
* <p>
|
|
3772
|
+
* <code>DELETING</code>: The webhook is being deleted.</p>
|
|
3773
|
+
* </li>
|
|
3774
|
+
* </ul>
|
|
3775
|
+
* @public
|
|
3776
|
+
*/
|
|
3777
|
+
status?: WebhookStatus | undefined;
|
|
3778
|
+
/**
|
|
3779
|
+
* <p>A message associated with the status of a webhook.</p>
|
|
3780
|
+
* @public
|
|
3781
|
+
*/
|
|
3782
|
+
statusMessage?: string | undefined;
|
|
3741
3783
|
}
|
|
3742
3784
|
/**
|
|
3743
3785
|
* <p>Information about a build project.</p>
|
|
@@ -625,6 +625,13 @@ export interface ScopeConfiguration {
|
|
|
625
625
|
domain?: string | undefined;
|
|
626
626
|
scope: WebhookScopeType | undefined;
|
|
627
627
|
}
|
|
628
|
+
export declare const WebhookStatus: {
|
|
629
|
+
readonly ACTIVE: "ACTIVE";
|
|
630
|
+
readonly CREATE_FAILED: "CREATE_FAILED";
|
|
631
|
+
readonly CREATING: "CREATING";
|
|
632
|
+
readonly DELETING: "DELETING";
|
|
633
|
+
};
|
|
634
|
+
export type WebhookStatus = (typeof WebhookStatus)[keyof typeof WebhookStatus];
|
|
628
635
|
export interface Webhook {
|
|
629
636
|
url?: string | undefined;
|
|
630
637
|
payloadUrl?: string | undefined;
|
|
@@ -635,6 +642,8 @@ export interface Webhook {
|
|
|
635
642
|
manualCreation?: boolean | undefined;
|
|
636
643
|
lastModifiedSecret?: Date | undefined;
|
|
637
644
|
scopeConfiguration?: ScopeConfiguration | undefined;
|
|
645
|
+
status?: WebhookStatus | undefined;
|
|
646
|
+
statusMessage?: string | undefined;
|
|
638
647
|
}
|
|
639
648
|
export interface Project {
|
|
640
649
|
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.753.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,38 +20,38 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.750.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.750.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.734.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.734.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.734.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.750.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.734.0",
|
|
30
30
|
"@aws-sdk/types": "3.734.0",
|
|
31
31
|
"@aws-sdk/util-endpoints": "3.743.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.734.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.750.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.0.1",
|
|
35
|
-
"@smithy/core": "^3.1.
|
|
35
|
+
"@smithy/core": "^3.1.4",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.0.1",
|
|
37
37
|
"@smithy/hash-node": "^4.0.1",
|
|
38
38
|
"@smithy/invalid-dependency": "^4.0.1",
|
|
39
39
|
"@smithy/middleware-content-length": "^4.0.1",
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.0.
|
|
41
|
-
"@smithy/middleware-retry": "^4.0.
|
|
40
|
+
"@smithy/middleware-endpoint": "^4.0.5",
|
|
41
|
+
"@smithy/middleware-retry": "^4.0.6",
|
|
42
42
|
"@smithy/middleware-serde": "^4.0.2",
|
|
43
43
|
"@smithy/middleware-stack": "^4.0.1",
|
|
44
44
|
"@smithy/node-config-provider": "^4.0.1",
|
|
45
45
|
"@smithy/node-http-handler": "^4.0.2",
|
|
46
46
|
"@smithy/protocol-http": "^5.0.1",
|
|
47
|
-
"@smithy/smithy-client": "^4.1.
|
|
47
|
+
"@smithy/smithy-client": "^4.1.5",
|
|
48
48
|
"@smithy/types": "^4.1.0",
|
|
49
49
|
"@smithy/url-parser": "^4.0.1",
|
|
50
50
|
"@smithy/util-base64": "^4.0.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^4.0.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^4.0.0",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.0.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.0.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.0.6",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.0.6",
|
|
55
55
|
"@smithy/util-endpoints": "^3.0.1",
|
|
56
56
|
"@smithy/util-middleware": "^4.0.1",
|
|
57
57
|
"@smithy/util-retry": "^4.0.1",
|