@aws-sdk/client-healthlake 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
@@ -3,3 +3,4 @@ export * from "./HealthLakeClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { HealthLakeServiceException } from "./models/HealthLakeServiceException";
@@ -0,0 +1,12 @@
1
+ import { __extends } from "tslib";
2
+ import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
3
+ var HealthLakeServiceException = (function (_super) {
4
+ __extends(HealthLakeServiceException, _super);
5
+ function HealthLakeServiceException(options) {
6
+ var _this = _super.call(this, options) || this;
7
+ Object.setPrototypeOf(_this, HealthLakeServiceException.prototype);
8
+ return _this;
9
+ }
10
+ return HealthLakeServiceException;
11
+ }(__ServiceException));
12
+ export { HealthLakeServiceException };
@@ -1,9 +1,36 @@
1
- import { __assign } from "tslib";
1
+ import { __assign, __extends } from "tslib";
2
+ import { HealthLakeServiceException as __BaseException } from "./HealthLakeServiceException";
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 CmkType;
3
17
  (function (CmkType) {
4
18
  CmkType["AO_CMK"] = "AWS_OWNED_KMS_KEY";
5
19
  CmkType["CM_CMK"] = "CUSTOMER_MANAGED_KMS_KEY";
6
20
  })(CmkType || (CmkType = {}));
21
+ var ConflictException = (function (_super) {
22
+ __extends(ConflictException, _super);
23
+ function ConflictException(opts) {
24
+ var _this = _super.call(this, __assign({ name: "ConflictException", $fault: "client" }, opts)) || this;
25
+ _this.name = "ConflictException";
26
+ _this.$fault = "client";
27
+ Object.setPrototypeOf(_this, ConflictException.prototype);
28
+ _this.Message = opts.Message;
29
+ return _this;
30
+ }
31
+ return ConflictException;
32
+ }(__BaseException));
33
+ export { ConflictException };
7
34
  export var FHIRVersion;
8
35
  (function (FHIRVersion) {
9
36
  FHIRVersion["R4"] = "R4";
@@ -43,6 +70,45 @@ export var CreateFHIRDatastoreResponse;
43
70
  (function (CreateFHIRDatastoreResponse) {
44
71
  CreateFHIRDatastoreResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
45
72
  })(CreateFHIRDatastoreResponse || (CreateFHIRDatastoreResponse = {}));
73
+ var InternalServerException = (function (_super) {
74
+ __extends(InternalServerException, _super);
75
+ function InternalServerException(opts) {
76
+ var _this = _super.call(this, __assign({ name: "InternalServerException", $fault: "server" }, opts)) || this;
77
+ _this.name = "InternalServerException";
78
+ _this.$fault = "server";
79
+ Object.setPrototypeOf(_this, InternalServerException.prototype);
80
+ _this.Message = opts.Message;
81
+ return _this;
82
+ }
83
+ return InternalServerException;
84
+ }(__BaseException));
85
+ export { InternalServerException };
86
+ var ThrottlingException = (function (_super) {
87
+ __extends(ThrottlingException, _super);
88
+ function ThrottlingException(opts) {
89
+ var _this = _super.call(this, __assign({ name: "ThrottlingException", $fault: "client" }, opts)) || this;
90
+ _this.name = "ThrottlingException";
91
+ _this.$fault = "client";
92
+ Object.setPrototypeOf(_this, ThrottlingException.prototype);
93
+ _this.Message = opts.Message;
94
+ return _this;
95
+ }
96
+ return ThrottlingException;
97
+ }(__BaseException));
98
+ export { ThrottlingException };
99
+ var ValidationException = (function (_super) {
100
+ __extends(ValidationException, _super);
101
+ function ValidationException(opts) {
102
+ var _this = _super.call(this, __assign({ name: "ValidationException", $fault: "client" }, opts)) || this;
103
+ _this.name = "ValidationException";
104
+ _this.$fault = "client";
105
+ Object.setPrototypeOf(_this, ValidationException.prototype);
106
+ _this.Message = opts.Message;
107
+ return _this;
108
+ }
109
+ return ValidationException;
110
+ }(__BaseException));
111
+ export { ValidationException };
46
112
  export var DatastoreFilter;
47
113
  (function (DatastoreFilter) {
48
114
  DatastoreFilter.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -59,6 +125,19 @@ export var DeleteFHIRDatastoreResponse;
59
125
  (function (DeleteFHIRDatastoreResponse) {
60
126
  DeleteFHIRDatastoreResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
61
127
  })(DeleteFHIRDatastoreResponse || (DeleteFHIRDatastoreResponse = {}));
128
+ var ResourceNotFoundException = (function (_super) {
129
+ __extends(ResourceNotFoundException, _super);
130
+ function ResourceNotFoundException(opts) {
131
+ var _this = _super.call(this, __assign({ name: "ResourceNotFoundException", $fault: "client" }, opts)) || this;
132
+ _this.name = "ResourceNotFoundException";
133
+ _this.$fault = "client";
134
+ Object.setPrototypeOf(_this, ResourceNotFoundException.prototype);
135
+ _this.Message = opts.Message;
136
+ return _this;
137
+ }
138
+ return ResourceNotFoundException;
139
+ }(__BaseException));
140
+ export { ResourceNotFoundException };
62
141
  export var DescribeFHIRDatastoreRequest;
63
142
  (function (DescribeFHIRDatastoreRequest) {
64
143
  DescribeFHIRDatastoreRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };