@aws-sdk/client-redshift-serverless 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 (65) hide show
  1. package/dist-cjs/endpoint/endpointResolver.js +6 -2
  2. package/dist-cjs/index.js +55 -165
  3. package/dist-es/commands/ConvertRecoveryPointToSnapshotCommand.js +1 -3
  4. package/dist-es/commands/CreateCustomDomainAssociationCommand.js +1 -3
  5. package/dist-es/commands/CreateEndpointAccessCommand.js +1 -3
  6. package/dist-es/commands/CreateNamespaceCommand.js +1 -3
  7. package/dist-es/commands/CreateScheduledActionCommand.js +1 -3
  8. package/dist-es/commands/CreateSnapshotCommand.js +1 -3
  9. package/dist-es/commands/CreateSnapshotCopyConfigurationCommand.js +1 -3
  10. package/dist-es/commands/CreateUsageLimitCommand.js +1 -3
  11. package/dist-es/commands/CreateWorkgroupCommand.js +1 -3
  12. package/dist-es/commands/DeleteCustomDomainAssociationCommand.js +1 -3
  13. package/dist-es/commands/DeleteEndpointAccessCommand.js +1 -3
  14. package/dist-es/commands/DeleteNamespaceCommand.js +1 -3
  15. package/dist-es/commands/DeleteResourcePolicyCommand.js +1 -3
  16. package/dist-es/commands/DeleteScheduledActionCommand.js +1 -3
  17. package/dist-es/commands/DeleteSnapshotCommand.js +1 -3
  18. package/dist-es/commands/DeleteSnapshotCopyConfigurationCommand.js +1 -3
  19. package/dist-es/commands/DeleteUsageLimitCommand.js +1 -3
  20. package/dist-es/commands/DeleteWorkgroupCommand.js +1 -3
  21. package/dist-es/commands/GetCredentialsCommand.js +1 -3
  22. package/dist-es/commands/GetCustomDomainAssociationCommand.js +1 -3
  23. package/dist-es/commands/GetEndpointAccessCommand.js +1 -3
  24. package/dist-es/commands/GetNamespaceCommand.js +1 -3
  25. package/dist-es/commands/GetRecoveryPointCommand.js +1 -3
  26. package/dist-es/commands/GetResourcePolicyCommand.js +1 -3
  27. package/dist-es/commands/GetScheduledActionCommand.js +1 -3
  28. package/dist-es/commands/GetSnapshotCommand.js +1 -3
  29. package/dist-es/commands/GetTableRestoreStatusCommand.js +1 -3
  30. package/dist-es/commands/GetUsageLimitCommand.js +1 -3
  31. package/dist-es/commands/GetWorkgroupCommand.js +1 -3
  32. package/dist-es/commands/ListCustomDomainAssociationsCommand.js +1 -3
  33. package/dist-es/commands/ListEndpointAccessCommand.js +1 -3
  34. package/dist-es/commands/ListNamespacesCommand.js +1 -3
  35. package/dist-es/commands/ListRecoveryPointsCommand.js +1 -3
  36. package/dist-es/commands/ListScheduledActionsCommand.js +1 -3
  37. package/dist-es/commands/ListSnapshotCopyConfigurationsCommand.js +1 -3
  38. package/dist-es/commands/ListSnapshotsCommand.js +1 -3
  39. package/dist-es/commands/ListTableRestoreStatusCommand.js +1 -3
  40. package/dist-es/commands/ListTagsForResourceCommand.js +1 -3
  41. package/dist-es/commands/ListUsageLimitsCommand.js +1 -3
  42. package/dist-es/commands/ListWorkgroupsCommand.js +1 -3
  43. package/dist-es/commands/PutResourcePolicyCommand.js +1 -3
  44. package/dist-es/commands/RestoreFromRecoveryPointCommand.js +1 -3
  45. package/dist-es/commands/RestoreFromSnapshotCommand.js +1 -3
  46. package/dist-es/commands/RestoreTableFromRecoveryPointCommand.js +1 -3
  47. package/dist-es/commands/RestoreTableFromSnapshotCommand.js +1 -3
  48. package/dist-es/commands/TagResourceCommand.js +1 -3
  49. package/dist-es/commands/UntagResourceCommand.js +1 -3
  50. package/dist-es/commands/UpdateCustomDomainAssociationCommand.js +1 -3
  51. package/dist-es/commands/UpdateEndpointAccessCommand.js +1 -3
  52. package/dist-es/commands/UpdateNamespaceCommand.js +1 -3
  53. package/dist-es/commands/UpdateScheduledActionCommand.js +1 -3
  54. package/dist-es/commands/UpdateSnapshotCommand.js +1 -3
  55. package/dist-es/commands/UpdateSnapshotCopyConfigurationCommand.js +1 -3
  56. package/dist-es/commands/UpdateUsageLimitCommand.js +1 -3
  57. package/dist-es/commands/UpdateWorkgroupCommand.js +1 -3
  58. package/dist-es/endpoint/endpointResolver.js +7 -3
  59. package/dist-types/runtimeConfig.browser.d.ts +2 -0
  60. package/dist-types/runtimeConfig.d.ts +2 -0
  61. package/dist-types/runtimeConfig.native.d.ts +2 -0
  62. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
  63. package/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
  64. package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
  65. package/package.json +35 -35
@@ -6,9 +6,7 @@ import { de_CreateScheduledActionCommand, se_CreateScheduledActionCommand } from
6
6
  export { $Command };
7
7
  export class CreateScheduledActionCommand 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_CreateSnapshotCommand, se_CreateSnapshotCommand } from "../protocols
6
6
  export { $Command };
7
7
  export class CreateSnapshotCommand 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_CreateSnapshotCopyConfigurationCommand, se_CreateSnapshotCopyConfigu
6
6
  export { $Command };
7
7
  export class CreateSnapshotCopyConfigurationCommand 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_CreateUsageLimitCommand, se_CreateUsageLimitCommand } from "../proto
6
6
  export { $Command };
7
7
  export class CreateUsageLimitCommand 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_CreateWorkgroupCommand, se_CreateWorkgroupCommand } from "../protoco
6
6
  export { $Command };
7
7
  export class CreateWorkgroupCommand 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_DeleteCustomDomainAssociationCommand, se_DeleteCustomDomainAssociati
6
6
  export { $Command };
7
7
  export class DeleteCustomDomainAssociationCommand 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_DeleteEndpointAccessCommand, se_DeleteEndpointAccessCommand } from "
6
6
  export { $Command };
7
7
  export class DeleteEndpointAccessCommand 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_DeleteNamespaceCommand, se_DeleteNamespaceCommand } from "../protoco
7
7
  export { $Command };
8
8
  export class DeleteNamespaceCommand 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_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_DeleteScheduledActionCommand, se_DeleteScheduledActionCommand } from
6
6
  export { $Command };
7
7
  export class DeleteScheduledActionCommand 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_DeleteSnapshotCommand, se_DeleteSnapshotCommand } from "../protocols
6
6
  export { $Command };
7
7
  export class DeleteSnapshotCommand 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_DeleteSnapshotCopyConfigurationCommand, se_DeleteSnapshotCopyConfigu
6
6
  export { $Command };
7
7
  export class DeleteSnapshotCopyConfigurationCommand 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_DeleteUsageLimitCommand, se_DeleteUsageLimitCommand } from "../proto
6
6
  export { $Command };
7
7
  export class DeleteUsageLimitCommand 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_DeleteWorkgroupCommand, se_DeleteWorkgroupCommand } from "../protoco
6
6
  export { $Command };
7
7
  export class DeleteWorkgroupCommand 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_GetCredentialsCommand, se_GetCredentialsCommand } from "../protocols
7
7
  export { $Command };
8
8
  export class GetCredentialsCommand 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_GetCustomDomainAssociationCommand, se_GetCustomDomainAssociationComm
6
6
  export { $Command };
7
7
  export class GetCustomDomainAssociationCommand 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_GetEndpointAccessCommand, se_GetEndpointAccessCommand } from "../pro
6
6
  export { $Command };
7
7
  export class GetEndpointAccessCommand 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_GetNamespaceCommand, se_GetNamespaceCommand } from "../protocols/Aws
7
7
  export { $Command };
8
8
  export class GetNamespaceCommand 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_GetRecoveryPointCommand, se_GetRecoveryPointCommand } from "../proto
6
6
  export { $Command };
7
7
  export class GetRecoveryPointCommand 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),
@@ -6,9 +6,7 @@ import { de_GetScheduledActionCommand, se_GetScheduledActionCommand } from "../p
6
6
  export { $Command };
7
7
  export class GetScheduledActionCommand 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_GetSnapshotCommand, se_GetSnapshotCommand } from "../protocols/Aws_j
6
6
  export { $Command };
7
7
  export class GetSnapshotCommand 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_GetTableRestoreStatusCommand, se_GetTableRestoreStatusCommand } from
6
6
  export { $Command };
7
7
  export class GetTableRestoreStatusCommand 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_GetUsageLimitCommand, se_GetUsageLimitCommand } from "../protocols/A
6
6
  export { $Command };
7
7
  export class GetUsageLimitCommand 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_GetWorkgroupCommand, se_GetWorkgroupCommand } from "../protocols/Aws
6
6
  export { $Command };
7
7
  export class GetWorkgroupCommand 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_ListCustomDomainAssociationsCommand, se_ListCustomDomainAssociations
6
6
  export { $Command };
7
7
  export class ListCustomDomainAssociationsCommand 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_ListEndpointAccessCommand, se_ListEndpointAccessCommand } from "../p
6
6
  export { $Command };
7
7
  export class ListEndpointAccessCommand 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_ListNamespacesCommand, se_ListNamespacesCommand } from "../protocols
7
7
  export { $Command };
8
8
  export class ListNamespacesCommand 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_ListRecoveryPointsCommand, se_ListRecoveryPointsCommand } from "../p
6
6
  export { $Command };
7
7
  export class ListRecoveryPointsCommand 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_ListScheduledActionsCommand, se_ListScheduledActionsCommand } from "
6
6
  export { $Command };
7
7
  export class ListScheduledActionsCommand 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_ListSnapshotCopyConfigurationsCommand, se_ListSnapshotCopyConfigurat
6
6
  export { $Command };
7
7
  export class ListSnapshotCopyConfigurationsCommand 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_ListSnapshotsCommand, se_ListSnapshotsCommand } from "../protocols/A
6
6
  export { $Command };
7
7
  export class ListSnapshotsCommand 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_ListTableRestoreStatusCommand, se_ListTableRestoreStatusCommand } fr
6
6
  export { $Command };
7
7
  export class ListTableRestoreStatusCommand 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_ListUsageLimitsCommand, se_ListUsageLimitsCommand } from "../protoco
6
6
  export { $Command };
7
7
  export class ListUsageLimitsCommand 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_ListWorkgroupsCommand, se_ListWorkgroupsCommand } from "../protocols
6
6
  export { $Command };
7
7
  export class ListWorkgroupsCommand 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),
@@ -7,9 +7,7 @@ import { de_RestoreFromRecoveryPointCommand, se_RestoreFromRecoveryPointCommand
7
7
  export { $Command };
8
8
  export class RestoreFromRecoveryPointCommand 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),
@@ -7,9 +7,7 @@ import { de_RestoreFromSnapshotCommand, se_RestoreFromSnapshotCommand } from "..
7
7
  export { $Command };
8
8
  export class RestoreFromSnapshotCommand 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_RestoreTableFromRecoveryPointCommand, se_RestoreTableFromRecoveryPoi
6
6
  export { $Command };
7
7
  export class RestoreTableFromRecoveryPointCommand 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_RestoreTableFromSnapshotCommand, se_RestoreTableFromSnapshotCommand
6
6
  export { $Command };
7
7
  export class RestoreTableFromSnapshotCommand 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_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_UpdateCustomDomainAssociationCommand, se_UpdateCustomDomainAssociati
6
6
  export { $Command };
7
7
  export class UpdateCustomDomainAssociationCommand 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_UpdateEndpointAccessCommand, se_UpdateEndpointAccessCommand } from "
6
6
  export { $Command };
7
7
  export class UpdateEndpointAccessCommand 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_UpdateNamespaceCommand, se_UpdateNamespaceCommand } from "../protoco
7
7
  export { $Command };
8
8
  export class UpdateNamespaceCommand 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_UpdateScheduledActionCommand, se_UpdateScheduledActionCommand } from
6
6
  export { $Command };
7
7
  export class UpdateScheduledActionCommand 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_UpdateSnapshotCommand, se_UpdateSnapshotCommand } from "../protocols
6
6
  export { $Command };
7
7
  export class UpdateSnapshotCommand 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_UpdateSnapshotCopyConfigurationCommand, se_UpdateSnapshotCopyConfigu
6
6
  export { $Command };
7
7
  export class UpdateSnapshotCopyConfigurationCommand 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_UpdateUsageLimitCommand, se_UpdateUsageLimitCommand } from "../proto
6
6
  export { $Command };
7
7
  export class UpdateUsageLimitCommand 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_UpdateWorkgroupCommand, se_UpdateWorkgroupCommand } from "../protoco
6
6
  export { $Command };
7
7
  export class UpdateWorkgroupCommand 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;