@aws-sdk/client-backup 3.50.0 → 3.53.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 (113) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/dist-cjs/index.js +3 -0
  3. package/dist-cjs/models/BackupServiceException.js +11 -0
  4. package/dist-cjs/models/models_0.js +179 -4
  5. package/dist-cjs/protocols/Aws_restJson1.js +653 -2416
  6. package/dist-es/index.js +1 -0
  7. package/dist-es/models/BackupServiceException.js +12 -0
  8. package/dist-es/models/models_0.js +166 -1
  9. package/dist-es/protocols/Aws_restJson1.js +1433 -2691
  10. package/dist-types/Backup.d.ts +14 -12
  11. package/dist-types/commands/CreateBackupSelectionCommand.d.ts +1 -2
  12. package/dist-types/commands/ListTagsCommand.d.ts +4 -5
  13. package/dist-types/commands/UpdateRecoveryPointLifecycleCommand.d.ts +9 -5
  14. package/dist-types/index.d.ts +1 -0
  15. package/dist-types/models/BackupServiceException.d.ts +10 -0
  16. package/dist-types/models/models_0.d.ts +270 -99
  17. package/dist-types/ts3.4/Backup.d.ts +335 -0
  18. package/dist-types/ts3.4/BackupClient.d.ts +139 -0
  19. package/dist-types/ts3.4/commands/CreateBackupPlanCommand.d.ts +17 -0
  20. package/dist-types/ts3.4/commands/CreateBackupSelectionCommand.d.ts +17 -0
  21. package/dist-types/ts3.4/commands/CreateBackupVaultCommand.d.ts +17 -0
  22. package/dist-types/ts3.4/commands/CreateFrameworkCommand.d.ts +17 -0
  23. package/dist-types/ts3.4/commands/CreateReportPlanCommand.d.ts +17 -0
  24. package/dist-types/ts3.4/commands/DeleteBackupPlanCommand.d.ts +17 -0
  25. package/dist-types/ts3.4/commands/DeleteBackupSelectionCommand.d.ts +17 -0
  26. package/dist-types/ts3.4/commands/DeleteBackupVaultAccessPolicyCommand.d.ts +17 -0
  27. package/dist-types/ts3.4/commands/DeleteBackupVaultCommand.d.ts +17 -0
  28. package/dist-types/ts3.4/commands/DeleteBackupVaultLockConfigurationCommand.d.ts +17 -0
  29. package/dist-types/ts3.4/commands/DeleteBackupVaultNotificationsCommand.d.ts +17 -0
  30. package/dist-types/ts3.4/commands/DeleteFrameworkCommand.d.ts +17 -0
  31. package/dist-types/ts3.4/commands/DeleteRecoveryPointCommand.d.ts +17 -0
  32. package/dist-types/ts3.4/commands/DeleteReportPlanCommand.d.ts +17 -0
  33. package/dist-types/ts3.4/commands/DescribeBackupJobCommand.d.ts +17 -0
  34. package/dist-types/ts3.4/commands/DescribeBackupVaultCommand.d.ts +17 -0
  35. package/dist-types/ts3.4/commands/DescribeCopyJobCommand.d.ts +17 -0
  36. package/dist-types/ts3.4/commands/DescribeFrameworkCommand.d.ts +17 -0
  37. package/dist-types/ts3.4/commands/DescribeGlobalSettingsCommand.d.ts +17 -0
  38. package/dist-types/ts3.4/commands/DescribeProtectedResourceCommand.d.ts +17 -0
  39. package/dist-types/ts3.4/commands/DescribeRecoveryPointCommand.d.ts +17 -0
  40. package/dist-types/ts3.4/commands/DescribeRegionSettingsCommand.d.ts +17 -0
  41. package/dist-types/ts3.4/commands/DescribeReportJobCommand.d.ts +17 -0
  42. package/dist-types/ts3.4/commands/DescribeReportPlanCommand.d.ts +17 -0
  43. package/dist-types/ts3.4/commands/DescribeRestoreJobCommand.d.ts +17 -0
  44. package/dist-types/ts3.4/commands/DisassociateRecoveryPointCommand.d.ts +17 -0
  45. package/dist-types/ts3.4/commands/ExportBackupPlanTemplateCommand.d.ts +17 -0
  46. package/dist-types/ts3.4/commands/GetBackupPlanCommand.d.ts +17 -0
  47. package/dist-types/ts3.4/commands/GetBackupPlanFromJSONCommand.d.ts +17 -0
  48. package/dist-types/ts3.4/commands/GetBackupPlanFromTemplateCommand.d.ts +17 -0
  49. package/dist-types/ts3.4/commands/GetBackupSelectionCommand.d.ts +17 -0
  50. package/dist-types/ts3.4/commands/GetBackupVaultAccessPolicyCommand.d.ts +17 -0
  51. package/dist-types/ts3.4/commands/GetBackupVaultNotificationsCommand.d.ts +17 -0
  52. package/dist-types/ts3.4/commands/GetRecoveryPointRestoreMetadataCommand.d.ts +17 -0
  53. package/dist-types/ts3.4/commands/GetSupportedResourceTypesCommand.d.ts +17 -0
  54. package/dist-types/ts3.4/commands/ListBackupJobsCommand.d.ts +17 -0
  55. package/dist-types/ts3.4/commands/ListBackupPlanTemplatesCommand.d.ts +17 -0
  56. package/dist-types/ts3.4/commands/ListBackupPlanVersionsCommand.d.ts +17 -0
  57. package/dist-types/ts3.4/commands/ListBackupPlansCommand.d.ts +17 -0
  58. package/dist-types/ts3.4/commands/ListBackupSelectionsCommand.d.ts +17 -0
  59. package/dist-types/ts3.4/commands/ListBackupVaultsCommand.d.ts +17 -0
  60. package/dist-types/ts3.4/commands/ListCopyJobsCommand.d.ts +17 -0
  61. package/dist-types/ts3.4/commands/ListFrameworksCommand.d.ts +17 -0
  62. package/dist-types/ts3.4/commands/ListProtectedResourcesCommand.d.ts +17 -0
  63. package/dist-types/ts3.4/commands/ListRecoveryPointsByBackupVaultCommand.d.ts +17 -0
  64. package/dist-types/ts3.4/commands/ListRecoveryPointsByResourceCommand.d.ts +17 -0
  65. package/dist-types/ts3.4/commands/ListReportJobsCommand.d.ts +17 -0
  66. package/dist-types/ts3.4/commands/ListReportPlansCommand.d.ts +17 -0
  67. package/dist-types/ts3.4/commands/ListRestoreJobsCommand.d.ts +17 -0
  68. package/dist-types/ts3.4/commands/ListTagsCommand.d.ts +17 -0
  69. package/dist-types/ts3.4/commands/PutBackupVaultAccessPolicyCommand.d.ts +17 -0
  70. package/dist-types/ts3.4/commands/PutBackupVaultLockConfigurationCommand.d.ts +17 -0
  71. package/dist-types/ts3.4/commands/PutBackupVaultNotificationsCommand.d.ts +17 -0
  72. package/dist-types/ts3.4/commands/StartBackupJobCommand.d.ts +17 -0
  73. package/dist-types/ts3.4/commands/StartCopyJobCommand.d.ts +17 -0
  74. package/dist-types/ts3.4/commands/StartReportJobCommand.d.ts +17 -0
  75. package/dist-types/ts3.4/commands/StartRestoreJobCommand.d.ts +17 -0
  76. package/dist-types/ts3.4/commands/StopBackupJobCommand.d.ts +17 -0
  77. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
  78. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
  79. package/dist-types/ts3.4/commands/UpdateBackupPlanCommand.d.ts +17 -0
  80. package/dist-types/ts3.4/commands/UpdateFrameworkCommand.d.ts +17 -0
  81. package/dist-types/ts3.4/commands/UpdateGlobalSettingsCommand.d.ts +17 -0
  82. package/dist-types/ts3.4/commands/UpdateRecoveryPointLifecycleCommand.d.ts +17 -0
  83. package/dist-types/ts3.4/commands/UpdateRegionSettingsCommand.d.ts +17 -0
  84. package/dist-types/ts3.4/commands/UpdateReportPlanCommand.d.ts +17 -0
  85. package/dist-types/ts3.4/commands/index.d.ts +66 -0
  86. package/dist-types/ts3.4/endpoints.d.ts +2 -0
  87. package/dist-types/ts3.4/index.d.ts +6 -0
  88. package/dist-types/ts3.4/models/BackupServiceException.d.ts +6 -0
  89. package/dist-types/ts3.4/models/index.d.ts +1 -0
  90. package/dist-types/ts3.4/models/models_0.d.ts +2234 -0
  91. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  92. package/dist-types/ts3.4/pagination/ListBackupJobsPaginator.d.ts +4 -0
  93. package/dist-types/ts3.4/pagination/ListBackupPlanTemplatesPaginator.d.ts +4 -0
  94. package/dist-types/ts3.4/pagination/ListBackupPlanVersionsPaginator.d.ts +4 -0
  95. package/dist-types/ts3.4/pagination/ListBackupPlansPaginator.d.ts +4 -0
  96. package/dist-types/ts3.4/pagination/ListBackupSelectionsPaginator.d.ts +4 -0
  97. package/dist-types/ts3.4/pagination/ListBackupVaultsPaginator.d.ts +4 -0
  98. package/dist-types/ts3.4/pagination/ListCopyJobsPaginator.d.ts +4 -0
  99. package/dist-types/ts3.4/pagination/ListFrameworksPaginator.d.ts +4 -0
  100. package/dist-types/ts3.4/pagination/ListProtectedResourcesPaginator.d.ts +4 -0
  101. package/dist-types/ts3.4/pagination/ListRecoveryPointsByBackupVaultPaginator.d.ts +4 -0
  102. package/dist-types/ts3.4/pagination/ListRecoveryPointsByResourcePaginator.d.ts +4 -0
  103. package/dist-types/ts3.4/pagination/ListReportJobsPaginator.d.ts +4 -0
  104. package/dist-types/ts3.4/pagination/ListReportPlansPaginator.d.ts +4 -0
  105. package/dist-types/ts3.4/pagination/ListRestoreJobsPaginator.d.ts +4 -0
  106. package/dist-types/ts3.4/pagination/ListTagsPaginator.d.ts +4 -0
  107. package/dist-types/ts3.4/pagination/index.d.ts +16 -0
  108. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +200 -0
  109. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
  110. package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
  111. package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
  112. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
  113. package/package.json +33 -33
package/CHANGELOG.md CHANGED
@@ -3,6 +3,36 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.53.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.52.0...v3.53.0) (2022-02-24)
7
+
8
+
9
+ ### Features
10
+
11
+ * **clients:** generate service exceptions as classes ([#3267](https://github.com/aws/aws-sdk-js-v3/issues/3267)) ([ca64fee](https://github.com/aws/aws-sdk-js-v3/commit/ca64feed3351c394c07dc26b782a5760a396a074))
12
+
13
+
14
+
15
+
16
+
17
+ # [3.52.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.51.0...v3.52.0) (2022-02-18)
18
+
19
+
20
+ ### Features
21
+
22
+ * **clients:** update clients as of 2022/02/18 ([#3335](https://github.com/aws/aws-sdk-js-v3/issues/3335)) ([717b06f](https://github.com/aws/aws-sdk-js-v3/commit/717b06fc43e9876a6f8040147b75ad5da38b1e0f))
23
+
24
+
25
+
26
+
27
+
28
+ # [3.51.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.50.0...v3.51.0) (2022-02-12)
29
+
30
+ **Note:** Version bump only for package @aws-sdk/client-backup
31
+
32
+
33
+
34
+
35
+
6
36
  # [3.50.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.49.0...v3.50.0) (2022-02-08)
7
37
 
8
38
  **Note:** Version bump only for package @aws-sdk/client-backup
package/dist-cjs/index.js CHANGED
@@ -1,8 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BackupServiceException = void 0;
3
4
  const tslib_1 = require("tslib");
4
5
  tslib_1.__exportStar(require("./Backup"), exports);
5
6
  tslib_1.__exportStar(require("./BackupClient"), exports);
6
7
  tslib_1.__exportStar(require("./commands"), exports);
7
8
  tslib_1.__exportStar(require("./models"), exports);
8
9
  tslib_1.__exportStar(require("./pagination"), exports);
10
+ var BackupServiceException_1 = require("./models/BackupServiceException");
11
+ Object.defineProperty(exports, "BackupServiceException", { enumerable: true, get: function () { return BackupServiceException_1.BackupServiceException; } });
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BackupServiceException = void 0;
4
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
5
+ class BackupServiceException extends smithy_client_1.ServiceException {
6
+ constructor(options) {
7
+ super(options);
8
+ Object.setPrototypeOf(this, BackupServiceException.prototype);
9
+ }
10
+ }
11
+ exports.BackupServiceException = BackupServiceException;
@@ -1,16 +1,36 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DescribeBackupJobOutput = exports.DescribeBackupJobInput = exports.DeleteReportPlanInput = exports.DeleteRecoveryPointInput = exports.DeleteFrameworkInput = exports.DeleteBackupVaultNotificationsInput = exports.DeleteBackupVaultLockConfigurationInput = exports.DeleteBackupVaultAccessPolicyInput = exports.DeleteBackupVaultInput = exports.DeleteBackupSelectionInput = exports.DeleteBackupPlanOutput = exports.DeleteBackupPlanInput = exports.CreateReportPlanOutput = exports.CreateReportPlanInput = exports.ReportSetting = exports.ReportDeliveryChannel = exports.CreateFrameworkOutput = exports.CreateFrameworkInput = exports.FrameworkControl = exports.CreateBackupVaultOutput = exports.CreateBackupVaultInput = exports.CreateBackupSelectionOutput = exports.CreateBackupSelectionInput = exports.CreateBackupPlanOutput = exports.CreateBackupPlanInput = exports.CopyJob = exports.CopyJobState = exports.ControlScope = exports.ControlInputParameter = exports.CalculatedLifecycle = exports.BackupVaultListMember = exports.BackupVaultEvent = exports.BackupSelectionsListMember = exports.BackupSelection = exports.Condition = exports.ConditionType = exports.Conditions = exports.ConditionParameter = exports.BackupPlanTemplatesListMember = exports.BackupPlansListMember = exports.BackupPlanInput = exports.BackupRuleInput = exports.BackupPlan = exports.BackupRule = exports.CopyAction = exports.Lifecycle = exports.BackupJob = exports.BackupJobState = exports.RecoveryPointCreator = exports.AdvancedBackupSetting = void 0;
4
- exports.ListBackupPlanTemplatesOutput = exports.ListBackupPlanTemplatesInput = exports.ListBackupPlansOutput = exports.ListBackupPlansInput = exports.ListBackupJobsOutput = exports.ListBackupJobsInput = exports.GetSupportedResourceTypesOutput = exports.GetRecoveryPointRestoreMetadataOutput = exports.GetRecoveryPointRestoreMetadataInput = exports.GetBackupVaultNotificationsOutput = exports.GetBackupVaultNotificationsInput = exports.GetBackupVaultAccessPolicyOutput = exports.GetBackupVaultAccessPolicyInput = exports.GetBackupSelectionOutput = exports.GetBackupSelectionInput = exports.GetBackupPlanFromTemplateOutput = exports.GetBackupPlanFromTemplateInput = exports.GetBackupPlanFromJSONOutput = exports.GetBackupPlanFromJSONInput = exports.GetBackupPlanOutput = exports.GetBackupPlanInput = exports.ExportBackupPlanTemplateOutput = exports.ExportBackupPlanTemplateInput = exports.DisassociateRecoveryPointInput = exports.DescribeRestoreJobOutput = exports.RestoreJobStatus = exports.DescribeRestoreJobInput = exports.DescribeReportPlanOutput = exports.ReportPlan = exports.DescribeReportPlanInput = exports.DescribeReportJobOutput = exports.ReportJob = exports.ReportDestination = exports.DescribeReportJobInput = exports.DescribeRegionSettingsOutput = exports.DescribeRegionSettingsInput = exports.DescribeRecoveryPointOutput = exports.StorageClass = exports.RecoveryPointStatus = exports.DescribeRecoveryPointInput = exports.DescribeProtectedResourceOutput = exports.DescribeProtectedResourceInput = exports.DescribeGlobalSettingsOutput = exports.DescribeGlobalSettingsInput = exports.DescribeFrameworkOutput = exports.DescribeFrameworkInput = exports.DescribeCopyJobOutput = exports.DescribeCopyJobInput = exports.DescribeBackupVaultOutput = exports.DescribeBackupVaultInput = void 0;
5
- exports.UpdateRecoveryPointLifecycleOutput = exports.UpdateRecoveryPointLifecycleInput = exports.UpdateGlobalSettingsInput = exports.UpdateFrameworkOutput = exports.UpdateFrameworkInput = exports.UpdateBackupPlanOutput = exports.UpdateBackupPlanInput = exports.UntagResourceInput = exports.TagResourceInput = exports.StopBackupJobInput = exports.StartRestoreJobOutput = exports.StartRestoreJobInput = exports.StartReportJobOutput = exports.StartReportJobInput = exports.StartCopyJobOutput = exports.StartCopyJobInput = exports.StartBackupJobOutput = exports.StartBackupJobInput = exports.PutBackupVaultNotificationsInput = exports.PutBackupVaultLockConfigurationInput = exports.PutBackupVaultAccessPolicyInput = exports.ListTagsOutput = exports.ListTagsInput = exports.ListRestoreJobsOutput = exports.RestoreJobsListMember = exports.ListRestoreJobsInput = exports.ListReportPlansOutput = exports.ListReportPlansInput = exports.ListReportJobsOutput = exports.ListReportJobsInput = exports.ListRecoveryPointsByResourceOutput = exports.RecoveryPointByResource = exports.ListRecoveryPointsByResourceInput = exports.ListRecoveryPointsByBackupVaultOutput = exports.RecoveryPointByBackupVault = exports.ListRecoveryPointsByBackupVaultInput = exports.ListProtectedResourcesOutput = exports.ProtectedResource = exports.ListProtectedResourcesInput = exports.ListFrameworksOutput = exports.Framework = exports.ListFrameworksInput = exports.ListCopyJobsOutput = exports.ListCopyJobsInput = exports.ListBackupVaultsOutput = exports.ListBackupVaultsInput = exports.ListBackupSelectionsOutput = exports.ListBackupSelectionsInput = exports.ListBackupPlanVersionsOutput = exports.ListBackupPlanVersionsInput = void 0;
6
- exports.UpdateReportPlanOutput = exports.UpdateReportPlanInput = exports.UpdateRegionSettingsInput = void 0;
3
+ exports.DeleteBackupVaultInput = exports.DeleteBackupSelectionInput = exports.ResourceNotFoundException = exports.InvalidRequestException = exports.DeleteBackupPlanOutput = exports.DeleteBackupPlanInput = exports.CreateReportPlanOutput = exports.CreateReportPlanInput = exports.ReportSetting = exports.ReportDeliveryChannel = exports.CreateFrameworkOutput = exports.CreateFrameworkInput = exports.FrameworkControl = exports.CreateBackupVaultOutput = exports.CreateBackupVaultInput = exports.CreateBackupSelectionOutput = exports.CreateBackupSelectionInput = exports.ServiceUnavailableException = exports.MissingParameterValueException = exports.LimitExceededException = exports.InvalidParameterValueException = exports.CreateBackupPlanOutput = exports.CreateBackupPlanInput = exports.CopyJob = exports.CopyJobState = exports.ControlScope = exports.ControlInputParameter = exports.ConflictException = exports.CalculatedLifecycle = exports.BackupVaultListMember = exports.BackupVaultEvent = exports.BackupSelectionsListMember = exports.BackupSelection = exports.Condition = exports.ConditionType = exports.Conditions = exports.ConditionParameter = exports.BackupPlanTemplatesListMember = exports.BackupPlansListMember = exports.BackupPlanInput = exports.BackupRuleInput = exports.BackupPlan = exports.BackupRule = exports.CopyAction = exports.Lifecycle = exports.BackupJob = exports.BackupJobState = exports.RecoveryPointCreator = exports.AlreadyExistsException = exports.AdvancedBackupSetting = void 0;
4
+ exports.GetBackupVaultNotificationsInput = exports.GetBackupVaultAccessPolicyOutput = exports.GetBackupVaultAccessPolicyInput = exports.GetBackupSelectionOutput = exports.GetBackupSelectionInput = exports.GetBackupPlanFromTemplateOutput = exports.GetBackupPlanFromTemplateInput = exports.GetBackupPlanFromJSONOutput = exports.GetBackupPlanFromJSONInput = exports.GetBackupPlanOutput = exports.GetBackupPlanInput = exports.ExportBackupPlanTemplateOutput = exports.ExportBackupPlanTemplateInput = exports.DisassociateRecoveryPointInput = exports.DescribeRestoreJobOutput = exports.RestoreJobStatus = exports.DescribeRestoreJobInput = exports.DescribeReportPlanOutput = exports.ReportPlan = exports.DescribeReportPlanInput = exports.DescribeReportJobOutput = exports.ReportJob = exports.ReportDestination = exports.DescribeReportJobInput = exports.DescribeRegionSettingsOutput = exports.DescribeRegionSettingsInput = exports.DescribeRecoveryPointOutput = exports.StorageClass = exports.RecoveryPointStatus = exports.DescribeRecoveryPointInput = exports.DescribeProtectedResourceOutput = exports.DescribeProtectedResourceInput = exports.DescribeGlobalSettingsOutput = exports.DescribeGlobalSettingsInput = exports.DescribeFrameworkOutput = exports.DescribeFrameworkInput = exports.DescribeCopyJobOutput = exports.DescribeCopyJobInput = exports.DescribeBackupVaultOutput = exports.DescribeBackupVaultInput = exports.DescribeBackupJobOutput = exports.DescribeBackupJobInput = exports.DependencyFailureException = exports.DeleteReportPlanInput = exports.InvalidResourceStateException = exports.DeleteRecoveryPointInput = exports.DeleteFrameworkInput = exports.DeleteBackupVaultNotificationsInput = exports.DeleteBackupVaultLockConfigurationInput = exports.DeleteBackupVaultAccessPolicyInput = void 0;
5
+ exports.StartRestoreJobOutput = exports.StartRestoreJobInput = exports.StartReportJobOutput = exports.StartReportJobInput = exports.StartCopyJobOutput = exports.StartCopyJobInput = exports.StartBackupJobOutput = exports.StartBackupJobInput = exports.PutBackupVaultNotificationsInput = exports.PutBackupVaultLockConfigurationInput = exports.PutBackupVaultAccessPolicyInput = exports.ListTagsOutput = exports.ListTagsInput = exports.ListRestoreJobsOutput = exports.RestoreJobsListMember = exports.ListRestoreJobsInput = exports.ListReportPlansOutput = exports.ListReportPlansInput = exports.ListReportJobsOutput = exports.ListReportJobsInput = exports.ListRecoveryPointsByResourceOutput = exports.RecoveryPointByResource = exports.ListRecoveryPointsByResourceInput = exports.ListRecoveryPointsByBackupVaultOutput = exports.RecoveryPointByBackupVault = exports.ListRecoveryPointsByBackupVaultInput = exports.ListProtectedResourcesOutput = exports.ProtectedResource = exports.ListProtectedResourcesInput = exports.ListFrameworksOutput = exports.Framework = exports.ListFrameworksInput = exports.ListCopyJobsOutput = exports.ListCopyJobsInput = exports.ListBackupVaultsOutput = exports.ListBackupVaultsInput = exports.ListBackupSelectionsOutput = exports.ListBackupSelectionsInput = exports.ListBackupPlanVersionsOutput = exports.ListBackupPlanVersionsInput = exports.ListBackupPlanTemplatesOutput = exports.ListBackupPlanTemplatesInput = exports.ListBackupPlansOutput = exports.ListBackupPlansInput = exports.ListBackupJobsOutput = exports.ListBackupJobsInput = exports.GetSupportedResourceTypesOutput = exports.GetRecoveryPointRestoreMetadataOutput = exports.GetRecoveryPointRestoreMetadataInput = exports.GetBackupVaultNotificationsOutput = void 0;
6
+ exports.UpdateReportPlanOutput = exports.UpdateReportPlanInput = exports.UpdateRegionSettingsInput = exports.UpdateRecoveryPointLifecycleOutput = exports.UpdateRecoveryPointLifecycleInput = exports.UpdateGlobalSettingsInput = exports.UpdateFrameworkOutput = exports.UpdateFrameworkInput = exports.UpdateBackupPlanOutput = exports.UpdateBackupPlanInput = exports.UntagResourceInput = exports.TagResourceInput = exports.StopBackupJobInput = void 0;
7
7
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
+ const BackupServiceException_1 = require("./BackupServiceException");
8
9
  var AdvancedBackupSetting;
9
10
  (function (AdvancedBackupSetting) {
10
11
  AdvancedBackupSetting.filterSensitiveLog = (obj) => ({
11
12
  ...obj,
12
13
  });
13
14
  })(AdvancedBackupSetting = exports.AdvancedBackupSetting || (exports.AdvancedBackupSetting = {}));
15
+ class AlreadyExistsException extends BackupServiceException_1.BackupServiceException {
16
+ constructor(opts) {
17
+ super({
18
+ name: "AlreadyExistsException",
19
+ $fault: "client",
20
+ ...opts,
21
+ });
22
+ this.name = "AlreadyExistsException";
23
+ this.$fault = "client";
24
+ Object.setPrototypeOf(this, AlreadyExistsException.prototype);
25
+ this.Code = opts.Code;
26
+ this.Message = opts.Message;
27
+ this.CreatorRequestId = opts.CreatorRequestId;
28
+ this.Arn = opts.Arn;
29
+ this.Type = opts.Type;
30
+ this.Context = opts.Context;
31
+ }
32
+ }
33
+ exports.AlreadyExistsException = AlreadyExistsException;
14
34
  var RecoveryPointCreator;
15
35
  (function (RecoveryPointCreator) {
16
36
  RecoveryPointCreator.filterSensitiveLog = (obj) => ({
@@ -137,6 +157,8 @@ var BackupVaultEvent;
137
157
  BackupVaultEvent["RESTORE_JOB_FAILED"] = "RESTORE_JOB_FAILED";
138
158
  BackupVaultEvent["RESTORE_JOB_STARTED"] = "RESTORE_JOB_STARTED";
139
159
  BackupVaultEvent["RESTORE_JOB_SUCCESSFUL"] = "RESTORE_JOB_SUCCESSFUL";
160
+ BackupVaultEvent["S3_BACKUP_OBJECT_FAILED"] = "S3_BACKUP_OBJECT_FAILED";
161
+ BackupVaultEvent["S3_RESTORE_OBJECT_FAILED"] = "S3_RESTORE_OBJECT_FAILED";
140
162
  })(BackupVaultEvent = exports.BackupVaultEvent || (exports.BackupVaultEvent = {}));
141
163
  var BackupVaultListMember;
142
164
  (function (BackupVaultListMember) {
@@ -150,6 +172,23 @@ var CalculatedLifecycle;
150
172
  ...obj,
151
173
  });
152
174
  })(CalculatedLifecycle = exports.CalculatedLifecycle || (exports.CalculatedLifecycle = {}));
175
+ class ConflictException extends BackupServiceException_1.BackupServiceException {
176
+ constructor(opts) {
177
+ super({
178
+ name: "ConflictException",
179
+ $fault: "client",
180
+ ...opts,
181
+ });
182
+ this.name = "ConflictException";
183
+ this.$fault = "client";
184
+ Object.setPrototypeOf(this, ConflictException.prototype);
185
+ this.Code = opts.Code;
186
+ this.Message = opts.Message;
187
+ this.Type = opts.Type;
188
+ this.Context = opts.Context;
189
+ }
190
+ }
191
+ exports.ConflictException = ConflictException;
153
192
  var ControlInputParameter;
154
193
  (function (ControlInputParameter) {
155
194
  ControlInputParameter.filterSensitiveLog = (obj) => ({
@@ -189,6 +228,74 @@ var CreateBackupPlanOutput;
189
228
  ...obj,
190
229
  });
191
230
  })(CreateBackupPlanOutput = exports.CreateBackupPlanOutput || (exports.CreateBackupPlanOutput = {}));
231
+ class InvalidParameterValueException extends BackupServiceException_1.BackupServiceException {
232
+ constructor(opts) {
233
+ super({
234
+ name: "InvalidParameterValueException",
235
+ $fault: "client",
236
+ ...opts,
237
+ });
238
+ this.name = "InvalidParameterValueException";
239
+ this.$fault = "client";
240
+ Object.setPrototypeOf(this, InvalidParameterValueException.prototype);
241
+ this.Code = opts.Code;
242
+ this.Message = opts.Message;
243
+ this.Type = opts.Type;
244
+ this.Context = opts.Context;
245
+ }
246
+ }
247
+ exports.InvalidParameterValueException = InvalidParameterValueException;
248
+ class LimitExceededException extends BackupServiceException_1.BackupServiceException {
249
+ constructor(opts) {
250
+ super({
251
+ name: "LimitExceededException",
252
+ $fault: "client",
253
+ ...opts,
254
+ });
255
+ this.name = "LimitExceededException";
256
+ this.$fault = "client";
257
+ Object.setPrototypeOf(this, LimitExceededException.prototype);
258
+ this.Code = opts.Code;
259
+ this.Message = opts.Message;
260
+ this.Type = opts.Type;
261
+ this.Context = opts.Context;
262
+ }
263
+ }
264
+ exports.LimitExceededException = LimitExceededException;
265
+ class MissingParameterValueException extends BackupServiceException_1.BackupServiceException {
266
+ constructor(opts) {
267
+ super({
268
+ name: "MissingParameterValueException",
269
+ $fault: "client",
270
+ ...opts,
271
+ });
272
+ this.name = "MissingParameterValueException";
273
+ this.$fault = "client";
274
+ Object.setPrototypeOf(this, MissingParameterValueException.prototype);
275
+ this.Code = opts.Code;
276
+ this.Message = opts.Message;
277
+ this.Type = opts.Type;
278
+ this.Context = opts.Context;
279
+ }
280
+ }
281
+ exports.MissingParameterValueException = MissingParameterValueException;
282
+ class ServiceUnavailableException extends BackupServiceException_1.BackupServiceException {
283
+ constructor(opts) {
284
+ super({
285
+ name: "ServiceUnavailableException",
286
+ $fault: "server",
287
+ ...opts,
288
+ });
289
+ this.name = "ServiceUnavailableException";
290
+ this.$fault = "server";
291
+ Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
292
+ this.Code = opts.Code;
293
+ this.Message = opts.Message;
294
+ this.Type = opts.Type;
295
+ this.Context = opts.Context;
296
+ }
297
+ }
298
+ exports.ServiceUnavailableException = ServiceUnavailableException;
192
299
  var CreateBackupSelectionInput;
193
300
  (function (CreateBackupSelectionInput) {
194
301
  CreateBackupSelectionInput.filterSensitiveLog = (obj) => ({
@@ -268,6 +375,40 @@ var DeleteBackupPlanOutput;
268
375
  ...obj,
269
376
  });
270
377
  })(DeleteBackupPlanOutput = exports.DeleteBackupPlanOutput || (exports.DeleteBackupPlanOutput = {}));
378
+ class InvalidRequestException extends BackupServiceException_1.BackupServiceException {
379
+ constructor(opts) {
380
+ super({
381
+ name: "InvalidRequestException",
382
+ $fault: "client",
383
+ ...opts,
384
+ });
385
+ this.name = "InvalidRequestException";
386
+ this.$fault = "client";
387
+ Object.setPrototypeOf(this, InvalidRequestException.prototype);
388
+ this.Code = opts.Code;
389
+ this.Message = opts.Message;
390
+ this.Type = opts.Type;
391
+ this.Context = opts.Context;
392
+ }
393
+ }
394
+ exports.InvalidRequestException = InvalidRequestException;
395
+ class ResourceNotFoundException extends BackupServiceException_1.BackupServiceException {
396
+ constructor(opts) {
397
+ super({
398
+ name: "ResourceNotFoundException",
399
+ $fault: "client",
400
+ ...opts,
401
+ });
402
+ this.name = "ResourceNotFoundException";
403
+ this.$fault = "client";
404
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
405
+ this.Code = opts.Code;
406
+ this.Message = opts.Message;
407
+ this.Type = opts.Type;
408
+ this.Context = opts.Context;
409
+ }
410
+ }
411
+ exports.ResourceNotFoundException = ResourceNotFoundException;
271
412
  var DeleteBackupSelectionInput;
272
413
  (function (DeleteBackupSelectionInput) {
273
414
  DeleteBackupSelectionInput.filterSensitiveLog = (obj) => ({
@@ -310,12 +451,46 @@ var DeleteRecoveryPointInput;
310
451
  ...obj,
311
452
  });
312
453
  })(DeleteRecoveryPointInput = exports.DeleteRecoveryPointInput || (exports.DeleteRecoveryPointInput = {}));
454
+ class InvalidResourceStateException extends BackupServiceException_1.BackupServiceException {
455
+ constructor(opts) {
456
+ super({
457
+ name: "InvalidResourceStateException",
458
+ $fault: "client",
459
+ ...opts,
460
+ });
461
+ this.name = "InvalidResourceStateException";
462
+ this.$fault = "client";
463
+ Object.setPrototypeOf(this, InvalidResourceStateException.prototype);
464
+ this.Code = opts.Code;
465
+ this.Message = opts.Message;
466
+ this.Type = opts.Type;
467
+ this.Context = opts.Context;
468
+ }
469
+ }
470
+ exports.InvalidResourceStateException = InvalidResourceStateException;
313
471
  var DeleteReportPlanInput;
314
472
  (function (DeleteReportPlanInput) {
315
473
  DeleteReportPlanInput.filterSensitiveLog = (obj) => ({
316
474
  ...obj,
317
475
  });
318
476
  })(DeleteReportPlanInput = exports.DeleteReportPlanInput || (exports.DeleteReportPlanInput = {}));
477
+ class DependencyFailureException extends BackupServiceException_1.BackupServiceException {
478
+ constructor(opts) {
479
+ super({
480
+ name: "DependencyFailureException",
481
+ $fault: "server",
482
+ ...opts,
483
+ });
484
+ this.name = "DependencyFailureException";
485
+ this.$fault = "server";
486
+ Object.setPrototypeOf(this, DependencyFailureException.prototype);
487
+ this.Code = opts.Code;
488
+ this.Message = opts.Message;
489
+ this.Type = opts.Type;
490
+ this.Context = opts.Context;
491
+ }
492
+ }
493
+ exports.DependencyFailureException = DependencyFailureException;
319
494
  var DescribeBackupJobInput;
320
495
  (function (DescribeBackupJobInput) {
321
496
  DescribeBackupJobInput.filterSensitiveLog = (obj) => ({