@aws-sdk/client-codebuild 3.582.0 → 3.586.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 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
@@ -334,6 +334,7 @@ declare const CreateProjectCommand_base: {
334
334
  * // ],
335
335
  * // ],
336
336
  * // buildType: "BUILD" || "BUILD_BATCH",
337
+ * // manualCreation: true || false,
337
338
  * // lastModifiedSecret: new Date("TIMESTAMP"),
338
339
  * // },
339
340
  * // 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
  * // };
@@ -334,6 +334,7 @@ declare const UpdateProjectCommand_base: {
334
334
  * // ],
335
335
  * // ],
336
336
  * // buildType: "BUILD" || "BUILD_BATCH",
337
+ * // manualCreation: true || false,
337
338
  * // lastModifiedSecret: new Date("TIMESTAMP"),
338
339
  * // },
339
340
  * // vpcConfig: { // VpcConfig
@@ -70,6 +70,7 @@ declare const UpdateWebhookCommand_base: {
70
70
  * // ],
71
71
  * // ],
72
72
  * // buildType: "BUILD" || "BUILD_BATCH",
73
+ * // manualCreation: true || false,
73
74
  * // lastModifiedSecret: new Date("TIMESTAMP"),
74
75
  * // },
75
76
  * // };
@@ -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.</p>
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.</p>
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.</p>
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.582.0",
4
+ "version": "3.586.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,17 +20,17 @@
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.582.0",
24
- "@aws-sdk/client-sts": "3.582.0",
23
+ "@aws-sdk/client-sso-oidc": "3.583.0",
24
+ "@aws-sdk/client-sts": "3.583.0",
25
25
  "@aws-sdk/core": "3.582.0",
26
- "@aws-sdk/credential-provider-node": "3.582.0",
26
+ "@aws-sdk/credential-provider-node": "3.583.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.577.0",
30
+ "@aws-sdk/middleware-user-agent": "3.583.0",
31
31
  "@aws-sdk/region-config-resolver": "3.577.0",
32
32
  "@aws-sdk/types": "3.577.0",
33
- "@aws-sdk/util-endpoints": "3.577.0",
33
+ "@aws-sdk/util-endpoints": "3.583.0",
34
34
  "@aws-sdk/util-user-agent-browser": "3.577.0",
35
35
  "@aws-sdk/util-user-agent-node": "3.577.0",
36
36
  "@smithy/config-resolver": "^3.0.0",