@aws-sdk/client-codebuild 3.535.0 → 3.540.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.
@@ -1,12 +1,14 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.defaultEndpointResolver = void 0;
4
- const util_endpoints_1 = require("@smithy/util-endpoints");
4
+ const util_endpoints_1 = require("@aws-sdk/util-endpoints");
5
+ const util_endpoints_2 = require("@smithy/util-endpoints");
5
6
  const ruleset_1 = require("./ruleset");
6
7
  const defaultEndpointResolver = (endpointParams, context = {}) => {
7
- return (0, util_endpoints_1.resolveEndpoint)(ruleset_1.ruleSet, {
8
+ return (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {
8
9
  endpointParams: endpointParams,
9
10
  logger: context.logger,
10
11
  });
11
12
  };
12
13
  exports.defaultEndpointResolver = defaultEndpointResolver;
14
+ util_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;
package/dist-cjs/index.js CHANGED
@@ -3163,9 +3163,6 @@ var paginateListSharedProjects = (0, import_core.createPaginator)(CodeBuildClien
3163
3163
  // src/pagination/ListSharedReportGroupsPaginator.ts
3164
3164
 
3165
3165
  var paginateListSharedReportGroups = (0, import_core.createPaginator)(CodeBuildClient, ListSharedReportGroupsCommand, "nextToken", "nextToken", "maxResults");
3166
-
3167
- // src/index.ts
3168
- var import_util_endpoints = require("@aws-sdk/util-endpoints");
3169
3166
  // Annotate the CommonJS export names for ESM import in node:
3170
3167
 
3171
3168
  0 && (module.exports = {
@@ -1,4 +1,5 @@
1
- import { resolveEndpoint } from "@smithy/util-endpoints";
1
+ import { awsEndpointFunctions } from "@aws-sdk/util-endpoints";
2
+ import { customEndpointFunctions, resolveEndpoint } from "@smithy/util-endpoints";
2
3
  import { ruleSet } from "./ruleset";
3
4
  export const defaultEndpointResolver = (endpointParams, context = {}) => {
4
5
  return resolveEndpoint(ruleSet, {
@@ -6,3 +7,4 @@ export const defaultEndpointResolver = (endpointParams, context = {}) => {
6
7
  logger: context.logger,
7
8
  });
8
9
  };
10
+ customEndpointFunctions.aws = awsEndpointFunctions;
package/dist-es/index.js CHANGED
@@ -3,5 +3,4 @@ export * from "./CodeBuild";
3
3
  export * from "./commands";
4
4
  export * from "./pagination";
5
5
  export * from "./models";
6
- import "@aws-sdk/util-endpoints";
7
6
  export { CodeBuildServiceException } from "./models/CodeBuildServiceException";
@@ -21,5 +21,4 @@ export { CodeBuildExtensionConfiguration } from "./extensionConfiguration";
21
21
  export * from "./commands";
22
22
  export * from "./pagination";
23
23
  export * from "./models";
24
- import "@aws-sdk/util-endpoints";
25
24
  export { CodeBuildServiceException } from "./models/CodeBuildServiceException";
@@ -3155,9 +3155,9 @@ export type WebhookFilterType = (typeof WebhookFilterType)[keyof typeof WebhookF
3155
3155
  */
3156
3156
  export interface WebhookFilter {
3157
3157
  /**
3158
- * <p> The type of webhook filter. There are six webhook filter types: <code>EVENT</code>,
3158
+ * <p> The type of webhook filter. There are eight webhook filter types: <code>EVENT</code>,
3159
3159
  * <code>ACTOR_ACCOUNT_ID</code>, <code>HEAD_REF</code>, <code>BASE_REF</code>,
3160
- * <code>FILE_PATH</code>, and <code>COMMIT_MESSAGE</code>. </p>
3160
+ * <code>FILE_PATH</code>, <code>COMMIT_MESSAGE</code>, <code>TAG_NAME</code>, and <code>RELEASE_NAME</code>. </p>
3161
3161
  * <ul>
3162
3162
  * <li>
3163
3163
  * <p>
@@ -3166,17 +3166,17 @@ export interface WebhookFilter {
3166
3166
  * <ul>
3167
3167
  * <li>
3168
3168
  * <p> A webhook event triggers a build when the provided <code>pattern</code>
3169
- * matches one of six event types: <code>PUSH</code>,
3169
+ * matches one of eight event types: <code>PUSH</code>,
3170
3170
  * <code>PULL_REQUEST_CREATED</code>, <code>PULL_REQUEST_UPDATED</code>,
3171
- * <code>PULL_REQUEST_CLOSED</code>,
3172
- * <code>PULL_REQUEST_REOPENED</code>, and
3173
- * <code>PULL_REQUEST_MERGED</code>. The <code>EVENT</code> patterns are
3171
+ * <code>PULL_REQUEST_CLOSED</code>, <code>PULL_REQUEST_REOPENED</code>,
3172
+ * <code>PULL_REQUEST_MERGED</code>, <code>RELEASED</code>, and <code>PRERELEASED</code>. The <code>EVENT</code> patterns are
3174
3173
  * specified as a comma-separated string. For example, <code>PUSH,
3175
3174
  * PULL_REQUEST_CREATED, PULL_REQUEST_UPDATED</code> filters all push, pull
3176
3175
  * request created, and pull request updated events. </p>
3177
3176
  * <note>
3178
3177
  * <p> The <code>PULL_REQUEST_REOPENED</code> works with GitHub and GitHub
3179
- * Enterprise only. </p>
3178
+ * Enterprise only. The <code>RELEASED</code> and <code>PRERELEASED</code> work
3179
+ * with GitHub only.</p>
3180
3180
  * </note>
3181
3181
  * </li>
3182
3182
  * </ul>
@@ -3198,9 +3198,10 @@ export interface WebhookFilter {
3198
3198
  * <p> A webhook event triggers a build when the head reference matches the
3199
3199
  * regular expression <code>pattern</code>. For example,
3200
3200
  * <code>refs/heads/branch-name</code> and <code>refs/tags/tag-name</code>. </p>
3201
- * <p> Works with GitHub and GitHub Enterprise push, GitHub and GitHub
3202
- * Enterprise pull request, Bitbucket push, and Bitbucket pull request events.
3203
- * </p>
3201
+ * <note>
3202
+ * <p> Works with GitHub and GitHub Enterprise push, GitHub and GitHub
3203
+ * Enterprise pull request, Bitbucket push, and Bitbucket pull request events.</p>
3204
+ * </note>
3204
3205
  * </li>
3205
3206
  * </ul>
3206
3207
  * </li>
@@ -3245,6 +3246,30 @@ export interface WebhookFilter {
3245
3246
  * </li>
3246
3247
  * </ul>
3247
3248
  * </li>
3249
+ * <li>
3250
+ * <p>TAG_NAME</p>
3251
+ * <ul>
3252
+ * <li>
3253
+ * <p>A webhook triggers a build when the tag name of the release matches the
3254
+ * regular expression <code>pattern</code>.</p>
3255
+ * <note>
3256
+ * <p> Works with <code>RELEASED</code> and <code>PRERELEASED</code> events only. </p>
3257
+ * </note>
3258
+ * </li>
3259
+ * </ul>
3260
+ * </li>
3261
+ * <li>
3262
+ * <p>RELEASE_NAME</p>
3263
+ * <ul>
3264
+ * <li>
3265
+ * <p>A webhook triggers a build when the release name matches the
3266
+ * regular expression <code>pattern</code>.</p>
3267
+ * <note>
3268
+ * <p> Works with <code>RELEASED</code> and <code>PRERELEASED</code> events only. </p>
3269
+ * </note>
3270
+ * </li>
3271
+ * </ul>
3272
+ * </li>
3248
3273
  * </ul>
3249
3274
  * @public
3250
3275
  */
@@ -6,5 +6,4 @@ export { CodeBuildExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
7
  export * from "./pagination";
8
8
  export * from "./models";
9
- import "@aws-sdk/util-endpoints";
10
9
  export { CodeBuildServiceException } from "./models/CodeBuildServiceException";
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.535.0",
4
+ "version": "3.540.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,16 +20,16 @@
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.535.0",
23
+ "@aws-sdk/client-sts": "3.540.0",
24
24
  "@aws-sdk/core": "3.535.0",
25
- "@aws-sdk/credential-provider-node": "3.535.0",
25
+ "@aws-sdk/credential-provider-node": "3.540.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",
29
- "@aws-sdk/middleware-user-agent": "3.535.0",
29
+ "@aws-sdk/middleware-user-agent": "3.540.0",
30
30
  "@aws-sdk/region-config-resolver": "3.535.0",
31
31
  "@aws-sdk/types": "3.535.0",
32
- "@aws-sdk/util-endpoints": "3.535.0",
32
+ "@aws-sdk/util-endpoints": "3.540.0",
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",