@aws-sdk/client-backup 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 (101) hide show
  1. package/dist-cjs/endpoint/endpointResolver.js +6 -2
  2. package/dist-cjs/index.js +91 -273
  3. package/dist-es/commands/CancelLegalHoldCommand.js +1 -3
  4. package/dist-es/commands/CreateBackupPlanCommand.js +1 -3
  5. package/dist-es/commands/CreateBackupSelectionCommand.js +1 -3
  6. package/dist-es/commands/CreateBackupVaultCommand.js +1 -3
  7. package/dist-es/commands/CreateFrameworkCommand.js +1 -3
  8. package/dist-es/commands/CreateLegalHoldCommand.js +1 -3
  9. package/dist-es/commands/CreateLogicallyAirGappedBackupVaultCommand.js +1 -3
  10. package/dist-es/commands/CreateReportPlanCommand.js +1 -3
  11. package/dist-es/commands/CreateRestoreTestingPlanCommand.js +1 -3
  12. package/dist-es/commands/CreateRestoreTestingSelectionCommand.js +1 -3
  13. package/dist-es/commands/DeleteBackupPlanCommand.js +1 -3
  14. package/dist-es/commands/DeleteBackupSelectionCommand.js +1 -3
  15. package/dist-es/commands/DeleteBackupVaultAccessPolicyCommand.js +1 -3
  16. package/dist-es/commands/DeleteBackupVaultCommand.js +1 -3
  17. package/dist-es/commands/DeleteBackupVaultLockConfigurationCommand.js +1 -3
  18. package/dist-es/commands/DeleteBackupVaultNotificationsCommand.js +1 -3
  19. package/dist-es/commands/DeleteFrameworkCommand.js +1 -3
  20. package/dist-es/commands/DeleteRecoveryPointCommand.js +1 -3
  21. package/dist-es/commands/DeleteReportPlanCommand.js +1 -3
  22. package/dist-es/commands/DeleteRestoreTestingPlanCommand.js +1 -3
  23. package/dist-es/commands/DeleteRestoreTestingSelectionCommand.js +1 -3
  24. package/dist-es/commands/DescribeBackupJobCommand.js +1 -3
  25. package/dist-es/commands/DescribeBackupVaultCommand.js +1 -3
  26. package/dist-es/commands/DescribeCopyJobCommand.js +1 -3
  27. package/dist-es/commands/DescribeFrameworkCommand.js +1 -3
  28. package/dist-es/commands/DescribeGlobalSettingsCommand.js +1 -3
  29. package/dist-es/commands/DescribeProtectedResourceCommand.js +1 -3
  30. package/dist-es/commands/DescribeRecoveryPointCommand.js +1 -3
  31. package/dist-es/commands/DescribeRegionSettingsCommand.js +1 -3
  32. package/dist-es/commands/DescribeReportJobCommand.js +1 -3
  33. package/dist-es/commands/DescribeReportPlanCommand.js +1 -3
  34. package/dist-es/commands/DescribeRestoreJobCommand.js +1 -3
  35. package/dist-es/commands/DisassociateRecoveryPointCommand.js +1 -3
  36. package/dist-es/commands/DisassociateRecoveryPointFromParentCommand.js +1 -3
  37. package/dist-es/commands/ExportBackupPlanTemplateCommand.js +1 -3
  38. package/dist-es/commands/GetBackupPlanCommand.js +1 -3
  39. package/dist-es/commands/GetBackupPlanFromJSONCommand.js +1 -3
  40. package/dist-es/commands/GetBackupPlanFromTemplateCommand.js +1 -3
  41. package/dist-es/commands/GetBackupSelectionCommand.js +1 -3
  42. package/dist-es/commands/GetBackupVaultAccessPolicyCommand.js +1 -3
  43. package/dist-es/commands/GetBackupVaultNotificationsCommand.js +1 -3
  44. package/dist-es/commands/GetLegalHoldCommand.js +1 -3
  45. package/dist-es/commands/GetRecoveryPointRestoreMetadataCommand.js +1 -3
  46. package/dist-es/commands/GetRestoreJobMetadataCommand.js +1 -3
  47. package/dist-es/commands/GetRestoreTestingInferredMetadataCommand.js +1 -3
  48. package/dist-es/commands/GetRestoreTestingPlanCommand.js +1 -3
  49. package/dist-es/commands/GetRestoreTestingSelectionCommand.js +1 -3
  50. package/dist-es/commands/GetSupportedResourceTypesCommand.js +1 -3
  51. package/dist-es/commands/ListBackupJobSummariesCommand.js +1 -3
  52. package/dist-es/commands/ListBackupJobsCommand.js +1 -3
  53. package/dist-es/commands/ListBackupPlanTemplatesCommand.js +1 -3
  54. package/dist-es/commands/ListBackupPlanVersionsCommand.js +1 -3
  55. package/dist-es/commands/ListBackupPlansCommand.js +1 -3
  56. package/dist-es/commands/ListBackupSelectionsCommand.js +1 -3
  57. package/dist-es/commands/ListBackupVaultsCommand.js +1 -3
  58. package/dist-es/commands/ListCopyJobSummariesCommand.js +1 -3
  59. package/dist-es/commands/ListCopyJobsCommand.js +1 -3
  60. package/dist-es/commands/ListFrameworksCommand.js +1 -3
  61. package/dist-es/commands/ListLegalHoldsCommand.js +1 -3
  62. package/dist-es/commands/ListProtectedResourcesByBackupVaultCommand.js +1 -3
  63. package/dist-es/commands/ListProtectedResourcesCommand.js +1 -3
  64. package/dist-es/commands/ListRecoveryPointsByBackupVaultCommand.js +1 -3
  65. package/dist-es/commands/ListRecoveryPointsByLegalHoldCommand.js +1 -3
  66. package/dist-es/commands/ListRecoveryPointsByResourceCommand.js +1 -3
  67. package/dist-es/commands/ListReportJobsCommand.js +1 -3
  68. package/dist-es/commands/ListReportPlansCommand.js +1 -3
  69. package/dist-es/commands/ListRestoreJobSummariesCommand.js +1 -3
  70. package/dist-es/commands/ListRestoreJobsByProtectedResourceCommand.js +1 -3
  71. package/dist-es/commands/ListRestoreJobsCommand.js +1 -3
  72. package/dist-es/commands/ListRestoreTestingPlansCommand.js +1 -3
  73. package/dist-es/commands/ListRestoreTestingSelectionsCommand.js +1 -3
  74. package/dist-es/commands/ListTagsCommand.js +1 -3
  75. package/dist-es/commands/PutBackupVaultAccessPolicyCommand.js +1 -3
  76. package/dist-es/commands/PutBackupVaultLockConfigurationCommand.js +1 -3
  77. package/dist-es/commands/PutBackupVaultNotificationsCommand.js +1 -3
  78. package/dist-es/commands/PutRestoreValidationResultCommand.js +1 -3
  79. package/dist-es/commands/StartBackupJobCommand.js +1 -3
  80. package/dist-es/commands/StartCopyJobCommand.js +1 -3
  81. package/dist-es/commands/StartReportJobCommand.js +1 -3
  82. package/dist-es/commands/StartRestoreJobCommand.js +1 -3
  83. package/dist-es/commands/StopBackupJobCommand.js +1 -3
  84. package/dist-es/commands/TagResourceCommand.js +1 -3
  85. package/dist-es/commands/UntagResourceCommand.js +1 -3
  86. package/dist-es/commands/UpdateBackupPlanCommand.js +1 -3
  87. package/dist-es/commands/UpdateFrameworkCommand.js +1 -3
  88. package/dist-es/commands/UpdateGlobalSettingsCommand.js +1 -3
  89. package/dist-es/commands/UpdateRecoveryPointLifecycleCommand.js +1 -3
  90. package/dist-es/commands/UpdateRegionSettingsCommand.js +1 -3
  91. package/dist-es/commands/UpdateReportPlanCommand.js +1 -3
  92. package/dist-es/commands/UpdateRestoreTestingPlanCommand.js +1 -3
  93. package/dist-es/commands/UpdateRestoreTestingSelectionCommand.js +1 -3
  94. package/dist-es/endpoint/endpointResolver.js +7 -3
  95. package/dist-types/runtimeConfig.browser.d.ts +2 -0
  96. package/dist-types/runtimeConfig.d.ts +2 -0
  97. package/dist-types/runtimeConfig.native.d.ts +2 -0
  98. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
  99. package/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
  100. package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
  101. package/package.json +35 -35
@@ -6,9 +6,7 @@ import { de_ListBackupSelectionsCommand, se_ListBackupSelectionsCommand } from "
6
6
  export { $Command };
7
7
  export class ListBackupSelectionsCommand 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_ListBackupVaultsCommand, se_ListBackupVaultsCommand } from "../proto
6
6
  export { $Command };
7
7
  export class ListBackupVaultsCommand 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_ListCopyJobSummariesCommand, se_ListCopyJobSummariesCommand } from "
6
6
  export { $Command };
7
7
  export class ListCopyJobSummariesCommand 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_ListCopyJobsCommand, se_ListCopyJobsCommand } from "../protocols/Aws
6
6
  export { $Command };
7
7
  export class ListCopyJobsCommand 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_ListFrameworksCommand, se_ListFrameworksCommand } from "../protocols
6
6
  export { $Command };
7
7
  export class ListFrameworksCommand 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_ListLegalHoldsCommand, se_ListLegalHoldsCommand } from "../protocols
6
6
  export { $Command };
7
7
  export class ListLegalHoldsCommand 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_ListProtectedResourcesByBackupVaultCommand, se_ListProtectedResource
6
6
  export { $Command };
7
7
  export class ListProtectedResourcesByBackupVaultCommand 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_ListProtectedResourcesCommand, se_ListProtectedResourcesCommand } fr
6
6
  export { $Command };
7
7
  export class ListProtectedResourcesCommand 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_ListRecoveryPointsByBackupVaultCommand, se_ListRecoveryPointsByBacku
6
6
  export { $Command };
7
7
  export class ListRecoveryPointsByBackupVaultCommand 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_ListRecoveryPointsByLegalHoldCommand, se_ListRecoveryPointsByLegalHo
6
6
  export { $Command };
7
7
  export class ListRecoveryPointsByLegalHoldCommand 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_ListRecoveryPointsByResourceCommand, se_ListRecoveryPointsByResource
6
6
  export { $Command };
7
7
  export class ListRecoveryPointsByResourceCommand 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_ListReportJobsCommand, se_ListReportJobsCommand } from "../protocols
6
6
  export { $Command };
7
7
  export class ListReportJobsCommand 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_ListReportPlansCommand, se_ListReportPlansCommand } from "../protoco
6
6
  export { $Command };
7
7
  export class ListReportPlansCommand 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_ListRestoreJobSummariesCommand, se_ListRestoreJobSummariesCommand }
6
6
  export { $Command };
7
7
  export class ListRestoreJobSummariesCommand 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_ListRestoreJobsByProtectedResourceCommand, se_ListRestoreJobsByProte
6
6
  export { $Command };
7
7
  export class ListRestoreJobsByProtectedResourceCommand 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_ListRestoreJobsCommand, se_ListRestoreJobsCommand } from "../protoco
6
6
  export { $Command };
7
7
  export class ListRestoreJobsCommand 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_ListRestoreTestingPlansCommand, se_ListRestoreTestingPlansCommand }
6
6
  export { $Command };
7
7
  export class ListRestoreTestingPlansCommand 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_ListRestoreTestingSelectionsCommand, se_ListRestoreTestingSelections
6
6
  export { $Command };
7
7
  export class ListRestoreTestingSelectionsCommand 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_ListTagsCommand, se_ListTagsCommand } from "../protocols/Aws_restJso
7
7
  export { $Command };
8
8
  export class ListTagsCommand 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_PutBackupVaultAccessPolicyCommand, se_PutBackupVaultAccessPolicyComm
6
6
  export { $Command };
7
7
  export class PutBackupVaultAccessPolicyCommand 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_PutBackupVaultLockConfigurationCommand, se_PutBackupVaultLockConfigu
6
6
  export { $Command };
7
7
  export class PutBackupVaultLockConfigurationCommand 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_PutBackupVaultNotificationsCommand, se_PutBackupVaultNotificationsCo
6
6
  export { $Command };
7
7
  export class PutBackupVaultNotificationsCommand 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_PutRestoreValidationResultCommand, se_PutRestoreValidationResultComm
6
6
  export { $Command };
7
7
  export class PutRestoreValidationResultCommand 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_StartBackupJobCommand, se_StartBackupJobCommand } from "../protocols
7
7
  export { $Command };
8
8
  export class StartBackupJobCommand 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_StartCopyJobCommand, se_StartCopyJobCommand } from "../protocols/Aws
6
6
  export { $Command };
7
7
  export class StartCopyJobCommand 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_StartReportJobCommand, se_StartReportJobCommand } from "../protocols
6
6
  export { $Command };
7
7
  export class StartReportJobCommand 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_StartRestoreJobCommand, se_StartRestoreJobCommand } from "../protoco
7
7
  export { $Command };
8
8
  export class StartRestoreJobCommand 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_StopBackupJobCommand, se_StopBackupJobCommand } from "../protocols/A
6
6
  export { $Command };
7
7
  export class StopBackupJobCommand 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_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_r
7
7
  export { $Command };
8
8
  export class TagResourceCommand 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_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/A
7
7
  export { $Command };
8
8
  export class UntagResourceCommand 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_UpdateBackupPlanCommand, se_UpdateBackupPlanCommand } from "../proto
7
7
  export { $Command };
8
8
  export class UpdateBackupPlanCommand 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_UpdateFrameworkCommand, se_UpdateFrameworkCommand } from "../protoco
6
6
  export { $Command };
7
7
  export class UpdateFrameworkCommand 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_UpdateGlobalSettingsCommand, se_UpdateGlobalSettingsCommand } from "
6
6
  export { $Command };
7
7
  export class UpdateGlobalSettingsCommand 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_UpdateRecoveryPointLifecycleCommand, se_UpdateRecoveryPointLifecycle
6
6
  export { $Command };
7
7
  export class UpdateRecoveryPointLifecycleCommand 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_UpdateRegionSettingsCommand, se_UpdateRegionSettingsCommand } from "
6
6
  export { $Command };
7
7
  export class UpdateRegionSettingsCommand 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_UpdateReportPlanCommand, se_UpdateReportPlanCommand } from "../proto
6
6
  export { $Command };
7
7
  export class UpdateReportPlanCommand 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_UpdateRestoreTestingPlanCommand, se_UpdateRestoreTestingPlanCommand
6
6
  export { $Command };
7
7
  export class UpdateRestoreTestingPlanCommand 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_UpdateRestoreTestingSelectionCommand, se_UpdateRestoreTestingSelecti
7
7
  export { $Command };
8
8
  export class UpdateRestoreTestingSelectionCommand 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: BackupClientConfig) => {
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: BackupClientConfig) => {
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").BackupHttpAuthSchemeProvider;
39
41
  credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
@@ -18,6 +18,7 @@ export declare const getRuntimeConfig: (config: BackupClientConfig) => {
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: BackupClientConfig) => {
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").BackupHttpAuthSchemeProvider;
39
41
  credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
@@ -7,6 +7,7 @@ export declare const getRuntimeConfig: (config: BackupClientConfig) => {
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: BackupClientConfig) => {
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").BackupHttpAuthSchemeProvider;
38
40
  credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
@@ -23,6 +23,7 @@ export declare const getRuntimeConfig: (config: BackupClientConfig) => {
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: BackupClientConfig) => {
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").BackupHttpAuthSchemeProvider;
66
68
  credentials?:
@@ -27,6 +27,7 @@ export declare const getRuntimeConfig: (config: BackupClientConfig) => {
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: BackupClientConfig) => {
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").BackupHttpAuthSchemeProvider;
70
72
  credentials?:
@@ -9,6 +9,7 @@ export declare const getRuntimeConfig: (config: BackupClientConfig) => {
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: BackupClientConfig) => {
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").BackupHttpAuthSchemeProvider;
60
62
  credentials?: