@aws-sdk/client-machine-learning 3.490.0 → 3.495.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.
Files changed (52) hide show
  1. package/dist-cjs/MachineLearning.js +1 -67
  2. package/dist-cjs/MachineLearningClient.js +1 -56
  3. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +1 -43
  4. package/dist-cjs/commands/AddTagsCommand.js +1 -28
  5. package/dist-cjs/commands/CreateBatchPredictionCommand.js +1 -28
  6. package/dist-cjs/commands/CreateDataSourceFromRDSCommand.js +1 -29
  7. package/dist-cjs/commands/CreateDataSourceFromRedshiftCommand.js +1 -29
  8. package/dist-cjs/commands/CreateDataSourceFromS3Command.js +1 -28
  9. package/dist-cjs/commands/CreateEvaluationCommand.js +1 -28
  10. package/dist-cjs/commands/CreateMLModelCommand.js +1 -28
  11. package/dist-cjs/commands/CreateRealtimeEndpointCommand.js +1 -28
  12. package/dist-cjs/commands/DeleteBatchPredictionCommand.js +1 -28
  13. package/dist-cjs/commands/DeleteDataSourceCommand.js +1 -28
  14. package/dist-cjs/commands/DeleteEvaluationCommand.js +1 -28
  15. package/dist-cjs/commands/DeleteMLModelCommand.js +1 -28
  16. package/dist-cjs/commands/DeleteRealtimeEndpointCommand.js +1 -28
  17. package/dist-cjs/commands/DeleteTagsCommand.js +1 -28
  18. package/dist-cjs/commands/DescribeBatchPredictionsCommand.js +1 -28
  19. package/dist-cjs/commands/DescribeDataSourcesCommand.js +1 -28
  20. package/dist-cjs/commands/DescribeEvaluationsCommand.js +1 -28
  21. package/dist-cjs/commands/DescribeMLModelsCommand.js +1 -28
  22. package/dist-cjs/commands/DescribeTagsCommand.js +1 -28
  23. package/dist-cjs/commands/GetBatchPredictionCommand.js +1 -28
  24. package/dist-cjs/commands/GetDataSourceCommand.js +1 -28
  25. package/dist-cjs/commands/GetEvaluationCommand.js +1 -28
  26. package/dist-cjs/commands/GetMLModelCommand.js +1 -28
  27. package/dist-cjs/commands/PredictCommand.js +1 -30
  28. package/dist-cjs/commands/UpdateBatchPredictionCommand.js +1 -28
  29. package/dist-cjs/commands/UpdateDataSourceCommand.js +1 -28
  30. package/dist-cjs/commands/UpdateEvaluationCommand.js +1 -28
  31. package/dist-cjs/commands/UpdateMLModelCommand.js +1 -28
  32. package/dist-cjs/commands/index.js +1 -31
  33. package/dist-cjs/endpoint/EndpointParameters.js +1 -18
  34. package/dist-cjs/extensionConfiguration.js +1 -2
  35. package/dist-cjs/index.js +2979 -12
  36. package/dist-cjs/models/MachineLearningServiceException.js +1 -12
  37. package/dist-cjs/models/index.js +1 -4
  38. package/dist-cjs/models/models_0.js +1 -223
  39. package/dist-cjs/pagination/DescribeBatchPredictionsPaginator.js +1 -7
  40. package/dist-cjs/pagination/DescribeDataSourcesPaginator.js +1 -7
  41. package/dist-cjs/pagination/DescribeEvaluationsPaginator.js +1 -7
  42. package/dist-cjs/pagination/DescribeMLModelsPaginator.js +1 -7
  43. package/dist-cjs/pagination/Interfaces.js +1 -2
  44. package/dist-cjs/pagination/index.js +1 -8
  45. package/dist-cjs/protocols/Aws_json1_1.js +1 -1720
  46. package/dist-cjs/runtimeExtensions.js +1 -25
  47. package/dist-cjs/waiters/index.js +1 -7
  48. package/dist-cjs/waiters/waitForBatchPredictionAvailable.js +1 -59
  49. package/dist-cjs/waiters/waitForDataSourceAvailable.js +1 -59
  50. package/dist-cjs/waiters/waitForEvaluationAvailable.js +1 -59
  51. package/dist-cjs/waiters/waitForMLModelAvailable.js +1 -59
  52. package/package.json +42 -42
@@ -1,12 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.MachineLearningServiceException = exports.__ServiceException = void 0;
4
- const smithy_client_1 = require("@smithy/smithy-client");
5
- Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
6
- class MachineLearningServiceException extends smithy_client_1.ServiceException {
7
- constructor(options) {
8
- super(options);
9
- Object.setPrototypeOf(this, MachineLearningServiceException.prototype);
10
- }
11
- }
12
- exports.MachineLearningServiceException = MachineLearningServiceException;
1
+ module.exports = require("../index.js");
@@ -1,4 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./models_0"), exports);
1
+ module.exports = require("../index.js");
@@ -1,223 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CreateDataSourceFromRedshiftInputFilterSensitiveLog = exports.RedshiftDataSpecFilterSensitiveLog = exports.RedshiftDatabaseCredentialsFilterSensitiveLog = exports.CreateDataSourceFromRDSInputFilterSensitiveLog = exports.RDSDataSpecFilterSensitiveLog = exports.RDSDatabaseCredentialsFilterSensitiveLog = exports.DetailsAttributes = exports.PredictorNotMountedException = exports.LimitExceededException = exports.MLModelFilterVariable = exports.EvaluationFilterVariable = exports.DataSourceFilterVariable = exports.EntityStatus = exports.SortOrder = exports.BatchPredictionFilterVariable = exports.RealtimeEndpointStatus = exports.MLModelType = exports.IdempotentParameterMismatchException = exports.Algorithm = exports.TagLimitExceededException = exports.ResourceNotFoundException = exports.InvalidTagException = exports.InvalidInputException = exports.InternalServerException = exports.TaggableResourceType = void 0;
4
- const smithy_client_1 = require("@smithy/smithy-client");
5
- const MachineLearningServiceException_1 = require("./MachineLearningServiceException");
6
- exports.TaggableResourceType = {
7
- BATCH_PREDICTION: "BatchPrediction",
8
- DATASOURCE: "DataSource",
9
- EVALUATION: "Evaluation",
10
- ML_MODEL: "MLModel",
11
- };
12
- class InternalServerException extends MachineLearningServiceException_1.MachineLearningServiceException {
13
- constructor(opts) {
14
- super({
15
- name: "InternalServerException",
16
- $fault: "server",
17
- ...opts,
18
- });
19
- this.name = "InternalServerException";
20
- this.$fault = "server";
21
- Object.setPrototypeOf(this, InternalServerException.prototype);
22
- this.code = opts.code;
23
- }
24
- }
25
- exports.InternalServerException = InternalServerException;
26
- class InvalidInputException extends MachineLearningServiceException_1.MachineLearningServiceException {
27
- constructor(opts) {
28
- super({
29
- name: "InvalidInputException",
30
- $fault: "client",
31
- ...opts,
32
- });
33
- this.name = "InvalidInputException";
34
- this.$fault = "client";
35
- Object.setPrototypeOf(this, InvalidInputException.prototype);
36
- this.code = opts.code;
37
- }
38
- }
39
- exports.InvalidInputException = InvalidInputException;
40
- class InvalidTagException extends MachineLearningServiceException_1.MachineLearningServiceException {
41
- constructor(opts) {
42
- super({
43
- name: "InvalidTagException",
44
- $fault: "client",
45
- ...opts,
46
- });
47
- this.name = "InvalidTagException";
48
- this.$fault = "client";
49
- Object.setPrototypeOf(this, InvalidTagException.prototype);
50
- }
51
- }
52
- exports.InvalidTagException = InvalidTagException;
53
- class ResourceNotFoundException extends MachineLearningServiceException_1.MachineLearningServiceException {
54
- constructor(opts) {
55
- super({
56
- name: "ResourceNotFoundException",
57
- $fault: "client",
58
- ...opts,
59
- });
60
- this.name = "ResourceNotFoundException";
61
- this.$fault = "client";
62
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
63
- this.code = opts.code;
64
- }
65
- }
66
- exports.ResourceNotFoundException = ResourceNotFoundException;
67
- class TagLimitExceededException extends MachineLearningServiceException_1.MachineLearningServiceException {
68
- constructor(opts) {
69
- super({
70
- name: "TagLimitExceededException",
71
- $fault: "client",
72
- ...opts,
73
- });
74
- this.name = "TagLimitExceededException";
75
- this.$fault = "client";
76
- Object.setPrototypeOf(this, TagLimitExceededException.prototype);
77
- }
78
- }
79
- exports.TagLimitExceededException = TagLimitExceededException;
80
- exports.Algorithm = {
81
- SGD: "sgd",
82
- };
83
- class IdempotentParameterMismatchException extends MachineLearningServiceException_1.MachineLearningServiceException {
84
- constructor(opts) {
85
- super({
86
- name: "IdempotentParameterMismatchException",
87
- $fault: "client",
88
- ...opts,
89
- });
90
- this.name = "IdempotentParameterMismatchException";
91
- this.$fault = "client";
92
- Object.setPrototypeOf(this, IdempotentParameterMismatchException.prototype);
93
- this.code = opts.code;
94
- }
95
- }
96
- exports.IdempotentParameterMismatchException = IdempotentParameterMismatchException;
97
- exports.MLModelType = {
98
- BINARY: "BINARY",
99
- MULTICLASS: "MULTICLASS",
100
- REGRESSION: "REGRESSION",
101
- };
102
- exports.RealtimeEndpointStatus = {
103
- FAILED: "FAILED",
104
- NONE: "NONE",
105
- READY: "READY",
106
- UPDATING: "UPDATING",
107
- };
108
- exports.BatchPredictionFilterVariable = {
109
- CREATED_AT: "CreatedAt",
110
- DATASOURCE_ID: "DataSourceId",
111
- DATA_URI: "DataURI",
112
- IAM_USER: "IAMUser",
113
- LAST_UPDATED_AT: "LastUpdatedAt",
114
- ML_MODEL_ID: "MLModelId",
115
- NAME: "Name",
116
- STATUS: "Status",
117
- };
118
- exports.SortOrder = {
119
- ASC: "asc",
120
- DSC: "dsc",
121
- };
122
- exports.EntityStatus = {
123
- COMPLETED: "COMPLETED",
124
- DELETED: "DELETED",
125
- FAILED: "FAILED",
126
- INPROGRESS: "INPROGRESS",
127
- PENDING: "PENDING",
128
- };
129
- exports.DataSourceFilterVariable = {
130
- CREATED_AT: "CreatedAt",
131
- DATA_URI: "DataLocationS3",
132
- IAM_USER: "IAMUser",
133
- LAST_UPDATED_AT: "LastUpdatedAt",
134
- NAME: "Name",
135
- STATUS: "Status",
136
- };
137
- exports.EvaluationFilterVariable = {
138
- CREATED_AT: "CreatedAt",
139
- DATASOURCE_ID: "DataSourceId",
140
- DATA_URI: "DataURI",
141
- IAM_USER: "IAMUser",
142
- LAST_UPDATED_AT: "LastUpdatedAt",
143
- ML_MODEL_ID: "MLModelId",
144
- NAME: "Name",
145
- STATUS: "Status",
146
- };
147
- exports.MLModelFilterVariable = {
148
- ALGORITHM: "Algorithm",
149
- CREATED_AT: "CreatedAt",
150
- IAM_USER: "IAMUser",
151
- LAST_UPDATED_AT: "LastUpdatedAt",
152
- ML_MODEL_TYPE: "MLModelType",
153
- NAME: "Name",
154
- REAL_TIME_ENDPOINT_STATUS: "RealtimeEndpointStatus",
155
- STATUS: "Status",
156
- TRAINING_DATASOURCE_ID: "TrainingDataSourceId",
157
- TRAINING_DATA_URI: "TrainingDataURI",
158
- };
159
- class LimitExceededException extends MachineLearningServiceException_1.MachineLearningServiceException {
160
- constructor(opts) {
161
- super({
162
- name: "LimitExceededException",
163
- $fault: "client",
164
- ...opts,
165
- });
166
- this.name = "LimitExceededException";
167
- this.$fault = "client";
168
- Object.setPrototypeOf(this, LimitExceededException.prototype);
169
- this.code = opts.code;
170
- }
171
- }
172
- exports.LimitExceededException = LimitExceededException;
173
- class PredictorNotMountedException extends MachineLearningServiceException_1.MachineLearningServiceException {
174
- constructor(opts) {
175
- super({
176
- name: "PredictorNotMountedException",
177
- $fault: "client",
178
- ...opts,
179
- });
180
- this.name = "PredictorNotMountedException";
181
- this.$fault = "client";
182
- Object.setPrototypeOf(this, PredictorNotMountedException.prototype);
183
- }
184
- }
185
- exports.PredictorNotMountedException = PredictorNotMountedException;
186
- exports.DetailsAttributes = {
187
- ALGORITHM: "Algorithm",
188
- PREDICTIVE_MODEL_TYPE: "PredictiveModelType",
189
- };
190
- const RDSDatabaseCredentialsFilterSensitiveLog = (obj) => ({
191
- ...obj,
192
- ...(obj.Password && { Password: smithy_client_1.SENSITIVE_STRING }),
193
- });
194
- exports.RDSDatabaseCredentialsFilterSensitiveLog = RDSDatabaseCredentialsFilterSensitiveLog;
195
- const RDSDataSpecFilterSensitiveLog = (obj) => ({
196
- ...obj,
197
- ...(obj.DatabaseCredentials && {
198
- DatabaseCredentials: (0, exports.RDSDatabaseCredentialsFilterSensitiveLog)(obj.DatabaseCredentials),
199
- }),
200
- });
201
- exports.RDSDataSpecFilterSensitiveLog = RDSDataSpecFilterSensitiveLog;
202
- const CreateDataSourceFromRDSInputFilterSensitiveLog = (obj) => ({
203
- ...obj,
204
- ...(obj.RDSData && { RDSData: (0, exports.RDSDataSpecFilterSensitiveLog)(obj.RDSData) }),
205
- });
206
- exports.CreateDataSourceFromRDSInputFilterSensitiveLog = CreateDataSourceFromRDSInputFilterSensitiveLog;
207
- const RedshiftDatabaseCredentialsFilterSensitiveLog = (obj) => ({
208
- ...obj,
209
- ...(obj.Password && { Password: smithy_client_1.SENSITIVE_STRING }),
210
- });
211
- exports.RedshiftDatabaseCredentialsFilterSensitiveLog = RedshiftDatabaseCredentialsFilterSensitiveLog;
212
- const RedshiftDataSpecFilterSensitiveLog = (obj) => ({
213
- ...obj,
214
- ...(obj.DatabaseCredentials && {
215
- DatabaseCredentials: (0, exports.RedshiftDatabaseCredentialsFilterSensitiveLog)(obj.DatabaseCredentials),
216
- }),
217
- });
218
- exports.RedshiftDataSpecFilterSensitiveLog = RedshiftDataSpecFilterSensitiveLog;
219
- const CreateDataSourceFromRedshiftInputFilterSensitiveLog = (obj) => ({
220
- ...obj,
221
- ...(obj.DataSpec && { DataSpec: (0, exports.RedshiftDataSpecFilterSensitiveLog)(obj.DataSpec) }),
222
- });
223
- exports.CreateDataSourceFromRedshiftInputFilterSensitiveLog = CreateDataSourceFromRedshiftInputFilterSensitiveLog;
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateDescribeBatchPredictions = void 0;
4
- const core_1 = require("@smithy/core");
5
- const DescribeBatchPredictionsCommand_1 = require("../commands/DescribeBatchPredictionsCommand");
6
- const MachineLearningClient_1 = require("../MachineLearningClient");
7
- exports.paginateDescribeBatchPredictions = (0, core_1.createPaginator)(MachineLearningClient_1.MachineLearningClient, DescribeBatchPredictionsCommand_1.DescribeBatchPredictionsCommand, "NextToken", "NextToken", "Limit");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateDescribeDataSources = void 0;
4
- const core_1 = require("@smithy/core");
5
- const DescribeDataSourcesCommand_1 = require("../commands/DescribeDataSourcesCommand");
6
- const MachineLearningClient_1 = require("../MachineLearningClient");
7
- exports.paginateDescribeDataSources = (0, core_1.createPaginator)(MachineLearningClient_1.MachineLearningClient, DescribeDataSourcesCommand_1.DescribeDataSourcesCommand, "NextToken", "NextToken", "Limit");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateDescribeEvaluations = void 0;
4
- const core_1 = require("@smithy/core");
5
- const DescribeEvaluationsCommand_1 = require("../commands/DescribeEvaluationsCommand");
6
- const MachineLearningClient_1 = require("../MachineLearningClient");
7
- exports.paginateDescribeEvaluations = (0, core_1.createPaginator)(MachineLearningClient_1.MachineLearningClient, DescribeEvaluationsCommand_1.DescribeEvaluationsCommand, "NextToken", "NextToken", "Limit");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateDescribeMLModels = void 0;
4
- const core_1 = require("@smithy/core");
5
- const DescribeMLModelsCommand_1 = require("../commands/DescribeMLModelsCommand");
6
- const MachineLearningClient_1 = require("../MachineLearningClient");
7
- exports.paginateDescribeMLModels = (0, core_1.createPaginator)(MachineLearningClient_1.MachineLearningClient, DescribeMLModelsCommand_1.DescribeMLModelsCommand, "NextToken", "NextToken", "Limit");
1
+ module.exports = require("../index.js");
@@ -1,2 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ module.exports = require("../index.js");
@@ -1,8 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./DescribeBatchPredictionsPaginator"), exports);
5
- tslib_1.__exportStar(require("./DescribeDataSourcesPaginator"), exports);
6
- tslib_1.__exportStar(require("./DescribeEvaluationsPaginator"), exports);
7
- tslib_1.__exportStar(require("./DescribeMLModelsPaginator"), exports);
8
- tslib_1.__exportStar(require("./Interfaces"), exports);
1
+ module.exports = require("../index.js");