@aws-sdk/client-personalize 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 "./PersonalizeClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { PersonalizeServiceException } from "./models/PersonalizeServiceException";
@@ -0,0 +1,12 @@
1
+ import { __extends } from "tslib";
2
+ import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
3
+ var PersonalizeServiceException = (function (_super) {
4
+ __extends(PersonalizeServiceException, _super);
5
+ function PersonalizeServiceException(options) {
6
+ var _this = _super.call(this, options) || this;
7
+ Object.setPrototypeOf(_this, PersonalizeServiceException.prototype);
8
+ return _this;
9
+ }
10
+ return PersonalizeServiceException;
11
+ }(__ServiceException));
12
+ export { PersonalizeServiceException };
@@ -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 { PersonalizeServiceException as __BaseException } from "./PersonalizeServiceException";
3
4
  export var AlgorithmImage;
4
5
  (function (AlgorithmImage) {
5
6
  AlgorithmImage.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -48,6 +49,66 @@ export var CreateBatchInferenceJobResponse;
48
49
  (function (CreateBatchInferenceJobResponse) {
49
50
  CreateBatchInferenceJobResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
50
51
  })(CreateBatchInferenceJobResponse || (CreateBatchInferenceJobResponse = {}));
52
+ var InvalidInputException = (function (_super) {
53
+ __extends(InvalidInputException, _super);
54
+ function InvalidInputException(opts) {
55
+ var _this = _super.call(this, __assign({ name: "InvalidInputException", $fault: "client" }, opts)) || this;
56
+ _this.name = "InvalidInputException";
57
+ _this.$fault = "client";
58
+ Object.setPrototypeOf(_this, InvalidInputException.prototype);
59
+ return _this;
60
+ }
61
+ return InvalidInputException;
62
+ }(__BaseException));
63
+ export { InvalidInputException };
64
+ var LimitExceededException = (function (_super) {
65
+ __extends(LimitExceededException, _super);
66
+ function LimitExceededException(opts) {
67
+ var _this = _super.call(this, __assign({ name: "LimitExceededException", $fault: "client" }, opts)) || this;
68
+ _this.name = "LimitExceededException";
69
+ _this.$fault = "client";
70
+ Object.setPrototypeOf(_this, LimitExceededException.prototype);
71
+ return _this;
72
+ }
73
+ return LimitExceededException;
74
+ }(__BaseException));
75
+ export { LimitExceededException };
76
+ var ResourceAlreadyExistsException = (function (_super) {
77
+ __extends(ResourceAlreadyExistsException, _super);
78
+ function ResourceAlreadyExistsException(opts) {
79
+ var _this = _super.call(this, __assign({ name: "ResourceAlreadyExistsException", $fault: "client" }, opts)) || this;
80
+ _this.name = "ResourceAlreadyExistsException";
81
+ _this.$fault = "client";
82
+ Object.setPrototypeOf(_this, ResourceAlreadyExistsException.prototype);
83
+ return _this;
84
+ }
85
+ return ResourceAlreadyExistsException;
86
+ }(__BaseException));
87
+ export { ResourceAlreadyExistsException };
88
+ var ResourceInUseException = (function (_super) {
89
+ __extends(ResourceInUseException, _super);
90
+ function ResourceInUseException(opts) {
91
+ var _this = _super.call(this, __assign({ name: "ResourceInUseException", $fault: "client" }, opts)) || this;
92
+ _this.name = "ResourceInUseException";
93
+ _this.$fault = "client";
94
+ Object.setPrototypeOf(_this, ResourceInUseException.prototype);
95
+ return _this;
96
+ }
97
+ return ResourceInUseException;
98
+ }(__BaseException));
99
+ export { ResourceInUseException };
100
+ var ResourceNotFoundException = (function (_super) {
101
+ __extends(ResourceNotFoundException, _super);
102
+ function ResourceNotFoundException(opts) {
103
+ var _this = _super.call(this, __assign({ name: "ResourceNotFoundException", $fault: "client" }, opts)) || this;
104
+ _this.name = "ResourceNotFoundException";
105
+ _this.$fault = "client";
106
+ Object.setPrototypeOf(_this, ResourceNotFoundException.prototype);
107
+ return _this;
108
+ }
109
+ return ResourceNotFoundException;
110
+ }(__BaseException));
111
+ export { ResourceNotFoundException };
51
112
  export var BatchSegmentJobInput;
52
113
  (function (BatchSegmentJobInput) {
53
114
  BatchSegmentJobInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -479,6 +540,18 @@ export var GetSolutionMetricsResponse;
479
540
  (function (GetSolutionMetricsResponse) {
480
541
  GetSolutionMetricsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
481
542
  })(GetSolutionMetricsResponse || (GetSolutionMetricsResponse = {}));
543
+ var InvalidNextTokenException = (function (_super) {
544
+ __extends(InvalidNextTokenException, _super);
545
+ function InvalidNextTokenException(opts) {
546
+ var _this = _super.call(this, __assign({ name: "InvalidNextTokenException", $fault: "client" }, opts)) || this;
547
+ _this.name = "InvalidNextTokenException";
548
+ _this.$fault = "client";
549
+ Object.setPrototypeOf(_this, InvalidNextTokenException.prototype);
550
+ return _this;
551
+ }
552
+ return InvalidNextTokenException;
553
+ }(__BaseException));
554
+ export { InvalidNextTokenException };
482
555
  export var ListBatchInferenceJobsRequest;
483
556
  (function (ListBatchInferenceJobsRequest) {
484
557
  ListBatchInferenceJobsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };