@aws-sdk/client-codebuild 3.583.0 → 3.587.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 +1 -0
- package/dist-es/protocols/Aws_json1_1.js +1 -0
- package/dist-types/commands/BatchGetProjectsCommand.d.ts +1 -0
- package/dist-types/commands/CreateProjectCommand.d.ts +1 -0
- package/dist-types/commands/CreateWebhookCommand.d.ts +2 -0
- package/dist-types/commands/UpdateProjectCommand.d.ts +1 -0
- package/dist-types/commands/UpdateWebhookCommand.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +26 -3
- package/dist-types/ts3.4/models/models_0.d.ts +2 -0
- package/package.json +18 -18
package/dist-cjs/index.js
CHANGED
|
@@ -2186,6 +2186,7 @@ var de_Webhook = /* @__PURE__ */ __name((output, context) => {
|
|
|
2186
2186
|
buildType: import_smithy_client.expectString,
|
|
2187
2187
|
filterGroups: import_smithy_client._json,
|
|
2188
2188
|
lastModifiedSecret: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2189
|
+
manualCreation: import_smithy_client.expectBoolean,
|
|
2189
2190
|
payloadUrl: import_smithy_client.expectString,
|
|
2190
2191
|
secret: import_smithy_client.expectString,
|
|
2191
2192
|
url: import_smithy_client.expectString
|
|
@@ -1550,6 +1550,7 @@ const de_Webhook = (output, context) => {
|
|
|
1550
1550
|
buildType: __expectString,
|
|
1551
1551
|
filterGroups: _json,
|
|
1552
1552
|
lastModifiedSecret: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1553
|
+
manualCreation: __expectBoolean,
|
|
1553
1554
|
payloadUrl: __expectString,
|
|
1554
1555
|
secret: __expectString,
|
|
1555
1556
|
url: __expectString,
|
|
@@ -177,6 +177,7 @@ declare const BatchGetProjectsCommand_base: {
|
|
|
177
177
|
* // ],
|
|
178
178
|
* // ],
|
|
179
179
|
* // buildType: "BUILD" || "BUILD_BATCH",
|
|
180
|
+
* // manualCreation: true || false,
|
|
180
181
|
* // lastModifiedSecret: new Date("TIMESTAMP"),
|
|
181
182
|
* // },
|
|
182
183
|
* // vpcConfig: { // VpcConfig
|
|
@@ -56,6 +56,7 @@ declare const CreateWebhookCommand_base: {
|
|
|
56
56
|
* ],
|
|
57
57
|
* ],
|
|
58
58
|
* buildType: "BUILD" || "BUILD_BATCH",
|
|
59
|
+
* manualCreation: true || false,
|
|
59
60
|
* };
|
|
60
61
|
* const command = new CreateWebhookCommand(input);
|
|
61
62
|
* const response = await client.send(command);
|
|
@@ -75,6 +76,7 @@ declare const CreateWebhookCommand_base: {
|
|
|
75
76
|
* // ],
|
|
76
77
|
* // ],
|
|
77
78
|
* // buildType: "BUILD" || "BUILD_BATCH",
|
|
79
|
+
* // manualCreation: true || false,
|
|
78
80
|
* // lastModifiedSecret: new Date("TIMESTAMP"),
|
|
79
81
|
* // },
|
|
80
82
|
* // };
|
|
@@ -2843,7 +2843,8 @@ export interface Fleet {
|
|
|
2843
2843
|
*/
|
|
2844
2844
|
vpcConfig?: VpcConfig;
|
|
2845
2845
|
/**
|
|
2846
|
-
* <p>The service role associated with the compute fleet
|
|
2846
|
+
* <p>The service role associated with the compute fleet. For more information, see <a href="https://docs.aws.amazon.com/codebuild/latest/userguide/auth-and-access-control-iam-identity-based-access-control.html#customer-managed-policies-example-permission-policy-fleet-service-role.html">
|
|
2847
|
+
* Allow a user to add a permission policy for a fleet service role</a> in the <i>CodeBuild User Guide</i>.</p>
|
|
2847
2848
|
* @public
|
|
2848
2849
|
*/
|
|
2849
2850
|
fleetServiceRole?: string;
|
|
@@ -3407,6 +3408,16 @@ export interface Webhook {
|
|
|
3407
3408
|
* @public
|
|
3408
3409
|
*/
|
|
3409
3410
|
buildType?: WebhookBuildType;
|
|
3411
|
+
/**
|
|
3412
|
+
* <p>If manualCreation is true, CodeBuild doesn't create a webhook in GitHub and instead returns <code>payloadUrl</code> and
|
|
3413
|
+
* <code>secret</code> values for the webhook. The <code>payloadUrl</code> and <code>secret</code> values in the output can
|
|
3414
|
+
* be used to manually create a webhook within GitHub.</p>
|
|
3415
|
+
* <note>
|
|
3416
|
+
* <p>manualCreation is only available for GitHub webhooks.</p>
|
|
3417
|
+
* </note>
|
|
3418
|
+
* @public
|
|
3419
|
+
*/
|
|
3420
|
+
manualCreation?: boolean;
|
|
3410
3421
|
/**
|
|
3411
3422
|
* <p>A timestamp that indicates the last time a repository's secret token was modified.
|
|
3412
3423
|
* </p>
|
|
@@ -4252,7 +4263,8 @@ export interface CreateFleetInput {
|
|
|
4252
4263
|
*/
|
|
4253
4264
|
vpcConfig?: VpcConfig;
|
|
4254
4265
|
/**
|
|
4255
|
-
* <p>The service role associated with the compute fleet
|
|
4266
|
+
* <p>The service role associated with the compute fleet. For more information, see <a href="https://docs.aws.amazon.com/codebuild/latest/userguide/auth-and-access-control-iam-identity-based-access-control.html#customer-managed-policies-example-permission-policy-fleet-service-role.html">
|
|
4267
|
+
* Allow a user to add a permission policy for a fleet service role</a> in the <i>CodeBuild User Guide</i>.</p>
|
|
4256
4268
|
* @public
|
|
4257
4269
|
*/
|
|
4258
4270
|
fleetServiceRole?: string;
|
|
@@ -4550,6 +4562,16 @@ export interface CreateWebhookInput {
|
|
|
4550
4562
|
* @public
|
|
4551
4563
|
*/
|
|
4552
4564
|
buildType?: WebhookBuildType;
|
|
4565
|
+
/**
|
|
4566
|
+
* <p>If manualCreation is true, CodeBuild doesn't create a webhook in GitHub and instead returns <code>payloadUrl</code> and
|
|
4567
|
+
* <code>secret</code> values for the webhook. The <code>payloadUrl</code> and <code>secret</code> values in the output can be
|
|
4568
|
+
* used to manually create a webhook within GitHub.</p>
|
|
4569
|
+
* <note>
|
|
4570
|
+
* <p>manualCreation is only available for GitHub webhooks.</p>
|
|
4571
|
+
* </note>
|
|
4572
|
+
* @public
|
|
4573
|
+
*/
|
|
4574
|
+
manualCreation?: boolean;
|
|
4553
4575
|
}
|
|
4554
4576
|
/**
|
|
4555
4577
|
* @public
|
|
@@ -7109,7 +7131,8 @@ export interface UpdateFleetInput {
|
|
|
7109
7131
|
*/
|
|
7110
7132
|
vpcConfig?: VpcConfig;
|
|
7111
7133
|
/**
|
|
7112
|
-
* <p>The service role associated with the compute fleet
|
|
7134
|
+
* <p>The service role associated with the compute fleet. For more information, see <a href="https://docs.aws.amazon.com/codebuild/latest/userguide/auth-and-access-control-iam-identity-based-access-control.html#customer-managed-policies-example-permission-policy-fleet-service-role.html">
|
|
7135
|
+
* Allow a user to add a permission policy for a fleet service role</a> in the <i>CodeBuild User Guide</i>.</p>
|
|
7113
7136
|
* @public
|
|
7114
7137
|
*/
|
|
7115
7138
|
fleetServiceRole?: string;
|
|
@@ -557,6 +557,7 @@ export interface Webhook {
|
|
|
557
557
|
branchFilter?: string;
|
|
558
558
|
filterGroups?: WebhookFilter[][];
|
|
559
559
|
buildType?: WebhookBuildType;
|
|
560
|
+
manualCreation?: boolean;
|
|
560
561
|
lastModifiedSecret?: Date;
|
|
561
562
|
}
|
|
562
563
|
export interface Project {
|
|
@@ -757,6 +758,7 @@ export interface CreateWebhookInput {
|
|
|
757
758
|
branchFilter?: string;
|
|
758
759
|
filterGroups?: WebhookFilter[][];
|
|
759
760
|
buildType?: WebhookBuildType;
|
|
761
|
+
manualCreation?: boolean;
|
|
760
762
|
}
|
|
761
763
|
export interface CreateWebhookOutput {
|
|
762
764
|
webhook?: Webhook;
|
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.587.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,41 +20,41 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.587.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.587.0",
|
|
25
|
+
"@aws-sdk/core": "3.587.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.587.0",
|
|
27
27
|
"@aws-sdk/middleware-host-header": "3.577.0",
|
|
28
28
|
"@aws-sdk/middleware-logger": "3.577.0",
|
|
29
29
|
"@aws-sdk/middleware-recursion-detection": "3.577.0",
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.587.0",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.587.0",
|
|
32
32
|
"@aws-sdk/types": "3.577.0",
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.587.0",
|
|
34
34
|
"@aws-sdk/util-user-agent-browser": "3.577.0",
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
36
|
-
"@smithy/config-resolver": "^3.0.
|
|
37
|
-
"@smithy/core": "^2.
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.587.0",
|
|
36
|
+
"@smithy/config-resolver": "^3.0.1",
|
|
37
|
+
"@smithy/core": "^2.1.1",
|
|
38
38
|
"@smithy/fetch-http-handler": "^3.0.1",
|
|
39
39
|
"@smithy/hash-node": "^3.0.0",
|
|
40
40
|
"@smithy/invalid-dependency": "^3.0.0",
|
|
41
41
|
"@smithy/middleware-content-length": "^3.0.0",
|
|
42
|
-
"@smithy/middleware-endpoint": "^3.0.
|
|
43
|
-
"@smithy/middleware-retry": "^3.0.
|
|
42
|
+
"@smithy/middleware-endpoint": "^3.0.1",
|
|
43
|
+
"@smithy/middleware-retry": "^3.0.3",
|
|
44
44
|
"@smithy/middleware-serde": "^3.0.0",
|
|
45
45
|
"@smithy/middleware-stack": "^3.0.0",
|
|
46
|
-
"@smithy/node-config-provider": "^3.
|
|
46
|
+
"@smithy/node-config-provider": "^3.1.0",
|
|
47
47
|
"@smithy/node-http-handler": "^3.0.0",
|
|
48
48
|
"@smithy/protocol-http": "^4.0.0",
|
|
49
|
-
"@smithy/smithy-client": "^3.
|
|
49
|
+
"@smithy/smithy-client": "^3.1.1",
|
|
50
50
|
"@smithy/types": "^3.0.0",
|
|
51
51
|
"@smithy/url-parser": "^3.0.0",
|
|
52
52
|
"@smithy/util-base64": "^3.0.0",
|
|
53
53
|
"@smithy/util-body-length-browser": "^3.0.0",
|
|
54
54
|
"@smithy/util-body-length-node": "^3.0.0",
|
|
55
|
-
"@smithy/util-defaults-mode-browser": "^3.0.
|
|
56
|
-
"@smithy/util-defaults-mode-node": "^3.0.
|
|
57
|
-
"@smithy/util-endpoints": "^2.0.
|
|
55
|
+
"@smithy/util-defaults-mode-browser": "^3.0.3",
|
|
56
|
+
"@smithy/util-defaults-mode-node": "^3.0.3",
|
|
57
|
+
"@smithy/util-endpoints": "^2.0.1",
|
|
58
58
|
"@smithy/util-middleware": "^3.0.0",
|
|
59
59
|
"@smithy/util-retry": "^3.0.0",
|
|
60
60
|
"@smithy/util-utf8": "^3.0.0",
|