@aws-sdk/client-comprehendmedical 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
@@ -2,3 +2,4 @@ export * from "./ComprehendMedical";
2
2
  export * from "./ComprehendMedicalClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
+ export { ComprehendMedicalServiceException } from "./models/ComprehendMedicalServiceException";
@@ -0,0 +1,12 @@
1
+ import { __extends } from "tslib";
2
+ import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
3
+ var ComprehendMedicalServiceException = (function (_super) {
4
+ __extends(ComprehendMedicalServiceException, _super);
5
+ function ComprehendMedicalServiceException(options) {
6
+ var _this = _super.call(this, options) || this;
7
+ Object.setPrototypeOf(_this, ComprehendMedicalServiceException.prototype);
8
+ return _this;
9
+ }
10
+ return ComprehendMedicalServiceException;
11
+ }(__ServiceException));
12
+ export { ComprehendMedicalServiceException };
@@ -1,4 +1,5 @@
1
- import { __assign } from "tslib";
1
+ import { __assign, __extends } from "tslib";
2
+ import { ComprehendMedicalServiceException as __BaseException } from "./ComprehendMedicalServiceException";
2
3
  export var EntityType;
3
4
  (function (EntityType) {
4
5
  EntityType["ANATOMY"] = "ANATOMY";
@@ -124,6 +125,58 @@ export var DescribeEntitiesDetectionV2JobResponse;
124
125
  (function (DescribeEntitiesDetectionV2JobResponse) {
125
126
  DescribeEntitiesDetectionV2JobResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
126
127
  })(DescribeEntitiesDetectionV2JobResponse || (DescribeEntitiesDetectionV2JobResponse = {}));
128
+ var InternalServerException = (function (_super) {
129
+ __extends(InternalServerException, _super);
130
+ function InternalServerException(opts) {
131
+ var _this = _super.call(this, __assign({ name: "InternalServerException", $fault: "server" }, opts)) || this;
132
+ _this.name = "InternalServerException";
133
+ _this.$fault = "server";
134
+ Object.setPrototypeOf(_this, InternalServerException.prototype);
135
+ _this.Message = opts.Message;
136
+ return _this;
137
+ }
138
+ return InternalServerException;
139
+ }(__BaseException));
140
+ export { InternalServerException };
141
+ var InvalidRequestException = (function (_super) {
142
+ __extends(InvalidRequestException, _super);
143
+ function InvalidRequestException(opts) {
144
+ var _this = _super.call(this, __assign({ name: "InvalidRequestException", $fault: "client" }, opts)) || this;
145
+ _this.name = "InvalidRequestException";
146
+ _this.$fault = "client";
147
+ Object.setPrototypeOf(_this, InvalidRequestException.prototype);
148
+ _this.Message = opts.Message;
149
+ return _this;
150
+ }
151
+ return InvalidRequestException;
152
+ }(__BaseException));
153
+ export { InvalidRequestException };
154
+ var ResourceNotFoundException = (function (_super) {
155
+ __extends(ResourceNotFoundException, _super);
156
+ function ResourceNotFoundException(opts) {
157
+ var _this = _super.call(this, __assign({ name: "ResourceNotFoundException", $fault: "client" }, opts)) || this;
158
+ _this.name = "ResourceNotFoundException";
159
+ _this.$fault = "client";
160
+ Object.setPrototypeOf(_this, ResourceNotFoundException.prototype);
161
+ _this.Message = opts.Message;
162
+ return _this;
163
+ }
164
+ return ResourceNotFoundException;
165
+ }(__BaseException));
166
+ export { ResourceNotFoundException };
167
+ var TooManyRequestsException = (function (_super) {
168
+ __extends(TooManyRequestsException, _super);
169
+ function TooManyRequestsException(opts) {
170
+ var _this = _super.call(this, __assign({ name: "TooManyRequestsException", $fault: "client" }, opts)) || this;
171
+ _this.name = "TooManyRequestsException";
172
+ _this.$fault = "client";
173
+ Object.setPrototypeOf(_this, TooManyRequestsException.prototype);
174
+ _this.Message = opts.Message;
175
+ return _this;
176
+ }
177
+ return TooManyRequestsException;
178
+ }(__BaseException));
179
+ export { TooManyRequestsException };
127
180
  export var DescribeICD10CMInferenceJobRequest;
128
181
  (function (DescribeICD10CMInferenceJobRequest) {
129
182
  DescribeICD10CMInferenceJobRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -172,6 +225,45 @@ export var DetectEntitiesResponse;
172
225
  (function (DetectEntitiesResponse) {
173
226
  DetectEntitiesResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
174
227
  })(DetectEntitiesResponse || (DetectEntitiesResponse = {}));
228
+ var InvalidEncodingException = (function (_super) {
229
+ __extends(InvalidEncodingException, _super);
230
+ function InvalidEncodingException(opts) {
231
+ var _this = _super.call(this, __assign({ name: "InvalidEncodingException", $fault: "client" }, opts)) || this;
232
+ _this.name = "InvalidEncodingException";
233
+ _this.$fault = "client";
234
+ Object.setPrototypeOf(_this, InvalidEncodingException.prototype);
235
+ _this.Message = opts.Message;
236
+ return _this;
237
+ }
238
+ return InvalidEncodingException;
239
+ }(__BaseException));
240
+ export { InvalidEncodingException };
241
+ var ServiceUnavailableException = (function (_super) {
242
+ __extends(ServiceUnavailableException, _super);
243
+ function ServiceUnavailableException(opts) {
244
+ var _this = _super.call(this, __assign({ name: "ServiceUnavailableException", $fault: "server" }, opts)) || this;
245
+ _this.name = "ServiceUnavailableException";
246
+ _this.$fault = "server";
247
+ Object.setPrototypeOf(_this, ServiceUnavailableException.prototype);
248
+ _this.Message = opts.Message;
249
+ return _this;
250
+ }
251
+ return ServiceUnavailableException;
252
+ }(__BaseException));
253
+ export { ServiceUnavailableException };
254
+ var TextSizeLimitExceededException = (function (_super) {
255
+ __extends(TextSizeLimitExceededException, _super);
256
+ function TextSizeLimitExceededException(opts) {
257
+ var _this = _super.call(this, __assign({ name: "TextSizeLimitExceededException", $fault: "client" }, opts)) || this;
258
+ _this.name = "TextSizeLimitExceededException";
259
+ _this.$fault = "client";
260
+ Object.setPrototypeOf(_this, TextSizeLimitExceededException.prototype);
261
+ _this.Message = opts.Message;
262
+ return _this;
263
+ }
264
+ return TextSizeLimitExceededException;
265
+ }(__BaseException));
266
+ export { TextSizeLimitExceededException };
175
267
  export var DetectEntitiesV2Request;
176
268
  (function (DetectEntitiesV2Request) {
177
269
  DetectEntitiesV2Request.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -368,6 +460,19 @@ export var ListEntitiesDetectionV2JobsResponse;
368
460
  (function (ListEntitiesDetectionV2JobsResponse) {
369
461
  ListEntitiesDetectionV2JobsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
370
462
  })(ListEntitiesDetectionV2JobsResponse || (ListEntitiesDetectionV2JobsResponse = {}));
463
+ var ValidationException = (function (_super) {
464
+ __extends(ValidationException, _super);
465
+ function ValidationException(opts) {
466
+ var _this = _super.call(this, __assign({ name: "ValidationException", $fault: "client" }, opts)) || this;
467
+ _this.name = "ValidationException";
468
+ _this.$fault = "client";
469
+ Object.setPrototypeOf(_this, ValidationException.prototype);
470
+ _this.Message = opts.Message;
471
+ return _this;
472
+ }
473
+ return ValidationException;
474
+ }(__BaseException));
475
+ export { ValidationException };
371
476
  export var ListICD10CMInferenceJobsRequest;
372
477
  (function (ListICD10CMInferenceJobsRequest) {
373
478
  ListICD10CMInferenceJobsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };