@aws-sdk/client-cloudwatch-events 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 (61) hide show
  1. package/dist-cjs/endpoint/endpointResolver.js +6 -2
  2. package/dist-cjs/index.js +51 -153
  3. package/dist-es/commands/ActivateEventSourceCommand.js +1 -3
  4. package/dist-es/commands/CancelReplayCommand.js +1 -3
  5. package/dist-es/commands/CreateApiDestinationCommand.js +1 -3
  6. package/dist-es/commands/CreateArchiveCommand.js +1 -3
  7. package/dist-es/commands/CreateConnectionCommand.js +1 -3
  8. package/dist-es/commands/CreateEventBusCommand.js +1 -3
  9. package/dist-es/commands/CreatePartnerEventSourceCommand.js +1 -3
  10. package/dist-es/commands/DeactivateEventSourceCommand.js +1 -3
  11. package/dist-es/commands/DeauthorizeConnectionCommand.js +1 -3
  12. package/dist-es/commands/DeleteApiDestinationCommand.js +1 -3
  13. package/dist-es/commands/DeleteArchiveCommand.js +1 -3
  14. package/dist-es/commands/DeleteConnectionCommand.js +1 -3
  15. package/dist-es/commands/DeleteEventBusCommand.js +1 -3
  16. package/dist-es/commands/DeletePartnerEventSourceCommand.js +1 -3
  17. package/dist-es/commands/DeleteRuleCommand.js +1 -3
  18. package/dist-es/commands/DescribeApiDestinationCommand.js +1 -3
  19. package/dist-es/commands/DescribeArchiveCommand.js +1 -3
  20. package/dist-es/commands/DescribeConnectionCommand.js +1 -3
  21. package/dist-es/commands/DescribeEventBusCommand.js +1 -3
  22. package/dist-es/commands/DescribeEventSourceCommand.js +1 -3
  23. package/dist-es/commands/DescribePartnerEventSourceCommand.js +1 -3
  24. package/dist-es/commands/DescribeReplayCommand.js +1 -3
  25. package/dist-es/commands/DescribeRuleCommand.js +1 -3
  26. package/dist-es/commands/DisableRuleCommand.js +1 -3
  27. package/dist-es/commands/EnableRuleCommand.js +1 -3
  28. package/dist-es/commands/ListApiDestinationsCommand.js +1 -3
  29. package/dist-es/commands/ListArchivesCommand.js +1 -3
  30. package/dist-es/commands/ListConnectionsCommand.js +1 -3
  31. package/dist-es/commands/ListEventBusesCommand.js +1 -3
  32. package/dist-es/commands/ListEventSourcesCommand.js +1 -3
  33. package/dist-es/commands/ListPartnerEventSourceAccountsCommand.js +1 -3
  34. package/dist-es/commands/ListPartnerEventSourcesCommand.js +1 -3
  35. package/dist-es/commands/ListReplaysCommand.js +1 -3
  36. package/dist-es/commands/ListRuleNamesByTargetCommand.js +1 -3
  37. package/dist-es/commands/ListRulesCommand.js +1 -3
  38. package/dist-es/commands/ListTagsForResourceCommand.js +1 -3
  39. package/dist-es/commands/ListTargetsByRuleCommand.js +1 -3
  40. package/dist-es/commands/PutEventsCommand.js +1 -3
  41. package/dist-es/commands/PutPartnerEventsCommand.js +1 -3
  42. package/dist-es/commands/PutPermissionCommand.js +1 -3
  43. package/dist-es/commands/PutRuleCommand.js +1 -3
  44. package/dist-es/commands/PutTargetsCommand.js +1 -3
  45. package/dist-es/commands/RemovePermissionCommand.js +1 -3
  46. package/dist-es/commands/RemoveTargetsCommand.js +1 -3
  47. package/dist-es/commands/StartReplayCommand.js +1 -3
  48. package/dist-es/commands/TagResourceCommand.js +1 -3
  49. package/dist-es/commands/TestEventPatternCommand.js +1 -3
  50. package/dist-es/commands/UntagResourceCommand.js +1 -3
  51. package/dist-es/commands/UpdateApiDestinationCommand.js +1 -3
  52. package/dist-es/commands/UpdateArchiveCommand.js +1 -3
  53. package/dist-es/commands/UpdateConnectionCommand.js +1 -3
  54. package/dist-es/endpoint/endpointResolver.js +7 -3
  55. package/dist-types/runtimeConfig.browser.d.ts +2 -0
  56. package/dist-types/runtimeConfig.d.ts +2 -0
  57. package/dist-types/runtimeConfig.native.d.ts +2 -0
  58. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
  59. package/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
  60. package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
  61. package/package.json +35 -35
@@ -6,9 +6,7 @@ import { de_DeauthorizeConnectionCommand, se_DeauthorizeConnectionCommand } from
6
6
  export { $Command };
7
7
  export class DeauthorizeConnectionCommand 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_DeleteApiDestinationCommand, se_DeleteApiDestinationCommand } from "
6
6
  export { $Command };
7
7
  export class DeleteApiDestinationCommand 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_DeleteArchiveCommand, se_DeleteArchiveCommand } from "../protocols/A
6
6
  export { $Command };
7
7
  export class DeleteArchiveCommand 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_DeleteConnectionCommand, se_DeleteConnectionCommand } from "../proto
6
6
  export { $Command };
7
7
  export class DeleteConnectionCommand 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_DeleteEventBusCommand, se_DeleteEventBusCommand } from "../protocols
6
6
  export { $Command };
7
7
  export class DeleteEventBusCommand 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_DeletePartnerEventSourceCommand, se_DeletePartnerEventSourceCommand
6
6
  export { $Command };
7
7
  export class DeletePartnerEventSourceCommand 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_DeleteRuleCommand, se_DeleteRuleCommand } from "../protocols/Aws_jso
6
6
  export { $Command };
7
7
  export class DeleteRuleCommand 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_DescribeApiDestinationCommand, se_DescribeApiDestinationCommand } fr
6
6
  export { $Command };
7
7
  export class DescribeApiDestinationCommand 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_DescribeArchiveCommand, se_DescribeArchiveCommand } from "../protoco
6
6
  export { $Command };
7
7
  export class DescribeArchiveCommand 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_DescribeConnectionCommand, se_DescribeConnectionCommand } from "../p
7
7
  export { $Command };
8
8
  export class DescribeConnectionCommand 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_DescribeEventBusCommand, se_DescribeEventBusCommand } from "../proto
6
6
  export { $Command };
7
7
  export class DescribeEventBusCommand 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_DescribeEventSourceCommand, se_DescribeEventSourceCommand } from "..
6
6
  export { $Command };
7
7
  export class DescribeEventSourceCommand 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_DescribePartnerEventSourceCommand, se_DescribePartnerEventSourceComm
6
6
  export { $Command };
7
7
  export class DescribePartnerEventSourceCommand 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_DescribeReplayCommand, se_DescribeReplayCommand } from "../protocols
6
6
  export { $Command };
7
7
  export class DescribeReplayCommand 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_DescribeRuleCommand, se_DescribeRuleCommand } from "../protocols/Aws
6
6
  export { $Command };
7
7
  export class DescribeRuleCommand 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_DisableRuleCommand, se_DisableRuleCommand } from "../protocols/Aws_j
6
6
  export { $Command };
7
7
  export class DisableRuleCommand 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_EnableRuleCommand, se_EnableRuleCommand } from "../protocols/Aws_jso
6
6
  export { $Command };
7
7
  export class EnableRuleCommand 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_ListApiDestinationsCommand, se_ListApiDestinationsCommand } from "..
6
6
  export { $Command };
7
7
  export class ListApiDestinationsCommand 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_ListArchivesCommand, se_ListArchivesCommand } from "../protocols/Aws
6
6
  export { $Command };
7
7
  export class ListArchivesCommand 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_ListConnectionsCommand, se_ListConnectionsCommand } from "../protoco
6
6
  export { $Command };
7
7
  export class ListConnectionsCommand 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_ListEventBusesCommand, se_ListEventBusesCommand } from "../protocols
6
6
  export { $Command };
7
7
  export class ListEventBusesCommand 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_ListEventSourcesCommand, se_ListEventSourcesCommand } from "../proto
6
6
  export { $Command };
7
7
  export class ListEventSourcesCommand 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_ListPartnerEventSourceAccountsCommand, se_ListPartnerEventSourceAcco
6
6
  export { $Command };
7
7
  export class ListPartnerEventSourceAccountsCommand 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_ListPartnerEventSourcesCommand, se_ListPartnerEventSourcesCommand }
6
6
  export { $Command };
7
7
  export class ListPartnerEventSourcesCommand 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_ListReplaysCommand, se_ListReplaysCommand } from "../protocols/Aws_j
6
6
  export { $Command };
7
7
  export class ListReplaysCommand 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_ListRuleNamesByTargetCommand, se_ListRuleNamesByTargetCommand } from
6
6
  export { $Command };
7
7
  export class ListRuleNamesByTargetCommand 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_ListRulesCommand, se_ListRulesCommand } from "../protocols/Aws_json1
6
6
  export { $Command };
7
7
  export class ListRulesCommand 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_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "..
6
6
  export { $Command };
7
7
  export class ListTagsForResourceCommand 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_ListTargetsByRuleCommand, se_ListTargetsByRuleCommand } from "../pro
6
6
  export { $Command };
7
7
  export class ListTargetsByRuleCommand 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_PutEventsCommand, se_PutEventsCommand } from "../protocols/Aws_json1
6
6
  export { $Command };
7
7
  export class PutEventsCommand 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_PutPartnerEventsCommand, se_PutPartnerEventsCommand } from "../proto
6
6
  export { $Command };
7
7
  export class PutPartnerEventsCommand 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_PutPermissionCommand, se_PutPermissionCommand } from "../protocols/A
6
6
  export { $Command };
7
7
  export class PutPermissionCommand 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_PutRuleCommand, se_PutRuleCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
7
  export class PutRuleCommand 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_PutTargetsCommand, se_PutTargetsCommand } from "../protocols/Aws_jso
6
6
  export { $Command };
7
7
  export class PutTargetsCommand 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_RemovePermissionCommand, se_RemovePermissionCommand } from "../proto
6
6
  export { $Command };
7
7
  export class RemovePermissionCommand 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_RemoveTargetsCommand, se_RemoveTargetsCommand } from "../protocols/A
6
6
  export { $Command };
7
7
  export class RemoveTargetsCommand 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_StartReplayCommand, se_StartReplayCommand } from "../protocols/Aws_j
6
6
  export { $Command };
7
7
  export class StartReplayCommand 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_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_j
6
6
  export { $Command };
7
7
  export class TagResourceCommand 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_TestEventPatternCommand, se_TestEventPatternCommand } from "../proto
6
6
  export { $Command };
7
7
  export class TestEventPatternCommand 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_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/A
6
6
  export { $Command };
7
7
  export class UntagResourceCommand 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_UpdateApiDestinationCommand, se_UpdateApiDestinationCommand } from "
6
6
  export { $Command };
7
7
  export class UpdateApiDestinationCommand 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_UpdateArchiveCommand, se_UpdateArchiveCommand } from "../protocols/A
6
6
  export { $Command };
7
7
  export class UpdateArchiveCommand 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_UpdateConnectionCommand, se_UpdateConnectionCommand } from "../proto
7
7
  export { $Command };
8
8
  export class UpdateConnectionCommand 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),
@@ -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: CloudWatchEventsClientConfig) =>
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: CloudWatchEventsClientConfig) =>
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").CloudWatchEventsHttpAuthSchemeProvider;
39
41
  credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
@@ -18,6 +18,7 @@ export declare const getRuntimeConfig: (config: CloudWatchEventsClientConfig) =>
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: CloudWatchEventsClientConfig) =>
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").CloudWatchEventsHttpAuthSchemeProvider;
39
41
  credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
@@ -7,6 +7,7 @@ export declare const getRuntimeConfig: (config: CloudWatchEventsClientConfig) =>
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: CloudWatchEventsClientConfig) =>
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").CloudWatchEventsHttpAuthSchemeProvider;
38
40
  credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
@@ -25,6 +25,7 @@ export declare const getRuntimeConfig: (
25
25
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
26
26
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
27
27
  apiVersion: string;
28
+ cacheMiddleware?: boolean | undefined;
28
29
  urlParser: import("@smithy/types").UrlParser;
29
30
  base64Decoder: import("@smithy/types").Decoder;
30
31
  base64Encoder: (_input: string | Uint8Array) => string;
@@ -63,6 +64,7 @@ export declare const getRuntimeConfig: (
63
64
  }
64
65
  ) => import("@smithy/types").EndpointV2;
65
66
  tls?: boolean | undefined;
67
+ serviceConfiguredEndpoint?: undefined;
66
68
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
67
69
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").CloudWatchEventsHttpAuthSchemeProvider;
68
70
  credentials?:
@@ -29,6 +29,7 @@ export declare const getRuntimeConfig: (
29
29
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
30
30
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
31
31
  apiVersion: string;
32
+ cacheMiddleware?: boolean | undefined;
32
33
  urlParser: import("@smithy/types").UrlParser;
33
34
  base64Decoder: import("@smithy/types").Decoder;
34
35
  base64Encoder: (_input: string | Uint8Array) => string;
@@ -67,6 +68,7 @@ export declare const getRuntimeConfig: (
67
68
  }
68
69
  ) => import("@smithy/types").EndpointV2;
69
70
  tls?: boolean | undefined;
71
+ serviceConfiguredEndpoint?: undefined;
70
72
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
71
73
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").CloudWatchEventsHttpAuthSchemeProvider;
72
74
  credentials?:
@@ -11,6 +11,7 @@ export declare const getRuntimeConfig: (
11
11
  | import("@smithy/protocol-http").HttpHandler<any>
12
12
  | import("@smithy/fetch-http-handler").FetchHttpHandler;
13
13
  apiVersion: string;
14
+ cacheMiddleware?: boolean | undefined;
14
15
  urlParser: import("@smithy/types").UrlParser;
15
16
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
16
17
  streamCollector: import("@smithy/types").StreamCollector;
@@ -57,6 +58,7 @@ export declare const getRuntimeConfig: (
57
58
  }
58
59
  ) => import("@smithy/types").EndpointV2;
59
60
  tls?: boolean | undefined;
61
+ serviceConfiguredEndpoint?: undefined;
60
62
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
61
63
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").CloudWatchEventsHttpAuthSchemeProvider;
62
64
  credentials?: