@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/dist-es/index.js CHANGED
@@ -3,3 +3,4 @@ export * from "./BackupClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { BackupServiceException } from "./models/BackupServiceException";
@@ -0,0 +1,12 @@
1
+ import { __extends } from "tslib";
2
+ import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
3
+ var BackupServiceException = (function (_super) {
4
+ __extends(BackupServiceException, _super);
5
+ function BackupServiceException(options) {
6
+ var _this = _super.call(this, options) || this;
7
+ Object.setPrototypeOf(_this, BackupServiceException.prototype);
8
+ return _this;
9
+ }
10
+ return BackupServiceException;
11
+ }(__ServiceException));
12
+ export { BackupServiceException };
@@ -1,9 +1,28 @@
1
- import { __assign } from "tslib";
1
+ import { __assign, __extends } from "tslib";
2
2
  import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
3
+ import { BackupServiceException as __BaseException } from "./BackupServiceException";
3
4
  export var AdvancedBackupSetting;
4
5
  (function (AdvancedBackupSetting) {
5
6
  AdvancedBackupSetting.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
6
7
  })(AdvancedBackupSetting || (AdvancedBackupSetting = {}));
8
+ var AlreadyExistsException = (function (_super) {
9
+ __extends(AlreadyExistsException, _super);
10
+ function AlreadyExistsException(opts) {
11
+ var _this = _super.call(this, __assign({ name: "AlreadyExistsException", $fault: "client" }, opts)) || this;
12
+ _this.name = "AlreadyExistsException";
13
+ _this.$fault = "client";
14
+ Object.setPrototypeOf(_this, AlreadyExistsException.prototype);
15
+ _this.Code = opts.Code;
16
+ _this.Message = opts.Message;
17
+ _this.CreatorRequestId = opts.CreatorRequestId;
18
+ _this.Arn = opts.Arn;
19
+ _this.Type = opts.Type;
20
+ _this.Context = opts.Context;
21
+ return _this;
22
+ }
23
+ return AlreadyExistsException;
24
+ }(__BaseException));
25
+ export { AlreadyExistsException };
7
26
  export var RecoveryPointCreator;
8
27
  (function (RecoveryPointCreator) {
9
28
  RecoveryPointCreator.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -96,6 +115,8 @@ export var BackupVaultEvent;
96
115
  BackupVaultEvent["RESTORE_JOB_FAILED"] = "RESTORE_JOB_FAILED";
97
116
  BackupVaultEvent["RESTORE_JOB_STARTED"] = "RESTORE_JOB_STARTED";
98
117
  BackupVaultEvent["RESTORE_JOB_SUCCESSFUL"] = "RESTORE_JOB_SUCCESSFUL";
118
+ BackupVaultEvent["S3_BACKUP_OBJECT_FAILED"] = "S3_BACKUP_OBJECT_FAILED";
119
+ BackupVaultEvent["S3_RESTORE_OBJECT_FAILED"] = "S3_RESTORE_OBJECT_FAILED";
99
120
  })(BackupVaultEvent || (BackupVaultEvent = {}));
100
121
  export var BackupVaultListMember;
101
122
  (function (BackupVaultListMember) {
@@ -105,6 +126,22 @@ export var CalculatedLifecycle;
105
126
  (function (CalculatedLifecycle) {
106
127
  CalculatedLifecycle.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
107
128
  })(CalculatedLifecycle || (CalculatedLifecycle = {}));
129
+ var ConflictException = (function (_super) {
130
+ __extends(ConflictException, _super);
131
+ function ConflictException(opts) {
132
+ var _this = _super.call(this, __assign({ name: "ConflictException", $fault: "client" }, opts)) || this;
133
+ _this.name = "ConflictException";
134
+ _this.$fault = "client";
135
+ Object.setPrototypeOf(_this, ConflictException.prototype);
136
+ _this.Code = opts.Code;
137
+ _this.Message = opts.Message;
138
+ _this.Type = opts.Type;
139
+ _this.Context = opts.Context;
140
+ return _this;
141
+ }
142
+ return ConflictException;
143
+ }(__BaseException));
144
+ export { ConflictException };
108
145
  export var ControlInputParameter;
109
146
  (function (ControlInputParameter) {
110
147
  ControlInputParameter.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -132,6 +169,70 @@ export var CreateBackupPlanOutput;
132
169
  (function (CreateBackupPlanOutput) {
133
170
  CreateBackupPlanOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
134
171
  })(CreateBackupPlanOutput || (CreateBackupPlanOutput = {}));
172
+ var InvalidParameterValueException = (function (_super) {
173
+ __extends(InvalidParameterValueException, _super);
174
+ function InvalidParameterValueException(opts) {
175
+ var _this = _super.call(this, __assign({ name: "InvalidParameterValueException", $fault: "client" }, opts)) || this;
176
+ _this.name = "InvalidParameterValueException";
177
+ _this.$fault = "client";
178
+ Object.setPrototypeOf(_this, InvalidParameterValueException.prototype);
179
+ _this.Code = opts.Code;
180
+ _this.Message = opts.Message;
181
+ _this.Type = opts.Type;
182
+ _this.Context = opts.Context;
183
+ return _this;
184
+ }
185
+ return InvalidParameterValueException;
186
+ }(__BaseException));
187
+ export { InvalidParameterValueException };
188
+ var LimitExceededException = (function (_super) {
189
+ __extends(LimitExceededException, _super);
190
+ function LimitExceededException(opts) {
191
+ var _this = _super.call(this, __assign({ name: "LimitExceededException", $fault: "client" }, opts)) || this;
192
+ _this.name = "LimitExceededException";
193
+ _this.$fault = "client";
194
+ Object.setPrototypeOf(_this, LimitExceededException.prototype);
195
+ _this.Code = opts.Code;
196
+ _this.Message = opts.Message;
197
+ _this.Type = opts.Type;
198
+ _this.Context = opts.Context;
199
+ return _this;
200
+ }
201
+ return LimitExceededException;
202
+ }(__BaseException));
203
+ export { LimitExceededException };
204
+ var MissingParameterValueException = (function (_super) {
205
+ __extends(MissingParameterValueException, _super);
206
+ function MissingParameterValueException(opts) {
207
+ var _this = _super.call(this, __assign({ name: "MissingParameterValueException", $fault: "client" }, opts)) || this;
208
+ _this.name = "MissingParameterValueException";
209
+ _this.$fault = "client";
210
+ Object.setPrototypeOf(_this, MissingParameterValueException.prototype);
211
+ _this.Code = opts.Code;
212
+ _this.Message = opts.Message;
213
+ _this.Type = opts.Type;
214
+ _this.Context = opts.Context;
215
+ return _this;
216
+ }
217
+ return MissingParameterValueException;
218
+ }(__BaseException));
219
+ export { MissingParameterValueException };
220
+ var ServiceUnavailableException = (function (_super) {
221
+ __extends(ServiceUnavailableException, _super);
222
+ function ServiceUnavailableException(opts) {
223
+ var _this = _super.call(this, __assign({ name: "ServiceUnavailableException", $fault: "server" }, opts)) || this;
224
+ _this.name = "ServiceUnavailableException";
225
+ _this.$fault = "server";
226
+ Object.setPrototypeOf(_this, ServiceUnavailableException.prototype);
227
+ _this.Code = opts.Code;
228
+ _this.Message = opts.Message;
229
+ _this.Type = opts.Type;
230
+ _this.Context = opts.Context;
231
+ return _this;
232
+ }
233
+ return ServiceUnavailableException;
234
+ }(__BaseException));
235
+ export { ServiceUnavailableException };
135
236
  export var CreateBackupSelectionInput;
136
237
  (function (CreateBackupSelectionInput) {
137
238
  CreateBackupSelectionInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -184,6 +285,38 @@ export var DeleteBackupPlanOutput;
184
285
  (function (DeleteBackupPlanOutput) {
185
286
  DeleteBackupPlanOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
186
287
  })(DeleteBackupPlanOutput || (DeleteBackupPlanOutput = {}));
288
+ var InvalidRequestException = (function (_super) {
289
+ __extends(InvalidRequestException, _super);
290
+ function InvalidRequestException(opts) {
291
+ var _this = _super.call(this, __assign({ name: "InvalidRequestException", $fault: "client" }, opts)) || this;
292
+ _this.name = "InvalidRequestException";
293
+ _this.$fault = "client";
294
+ Object.setPrototypeOf(_this, InvalidRequestException.prototype);
295
+ _this.Code = opts.Code;
296
+ _this.Message = opts.Message;
297
+ _this.Type = opts.Type;
298
+ _this.Context = opts.Context;
299
+ return _this;
300
+ }
301
+ return InvalidRequestException;
302
+ }(__BaseException));
303
+ export { InvalidRequestException };
304
+ var ResourceNotFoundException = (function (_super) {
305
+ __extends(ResourceNotFoundException, _super);
306
+ function ResourceNotFoundException(opts) {
307
+ var _this = _super.call(this, __assign({ name: "ResourceNotFoundException", $fault: "client" }, opts)) || this;
308
+ _this.name = "ResourceNotFoundException";
309
+ _this.$fault = "client";
310
+ Object.setPrototypeOf(_this, ResourceNotFoundException.prototype);
311
+ _this.Code = opts.Code;
312
+ _this.Message = opts.Message;
313
+ _this.Type = opts.Type;
314
+ _this.Context = opts.Context;
315
+ return _this;
316
+ }
317
+ return ResourceNotFoundException;
318
+ }(__BaseException));
319
+ export { ResourceNotFoundException };
187
320
  export var DeleteBackupSelectionInput;
188
321
  (function (DeleteBackupSelectionInput) {
189
322
  DeleteBackupSelectionInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -212,10 +345,42 @@ export var DeleteRecoveryPointInput;
212
345
  (function (DeleteRecoveryPointInput) {
213
346
  DeleteRecoveryPointInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
214
347
  })(DeleteRecoveryPointInput || (DeleteRecoveryPointInput = {}));
348
+ var InvalidResourceStateException = (function (_super) {
349
+ __extends(InvalidResourceStateException, _super);
350
+ function InvalidResourceStateException(opts) {
351
+ var _this = _super.call(this, __assign({ name: "InvalidResourceStateException", $fault: "client" }, opts)) || this;
352
+ _this.name = "InvalidResourceStateException";
353
+ _this.$fault = "client";
354
+ Object.setPrototypeOf(_this, InvalidResourceStateException.prototype);
355
+ _this.Code = opts.Code;
356
+ _this.Message = opts.Message;
357
+ _this.Type = opts.Type;
358
+ _this.Context = opts.Context;
359
+ return _this;
360
+ }
361
+ return InvalidResourceStateException;
362
+ }(__BaseException));
363
+ export { InvalidResourceStateException };
215
364
  export var DeleteReportPlanInput;
216
365
  (function (DeleteReportPlanInput) {
217
366
  DeleteReportPlanInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
218
367
  })(DeleteReportPlanInput || (DeleteReportPlanInput = {}));
368
+ var DependencyFailureException = (function (_super) {
369
+ __extends(DependencyFailureException, _super);
370
+ function DependencyFailureException(opts) {
371
+ var _this = _super.call(this, __assign({ name: "DependencyFailureException", $fault: "server" }, opts)) || this;
372
+ _this.name = "DependencyFailureException";
373
+ _this.$fault = "server";
374
+ Object.setPrototypeOf(_this, DependencyFailureException.prototype);
375
+ _this.Code = opts.Code;
376
+ _this.Message = opts.Message;
377
+ _this.Type = opts.Type;
378
+ _this.Context = opts.Context;
379
+ return _this;
380
+ }
381
+ return DependencyFailureException;
382
+ }(__BaseException));
383
+ export { DependencyFailureException };
219
384
  export var DescribeBackupJobInput;
220
385
  (function (DescribeBackupJobInput) {
221
386
  DescribeBackupJobInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };