@aws-sdk/client-snowball 3.52.0 → 3.54.1

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 "./SnowballClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { SnowballServiceException } from "./models/SnowballServiceException";
@@ -0,0 +1,12 @@
1
+ import { __extends } from "tslib";
2
+ import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
3
+ var SnowballServiceException = (function (_super) {
4
+ __extends(SnowballServiceException, _super);
5
+ function SnowballServiceException(options) {
6
+ var _this = _super.call(this, options) || this;
7
+ Object.setPrototypeOf(_this, SnowballServiceException.prototype);
8
+ return _this;
9
+ }
10
+ return SnowballServiceException;
11
+ }(__ServiceException));
12
+ export { SnowballServiceException };
@@ -1,4 +1,5 @@
1
- import { __assign } from "tslib";
1
+ import { __assign, __extends } from "tslib";
2
+ import { SnowballServiceException as __BaseException } from "./SnowballServiceException";
2
3
  export var Address;
3
4
  (function (Address) {
4
5
  Address.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -11,6 +12,46 @@ export var CancelClusterResult;
11
12
  (function (CancelClusterResult) {
12
13
  CancelClusterResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
13
14
  })(CancelClusterResult || (CancelClusterResult = {}));
15
+ var InvalidJobStateException = (function (_super) {
16
+ __extends(InvalidJobStateException, _super);
17
+ function InvalidJobStateException(opts) {
18
+ var _this = _super.call(this, __assign({ name: "InvalidJobStateException", $fault: "client" }, opts)) || this;
19
+ _this.name = "InvalidJobStateException";
20
+ _this.$fault = "client";
21
+ Object.setPrototypeOf(_this, InvalidJobStateException.prototype);
22
+ _this.Message = opts.Message;
23
+ return _this;
24
+ }
25
+ return InvalidJobStateException;
26
+ }(__BaseException));
27
+ export { InvalidJobStateException };
28
+ var InvalidResourceException = (function (_super) {
29
+ __extends(InvalidResourceException, _super);
30
+ function InvalidResourceException(opts) {
31
+ var _this = _super.call(this, __assign({ name: "InvalidResourceException", $fault: "client" }, opts)) || this;
32
+ _this.name = "InvalidResourceException";
33
+ _this.$fault = "client";
34
+ Object.setPrototypeOf(_this, InvalidResourceException.prototype);
35
+ _this.Message = opts.Message;
36
+ _this.ResourceType = opts.ResourceType;
37
+ return _this;
38
+ }
39
+ return InvalidResourceException;
40
+ }(__BaseException));
41
+ export { InvalidResourceException };
42
+ var KMSRequestFailedException = (function (_super) {
43
+ __extends(KMSRequestFailedException, _super);
44
+ function KMSRequestFailedException(opts) {
45
+ var _this = _super.call(this, __assign({ name: "KMSRequestFailedException", $fault: "client" }, opts)) || this;
46
+ _this.name = "KMSRequestFailedException";
47
+ _this.$fault = "client";
48
+ Object.setPrototypeOf(_this, KMSRequestFailedException.prototype);
49
+ _this.Message = opts.Message;
50
+ return _this;
51
+ }
52
+ return KMSRequestFailedException;
53
+ }(__BaseException));
54
+ export { KMSRequestFailedException };
14
55
  export var CancelJobRequest;
15
56
  (function (CancelJobRequest) {
16
57
  CancelJobRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -27,6 +68,32 @@ export var CreateAddressResult;
27
68
  (function (CreateAddressResult) {
28
69
  CreateAddressResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
29
70
  })(CreateAddressResult || (CreateAddressResult = {}));
71
+ var InvalidAddressException = (function (_super) {
72
+ __extends(InvalidAddressException, _super);
73
+ function InvalidAddressException(opts) {
74
+ var _this = _super.call(this, __assign({ name: "InvalidAddressException", $fault: "client" }, opts)) || this;
75
+ _this.name = "InvalidAddressException";
76
+ _this.$fault = "client";
77
+ Object.setPrototypeOf(_this, InvalidAddressException.prototype);
78
+ _this.Message = opts.Message;
79
+ return _this;
80
+ }
81
+ return InvalidAddressException;
82
+ }(__BaseException));
83
+ export { InvalidAddressException };
84
+ var UnsupportedAddressException = (function (_super) {
85
+ __extends(UnsupportedAddressException, _super);
86
+ function UnsupportedAddressException(opts) {
87
+ var _this = _super.call(this, __assign({ name: "UnsupportedAddressException", $fault: "client" }, opts)) || this;
88
+ _this.name = "UnsupportedAddressException";
89
+ _this.$fault = "client";
90
+ Object.setPrototypeOf(_this, UnsupportedAddressException.prototype);
91
+ _this.Message = opts.Message;
92
+ return _this;
93
+ }
94
+ return UnsupportedAddressException;
95
+ }(__BaseException));
96
+ export { UnsupportedAddressException };
30
97
  export var JobType;
31
98
  (function (JobType) {
32
99
  JobType["EXPORT"] = "EXPORT";
@@ -146,6 +213,45 @@ export var CreateClusterResult;
146
213
  (function (CreateClusterResult) {
147
214
  CreateClusterResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
148
215
  })(CreateClusterResult || (CreateClusterResult = {}));
216
+ var Ec2RequestFailedException = (function (_super) {
217
+ __extends(Ec2RequestFailedException, _super);
218
+ function Ec2RequestFailedException(opts) {
219
+ var _this = _super.call(this, __assign({ name: "Ec2RequestFailedException", $fault: "client" }, opts)) || this;
220
+ _this.name = "Ec2RequestFailedException";
221
+ _this.$fault = "client";
222
+ Object.setPrototypeOf(_this, Ec2RequestFailedException.prototype);
223
+ _this.Message = opts.Message;
224
+ return _this;
225
+ }
226
+ return Ec2RequestFailedException;
227
+ }(__BaseException));
228
+ export { Ec2RequestFailedException };
229
+ var InvalidInputCombinationException = (function (_super) {
230
+ __extends(InvalidInputCombinationException, _super);
231
+ function InvalidInputCombinationException(opts) {
232
+ var _this = _super.call(this, __assign({ name: "InvalidInputCombinationException", $fault: "client" }, opts)) || this;
233
+ _this.name = "InvalidInputCombinationException";
234
+ _this.$fault = "client";
235
+ Object.setPrototypeOf(_this, InvalidInputCombinationException.prototype);
236
+ _this.Message = opts.Message;
237
+ return _this;
238
+ }
239
+ return InvalidInputCombinationException;
240
+ }(__BaseException));
241
+ export { InvalidInputCombinationException };
242
+ var ClusterLimitExceededException = (function (_super) {
243
+ __extends(ClusterLimitExceededException, _super);
244
+ function ClusterLimitExceededException(opts) {
245
+ var _this = _super.call(this, __assign({ name: "ClusterLimitExceededException", $fault: "client" }, opts)) || this;
246
+ _this.name = "ClusterLimitExceededException";
247
+ _this.$fault = "client";
248
+ Object.setPrototypeOf(_this, ClusterLimitExceededException.prototype);
249
+ _this.Message = opts.Message;
250
+ return _this;
251
+ }
252
+ return ClusterLimitExceededException;
253
+ }(__BaseException));
254
+ export { ClusterLimitExceededException };
149
255
  export var WirelessConnection;
150
256
  (function (WirelessConnection) {
151
257
  WirelessConnection.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -190,6 +296,20 @@ export var CreateLongTermPricingResult;
190
296
  (function (CreateLongTermPricingResult) {
191
297
  CreateLongTermPricingResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
192
298
  })(CreateLongTermPricingResult || (CreateLongTermPricingResult = {}));
299
+ var ConflictException = (function (_super) {
300
+ __extends(ConflictException, _super);
301
+ function ConflictException(opts) {
302
+ var _this = _super.call(this, __assign({ name: "ConflictException", $fault: "client" }, opts)) || this;
303
+ _this.name = "ConflictException";
304
+ _this.$fault = "client";
305
+ Object.setPrototypeOf(_this, ConflictException.prototype);
306
+ _this.ConflictResource = opts.ConflictResource;
307
+ _this.Message = opts.Message;
308
+ return _this;
309
+ }
310
+ return ConflictException;
311
+ }(__BaseException));
312
+ export { ConflictException };
193
313
  export var CreateReturnShippingLabelRequest;
194
314
  (function (CreateReturnShippingLabelRequest) {
195
315
  CreateReturnShippingLabelRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -205,6 +325,19 @@ export var CreateReturnShippingLabelResult;
205
325
  (function (CreateReturnShippingLabelResult) {
206
326
  CreateReturnShippingLabelResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
207
327
  })(CreateReturnShippingLabelResult || (CreateReturnShippingLabelResult = {}));
328
+ var ReturnShippingLabelAlreadyExistsException = (function (_super) {
329
+ __extends(ReturnShippingLabelAlreadyExistsException, _super);
330
+ function ReturnShippingLabelAlreadyExistsException(opts) {
331
+ var _this = _super.call(this, __assign({ name: "ReturnShippingLabelAlreadyExistsException", $fault: "client" }, opts)) || this;
332
+ _this.name = "ReturnShippingLabelAlreadyExistsException";
333
+ _this.$fault = "client";
334
+ Object.setPrototypeOf(_this, ReturnShippingLabelAlreadyExistsException.prototype);
335
+ _this.Message = opts.Message;
336
+ return _this;
337
+ }
338
+ return ReturnShippingLabelAlreadyExistsException;
339
+ }(__BaseException));
340
+ export { ReturnShippingLabelAlreadyExistsException };
208
341
  export var DescribeAddressRequest;
209
342
  (function (DescribeAddressRequest) {
210
343
  DescribeAddressRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -221,6 +354,19 @@ export var DescribeAddressesResult;
221
354
  (function (DescribeAddressesResult) {
222
355
  DescribeAddressesResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
223
356
  })(DescribeAddressesResult || (DescribeAddressesResult = {}));
357
+ var InvalidNextTokenException = (function (_super) {
358
+ __extends(InvalidNextTokenException, _super);
359
+ function InvalidNextTokenException(opts) {
360
+ var _this = _super.call(this, __assign({ name: "InvalidNextTokenException", $fault: "client" }, opts)) || this;
361
+ _this.name = "InvalidNextTokenException";
362
+ _this.$fault = "client";
363
+ Object.setPrototypeOf(_this, InvalidNextTokenException.prototype);
364
+ _this.Message = opts.Message;
365
+ return _this;
366
+ }
367
+ return InvalidNextTokenException;
368
+ }(__BaseException));
369
+ export { InvalidNextTokenException };
224
370
  export var DescribeClusterRequest;
225
371
  (function (DescribeClusterRequest) {
226
372
  DescribeClusterRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };