@aws-sdk/client-sagemaker-featurestore-runtime 3.183.0 → 3.185.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.
@@ -1,96 +1,77 @@
1
+ import { __assign, __extends } from "tslib";
1
2
  import { SageMakerFeatureStoreRuntimeServiceException as __BaseException } from "./SageMakerFeatureStoreRuntimeServiceException";
2
- export class AccessForbidden extends __BaseException {
3
- constructor(opts) {
4
- super({
5
- name: "AccessForbidden",
6
- $fault: "client",
7
- ...opts,
8
- });
9
- this.name = "AccessForbidden";
10
- this.$fault = "client";
11
- Object.setPrototypeOf(this, AccessForbidden.prototype);
12
- this.Message = opts.Message;
3
+ var AccessForbidden = (function (_super) {
4
+ __extends(AccessForbidden, _super);
5
+ function AccessForbidden(opts) {
6
+ var _this = _super.call(this, __assign({ name: "AccessForbidden", $fault: "client" }, opts)) || this;
7
+ _this.name = "AccessForbidden";
8
+ _this.$fault = "client";
9
+ Object.setPrototypeOf(_this, AccessForbidden.prototype);
10
+ _this.Message = opts.Message;
11
+ return _this;
13
12
  }
14
- }
15
- export class InternalFailure extends __BaseException {
16
- constructor(opts) {
17
- super({
18
- name: "InternalFailure",
19
- $fault: "server",
20
- ...opts,
21
- });
22
- this.name = "InternalFailure";
23
- this.$fault = "server";
24
- Object.setPrototypeOf(this, InternalFailure.prototype);
25
- this.Message = opts.Message;
13
+ return AccessForbidden;
14
+ }(__BaseException));
15
+ export { AccessForbidden };
16
+ var InternalFailure = (function (_super) {
17
+ __extends(InternalFailure, _super);
18
+ function InternalFailure(opts) {
19
+ var _this = _super.call(this, __assign({ name: "InternalFailure", $fault: "server" }, opts)) || this;
20
+ _this.name = "InternalFailure";
21
+ _this.$fault = "server";
22
+ Object.setPrototypeOf(_this, InternalFailure.prototype);
23
+ _this.Message = opts.Message;
24
+ return _this;
26
25
  }
27
- }
28
- export class ServiceUnavailable extends __BaseException {
29
- constructor(opts) {
30
- super({
31
- name: "ServiceUnavailable",
32
- $fault: "server",
33
- ...opts,
34
- });
35
- this.name = "ServiceUnavailable";
36
- this.$fault = "server";
37
- Object.setPrototypeOf(this, ServiceUnavailable.prototype);
38
- this.Message = opts.Message;
26
+ return InternalFailure;
27
+ }(__BaseException));
28
+ export { InternalFailure };
29
+ var ServiceUnavailable = (function (_super) {
30
+ __extends(ServiceUnavailable, _super);
31
+ function ServiceUnavailable(opts) {
32
+ var _this = _super.call(this, __assign({ name: "ServiceUnavailable", $fault: "server" }, opts)) || this;
33
+ _this.name = "ServiceUnavailable";
34
+ _this.$fault = "server";
35
+ Object.setPrototypeOf(_this, ServiceUnavailable.prototype);
36
+ _this.Message = opts.Message;
37
+ return _this;
39
38
  }
40
- }
41
- export class ValidationError extends __BaseException {
42
- constructor(opts) {
43
- super({
44
- name: "ValidationError",
45
- $fault: "client",
46
- ...opts,
47
- });
48
- this.name = "ValidationError";
49
- this.$fault = "client";
50
- Object.setPrototypeOf(this, ValidationError.prototype);
51
- this.Message = opts.Message;
39
+ return ServiceUnavailable;
40
+ }(__BaseException));
41
+ export { ServiceUnavailable };
42
+ var ValidationError = (function (_super) {
43
+ __extends(ValidationError, _super);
44
+ function ValidationError(opts) {
45
+ var _this = _super.call(this, __assign({ name: "ValidationError", $fault: "client" }, opts)) || this;
46
+ _this.name = "ValidationError";
47
+ _this.$fault = "client";
48
+ Object.setPrototypeOf(_this, ValidationError.prototype);
49
+ _this.Message = opts.Message;
50
+ return _this;
52
51
  }
53
- }
54
- export class ResourceNotFound extends __BaseException {
55
- constructor(opts) {
56
- super({
57
- name: "ResourceNotFound",
58
- $fault: "client",
59
- ...opts,
60
- });
61
- this.name = "ResourceNotFound";
62
- this.$fault = "client";
63
- Object.setPrototypeOf(this, ResourceNotFound.prototype);
64
- this.Message = opts.Message;
52
+ return ValidationError;
53
+ }(__BaseException));
54
+ export { ValidationError };
55
+ var ResourceNotFound = (function (_super) {
56
+ __extends(ResourceNotFound, _super);
57
+ function ResourceNotFound(opts) {
58
+ var _this = _super.call(this, __assign({ name: "ResourceNotFound", $fault: "client" }, opts)) || this;
59
+ _this.name = "ResourceNotFound";
60
+ _this.$fault = "client";
61
+ Object.setPrototypeOf(_this, ResourceNotFound.prototype);
62
+ _this.Message = opts.Message;
63
+ return _this;
65
64
  }
66
- }
67
- export const BatchGetRecordIdentifierFilterSensitiveLog = (obj) => ({
68
- ...obj,
69
- });
70
- export const BatchGetRecordRequestFilterSensitiveLog = (obj) => ({
71
- ...obj,
72
- });
73
- export const BatchGetRecordErrorFilterSensitiveLog = (obj) => ({
74
- ...obj,
75
- });
76
- export const FeatureValueFilterSensitiveLog = (obj) => ({
77
- ...obj,
78
- });
79
- export const BatchGetRecordResultDetailFilterSensitiveLog = (obj) => ({
80
- ...obj,
81
- });
82
- export const BatchGetRecordResponseFilterSensitiveLog = (obj) => ({
83
- ...obj,
84
- });
85
- export const DeleteRecordRequestFilterSensitiveLog = (obj) => ({
86
- ...obj,
87
- });
88
- export const GetRecordRequestFilterSensitiveLog = (obj) => ({
89
- ...obj,
90
- });
91
- export const GetRecordResponseFilterSensitiveLog = (obj) => ({
92
- ...obj,
93
- });
94
- export const PutRecordRequestFilterSensitiveLog = (obj) => ({
95
- ...obj,
96
- });
65
+ return ResourceNotFound;
66
+ }(__BaseException));
67
+ export { ResourceNotFound };
68
+ export var BatchGetRecordIdentifierFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
69
+ export var BatchGetRecordRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
70
+ export var BatchGetRecordErrorFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
71
+ export var FeatureValueFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
72
+ export var BatchGetRecordResultDetailFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
73
+ export var BatchGetRecordResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
74
+ export var DeleteRecordRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
75
+ export var GetRecordRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
76
+ export var GetRecordResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
77
+ export var PutRecordRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };