@aws-sdk/client-codebuild 3.645.0 → 3.650.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.
Files changed (60) hide show
  1. package/dist-cjs/endpoint/endpointResolver.js +6 -2
  2. package/dist-cjs/index.js +50 -150
  3. package/dist-es/commands/BatchDeleteBuildsCommand.js +1 -3
  4. package/dist-es/commands/BatchGetBuildBatchesCommand.js +1 -3
  5. package/dist-es/commands/BatchGetBuildsCommand.js +1 -3
  6. package/dist-es/commands/BatchGetFleetsCommand.js +1 -3
  7. package/dist-es/commands/BatchGetProjectsCommand.js +1 -3
  8. package/dist-es/commands/BatchGetReportGroupsCommand.js +1 -3
  9. package/dist-es/commands/BatchGetReportsCommand.js +1 -3
  10. package/dist-es/commands/CreateFleetCommand.js +1 -3
  11. package/dist-es/commands/CreateProjectCommand.js +1 -3
  12. package/dist-es/commands/CreateReportGroupCommand.js +1 -3
  13. package/dist-es/commands/CreateWebhookCommand.js +1 -3
  14. package/dist-es/commands/DeleteBuildBatchCommand.js +1 -3
  15. package/dist-es/commands/DeleteFleetCommand.js +1 -3
  16. package/dist-es/commands/DeleteProjectCommand.js +1 -3
  17. package/dist-es/commands/DeleteReportCommand.js +1 -3
  18. package/dist-es/commands/DeleteReportGroupCommand.js +1 -3
  19. package/dist-es/commands/DeleteResourcePolicyCommand.js +1 -3
  20. package/dist-es/commands/DeleteSourceCredentialsCommand.js +1 -3
  21. package/dist-es/commands/DeleteWebhookCommand.js +1 -3
  22. package/dist-es/commands/DescribeCodeCoveragesCommand.js +1 -3
  23. package/dist-es/commands/DescribeTestCasesCommand.js +1 -3
  24. package/dist-es/commands/GetReportGroupTrendCommand.js +1 -3
  25. package/dist-es/commands/GetResourcePolicyCommand.js +1 -3
  26. package/dist-es/commands/ImportSourceCredentialsCommand.js +1 -3
  27. package/dist-es/commands/InvalidateProjectCacheCommand.js +1 -3
  28. package/dist-es/commands/ListBuildBatchesCommand.js +1 -3
  29. package/dist-es/commands/ListBuildBatchesForProjectCommand.js +1 -3
  30. package/dist-es/commands/ListBuildsCommand.js +1 -3
  31. package/dist-es/commands/ListBuildsForProjectCommand.js +1 -3
  32. package/dist-es/commands/ListCuratedEnvironmentImagesCommand.js +1 -3
  33. package/dist-es/commands/ListFleetsCommand.js +1 -3
  34. package/dist-es/commands/ListProjectsCommand.js +1 -3
  35. package/dist-es/commands/ListReportGroupsCommand.js +1 -3
  36. package/dist-es/commands/ListReportsCommand.js +1 -3
  37. package/dist-es/commands/ListReportsForReportGroupCommand.js +1 -3
  38. package/dist-es/commands/ListSharedProjectsCommand.js +1 -3
  39. package/dist-es/commands/ListSharedReportGroupsCommand.js +1 -3
  40. package/dist-es/commands/ListSourceCredentialsCommand.js +1 -3
  41. package/dist-es/commands/PutResourcePolicyCommand.js +1 -3
  42. package/dist-es/commands/RetryBuildBatchCommand.js +1 -3
  43. package/dist-es/commands/RetryBuildCommand.js +1 -3
  44. package/dist-es/commands/StartBuildBatchCommand.js +1 -3
  45. package/dist-es/commands/StartBuildCommand.js +1 -3
  46. package/dist-es/commands/StopBuildBatchCommand.js +1 -3
  47. package/dist-es/commands/StopBuildCommand.js +1 -3
  48. package/dist-es/commands/UpdateFleetCommand.js +1 -3
  49. package/dist-es/commands/UpdateProjectCommand.js +1 -3
  50. package/dist-es/commands/UpdateProjectVisibilityCommand.js +1 -3
  51. package/dist-es/commands/UpdateReportGroupCommand.js +1 -3
  52. package/dist-es/commands/UpdateWebhookCommand.js +1 -3
  53. package/dist-es/endpoint/endpointResolver.js +7 -3
  54. package/dist-types/runtimeConfig.browser.d.ts +2 -0
  55. package/dist-types/runtimeConfig.d.ts +2 -0
  56. package/dist-types/runtimeConfig.native.d.ts +2 -0
  57. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
  58. package/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
  59. package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
  60. package/package.json +35 -35
@@ -6,9 +6,7 @@ import { de_CreateProjectCommand, se_CreateProjectCommand } from "../protocols/A
6
6
  export { $Command };
7
7
  export class CreateProjectCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_CreateReportGroupCommand, se_CreateReportGroupCommand } from "../pro
6
6
  export { $Command };
7
7
  export class CreateReportGroupCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_CreateWebhookCommand, se_CreateWebhookCommand } from "../protocols/A
6
6
  export { $Command };
7
7
  export class CreateWebhookCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_DeleteBuildBatchCommand, se_DeleteBuildBatchCommand } from "../proto
6
6
  export { $Command };
7
7
  export class DeleteBuildBatchCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_DeleteFleetCommand, se_DeleteFleetCommand } from "../protocols/Aws_j
6
6
  export { $Command };
7
7
  export class DeleteFleetCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_DeleteProjectCommand, se_DeleteProjectCommand } from "../protocols/A
6
6
  export { $Command };
7
7
  export class DeleteProjectCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_DeleteReportCommand, se_DeleteReportCommand } from "../protocols/Aws
6
6
  export { $Command };
7
7
  export class DeleteReportCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_DeleteReportGroupCommand, se_DeleteReportGroupCommand } from "../pro
6
6
  export { $Command };
7
7
  export class DeleteReportGroupCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_DeleteResourcePolicyCommand, se_DeleteResourcePolicyCommand } from "
6
6
  export { $Command };
7
7
  export class DeleteResourcePolicyCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_DeleteSourceCredentialsCommand, se_DeleteSourceCredentialsCommand }
6
6
  export { $Command };
7
7
  export class DeleteSourceCredentialsCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_DeleteWebhookCommand, se_DeleteWebhookCommand } from "../protocols/A
6
6
  export { $Command };
7
7
  export class DeleteWebhookCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_DescribeCodeCoveragesCommand, se_DescribeCodeCoveragesCommand } from
6
6
  export { $Command };
7
7
  export class DescribeCodeCoveragesCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_DescribeTestCasesCommand, se_DescribeTestCasesCommand } from "../pro
6
6
  export { $Command };
7
7
  export class DescribeTestCasesCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_GetReportGroupTrendCommand, se_GetReportGroupTrendCommand } from "..
6
6
  export { $Command };
7
7
  export class GetReportGroupTrendCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_GetResourcePolicyCommand, se_GetResourcePolicyCommand } from "../pro
6
6
  export { $Command };
7
7
  export class GetResourcePolicyCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -7,9 +7,7 @@ import { de_ImportSourceCredentialsCommand, se_ImportSourceCredentialsCommand }
7
7
  export { $Command };
8
8
  export class ImportSourceCredentialsCommand extends $Command
9
9
  .classBuilder()
10
- .ep({
11
- ...commonParams,
12
- })
10
+ .ep(commonParams)
13
11
  .m(function (Command, cs, config, o) {
14
12
  return [
15
13
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_InvalidateProjectCacheCommand, se_InvalidateProjectCacheCommand } fr
6
6
  export { $Command };
7
7
  export class InvalidateProjectCacheCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_ListBuildBatchesCommand, se_ListBuildBatchesCommand } from "../proto
6
6
  export { $Command };
7
7
  export class ListBuildBatchesCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_ListBuildBatchesForProjectCommand, se_ListBuildBatchesForProjectComm
6
6
  export { $Command };
7
7
  export class ListBuildBatchesForProjectCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_ListBuildsCommand, se_ListBuildsCommand } from "../protocols/Aws_jso
6
6
  export { $Command };
7
7
  export class ListBuildsCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_ListBuildsForProjectCommand, se_ListBuildsForProjectCommand } from "
6
6
  export { $Command };
7
7
  export class ListBuildsForProjectCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_ListCuratedEnvironmentImagesCommand, se_ListCuratedEnvironmentImages
6
6
  export { $Command };
7
7
  export class ListCuratedEnvironmentImagesCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -7,9 +7,7 @@ import { de_ListFleetsCommand, se_ListFleetsCommand } from "../protocols/Aws_jso
7
7
  export { $Command };
8
8
  export class ListFleetsCommand extends $Command
9
9
  .classBuilder()
10
- .ep({
11
- ...commonParams,
12
- })
10
+ .ep(commonParams)
13
11
  .m(function (Command, cs, config, o) {
14
12
  return [
15
13
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_ListProjectsCommand, se_ListProjectsCommand } from "../protocols/Aws
6
6
  export { $Command };
7
7
  export class ListProjectsCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_ListReportGroupsCommand, se_ListReportGroupsCommand } from "../proto
6
6
  export { $Command };
7
7
  export class ListReportGroupsCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_ListReportsCommand, se_ListReportsCommand } from "../protocols/Aws_j
6
6
  export { $Command };
7
7
  export class ListReportsCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_ListReportsForReportGroupCommand, se_ListReportsForReportGroupComman
6
6
  export { $Command };
7
7
  export class ListReportsForReportGroupCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_ListSharedProjectsCommand, se_ListSharedProjectsCommand } from "../p
6
6
  export { $Command };
7
7
  export class ListSharedProjectsCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_ListSharedReportGroupsCommand, se_ListSharedReportGroupsCommand } fr
6
6
  export { $Command };
7
7
  export class ListSharedReportGroupsCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_ListSourceCredentialsCommand, se_ListSourceCredentialsCommand } from
6
6
  export { $Command };
7
7
  export class ListSourceCredentialsCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_PutResourcePolicyCommand, se_PutResourcePolicyCommand } from "../pro
6
6
  export { $Command };
7
7
  export class PutResourcePolicyCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_RetryBuildBatchCommand, se_RetryBuildBatchCommand } from "../protoco
6
6
  export { $Command };
7
7
  export class RetryBuildBatchCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_RetryBuildCommand, se_RetryBuildCommand } from "../protocols/Aws_jso
6
6
  export { $Command };
7
7
  export class RetryBuildCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_StartBuildBatchCommand, se_StartBuildBatchCommand } from "../protoco
6
6
  export { $Command };
7
7
  export class StartBuildBatchCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_StartBuildCommand, se_StartBuildCommand } from "../protocols/Aws_jso
6
6
  export { $Command };
7
7
  export class StartBuildCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_StopBuildBatchCommand, se_StopBuildBatchCommand } from "../protocols
6
6
  export { $Command };
7
7
  export class StopBuildBatchCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_StopBuildCommand, se_StopBuildCommand } from "../protocols/Aws_json1
6
6
  export { $Command };
7
7
  export class StopBuildCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_UpdateFleetCommand, se_UpdateFleetCommand } from "../protocols/Aws_j
6
6
  export { $Command };
7
7
  export class UpdateFleetCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_UpdateProjectCommand, se_UpdateProjectCommand } from "../protocols/A
6
6
  export { $Command };
7
7
  export class UpdateProjectCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_UpdateProjectVisibilityCommand, se_UpdateProjectVisibilityCommand }
6
6
  export { $Command };
7
7
  export class UpdateProjectVisibilityCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_UpdateReportGroupCommand, se_UpdateReportGroupCommand } from "../pro
6
6
  export { $Command };
7
7
  export class UpdateReportGroupCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_UpdateWebhookCommand, se_UpdateWebhookCommand } from "../protocols/A
6
6
  export { $Command };
7
7
  export class UpdateWebhookCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -1,10 +1,14 @@
1
1
  import { awsEndpointFunctions } from "@aws-sdk/util-endpoints";
2
- import { customEndpointFunctions, resolveEndpoint } from "@smithy/util-endpoints";
2
+ import { customEndpointFunctions, EndpointCache, resolveEndpoint } from "@smithy/util-endpoints";
3
3
  import { ruleSet } from "./ruleset";
4
+ const cache = new EndpointCache({
5
+ size: 50,
6
+ params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
7
+ });
4
8
  export const defaultEndpointResolver = (endpointParams, context = {}) => {
5
- return resolveEndpoint(ruleSet, {
9
+ return cache.get(endpointParams, () => resolveEndpoint(ruleSet, {
6
10
  endpointParams: endpointParams,
7
11
  logger: context.logger,
8
- });
12
+ }));
9
13
  };
10
14
  customEndpointFunctions.aws = awsEndpointFunctions;
@@ -18,6 +18,7 @@ export declare const getRuntimeConfig: (config: CodeBuildClientConfig) => {
18
18
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
19
19
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
20
20
  apiVersion: string;
21
+ cacheMiddleware?: boolean | undefined;
21
22
  urlParser: import("@smithy/types").UrlParser;
22
23
  base64Decoder: import("@smithy/types").Decoder;
23
24
  base64Encoder: (_input: string | Uint8Array) => string;
@@ -34,6 +35,7 @@ export declare const getRuntimeConfig: (config: CodeBuildClientConfig) => {
34
35
  logger?: import("@smithy/types").Logger | undefined;
35
36
  }) => import("@smithy/types").EndpointV2;
36
37
  tls?: boolean | undefined;
38
+ serviceConfiguredEndpoint?: undefined;
37
39
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
38
40
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").CodeBuildHttpAuthSchemeProvider;
39
41
  credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
@@ -18,6 +18,7 @@ export declare const getRuntimeConfig: (config: CodeBuildClientConfig) => {
18
18
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
19
19
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
20
20
  apiVersion: string;
21
+ cacheMiddleware?: boolean | undefined;
21
22
  urlParser: import("@smithy/types").UrlParser;
22
23
  base64Decoder: import("@smithy/types").Decoder;
23
24
  base64Encoder: (_input: string | Uint8Array) => string;
@@ -34,6 +35,7 @@ export declare const getRuntimeConfig: (config: CodeBuildClientConfig) => {
34
35
  logger?: import("@smithy/types").Logger | undefined;
35
36
  }) => import("@smithy/types").EndpointV2;
36
37
  tls?: boolean | undefined;
38
+ serviceConfiguredEndpoint?: undefined;
37
39
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
38
40
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").CodeBuildHttpAuthSchemeProvider;
39
41
  credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
@@ -7,6 +7,7 @@ export declare const getRuntimeConfig: (config: CodeBuildClientConfig) => {
7
7
  sha256: import("@smithy/types").HashConstructor;
8
8
  requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/protocol-http").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
9
9
  apiVersion: string;
10
+ cacheMiddleware?: boolean | undefined;
10
11
  urlParser: import("@smithy/types").UrlParser;
11
12
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
12
13
  streamCollector: import("@smithy/types").StreamCollector;
@@ -33,6 +34,7 @@ export declare const getRuntimeConfig: (config: CodeBuildClientConfig) => {
33
34
  logger?: import("@smithy/types").Logger | undefined;
34
35
  }) => import("@smithy/types").EndpointV2;
35
36
  tls?: boolean | undefined;
37
+ serviceConfiguredEndpoint?: undefined;
36
38
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
37
39
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").CodeBuildHttpAuthSchemeProvider;
38
40
  credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
@@ -23,6 +23,7 @@ export declare const getRuntimeConfig: (config: CodeBuildClientConfig) => {
23
23
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
24
24
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
25
25
  apiVersion: string;
26
+ cacheMiddleware?: boolean | undefined;
26
27
  urlParser: import("@smithy/types").UrlParser;
27
28
  base64Decoder: import("@smithy/types").Decoder;
28
29
  base64Encoder: (_input: string | Uint8Array) => string;
@@ -61,6 +62,7 @@ export declare const getRuntimeConfig: (config: CodeBuildClientConfig) => {
61
62
  }
62
63
  ) => import("@smithy/types").EndpointV2;
63
64
  tls?: boolean | undefined;
65
+ serviceConfiguredEndpoint?: undefined;
64
66
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
65
67
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").CodeBuildHttpAuthSchemeProvider;
66
68
  credentials?:
@@ -27,6 +27,7 @@ export declare const getRuntimeConfig: (config: CodeBuildClientConfig) => {
27
27
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
28
28
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
29
29
  apiVersion: string;
30
+ cacheMiddleware?: boolean | undefined;
30
31
  urlParser: import("@smithy/types").UrlParser;
31
32
  base64Decoder: import("@smithy/types").Decoder;
32
33
  base64Encoder: (_input: string | Uint8Array) => string;
@@ -65,6 +66,7 @@ export declare const getRuntimeConfig: (config: CodeBuildClientConfig) => {
65
66
  }
66
67
  ) => import("@smithy/types").EndpointV2;
67
68
  tls?: boolean | undefined;
69
+ serviceConfiguredEndpoint?: undefined;
68
70
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
69
71
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").CodeBuildHttpAuthSchemeProvider;
70
72
  credentials?:
@@ -9,6 +9,7 @@ export declare const getRuntimeConfig: (config: CodeBuildClientConfig) => {
9
9
  | import("@smithy/protocol-http").HttpHandler<any>
10
10
  | import("@smithy/fetch-http-handler").FetchHttpHandler;
11
11
  apiVersion: string;
12
+ cacheMiddleware?: boolean | undefined;
12
13
  urlParser: import("@smithy/types").UrlParser;
13
14
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
14
15
  streamCollector: import("@smithy/types").StreamCollector;
@@ -55,6 +56,7 @@ export declare const getRuntimeConfig: (config: CodeBuildClientConfig) => {
55
56
  }
56
57
  ) => import("@smithy/types").EndpointV2;
57
58
  tls?: boolean | undefined;
59
+ serviceConfiguredEndpoint?: undefined;
58
60
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
59
61
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").CodeBuildHttpAuthSchemeProvider;
60
62
  credentials?: