@aws-sdk/client-machine-learning 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/CHANGELOG.md +11 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/MachineLearningServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +112 -2
- package/dist-cjs/protocols/Aws_json1_1.js +233 -835
- package/dist-es/index.js +1 -0
- package/dist-es/models/MachineLearningServiceException.js +12 -0
- package/dist-es/models/models_0.js +103 -1
- package/dist-es/protocols/Aws_json1_1.js +543 -932
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/MachineLearningServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +58 -33
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/MachineLearningServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +42 -33
- package/package.json +27 -27
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.53.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.52.0...v3.53.0) (2022-02-24)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **clients:** generate service exceptions as classes ([#3267](https://github.com/aws/aws-sdk-js-v3/issues/3267)) ([ca64fee](https://github.com/aws/aws-sdk-js-v3/commit/ca64feed3351c394c07dc26b782a5760a396a074))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [3.52.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.51.0...v3.52.0) (2022-02-18)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @aws-sdk/client-machine-learning
|
package/dist-cjs/index.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MachineLearningServiceException = void 0;
|
|
3
4
|
const tslib_1 = require("tslib");
|
|
4
5
|
tslib_1.__exportStar(require("./MachineLearning"), exports);
|
|
5
6
|
tslib_1.__exportStar(require("./MachineLearningClient"), exports);
|
|
@@ -7,3 +8,5 @@ tslib_1.__exportStar(require("./commands"), exports);
|
|
|
7
8
|
tslib_1.__exportStar(require("./models"), exports);
|
|
8
9
|
tslib_1.__exportStar(require("./pagination"), exports);
|
|
9
10
|
tslib_1.__exportStar(require("./waiters"), exports);
|
|
11
|
+
var MachineLearningServiceException_1 = require("./models/MachineLearningServiceException");
|
|
12
|
+
Object.defineProperty(exports, "MachineLearningServiceException", { enumerable: true, get: function () { return MachineLearningServiceException_1.MachineLearningServiceException; } });
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MachineLearningServiceException = void 0;
|
|
4
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
5
|
+
class MachineLearningServiceException extends smithy_client_1.ServiceException {
|
|
6
|
+
constructor(options) {
|
|
7
|
+
super(options);
|
|
8
|
+
Object.setPrototypeOf(this, MachineLearningServiceException.prototype);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
exports.MachineLearningServiceException = MachineLearningServiceException;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.UpdateMLModelOutput = exports.UpdateMLModelInput = exports.UpdateEvaluationOutput = exports.UpdateEvaluationInput = exports.UpdateDataSourceOutput = exports.UpdateDataSourceInput = exports.UpdateBatchPredictionOutput = exports.UpdateBatchPredictionInput = exports.PredictOutput = exports.Prediction = exports.DetailsAttributes = exports.PredictInput = exports.GetMLModelOutput = exports.GetMLModelInput = exports.GetEvaluationOutput = exports.GetEvaluationInput = exports.GetDataSourceOutput = exports.GetDataSourceInput = exports.GetBatchPredictionOutput = exports.GetBatchPredictionInput = exports.DescribeTagsOutput = exports.DescribeTagsInput = exports.DescribeMLModelsOutput = exports.MLModel = exports.DescribeMLModelsInput = exports.MLModelFilterVariable = exports.DescribeEvaluationsOutput = exports.Evaluation = exports.PerformanceMetrics = exports.DescribeEvaluationsInput = exports.EvaluationFilterVariable = exports.DescribeDataSourcesOutput = exports.DataSource = exports.RedshiftMetadata = void 0;
|
|
3
|
+
exports.DescribeBatchPredictionsInput = exports.SortOrder = exports.BatchPredictionFilterVariable = exports.DeleteTagsOutput = exports.DeleteTagsInput = exports.DeleteRealtimeEndpointOutput = exports.DeleteRealtimeEndpointInput = exports.DeleteMLModelOutput = exports.DeleteMLModelInput = exports.DeleteEvaluationOutput = exports.DeleteEvaluationInput = exports.DeleteDataSourceOutput = exports.DeleteDataSourceInput = exports.DeleteBatchPredictionOutput = exports.DeleteBatchPredictionInput = exports.CreateRealtimeEndpointOutput = exports.RealtimeEndpointInfo = exports.RealtimeEndpointStatus = exports.CreateRealtimeEndpointInput = exports.CreateMLModelOutput = exports.CreateMLModelInput = exports.MLModelType = exports.CreateEvaluationOutput = exports.CreateEvaluationInput = exports.CreateDataSourceFromS3Output = exports.CreateDataSourceFromS3Input = exports.S3DataSpec = exports.CreateDataSourceFromRedshiftOutput = exports.CreateDataSourceFromRedshiftInput = exports.RedshiftDataSpec = exports.RedshiftDatabase = exports.RedshiftDatabaseCredentials = exports.CreateDataSourceFromRDSOutput = exports.CreateDataSourceFromRDSInput = exports.RDSDataSpec = exports.RDSDatabase = exports.RDSDatabaseCredentials = exports.IdempotentParameterMismatchException = exports.CreateBatchPredictionOutput = exports.CreateBatchPredictionInput = exports.Algorithm = exports.TagLimitExceededException = exports.ResourceNotFoundException = exports.InvalidTagException = exports.InvalidInputException = exports.InternalServerException = exports.AddTagsOutput = exports.AddTagsInput = exports.Tag = exports.TaggableResourceType = void 0;
|
|
4
|
+
exports.UpdateMLModelOutput = exports.UpdateMLModelInput = exports.UpdateEvaluationOutput = exports.UpdateEvaluationInput = exports.UpdateDataSourceOutput = exports.UpdateDataSourceInput = exports.UpdateBatchPredictionOutput = exports.UpdateBatchPredictionInput = exports.PredictOutput = exports.Prediction = exports.DetailsAttributes = exports.PredictorNotMountedException = exports.PredictInput = exports.LimitExceededException = exports.GetMLModelOutput = exports.GetMLModelInput = exports.GetEvaluationOutput = exports.GetEvaluationInput = exports.GetDataSourceOutput = exports.GetDataSourceInput = exports.GetBatchPredictionOutput = exports.GetBatchPredictionInput = exports.DescribeTagsOutput = exports.DescribeTagsInput = exports.DescribeMLModelsOutput = exports.MLModel = exports.DescribeMLModelsInput = exports.MLModelFilterVariable = exports.DescribeEvaluationsOutput = exports.Evaluation = exports.PerformanceMetrics = exports.DescribeEvaluationsInput = exports.EvaluationFilterVariable = exports.DescribeDataSourcesOutput = exports.DataSource = exports.RedshiftMetadata = exports.RDSMetadata = exports.DescribeDataSourcesInput = exports.DataSourceFilterVariable = exports.DescribeBatchPredictionsOutput = exports.BatchPrediction = exports.EntityStatus = void 0;
|
|
5
|
+
const MachineLearningServiceException_1 = require("./MachineLearningServiceException");
|
|
5
6
|
var TaggableResourceType;
|
|
6
7
|
(function (TaggableResourceType) {
|
|
7
8
|
TaggableResourceType["BATCH_PREDICTION"] = "BatchPrediction";
|
|
@@ -27,6 +28,74 @@ var AddTagsOutput;
|
|
|
27
28
|
...obj,
|
|
28
29
|
});
|
|
29
30
|
})(AddTagsOutput = exports.AddTagsOutput || (exports.AddTagsOutput = {}));
|
|
31
|
+
class InternalServerException extends MachineLearningServiceException_1.MachineLearningServiceException {
|
|
32
|
+
constructor(opts) {
|
|
33
|
+
super({
|
|
34
|
+
name: "InternalServerException",
|
|
35
|
+
$fault: "server",
|
|
36
|
+
...opts,
|
|
37
|
+
});
|
|
38
|
+
this.name = "InternalServerException";
|
|
39
|
+
this.$fault = "server";
|
|
40
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
41
|
+
this.code = opts.code;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
exports.InternalServerException = InternalServerException;
|
|
45
|
+
class InvalidInputException extends MachineLearningServiceException_1.MachineLearningServiceException {
|
|
46
|
+
constructor(opts) {
|
|
47
|
+
super({
|
|
48
|
+
name: "InvalidInputException",
|
|
49
|
+
$fault: "client",
|
|
50
|
+
...opts,
|
|
51
|
+
});
|
|
52
|
+
this.name = "InvalidInputException";
|
|
53
|
+
this.$fault = "client";
|
|
54
|
+
Object.setPrototypeOf(this, InvalidInputException.prototype);
|
|
55
|
+
this.code = opts.code;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
exports.InvalidInputException = InvalidInputException;
|
|
59
|
+
class InvalidTagException extends MachineLearningServiceException_1.MachineLearningServiceException {
|
|
60
|
+
constructor(opts) {
|
|
61
|
+
super({
|
|
62
|
+
name: "InvalidTagException",
|
|
63
|
+
$fault: "client",
|
|
64
|
+
...opts,
|
|
65
|
+
});
|
|
66
|
+
this.name = "InvalidTagException";
|
|
67
|
+
this.$fault = "client";
|
|
68
|
+
Object.setPrototypeOf(this, InvalidTagException.prototype);
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
exports.InvalidTagException = InvalidTagException;
|
|
72
|
+
class ResourceNotFoundException extends MachineLearningServiceException_1.MachineLearningServiceException {
|
|
73
|
+
constructor(opts) {
|
|
74
|
+
super({
|
|
75
|
+
name: "ResourceNotFoundException",
|
|
76
|
+
$fault: "client",
|
|
77
|
+
...opts,
|
|
78
|
+
});
|
|
79
|
+
this.name = "ResourceNotFoundException";
|
|
80
|
+
this.$fault = "client";
|
|
81
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
82
|
+
this.code = opts.code;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
86
|
+
class TagLimitExceededException extends MachineLearningServiceException_1.MachineLearningServiceException {
|
|
87
|
+
constructor(opts) {
|
|
88
|
+
super({
|
|
89
|
+
name: "TagLimitExceededException",
|
|
90
|
+
$fault: "client",
|
|
91
|
+
...opts,
|
|
92
|
+
});
|
|
93
|
+
this.name = "TagLimitExceededException";
|
|
94
|
+
this.$fault = "client";
|
|
95
|
+
Object.setPrototypeOf(this, TagLimitExceededException.prototype);
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
exports.TagLimitExceededException = TagLimitExceededException;
|
|
30
99
|
var Algorithm;
|
|
31
100
|
(function (Algorithm) {
|
|
32
101
|
Algorithm["SGD"] = "sgd";
|
|
@@ -43,6 +112,20 @@ var CreateBatchPredictionOutput;
|
|
|
43
112
|
...obj,
|
|
44
113
|
});
|
|
45
114
|
})(CreateBatchPredictionOutput = exports.CreateBatchPredictionOutput || (exports.CreateBatchPredictionOutput = {}));
|
|
115
|
+
class IdempotentParameterMismatchException extends MachineLearningServiceException_1.MachineLearningServiceException {
|
|
116
|
+
constructor(opts) {
|
|
117
|
+
super({
|
|
118
|
+
name: "IdempotentParameterMismatchException",
|
|
119
|
+
$fault: "client",
|
|
120
|
+
...opts,
|
|
121
|
+
});
|
|
122
|
+
this.name = "IdempotentParameterMismatchException";
|
|
123
|
+
this.$fault = "client";
|
|
124
|
+
Object.setPrototypeOf(this, IdempotentParameterMismatchException.prototype);
|
|
125
|
+
this.code = opts.code;
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
exports.IdempotentParameterMismatchException = IdempotentParameterMismatchException;
|
|
46
129
|
var RDSDatabaseCredentials;
|
|
47
130
|
(function (RDSDatabaseCredentials) {
|
|
48
131
|
RDSDatabaseCredentials.filterSensitiveLog = (obj) => ({
|
|
@@ -455,12 +538,39 @@ var GetMLModelOutput;
|
|
|
455
538
|
...obj,
|
|
456
539
|
});
|
|
457
540
|
})(GetMLModelOutput = exports.GetMLModelOutput || (exports.GetMLModelOutput = {}));
|
|
541
|
+
class LimitExceededException extends MachineLearningServiceException_1.MachineLearningServiceException {
|
|
542
|
+
constructor(opts) {
|
|
543
|
+
super({
|
|
544
|
+
name: "LimitExceededException",
|
|
545
|
+
$fault: "client",
|
|
546
|
+
...opts,
|
|
547
|
+
});
|
|
548
|
+
this.name = "LimitExceededException";
|
|
549
|
+
this.$fault = "client";
|
|
550
|
+
Object.setPrototypeOf(this, LimitExceededException.prototype);
|
|
551
|
+
this.code = opts.code;
|
|
552
|
+
}
|
|
553
|
+
}
|
|
554
|
+
exports.LimitExceededException = LimitExceededException;
|
|
458
555
|
var PredictInput;
|
|
459
556
|
(function (PredictInput) {
|
|
460
557
|
PredictInput.filterSensitiveLog = (obj) => ({
|
|
461
558
|
...obj,
|
|
462
559
|
});
|
|
463
560
|
})(PredictInput = exports.PredictInput || (exports.PredictInput = {}));
|
|
561
|
+
class PredictorNotMountedException extends MachineLearningServiceException_1.MachineLearningServiceException {
|
|
562
|
+
constructor(opts) {
|
|
563
|
+
super({
|
|
564
|
+
name: "PredictorNotMountedException",
|
|
565
|
+
$fault: "client",
|
|
566
|
+
...opts,
|
|
567
|
+
});
|
|
568
|
+
this.name = "PredictorNotMountedException";
|
|
569
|
+
this.$fault = "client";
|
|
570
|
+
Object.setPrototypeOf(this, PredictorNotMountedException.prototype);
|
|
571
|
+
}
|
|
572
|
+
}
|
|
573
|
+
exports.PredictorNotMountedException = PredictorNotMountedException;
|
|
464
574
|
var DetailsAttributes;
|
|
465
575
|
(function (DetailsAttributes) {
|
|
466
576
|
DetailsAttributes["ALGORITHM"] = "Algorithm";
|