@aws-sdk/client-migration-hub 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 "./MigrationHubClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { MigrationHubServiceException } from "./models/MigrationHubServiceException";
@@ -0,0 +1,12 @@
1
+ import { __extends } from "tslib";
2
+ import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
3
+ var MigrationHubServiceException = (function (_super) {
4
+ __extends(MigrationHubServiceException, _super);
5
+ function MigrationHubServiceException(options) {
6
+ var _this = _super.call(this, options) || this;
7
+ Object.setPrototypeOf(_this, MigrationHubServiceException.prototype);
8
+ return _this;
9
+ }
10
+ return MigrationHubServiceException;
11
+ }(__ServiceException));
12
+ export { MigrationHubServiceException };
@@ -1,4 +1,18 @@
1
- import { __assign } from "tslib";
1
+ import { __assign, __extends } from "tslib";
2
+ import { MigrationHubServiceException as __BaseException } from "./MigrationHubServiceException";
3
+ var AccessDeniedException = (function (_super) {
4
+ __extends(AccessDeniedException, _super);
5
+ function AccessDeniedException(opts) {
6
+ var _this = _super.call(this, __assign({ name: "AccessDeniedException", $fault: "client" }, opts)) || this;
7
+ _this.name = "AccessDeniedException";
8
+ _this.$fault = "client";
9
+ Object.setPrototypeOf(_this, AccessDeniedException.prototype);
10
+ _this.Message = opts.Message;
11
+ return _this;
12
+ }
13
+ return AccessDeniedException;
14
+ }(__BaseException));
15
+ export { AccessDeniedException };
2
16
  export var ApplicationStatus;
3
17
  (function (ApplicationStatus) {
4
18
  ApplicationStatus["COMPLETED"] = "COMPLETED";
@@ -21,6 +35,111 @@ export var AssociateCreatedArtifactResult;
21
35
  (function (AssociateCreatedArtifactResult) {
22
36
  AssociateCreatedArtifactResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
23
37
  })(AssociateCreatedArtifactResult || (AssociateCreatedArtifactResult = {}));
38
+ var DryRunOperation = (function (_super) {
39
+ __extends(DryRunOperation, _super);
40
+ function DryRunOperation(opts) {
41
+ var _this = _super.call(this, __assign({ name: "DryRunOperation", $fault: "client" }, opts)) || this;
42
+ _this.name = "DryRunOperation";
43
+ _this.$fault = "client";
44
+ Object.setPrototypeOf(_this, DryRunOperation.prototype);
45
+ _this.Message = opts.Message;
46
+ return _this;
47
+ }
48
+ return DryRunOperation;
49
+ }(__BaseException));
50
+ export { DryRunOperation };
51
+ var HomeRegionNotSetException = (function (_super) {
52
+ __extends(HomeRegionNotSetException, _super);
53
+ function HomeRegionNotSetException(opts) {
54
+ var _this = _super.call(this, __assign({ name: "HomeRegionNotSetException", $fault: "client" }, opts)) || this;
55
+ _this.name = "HomeRegionNotSetException";
56
+ _this.$fault = "client";
57
+ Object.setPrototypeOf(_this, HomeRegionNotSetException.prototype);
58
+ _this.Message = opts.Message;
59
+ return _this;
60
+ }
61
+ return HomeRegionNotSetException;
62
+ }(__BaseException));
63
+ export { HomeRegionNotSetException };
64
+ var InternalServerError = (function (_super) {
65
+ __extends(InternalServerError, _super);
66
+ function InternalServerError(opts) {
67
+ var _this = _super.call(this, __assign({ name: "InternalServerError", $fault: "server" }, opts)) || this;
68
+ _this.name = "InternalServerError";
69
+ _this.$fault = "server";
70
+ Object.setPrototypeOf(_this, InternalServerError.prototype);
71
+ _this.Message = opts.Message;
72
+ return _this;
73
+ }
74
+ return InternalServerError;
75
+ }(__BaseException));
76
+ export { InternalServerError };
77
+ var InvalidInputException = (function (_super) {
78
+ __extends(InvalidInputException, _super);
79
+ function InvalidInputException(opts) {
80
+ var _this = _super.call(this, __assign({ name: "InvalidInputException", $fault: "client" }, opts)) || this;
81
+ _this.name = "InvalidInputException";
82
+ _this.$fault = "client";
83
+ Object.setPrototypeOf(_this, InvalidInputException.prototype);
84
+ _this.Message = opts.Message;
85
+ return _this;
86
+ }
87
+ return InvalidInputException;
88
+ }(__BaseException));
89
+ export { InvalidInputException };
90
+ var ResourceNotFoundException = (function (_super) {
91
+ __extends(ResourceNotFoundException, _super);
92
+ function ResourceNotFoundException(opts) {
93
+ var _this = _super.call(this, __assign({ name: "ResourceNotFoundException", $fault: "client" }, opts)) || this;
94
+ _this.name = "ResourceNotFoundException";
95
+ _this.$fault = "client";
96
+ Object.setPrototypeOf(_this, ResourceNotFoundException.prototype);
97
+ _this.Message = opts.Message;
98
+ return _this;
99
+ }
100
+ return ResourceNotFoundException;
101
+ }(__BaseException));
102
+ export { ResourceNotFoundException };
103
+ var ServiceUnavailableException = (function (_super) {
104
+ __extends(ServiceUnavailableException, _super);
105
+ function ServiceUnavailableException(opts) {
106
+ var _this = _super.call(this, __assign({ name: "ServiceUnavailableException", $fault: "server" }, opts)) || this;
107
+ _this.name = "ServiceUnavailableException";
108
+ _this.$fault = "server";
109
+ Object.setPrototypeOf(_this, ServiceUnavailableException.prototype);
110
+ _this.Message = opts.Message;
111
+ return _this;
112
+ }
113
+ return ServiceUnavailableException;
114
+ }(__BaseException));
115
+ export { ServiceUnavailableException };
116
+ var ThrottlingException = (function (_super) {
117
+ __extends(ThrottlingException, _super);
118
+ function ThrottlingException(opts) {
119
+ var _this = _super.call(this, __assign({ name: "ThrottlingException", $fault: "client" }, opts)) || this;
120
+ _this.name = "ThrottlingException";
121
+ _this.$fault = "client";
122
+ Object.setPrototypeOf(_this, ThrottlingException.prototype);
123
+ _this.Message = opts.Message;
124
+ _this.RetryAfterSeconds = opts.RetryAfterSeconds;
125
+ return _this;
126
+ }
127
+ return ThrottlingException;
128
+ }(__BaseException));
129
+ export { ThrottlingException };
130
+ var UnauthorizedOperation = (function (_super) {
131
+ __extends(UnauthorizedOperation, _super);
132
+ function UnauthorizedOperation(opts) {
133
+ var _this = _super.call(this, __assign({ name: "UnauthorizedOperation", $fault: "client" }, opts)) || this;
134
+ _this.name = "UnauthorizedOperation";
135
+ _this.$fault = "client";
136
+ Object.setPrototypeOf(_this, UnauthorizedOperation.prototype);
137
+ _this.Message = opts.Message;
138
+ return _this;
139
+ }
140
+ return UnauthorizedOperation;
141
+ }(__BaseException));
142
+ export { UnauthorizedOperation };
24
143
  export var DiscoveredResource;
25
144
  (function (DiscoveredResource) {
26
145
  DiscoveredResource.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -33,6 +152,19 @@ export var AssociateDiscoveredResourceResult;
33
152
  (function (AssociateDiscoveredResourceResult) {
34
153
  AssociateDiscoveredResourceResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
35
154
  })(AssociateDiscoveredResourceResult || (AssociateDiscoveredResourceResult = {}));
155
+ var PolicyErrorException = (function (_super) {
156
+ __extends(PolicyErrorException, _super);
157
+ function PolicyErrorException(opts) {
158
+ var _this = _super.call(this, __assign({ name: "PolicyErrorException", $fault: "client" }, opts)) || this;
159
+ _this.name = "PolicyErrorException";
160
+ _this.$fault = "client";
161
+ Object.setPrototypeOf(_this, PolicyErrorException.prototype);
162
+ _this.Message = opts.Message;
163
+ return _this;
164
+ }
165
+ return PolicyErrorException;
166
+ }(__BaseException));
167
+ export { PolicyErrorException };
36
168
  export var CreateProgressUpdateStreamRequest;
37
169
  (function (CreateProgressUpdateStreamRequest) {
38
170
  CreateProgressUpdateStreamRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };