@aws-sdk/client-glacier 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
@@ -4,3 +4,4 @@ export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
6
  export * from "./waiters";
7
+ export { GlacierServiceException } from "./models/GlacierServiceException";
@@ -0,0 +1,12 @@
1
+ import { __extends } from "tslib";
2
+ import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
3
+ var GlacierServiceException = (function (_super) {
4
+ __extends(GlacierServiceException, _super);
5
+ function GlacierServiceException(options) {
6
+ var _this = _super.call(this, options) || this;
7
+ Object.setPrototypeOf(_this, GlacierServiceException.prototype);
8
+ return _this;
9
+ }
10
+ return GlacierServiceException;
11
+ }(__ServiceException));
12
+ export { GlacierServiceException };
@@ -1,8 +1,65 @@
1
- import { __assign } from "tslib";
1
+ import { __assign, __extends } from "tslib";
2
+ import { GlacierServiceException as __BaseException } from "./GlacierServiceException";
2
3
  export var AbortMultipartUploadInput;
3
4
  (function (AbortMultipartUploadInput) {
4
5
  AbortMultipartUploadInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
5
6
  })(AbortMultipartUploadInput || (AbortMultipartUploadInput = {}));
7
+ var InvalidParameterValueException = (function (_super) {
8
+ __extends(InvalidParameterValueException, _super);
9
+ function InvalidParameterValueException(opts) {
10
+ var _this = _super.call(this, __assign({ name: "InvalidParameterValueException", $fault: "client" }, opts)) || this;
11
+ _this.name = "InvalidParameterValueException";
12
+ _this.$fault = "client";
13
+ Object.setPrototypeOf(_this, InvalidParameterValueException.prototype);
14
+ _this.type = opts.type;
15
+ _this.code = opts.code;
16
+ return _this;
17
+ }
18
+ return InvalidParameterValueException;
19
+ }(__BaseException));
20
+ export { InvalidParameterValueException };
21
+ var MissingParameterValueException = (function (_super) {
22
+ __extends(MissingParameterValueException, _super);
23
+ function MissingParameterValueException(opts) {
24
+ var _this = _super.call(this, __assign({ name: "MissingParameterValueException", $fault: "client" }, opts)) || this;
25
+ _this.name = "MissingParameterValueException";
26
+ _this.$fault = "client";
27
+ Object.setPrototypeOf(_this, MissingParameterValueException.prototype);
28
+ _this.type = opts.type;
29
+ _this.code = opts.code;
30
+ return _this;
31
+ }
32
+ return MissingParameterValueException;
33
+ }(__BaseException));
34
+ export { MissingParameterValueException };
35
+ var ResourceNotFoundException = (function (_super) {
36
+ __extends(ResourceNotFoundException, _super);
37
+ function ResourceNotFoundException(opts) {
38
+ var _this = _super.call(this, __assign({ name: "ResourceNotFoundException", $fault: "client" }, opts)) || this;
39
+ _this.name = "ResourceNotFoundException";
40
+ _this.$fault = "client";
41
+ Object.setPrototypeOf(_this, ResourceNotFoundException.prototype);
42
+ _this.type = opts.type;
43
+ _this.code = opts.code;
44
+ return _this;
45
+ }
46
+ return ResourceNotFoundException;
47
+ }(__BaseException));
48
+ export { ResourceNotFoundException };
49
+ var ServiceUnavailableException = (function (_super) {
50
+ __extends(ServiceUnavailableException, _super);
51
+ function ServiceUnavailableException(opts) {
52
+ var _this = _super.call(this, __assign({ name: "ServiceUnavailableException", $fault: "server" }, opts)) || this;
53
+ _this.name = "ServiceUnavailableException";
54
+ _this.$fault = "server";
55
+ Object.setPrototypeOf(_this, ServiceUnavailableException.prototype);
56
+ _this.type = opts.type;
57
+ _this.code = opts.code;
58
+ return _this;
59
+ }
60
+ return ServiceUnavailableException;
61
+ }(__BaseException));
62
+ export { ServiceUnavailableException };
6
63
  export var AbortVaultLockInput;
7
64
  (function (AbortVaultLockInput) {
8
65
  AbortVaultLockInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -39,6 +96,20 @@ export var AddTagsToVaultInput;
39
96
  (function (AddTagsToVaultInput) {
40
97
  AddTagsToVaultInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
41
98
  })(AddTagsToVaultInput || (AddTagsToVaultInput = {}));
99
+ var LimitExceededException = (function (_super) {
100
+ __extends(LimitExceededException, _super);
101
+ function LimitExceededException(opts) {
102
+ var _this = _super.call(this, __assign({ name: "LimitExceededException", $fault: "client" }, opts)) || this;
103
+ _this.name = "LimitExceededException";
104
+ _this.$fault = "client";
105
+ Object.setPrototypeOf(_this, LimitExceededException.prototype);
106
+ _this.type = opts.type;
107
+ _this.code = opts.code;
108
+ return _this;
109
+ }
110
+ return LimitExceededException;
111
+ }(__BaseException));
112
+ export { LimitExceededException };
42
113
  export var ArchiveCreationOutput;
43
114
  (function (ArchiveCreationOutput) {
44
115
  ArchiveCreationOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -241,6 +312,34 @@ export var InitiateJobOutput;
241
312
  (function (InitiateJobOutput) {
242
313
  InitiateJobOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
243
314
  })(InitiateJobOutput || (InitiateJobOutput = {}));
315
+ var InsufficientCapacityException = (function (_super) {
316
+ __extends(InsufficientCapacityException, _super);
317
+ function InsufficientCapacityException(opts) {
318
+ var _this = _super.call(this, __assign({ name: "InsufficientCapacityException", $fault: "client" }, opts)) || this;
319
+ _this.name = "InsufficientCapacityException";
320
+ _this.$fault = "client";
321
+ Object.setPrototypeOf(_this, InsufficientCapacityException.prototype);
322
+ _this.type = opts.type;
323
+ _this.code = opts.code;
324
+ return _this;
325
+ }
326
+ return InsufficientCapacityException;
327
+ }(__BaseException));
328
+ export { InsufficientCapacityException };
329
+ var PolicyEnforcedException = (function (_super) {
330
+ __extends(PolicyEnforcedException, _super);
331
+ function PolicyEnforcedException(opts) {
332
+ var _this = _super.call(this, __assign({ name: "PolicyEnforcedException", $fault: "client" }, opts)) || this;
333
+ _this.name = "PolicyEnforcedException";
334
+ _this.$fault = "client";
335
+ Object.setPrototypeOf(_this, PolicyEnforcedException.prototype);
336
+ _this.type = opts.type;
337
+ _this.code = opts.code;
338
+ return _this;
339
+ }
340
+ return PolicyEnforcedException;
341
+ }(__BaseException));
342
+ export { PolicyEnforcedException };
244
343
  export var InitiateMultipartUploadInput;
245
344
  (function (InitiateMultipartUploadInput) {
246
345
  InitiateMultipartUploadInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -345,6 +444,20 @@ export var SetVaultNotificationsInput;
345
444
  (function (SetVaultNotificationsInput) {
346
445
  SetVaultNotificationsInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
347
446
  })(SetVaultNotificationsInput || (SetVaultNotificationsInput = {}));
447
+ var RequestTimeoutException = (function (_super) {
448
+ __extends(RequestTimeoutException, _super);
449
+ function RequestTimeoutException(opts) {
450
+ var _this = _super.call(this, __assign({ name: "RequestTimeoutException", $fault: "client" }, opts)) || this;
451
+ _this.name = "RequestTimeoutException";
452
+ _this.$fault = "client";
453
+ Object.setPrototypeOf(_this, RequestTimeoutException.prototype);
454
+ _this.type = opts.type;
455
+ _this.code = opts.code;
456
+ return _this;
457
+ }
458
+ return RequestTimeoutException;
459
+ }(__BaseException));
460
+ export { RequestTimeoutException };
348
461
  export var UploadArchiveInput;
349
462
  (function (UploadArchiveInput) {
350
463
  UploadArchiveInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };