@aws-sdk/client-datasync 3.51.0 → 3.54.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 "./DataSyncClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { DataSyncServiceException } from "./models/DataSyncServiceException";
@@ -0,0 +1,12 @@
1
+ import { __extends } from "tslib";
2
+ import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
3
+ var DataSyncServiceException = (function (_super) {
4
+ __extends(DataSyncServiceException, _super);
5
+ function DataSyncServiceException(options) {
6
+ var _this = _super.call(this, options) || this;
7
+ Object.setPrototypeOf(_this, DataSyncServiceException.prototype);
8
+ return _this;
9
+ }
10
+ return DataSyncServiceException;
11
+ }(__ServiceException));
12
+ export { DataSyncServiceException };
@@ -1,5 +1,6 @@
1
- import { __assign } from "tslib";
1
+ import { __assign, __extends } from "tslib";
2
2
  import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
3
+ import { DataSyncServiceException as __BaseException } from "./DataSyncServiceException";
3
4
  export var AgentStatus;
4
5
  (function (AgentStatus) {
5
6
  AgentStatus["OFFLINE"] = "OFFLINE";
@@ -22,6 +23,32 @@ export var CancelTaskExecutionResponse;
22
23
  (function (CancelTaskExecutionResponse) {
23
24
  CancelTaskExecutionResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
24
25
  })(CancelTaskExecutionResponse || (CancelTaskExecutionResponse = {}));
26
+ var InternalException = (function (_super) {
27
+ __extends(InternalException, _super);
28
+ function InternalException(opts) {
29
+ var _this = _super.call(this, __assign({ name: "InternalException", $fault: "server" }, opts)) || this;
30
+ _this.name = "InternalException";
31
+ _this.$fault = "server";
32
+ Object.setPrototypeOf(_this, InternalException.prototype);
33
+ _this.errorCode = opts.errorCode;
34
+ return _this;
35
+ }
36
+ return InternalException;
37
+ }(__BaseException));
38
+ export { InternalException };
39
+ var InvalidRequestException = (function (_super) {
40
+ __extends(InvalidRequestException, _super);
41
+ function InvalidRequestException(opts) {
42
+ var _this = _super.call(this, __assign({ name: "InvalidRequestException", $fault: "client" }, opts)) || this;
43
+ _this.name = "InvalidRequestException";
44
+ _this.$fault = "client";
45
+ Object.setPrototypeOf(_this, InvalidRequestException.prototype);
46
+ _this.errorCode = opts.errorCode;
47
+ return _this;
48
+ }
49
+ return InvalidRequestException;
50
+ }(__BaseException));
51
+ export { InvalidRequestException };
25
52
  export var TagListEntry;
26
53
  (function (TagListEntry) {
27
54
  TagListEntry.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };