@aws-sdk/client-codebuild 3.549.0 → 3.554.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
@@ -510,7 +510,10 @@ var WebhookFilterType = {
510
510
  COMMIT_MESSAGE: "COMMIT_MESSAGE",
511
511
  EVENT: "EVENT",
512
512
  FILE_PATH: "FILE_PATH",
513
- HEAD_REF: "HEAD_REF"
513
+ HEAD_REF: "HEAD_REF",
514
+ RELEASE_NAME: "RELEASE_NAME",
515
+ TAG_NAME: "TAG_NAME",
516
+ WORKFLOW_NAME: "WORKFLOW_NAME"
514
517
  };
515
518
  var ReportExportConfigType = {
516
519
  NO_EXPORT: "NO_EXPORT",
@@ -186,6 +186,9 @@ export const WebhookFilterType = {
186
186
  EVENT: "EVENT",
187
187
  FILE_PATH: "FILE_PATH",
188
188
  HEAD_REF: "HEAD_REF",
189
+ RELEASE_NAME: "RELEASE_NAME",
190
+ TAG_NAME: "TAG_NAME",
191
+ WORKFLOW_NAME: "WORKFLOW_NAME",
189
192
  };
190
193
  export const ReportExportConfigType = {
191
194
  NO_EXPORT: "NO_EXPORT",
@@ -170,7 +170,7 @@ declare const BatchGetProjectsCommand_base: {
170
170
  * // filterGroups: [ // FilterGroups
171
171
  * // [ // FilterGroup
172
172
  * // { // WebhookFilter
173
- * // type: "EVENT" || "BASE_REF" || "HEAD_REF" || "ACTOR_ACCOUNT_ID" || "FILE_PATH" || "COMMIT_MESSAGE", // required
173
+ * // type: "EVENT" || "BASE_REF" || "HEAD_REF" || "ACTOR_ACCOUNT_ID" || "FILE_PATH" || "COMMIT_MESSAGE" || "WORKFLOW_NAME" || "TAG_NAME" || "RELEASE_NAME", // required
174
174
  * // pattern: "STRING_VALUE", // required
175
175
  * // excludeMatchedPattern: true || false,
176
176
  * // },
@@ -327,7 +327,7 @@ declare const CreateProjectCommand_base: {
327
327
  * // filterGroups: [ // FilterGroups
328
328
  * // [ // FilterGroup
329
329
  * // { // WebhookFilter
330
- * // type: "EVENT" || "BASE_REF" || "HEAD_REF" || "ACTOR_ACCOUNT_ID" || "FILE_PATH" || "COMMIT_MESSAGE", // required
330
+ * // type: "EVENT" || "BASE_REF" || "HEAD_REF" || "ACTOR_ACCOUNT_ID" || "FILE_PATH" || "COMMIT_MESSAGE" || "WORKFLOW_NAME" || "TAG_NAME" || "RELEASE_NAME", // required
331
331
  * // pattern: "STRING_VALUE", // required
332
332
  * // excludeMatchedPattern: true || false,
333
333
  * // },
@@ -49,7 +49,7 @@ declare const CreateWebhookCommand_base: {
49
49
  * filterGroups: [ // FilterGroups
50
50
  * [ // FilterGroup
51
51
  * { // WebhookFilter
52
- * type: "EVENT" || "BASE_REF" || "HEAD_REF" || "ACTOR_ACCOUNT_ID" || "FILE_PATH" || "COMMIT_MESSAGE", // required
52
+ * type: "EVENT" || "BASE_REF" || "HEAD_REF" || "ACTOR_ACCOUNT_ID" || "FILE_PATH" || "COMMIT_MESSAGE" || "WORKFLOW_NAME" || "TAG_NAME" || "RELEASE_NAME", // required
53
53
  * pattern: "STRING_VALUE", // required
54
54
  * excludeMatchedPattern: true || false,
55
55
  * },
@@ -68,7 +68,7 @@ declare const CreateWebhookCommand_base: {
68
68
  * // filterGroups: [ // FilterGroups
69
69
  * // [ // FilterGroup
70
70
  * // { // WebhookFilter
71
- * // type: "EVENT" || "BASE_REF" || "HEAD_REF" || "ACTOR_ACCOUNT_ID" || "FILE_PATH" || "COMMIT_MESSAGE", // required
71
+ * // type: "EVENT" || "BASE_REF" || "HEAD_REF" || "ACTOR_ACCOUNT_ID" || "FILE_PATH" || "COMMIT_MESSAGE" || "WORKFLOW_NAME" || "TAG_NAME" || "RELEASE_NAME", // required
72
72
  * // pattern: "STRING_VALUE", // required
73
73
  * // excludeMatchedPattern: true || false,
74
74
  * // },
@@ -327,7 +327,7 @@ declare const UpdateProjectCommand_base: {
327
327
  * // filterGroups: [ // FilterGroups
328
328
  * // [ // FilterGroup
329
329
  * // { // WebhookFilter
330
- * // type: "EVENT" || "BASE_REF" || "HEAD_REF" || "ACTOR_ACCOUNT_ID" || "FILE_PATH" || "COMMIT_MESSAGE", // required
330
+ * // type: "EVENT" || "BASE_REF" || "HEAD_REF" || "ACTOR_ACCOUNT_ID" || "FILE_PATH" || "COMMIT_MESSAGE" || "WORKFLOW_NAME" || "TAG_NAME" || "RELEASE_NAME", // required
331
331
  * // pattern: "STRING_VALUE", // required
332
332
  * // excludeMatchedPattern: true || false,
333
333
  * // },
@@ -44,7 +44,7 @@ declare const UpdateWebhookCommand_base: {
44
44
  * filterGroups: [ // FilterGroups
45
45
  * [ // FilterGroup
46
46
  * { // WebhookFilter
47
- * type: "EVENT" || "BASE_REF" || "HEAD_REF" || "ACTOR_ACCOUNT_ID" || "FILE_PATH" || "COMMIT_MESSAGE", // required
47
+ * type: "EVENT" || "BASE_REF" || "HEAD_REF" || "ACTOR_ACCOUNT_ID" || "FILE_PATH" || "COMMIT_MESSAGE" || "WORKFLOW_NAME" || "TAG_NAME" || "RELEASE_NAME", // required
48
48
  * pattern: "STRING_VALUE", // required
49
49
  * excludeMatchedPattern: true || false,
50
50
  * },
@@ -63,7 +63,7 @@ declare const UpdateWebhookCommand_base: {
63
63
  * // filterGroups: [ // FilterGroups
64
64
  * // [ // FilterGroup
65
65
  * // { // WebhookFilter
66
- * // type: "EVENT" || "BASE_REF" || "HEAD_REF" || "ACTOR_ACCOUNT_ID" || "FILE_PATH" || "COMMIT_MESSAGE", // required
66
+ * // type: "EVENT" || "BASE_REF" || "HEAD_REF" || "ACTOR_ACCOUNT_ID" || "FILE_PATH" || "COMMIT_MESSAGE" || "WORKFLOW_NAME" || "TAG_NAME" || "RELEASE_NAME", // required
67
67
  * // pattern: "STRING_VALUE", // required
68
68
  * // excludeMatchedPattern: true || false,
69
69
  * // },
@@ -1529,7 +1529,7 @@ export interface ProjectSource {
1529
1529
  * that contains the source and the buildspec file. You must connect your Amazon Web Services account
1530
1530
  * to your GitLab account. Use the CodeBuild console to start creating a build
1531
1531
  * project. When you use the console to connect (or reconnect) with GitLab, on the
1532
- * Connections <b>Authorize application</b> page, choose <b>Authorize</b>. Then on the CodeStar Connections <b>Create GitLab connection</b> page,
1532
+ * Connections <b>Authorize application</b> page, choose <b>Authorize</b>. Then on the CodeConnections <b>Create GitLab connection</b> page,
1533
1533
  * choose <b>Connect to GitLab</b>. (After you have connected to your GitLab account,
1534
1534
  * you do not need to finish creating the build project. You can leave the CodeBuild
1535
1535
  * console.) To instruct CodeBuild to override the default connection and use this connection instead,
@@ -3168,6 +3168,9 @@ export declare const WebhookFilterType: {
3168
3168
  readonly EVENT: "EVENT";
3169
3169
  readonly FILE_PATH: "FILE_PATH";
3170
3170
  readonly HEAD_REF: "HEAD_REF";
3171
+ readonly RELEASE_NAME: "RELEASE_NAME";
3172
+ readonly TAG_NAME: "TAG_NAME";
3173
+ readonly WORKFLOW_NAME: "WORKFLOW_NAME";
3171
3174
  };
3172
3175
  /**
3173
3176
  * @public
@@ -3179,9 +3182,10 @@ export type WebhookFilterType = (typeof WebhookFilterType)[keyof typeof WebhookF
3179
3182
  */
3180
3183
  export interface WebhookFilter {
3181
3184
  /**
3182
- * <p> The type of webhook filter. There are eight webhook filter types: <code>EVENT</code>,
3185
+ * <p> The type of webhook filter. There are nine webhook filter types: <code>EVENT</code>,
3183
3186
  * <code>ACTOR_ACCOUNT_ID</code>, <code>HEAD_REF</code>, <code>BASE_REF</code>,
3184
- * <code>FILE_PATH</code>, <code>COMMIT_MESSAGE</code>, <code>TAG_NAME</code>, and <code>RELEASE_NAME</code>. </p>
3187
+ * <code>FILE_PATH</code>, <code>COMMIT_MESSAGE</code>, <code>TAG_NAME</code>, <code>RELEASE_NAME</code>,
3188
+ * and <code>WORKFLOW_NAME</code>. </p>
3185
3189
  * <ul>
3186
3190
  * <li>
3187
3191
  * <p>
@@ -3190,17 +3194,18 @@ export interface WebhookFilter {
3190
3194
  * <ul>
3191
3195
  * <li>
3192
3196
  * <p> A webhook event triggers a build when the provided <code>pattern</code>
3193
- * matches one of eight event types: <code>PUSH</code>,
3197
+ * matches one of nine event types: <code>PUSH</code>,
3194
3198
  * <code>PULL_REQUEST_CREATED</code>, <code>PULL_REQUEST_UPDATED</code>,
3195
3199
  * <code>PULL_REQUEST_CLOSED</code>, <code>PULL_REQUEST_REOPENED</code>,
3196
- * <code>PULL_REQUEST_MERGED</code>, <code>RELEASED</code>, and <code>PRERELEASED</code>. The <code>EVENT</code> patterns are
3200
+ * <code>PULL_REQUEST_MERGED</code>, <code>RELEASED</code>, <code>PRERELEASED</code>,
3201
+ * and <code>WORKFLOW_JOB_QUEUED</code>. The <code>EVENT</code> patterns are
3197
3202
  * specified as a comma-separated string. For example, <code>PUSH,
3198
3203
  * PULL_REQUEST_CREATED, PULL_REQUEST_UPDATED</code> filters all push, pull
3199
3204
  * request created, and pull request updated events. </p>
3200
3205
  * <note>
3201
3206
  * <p> The <code>PULL_REQUEST_REOPENED</code> works with GitHub and GitHub
3202
- * Enterprise only. The <code>RELEASED</code> and <code>PRERELEASED</code> work
3203
- * with GitHub only.</p>
3207
+ * Enterprise only. The <code>RELEASED</code>, <code>PRERELEASED</code>,
3208
+ * and <code>WORKFLOW_JOB_QUEUED</code> work with GitHub only.</p>
3204
3209
  * </note>
3205
3210
  * </li>
3206
3211
  * </ul>
@@ -3294,6 +3299,18 @@ export interface WebhookFilter {
3294
3299
  * </li>
3295
3300
  * </ul>
3296
3301
  * </li>
3302
+ * <li>
3303
+ * <p>WORKFLOW_NAME</p>
3304
+ * <ul>
3305
+ * <li>
3306
+ * <p>A webhook triggers a build when the workflow name matches the
3307
+ * regular expression <code>pattern</code>.</p>
3308
+ * <note>
3309
+ * <p> Works with <code>WORKFLOW_JOB_QUEUED</code> events only. </p>
3310
+ * </note>
3311
+ * </li>
3312
+ * </ul>
3313
+ * </li>
3297
3314
  * </ul>
3298
3315
  * @public
3299
3316
  */
@@ -5190,7 +5207,7 @@ export interface ImportSourceCredentialsInput {
5190
5207
  username?: string;
5191
5208
  /**
5192
5209
  * <p> For GitHub or GitHub Enterprise, this is the personal access token. For Bitbucket,
5193
- * this is the app password. </p>
5210
+ * this is either the access token or the app password. </p>
5194
5211
  * @public
5195
5212
  */
5196
5213
  token: string | undefined;
@@ -536,6 +536,9 @@ export declare const WebhookFilterType: {
536
536
  readonly EVENT: "EVENT";
537
537
  readonly FILE_PATH: "FILE_PATH";
538
538
  readonly HEAD_REF: "HEAD_REF";
539
+ readonly RELEASE_NAME: "RELEASE_NAME";
540
+ readonly TAG_NAME: "TAG_NAME";
541
+ readonly WORKFLOW_NAME: "WORKFLOW_NAME";
539
542
  };
540
543
  export type WebhookFilterType =
541
544
  (typeof WebhookFilterType)[keyof typeof WebhookFilterType];
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.549.0",
4
+ "version": "3.554.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,9 +20,9 @@
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-sts": "3.549.0",
24
- "@aws-sdk/core": "3.549.0",
25
- "@aws-sdk/credential-provider-node": "3.549.0",
23
+ "@aws-sdk/client-sts": "3.554.0",
24
+ "@aws-sdk/core": "3.554.0",
25
+ "@aws-sdk/credential-provider-node": "3.554.0",
26
26
  "@aws-sdk/middleware-host-header": "3.535.0",
27
27
  "@aws-sdk/middleware-logger": "3.535.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.535.0",
@@ -33,26 +33,26 @@
33
33
  "@aws-sdk/util-user-agent-browser": "3.535.0",
34
34
  "@aws-sdk/util-user-agent-node": "3.535.0",
35
35
  "@smithy/config-resolver": "^2.2.0",
36
- "@smithy/core": "^1.4.1",
36
+ "@smithy/core": "^1.4.2",
37
37
  "@smithy/fetch-http-handler": "^2.5.0",
38
38
  "@smithy/hash-node": "^2.2.0",
39
39
  "@smithy/invalid-dependency": "^2.2.0",
40
40
  "@smithy/middleware-content-length": "^2.2.0",
41
- "@smithy/middleware-endpoint": "^2.5.0",
42
- "@smithy/middleware-retry": "^2.3.0",
41
+ "@smithy/middleware-endpoint": "^2.5.1",
42
+ "@smithy/middleware-retry": "^2.3.1",
43
43
  "@smithy/middleware-serde": "^2.3.0",
44
44
  "@smithy/middleware-stack": "^2.2.0",
45
45
  "@smithy/node-config-provider": "^2.3.0",
46
46
  "@smithy/node-http-handler": "^2.5.0",
47
47
  "@smithy/protocol-http": "^3.3.0",
48
- "@smithy/smithy-client": "^2.5.0",
48
+ "@smithy/smithy-client": "^2.5.1",
49
49
  "@smithy/types": "^2.12.0",
50
50
  "@smithy/url-parser": "^2.2.0",
51
51
  "@smithy/util-base64": "^2.3.0",
52
52
  "@smithy/util-body-length-browser": "^2.2.0",
53
53
  "@smithy/util-body-length-node": "^2.3.0",
54
- "@smithy/util-defaults-mode-browser": "^2.2.0",
55
- "@smithy/util-defaults-mode-node": "^2.3.0",
54
+ "@smithy/util-defaults-mode-browser": "^2.2.1",
55
+ "@smithy/util-defaults-mode-node": "^2.3.1",
56
56
  "@smithy/util-endpoints": "^1.2.0",
57
57
  "@smithy/util-middleware": "^2.2.0",
58
58
  "@smithy/util-retry": "^2.2.0",