@aws-sdk/client-backup 3.928.0 → 3.930.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 (123) hide show
  1. package/dist-cjs/index.js +4508 -4514
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/BackupClient.js +2 -0
  4. package/dist-es/commands/AssociateBackupVaultMpaApprovalTeamCommand.js +3 -10
  5. package/dist-es/commands/CancelLegalHoldCommand.js +3 -9
  6. package/dist-es/commands/CreateBackupPlanCommand.js +3 -10
  7. package/dist-es/commands/CreateBackupSelectionCommand.js +3 -9
  8. package/dist-es/commands/CreateBackupVaultCommand.js +3 -10
  9. package/dist-es/commands/CreateFrameworkCommand.js +3 -9
  10. package/dist-es/commands/CreateLegalHoldCommand.js +3 -10
  11. package/dist-es/commands/CreateLogicallyAirGappedBackupVaultCommand.js +3 -10
  12. package/dist-es/commands/CreateReportPlanCommand.js +3 -9
  13. package/dist-es/commands/CreateRestoreAccessBackupVaultCommand.js +3 -10
  14. package/dist-es/commands/CreateRestoreTestingPlanCommand.js +3 -10
  15. package/dist-es/commands/CreateRestoreTestingSelectionCommand.js +3 -10
  16. package/dist-es/commands/DeleteBackupPlanCommand.js +3 -9
  17. package/dist-es/commands/DeleteBackupSelectionCommand.js +3 -9
  18. package/dist-es/commands/DeleteBackupVaultAccessPolicyCommand.js +3 -9
  19. package/dist-es/commands/DeleteBackupVaultCommand.js +3 -9
  20. package/dist-es/commands/DeleteBackupVaultLockConfigurationCommand.js +3 -9
  21. package/dist-es/commands/DeleteBackupVaultNotificationsCommand.js +3 -9
  22. package/dist-es/commands/DeleteFrameworkCommand.js +3 -9
  23. package/dist-es/commands/DeleteRecoveryPointCommand.js +3 -9
  24. package/dist-es/commands/DeleteReportPlanCommand.js +3 -9
  25. package/dist-es/commands/DeleteRestoreTestingPlanCommand.js +3 -9
  26. package/dist-es/commands/DeleteRestoreTestingSelectionCommand.js +3 -9
  27. package/dist-es/commands/DescribeBackupJobCommand.js +3 -9
  28. package/dist-es/commands/DescribeBackupVaultCommand.js +3 -9
  29. package/dist-es/commands/DescribeCopyJobCommand.js +3 -9
  30. package/dist-es/commands/DescribeFrameworkCommand.js +3 -9
  31. package/dist-es/commands/DescribeGlobalSettingsCommand.js +3 -9
  32. package/dist-es/commands/DescribeProtectedResourceCommand.js +3 -9
  33. package/dist-es/commands/DescribeRecoveryPointCommand.js +3 -9
  34. package/dist-es/commands/DescribeRegionSettingsCommand.js +3 -9
  35. package/dist-es/commands/DescribeReportJobCommand.js +3 -9
  36. package/dist-es/commands/DescribeReportPlanCommand.js +3 -9
  37. package/dist-es/commands/DescribeRestoreJobCommand.js +3 -9
  38. package/dist-es/commands/DisassociateBackupVaultMpaApprovalTeamCommand.js +3 -10
  39. package/dist-es/commands/DisassociateRecoveryPointCommand.js +3 -9
  40. package/dist-es/commands/DisassociateRecoveryPointFromParentCommand.js +3 -9
  41. package/dist-es/commands/ExportBackupPlanTemplateCommand.js +3 -9
  42. package/dist-es/commands/GetBackupPlanCommand.js +3 -10
  43. package/dist-es/commands/GetBackupPlanFromJSONCommand.js +3 -10
  44. package/dist-es/commands/GetBackupPlanFromTemplateCommand.js +3 -10
  45. package/dist-es/commands/GetBackupSelectionCommand.js +3 -9
  46. package/dist-es/commands/GetBackupVaultAccessPolicyCommand.js +3 -9
  47. package/dist-es/commands/GetBackupVaultNotificationsCommand.js +3 -9
  48. package/dist-es/commands/GetLegalHoldCommand.js +3 -9
  49. package/dist-es/commands/GetRecoveryPointIndexDetailsCommand.js +3 -9
  50. package/dist-es/commands/GetRecoveryPointRestoreMetadataCommand.js +3 -10
  51. package/dist-es/commands/GetRestoreJobMetadataCommand.js +3 -10
  52. package/dist-es/commands/GetRestoreTestingInferredMetadataCommand.js +3 -9
  53. package/dist-es/commands/GetRestoreTestingPlanCommand.js +3 -9
  54. package/dist-es/commands/GetRestoreTestingSelectionCommand.js +3 -10
  55. package/dist-es/commands/GetSupportedResourceTypesCommand.js +3 -9
  56. package/dist-es/commands/ListBackupJobSummariesCommand.js +3 -9
  57. package/dist-es/commands/ListBackupJobsCommand.js +3 -9
  58. package/dist-es/commands/ListBackupPlanTemplatesCommand.js +3 -9
  59. package/dist-es/commands/ListBackupPlanVersionsCommand.js +3 -9
  60. package/dist-es/commands/ListBackupPlansCommand.js +3 -9
  61. package/dist-es/commands/ListBackupSelectionsCommand.js +3 -9
  62. package/dist-es/commands/ListBackupVaultsCommand.js +3 -9
  63. package/dist-es/commands/ListCopyJobSummariesCommand.js +3 -9
  64. package/dist-es/commands/ListCopyJobsCommand.js +3 -9
  65. package/dist-es/commands/ListFrameworksCommand.js +3 -9
  66. package/dist-es/commands/ListIndexedRecoveryPointsCommand.js +3 -9
  67. package/dist-es/commands/ListLegalHoldsCommand.js +3 -9
  68. package/dist-es/commands/ListProtectedResourcesByBackupVaultCommand.js +3 -9
  69. package/dist-es/commands/ListProtectedResourcesCommand.js +3 -9
  70. package/dist-es/commands/ListRecoveryPointsByBackupVaultCommand.js +3 -9
  71. package/dist-es/commands/ListRecoveryPointsByLegalHoldCommand.js +3 -9
  72. package/dist-es/commands/ListRecoveryPointsByResourceCommand.js +3 -9
  73. package/dist-es/commands/ListReportJobsCommand.js +3 -9
  74. package/dist-es/commands/ListReportPlansCommand.js +3 -9
  75. package/dist-es/commands/ListRestoreAccessBackupVaultsCommand.js +3 -9
  76. package/dist-es/commands/ListRestoreJobSummariesCommand.js +3 -9
  77. package/dist-es/commands/ListRestoreJobsByProtectedResourceCommand.js +3 -9
  78. package/dist-es/commands/ListRestoreJobsCommand.js +3 -9
  79. package/dist-es/commands/ListRestoreTestingPlansCommand.js +3 -9
  80. package/dist-es/commands/ListRestoreTestingSelectionsCommand.js +3 -9
  81. package/dist-es/commands/ListTagsCommand.js +3 -10
  82. package/dist-es/commands/PutBackupVaultAccessPolicyCommand.js +3 -9
  83. package/dist-es/commands/PutBackupVaultLockConfigurationCommand.js +3 -9
  84. package/dist-es/commands/PutBackupVaultNotificationsCommand.js +3 -9
  85. package/dist-es/commands/PutRestoreValidationResultCommand.js +3 -9
  86. package/dist-es/commands/RevokeRestoreAccessBackupVaultCommand.js +3 -10
  87. package/dist-es/commands/StartBackupJobCommand.js +3 -10
  88. package/dist-es/commands/StartCopyJobCommand.js +3 -9
  89. package/dist-es/commands/StartReportJobCommand.js +3 -9
  90. package/dist-es/commands/StartRestoreJobCommand.js +3 -10
  91. package/dist-es/commands/StopBackupJobCommand.js +3 -9
  92. package/dist-es/commands/TagResourceCommand.js +3 -10
  93. package/dist-es/commands/UntagResourceCommand.js +3 -10
  94. package/dist-es/commands/UpdateBackupPlanCommand.js +3 -10
  95. package/dist-es/commands/UpdateFrameworkCommand.js +3 -9
  96. package/dist-es/commands/UpdateGlobalSettingsCommand.js +3 -9
  97. package/dist-es/commands/UpdateRecoveryPointIndexSettingsCommand.js +3 -9
  98. package/dist-es/commands/UpdateRecoveryPointLifecycleCommand.js +3 -9
  99. package/dist-es/commands/UpdateRegionSettingsCommand.js +3 -9
  100. package/dist-es/commands/UpdateReportPlanCommand.js +3 -9
  101. package/dist-es/commands/UpdateRestoreTestingPlanCommand.js +3 -9
  102. package/dist-es/commands/UpdateRestoreTestingSelectionCommand.js +3 -10
  103. package/dist-es/models/models_0.js +0 -129
  104. package/dist-es/runtimeConfig.shared.js +2 -0
  105. package/dist-es/schemas/schemas_0.js +4363 -0
  106. package/dist-types/BackupClient.d.ts +10 -1
  107. package/dist-types/models/models_0.d.ts +0 -120
  108. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  109. package/dist-types/runtimeConfig.d.ts +1 -0
  110. package/dist-types/runtimeConfig.native.d.ts +1 -0
  111. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  112. package/dist-types/schemas/schemas_0.d.ts +398 -0
  113. package/dist-types/ts3.4/BackupClient.d.ts +4 -0
  114. package/dist-types/ts3.4/models/models_0.d.ts +0 -86
  115. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  116. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  117. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  118. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  119. package/dist-types/ts3.4/schemas/schemas_0.d.ts +405 -0
  120. package/package.json +33 -34
  121. package/dist-es/protocols/Aws_restJson1.js +0 -3702
  122. package/dist-types/protocols/Aws_restJson1.d.ts +0 -893
  123. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -1193
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateFrameworkCommand, se_UpdateFrameworkCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateFramework } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateFrameworkCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("CryoControllerUserManager", "UpdateFramework", {})
17
13
  .n("BackupClient", "UpdateFrameworkCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateFrameworkCommand)
20
- .de(de_UpdateFrameworkCommand)
14
+ .sc(UpdateFramework)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateGlobalSettingsCommand, se_UpdateGlobalSettingsCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateGlobalSettings } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateGlobalSettingsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("CryoControllerUserManager", "UpdateGlobalSettings", {})
17
13
  .n("BackupClient", "UpdateGlobalSettingsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateGlobalSettingsCommand)
20
- .de(de_UpdateGlobalSettingsCommand)
14
+ .sc(UpdateGlobalSettings)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateRecoveryPointIndexSettingsCommand, se_UpdateRecoveryPointIndexSettingsCommand, } from "../protocols/Aws_restJson1";
4
+ import { UpdateRecoveryPointIndexSettings } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateRecoveryPointIndexSettingsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("CryoControllerUserManager", "UpdateRecoveryPointIndexSettings", {})
17
13
  .n("BackupClient", "UpdateRecoveryPointIndexSettingsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateRecoveryPointIndexSettingsCommand)
20
- .de(de_UpdateRecoveryPointIndexSettingsCommand)
14
+ .sc(UpdateRecoveryPointIndexSettings)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateRecoveryPointLifecycleCommand, se_UpdateRecoveryPointLifecycleCommand, } from "../protocols/Aws_restJson1";
4
+ import { UpdateRecoveryPointLifecycle } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateRecoveryPointLifecycleCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("CryoControllerUserManager", "UpdateRecoveryPointLifecycle", {})
17
13
  .n("BackupClient", "UpdateRecoveryPointLifecycleCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateRecoveryPointLifecycleCommand)
20
- .de(de_UpdateRecoveryPointLifecycleCommand)
14
+ .sc(UpdateRecoveryPointLifecycle)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateRegionSettingsCommand, se_UpdateRegionSettingsCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateRegionSettings } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateRegionSettingsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("CryoControllerUserManager", "UpdateRegionSettings", {})
17
13
  .n("BackupClient", "UpdateRegionSettingsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateRegionSettingsCommand)
20
- .de(de_UpdateRegionSettingsCommand)
14
+ .sc(UpdateRegionSettings)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateReportPlanCommand, se_UpdateReportPlanCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateReportPlan } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateReportPlanCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("CryoControllerUserManager", "UpdateReportPlan", {})
17
13
  .n("BackupClient", "UpdateReportPlanCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateReportPlanCommand)
20
- .de(de_UpdateReportPlanCommand)
14
+ .sc(UpdateReportPlan)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateRestoreTestingPlanCommand, se_UpdateRestoreTestingPlanCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateRestoreTestingPlan } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateRestoreTestingPlanCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("CryoControllerUserManager", "UpdateRestoreTestingPlan", {})
17
13
  .n("BackupClient", "UpdateRestoreTestingPlanCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateRestoreTestingPlanCommand)
20
- .de(de_UpdateRestoreTestingPlanCommand)
14
+ .sc(UpdateRestoreTestingPlan)
21
15
  .build() {
22
16
  }
@@ -1,23 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { UpdateRestoreTestingSelectionInputFilterSensitiveLog, } from "../models/models_0";
6
- import { de_UpdateRestoreTestingSelectionCommand, se_UpdateRestoreTestingSelectionCommand, } from "../protocols/Aws_restJson1";
4
+ import { UpdateRestoreTestingSelection } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class UpdateRestoreTestingSelectionCommand extends $Command
9
7
  .classBuilder()
10
8
  .ep(commonParams)
11
9
  .m(function (Command, cs, config, o) {
12
- return [
13
- getSerdePlugin(config, this.serialize, this.deserialize),
14
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
16
11
  })
17
12
  .s("CryoControllerUserManager", "UpdateRestoreTestingSelection", {})
18
13
  .n("BackupClient", "UpdateRestoreTestingSelectionCommand")
19
- .f(UpdateRestoreTestingSelectionInputFilterSensitiveLog, void 0)
20
- .ser(se_UpdateRestoreTestingSelectionCommand)
21
- .de(de_UpdateRestoreTestingSelectionCommand)
14
+ .sc(UpdateRestoreTestingSelection)
22
15
  .build() {
23
16
  }
@@ -1,4 +1,3 @@
1
- import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
1
  import { BackupServiceException as __BaseException } from "./BackupServiceException";
3
2
  export const AggregationPeriod = {
4
3
  FOURTEEN_DAYS: "FOURTEEN_DAYS",
@@ -373,131 +372,3 @@ export const Index = {
373
372
  DISABLED: "DISABLED",
374
373
  ENABLED: "ENABLED",
375
374
  };
376
- export const AssociateBackupVaultMpaApprovalTeamInputFilterSensitiveLog = (obj) => ({
377
- ...obj,
378
- ...(obj.RequesterComment && { RequesterComment: SENSITIVE_STRING }),
379
- });
380
- export const BackupRuleFilterSensitiveLog = (obj) => ({
381
- ...obj,
382
- ...(obj.RecoveryPointTags && { RecoveryPointTags: SENSITIVE_STRING }),
383
- });
384
- export const BackupPlanFilterSensitiveLog = (obj) => ({
385
- ...obj,
386
- ...(obj.Rules && { Rules: obj.Rules.map((item) => BackupRuleFilterSensitiveLog(item)) }),
387
- });
388
- export const BackupRuleInputFilterSensitiveLog = (obj) => ({
389
- ...obj,
390
- ...(obj.RecoveryPointTags && { RecoveryPointTags: SENSITIVE_STRING }),
391
- });
392
- export const BackupPlanInputFilterSensitiveLog = (obj) => ({
393
- ...obj,
394
- ...(obj.Rules && { Rules: obj.Rules.map((item) => BackupRuleInputFilterSensitiveLog(item)) }),
395
- });
396
- export const CreateBackupPlanInputFilterSensitiveLog = (obj) => ({
397
- ...obj,
398
- ...(obj.BackupPlan && { BackupPlan: BackupPlanInputFilterSensitiveLog(obj.BackupPlan) }),
399
- ...(obj.BackupPlanTags && { BackupPlanTags: SENSITIVE_STRING }),
400
- });
401
- export const CreateBackupVaultInputFilterSensitiveLog = (obj) => ({
402
- ...obj,
403
- ...(obj.BackupVaultTags && { BackupVaultTags: SENSITIVE_STRING }),
404
- });
405
- export const CreateLegalHoldInputFilterSensitiveLog = (obj) => ({
406
- ...obj,
407
- ...(obj.Tags && { Tags: SENSITIVE_STRING }),
408
- });
409
- export const CreateLogicallyAirGappedBackupVaultInputFilterSensitiveLog = (obj) => ({
410
- ...obj,
411
- ...(obj.BackupVaultTags && { BackupVaultTags: SENSITIVE_STRING }),
412
- });
413
- export const CreateRestoreAccessBackupVaultInputFilterSensitiveLog = (obj) => ({
414
- ...obj,
415
- ...(obj.BackupVaultTags && { BackupVaultTags: SENSITIVE_STRING }),
416
- ...(obj.RequesterComment && { RequesterComment: SENSITIVE_STRING }),
417
- });
418
- export const CreateRestoreTestingPlanInputFilterSensitiveLog = (obj) => ({
419
- ...obj,
420
- ...(obj.Tags && { Tags: SENSITIVE_STRING }),
421
- });
422
- export const RestoreTestingSelectionForCreateFilterSensitiveLog = (obj) => ({
423
- ...obj,
424
- ...(obj.RestoreMetadataOverrides && { RestoreMetadataOverrides: SENSITIVE_STRING }),
425
- });
426
- export const CreateRestoreTestingSelectionInputFilterSensitiveLog = (obj) => ({
427
- ...obj,
428
- ...(obj.RestoreTestingSelection && {
429
- RestoreTestingSelection: RestoreTestingSelectionForCreateFilterSensitiveLog(obj.RestoreTestingSelection),
430
- }),
431
- });
432
- export const DisassociateBackupVaultMpaApprovalTeamInputFilterSensitiveLog = (obj) => ({
433
- ...obj,
434
- ...(obj.RequesterComment && { RequesterComment: SENSITIVE_STRING }),
435
- });
436
- export const GetBackupPlanOutputFilterSensitiveLog = (obj) => ({
437
- ...obj,
438
- ...(obj.BackupPlan && { BackupPlan: BackupPlanFilterSensitiveLog(obj.BackupPlan) }),
439
- });
440
- export const GetBackupPlanFromJSONOutputFilterSensitiveLog = (obj) => ({
441
- ...obj,
442
- ...(obj.BackupPlan && { BackupPlan: BackupPlanFilterSensitiveLog(obj.BackupPlan) }),
443
- });
444
- export const GetBackupPlanFromTemplateOutputFilterSensitiveLog = (obj) => ({
445
- ...obj,
446
- ...(obj.BackupPlanDocument && { BackupPlanDocument: BackupPlanFilterSensitiveLog(obj.BackupPlanDocument) }),
447
- });
448
- export const GetRecoveryPointRestoreMetadataOutputFilterSensitiveLog = (obj) => ({
449
- ...obj,
450
- ...(obj.RestoreMetadata && { RestoreMetadata: SENSITIVE_STRING }),
451
- });
452
- export const GetRestoreJobMetadataOutputFilterSensitiveLog = (obj) => ({
453
- ...obj,
454
- ...(obj.Metadata && { Metadata: SENSITIVE_STRING }),
455
- });
456
- export const RestoreTestingSelectionForGetFilterSensitiveLog = (obj) => ({
457
- ...obj,
458
- ...(obj.RestoreMetadataOverrides && { RestoreMetadataOverrides: SENSITIVE_STRING }),
459
- });
460
- export const GetRestoreTestingSelectionOutputFilterSensitiveLog = (obj) => ({
461
- ...obj,
462
- ...(obj.RestoreTestingSelection && {
463
- RestoreTestingSelection: RestoreTestingSelectionForGetFilterSensitiveLog(obj.RestoreTestingSelection),
464
- }),
465
- });
466
- export const ListTagsOutputFilterSensitiveLog = (obj) => ({
467
- ...obj,
468
- ...(obj.Tags && { Tags: SENSITIVE_STRING }),
469
- });
470
- export const RevokeRestoreAccessBackupVaultInputFilterSensitiveLog = (obj) => ({
471
- ...obj,
472
- ...(obj.RequesterComment && { RequesterComment: SENSITIVE_STRING }),
473
- });
474
- export const StartBackupJobInputFilterSensitiveLog = (obj) => ({
475
- ...obj,
476
- ...(obj.RecoveryPointTags && { RecoveryPointTags: SENSITIVE_STRING }),
477
- });
478
- export const StartRestoreJobInputFilterSensitiveLog = (obj) => ({
479
- ...obj,
480
- ...(obj.Metadata && { Metadata: SENSITIVE_STRING }),
481
- });
482
- export const TagResourceInputFilterSensitiveLog = (obj) => ({
483
- ...obj,
484
- ...(obj.Tags && { Tags: SENSITIVE_STRING }),
485
- });
486
- export const UntagResourceInputFilterSensitiveLog = (obj) => ({
487
- ...obj,
488
- ...(obj.TagKeyList && { TagKeyList: SENSITIVE_STRING }),
489
- });
490
- export const UpdateBackupPlanInputFilterSensitiveLog = (obj) => ({
491
- ...obj,
492
- ...(obj.BackupPlan && { BackupPlan: BackupPlanInputFilterSensitiveLog(obj.BackupPlan) }),
493
- });
494
- export const RestoreTestingSelectionForUpdateFilterSensitiveLog = (obj) => ({
495
- ...obj,
496
- ...(obj.RestoreMetadataOverrides && { RestoreMetadataOverrides: SENSITIVE_STRING }),
497
- });
498
- export const UpdateRestoreTestingSelectionInputFilterSensitiveLog = (obj) => ({
499
- ...obj,
500
- ...(obj.RestoreTestingSelection && {
501
- RestoreTestingSelection: RestoreTestingSelectionForUpdateFilterSensitiveLog(obj.RestoreTestingSelection),
502
- }),
503
- });
@@ -1,4 +1,5 @@
1
1
  import { AwsSdkSigV4Signer } from "@aws-sdk/core";
2
+ import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
2
3
  import { NoOpLogger } from "@smithy/smithy-client";
3
4
  import { parseUrl } from "@smithy/url-parser";
4
5
  import { fromBase64, toBase64 } from "@smithy/util-base64";
@@ -22,6 +23,7 @@ export const getRuntimeConfig = (config) => {
22
23
  },
23
24
  ],
24
25
  logger: config?.logger ?? new NoOpLogger(),
26
+ protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.backup" }),
25
27
  serviceId: config?.serviceId ?? "Backup",
26
28
  urlParser: config?.urlParser ?? parseUrl,
27
29
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,