@aws-sdk/client-sagemaker 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
@@ -4,3 +4,4 @@ export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
6
  export * from "./waiters";
7
+ export { SageMakerServiceException } from "./models/SageMakerServiceException";
@@ -0,0 +1,12 @@
1
+ import { __extends } from "tslib";
2
+ import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
3
+ var SageMakerServiceException = (function (_super) {
4
+ __extends(SageMakerServiceException, _super);
5
+ function SageMakerServiceException(options) {
6
+ var _this = _super.call(this, options) || this;
7
+ Object.setPrototypeOf(_this, SageMakerServiceException.prototype);
8
+ return _this;
9
+ }
10
+ return SageMakerServiceException;
11
+ }(__ServiceException));
12
+ export { SageMakerServiceException };
@@ -1,4 +1,5 @@
1
- import { __assign } from "tslib";
1
+ import { __assign, __extends } from "tslib";
2
+ import { SageMakerServiceException as __BaseException } from "./SageMakerServiceException";
2
3
  export var ActionSource;
3
4
  (function (ActionSource) {
4
5
  ActionSource.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -31,6 +32,32 @@ export var AddAssociationResponse;
31
32
  (function (AddAssociationResponse) {
32
33
  AddAssociationResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
33
34
  })(AddAssociationResponse || (AddAssociationResponse = {}));
35
+ var ResourceLimitExceeded = (function (_super) {
36
+ __extends(ResourceLimitExceeded, _super);
37
+ function ResourceLimitExceeded(opts) {
38
+ var _this = _super.call(this, __assign({ name: "ResourceLimitExceeded", $fault: "client" }, opts)) || this;
39
+ _this.name = "ResourceLimitExceeded";
40
+ _this.$fault = "client";
41
+ Object.setPrototypeOf(_this, ResourceLimitExceeded.prototype);
42
+ _this.Message = opts.Message;
43
+ return _this;
44
+ }
45
+ return ResourceLimitExceeded;
46
+ }(__BaseException));
47
+ export { ResourceLimitExceeded };
48
+ var ResourceNotFound = (function (_super) {
49
+ __extends(ResourceNotFound, _super);
50
+ function ResourceNotFound(opts) {
51
+ var _this = _super.call(this, __assign({ name: "ResourceNotFound", $fault: "client" }, opts)) || this;
52
+ _this.name = "ResourceNotFound";
53
+ _this.$fault = "client";
54
+ Object.setPrototypeOf(_this, ResourceNotFound.prototype);
55
+ _this.Message = opts.Message;
56
+ return _this;
57
+ }
58
+ return ResourceNotFound;
59
+ }(__BaseException));
60
+ export { ResourceNotFound };
34
61
  export var ModelInput;
35
62
  (function (ModelInput) {
36
63
  ModelInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -687,9 +714,11 @@ export var AutoMLJobSecondaryStatus;
687
714
  AutoMLJobSecondaryStatus["FAILED"] = "Failed";
688
715
  AutoMLJobSecondaryStatus["FEATURE_ENGINEERING"] = "FeatureEngineering";
689
716
  AutoMLJobSecondaryStatus["GENERATING_EXPLAINABILITY_REPORT"] = "GeneratingExplainabilityReport";
717
+ AutoMLJobSecondaryStatus["GENERATING_MODEL_INSIGHTS_REPORT"] = "GeneratingModelInsightsReport";
690
718
  AutoMLJobSecondaryStatus["MAX_AUTO_ML_JOB_RUNTIME_REACHED"] = "MaxAutoMLJobRuntimeReached";
691
719
  AutoMLJobSecondaryStatus["MAX_CANDIDATES_REACHED"] = "MaxCandidatesReached";
692
720
  AutoMLJobSecondaryStatus["MODEL_DEPLOYMENT_ERROR"] = "ModelDeploymentError";
721
+ AutoMLJobSecondaryStatus["MODEL_INSIGHTS_ERROR"] = "ModelInsightsError";
693
722
  AutoMLJobSecondaryStatus["MODEL_TUNING"] = "ModelTuning";
694
723
  AutoMLJobSecondaryStatus["STARTING"] = "Starting";
695
724
  AutoMLJobSecondaryStatus["STOPPED"] = "Stopped";
@@ -973,6 +1002,19 @@ export var ConditionStepMetadata;
973
1002
  (function (ConditionStepMetadata) {
974
1003
  ConditionStepMetadata.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
975
1004
  })(ConditionStepMetadata || (ConditionStepMetadata = {}));
1005
+ var ConflictException = (function (_super) {
1006
+ __extends(ConflictException, _super);
1007
+ function ConflictException(opts) {
1008
+ var _this = _super.call(this, __assign({ name: "ConflictException", $fault: "client" }, opts)) || this;
1009
+ _this.name = "ConflictException";
1010
+ _this.$fault = "client";
1011
+ Object.setPrototypeOf(_this, ConflictException.prototype);
1012
+ _this.Message = opts.Message;
1013
+ return _this;
1014
+ }
1015
+ return ConflictException;
1016
+ }(__BaseException));
1017
+ export { ConflictException };
976
1018
  export var RepositoryAccessMode;
977
1019
  (function (RepositoryAccessMode) {
978
1020
  RepositoryAccessMode["PLATFORM"] = "Platform";
@@ -1096,6 +1138,19 @@ export var CreateAppResponse;
1096
1138
  (function (CreateAppResponse) {
1097
1139
  CreateAppResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1098
1140
  })(CreateAppResponse || (CreateAppResponse = {}));
1141
+ var ResourceInUse = (function (_super) {
1142
+ __extends(ResourceInUse, _super);
1143
+ function ResourceInUse(opts) {
1144
+ var _this = _super.call(this, __assign({ name: "ResourceInUse", $fault: "client" }, opts)) || this;
1145
+ _this.name = "ResourceInUse";
1146
+ _this.$fault = "client";
1147
+ Object.setPrototypeOf(_this, ResourceInUse.prototype);
1148
+ _this.Message = opts.Message;
1149
+ return _this;
1150
+ }
1151
+ return ResourceInUse;
1152
+ }(__BaseException));
1153
+ export { ResourceInUse };
1099
1154
  export var CreateAppImageConfigRequest;
1100
1155
  (function (CreateAppImageConfigRequest) {
1101
1156
  CreateAppImageConfigRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };