@aws-sdk/client-backup 3.52.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.
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)); };
@@ -107,6 +126,22 @@ export var CalculatedLifecycle;
107
126
  (function (CalculatedLifecycle) {
108
127
  CalculatedLifecycle.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
109
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 };
110
145
  export var ControlInputParameter;
111
146
  (function (ControlInputParameter) {
112
147
  ControlInputParameter.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -134,6 +169,70 @@ export var CreateBackupPlanOutput;
134
169
  (function (CreateBackupPlanOutput) {
135
170
  CreateBackupPlanOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
136
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 };
137
236
  export var CreateBackupSelectionInput;
138
237
  (function (CreateBackupSelectionInput) {
139
238
  CreateBackupSelectionInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -186,6 +285,38 @@ export var DeleteBackupPlanOutput;
186
285
  (function (DeleteBackupPlanOutput) {
187
286
  DeleteBackupPlanOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
188
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 };
189
320
  export var DeleteBackupSelectionInput;
190
321
  (function (DeleteBackupSelectionInput) {
191
322
  DeleteBackupSelectionInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -214,10 +345,42 @@ export var DeleteRecoveryPointInput;
214
345
  (function (DeleteRecoveryPointInput) {
215
346
  DeleteRecoveryPointInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
216
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 };
217
364
  export var DeleteReportPlanInput;
218
365
  (function (DeleteReportPlanInput) {
219
366
  DeleteReportPlanInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
220
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 };
221
384
  export var DescribeBackupJobInput;
222
385
  (function (DescribeBackupJobInput) {
223
386
  DescribeBackupJobInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };