@aws-sdk/client-machine-learning 3.934.0 → 3.935.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-cjs/index.js CHANGED
@@ -119,12 +119,6 @@ let MachineLearningServiceException$1 = class MachineLearningServiceException ex
119
119
  }
120
120
  };
121
121
 
122
- const TaggableResourceType = {
123
- BATCH_PREDICTION: "BatchPrediction",
124
- DATASOURCE: "DataSource",
125
- EVALUATION: "Evaluation",
126
- ML_MODEL: "MLModel",
127
- };
128
122
  let InternalServerException$1 = class InternalServerException extends MachineLearningServiceException$1 {
129
123
  name = "InternalServerException";
130
124
  $fault = "server";
@@ -191,9 +185,6 @@ let TagLimitExceededException$1 = class TagLimitExceededException extends Machin
191
185
  Object.setPrototypeOf(this, TagLimitExceededException.prototype);
192
186
  }
193
187
  };
194
- const Algorithm = {
195
- SGD: "sgd",
196
- };
197
188
  let IdempotentParameterMismatchException$1 = class IdempotentParameterMismatchException extends MachineLearningServiceException$1 {
198
189
  name = "IdempotentParameterMismatchException";
199
190
  $fault = "client";
@@ -208,68 +199,6 @@ let IdempotentParameterMismatchException$1 = class IdempotentParameterMismatchEx
208
199
  this.code = opts.code;
209
200
  }
210
201
  };
211
- const MLModelType = {
212
- BINARY: "BINARY",
213
- MULTICLASS: "MULTICLASS",
214
- REGRESSION: "REGRESSION",
215
- };
216
- const RealtimeEndpointStatus = {
217
- FAILED: "FAILED",
218
- NONE: "NONE",
219
- READY: "READY",
220
- UPDATING: "UPDATING",
221
- };
222
- const BatchPredictionFilterVariable = {
223
- CREATED_AT: "CreatedAt",
224
- DATASOURCE_ID: "DataSourceId",
225
- DATA_URI: "DataURI",
226
- IAM_USER: "IAMUser",
227
- LAST_UPDATED_AT: "LastUpdatedAt",
228
- ML_MODEL_ID: "MLModelId",
229
- NAME: "Name",
230
- STATUS: "Status",
231
- };
232
- const SortOrder = {
233
- ASC: "asc",
234
- DSC: "dsc",
235
- };
236
- const EntityStatus = {
237
- COMPLETED: "COMPLETED",
238
- DELETED: "DELETED",
239
- FAILED: "FAILED",
240
- INPROGRESS: "INPROGRESS",
241
- PENDING: "PENDING",
242
- };
243
- const DataSourceFilterVariable = {
244
- CREATED_AT: "CreatedAt",
245
- DATA_URI: "DataLocationS3",
246
- IAM_USER: "IAMUser",
247
- LAST_UPDATED_AT: "LastUpdatedAt",
248
- NAME: "Name",
249
- STATUS: "Status",
250
- };
251
- const EvaluationFilterVariable = {
252
- CREATED_AT: "CreatedAt",
253
- DATASOURCE_ID: "DataSourceId",
254
- DATA_URI: "DataURI",
255
- IAM_USER: "IAMUser",
256
- LAST_UPDATED_AT: "LastUpdatedAt",
257
- ML_MODEL_ID: "MLModelId",
258
- NAME: "Name",
259
- STATUS: "Status",
260
- };
261
- const MLModelFilterVariable = {
262
- ALGORITHM: "Algorithm",
263
- CREATED_AT: "CreatedAt",
264
- IAM_USER: "IAMUser",
265
- LAST_UPDATED_AT: "LastUpdatedAt",
266
- ML_MODEL_TYPE: "MLModelType",
267
- NAME: "Name",
268
- REAL_TIME_ENDPOINT_STATUS: "RealtimeEndpointStatus",
269
- STATUS: "Status",
270
- TRAINING_DATASOURCE_ID: "TrainingDataSourceId",
271
- TRAINING_DATA_URI: "TrainingDataURI",
272
- };
273
202
  let LimitExceededException$1 = class LimitExceededException extends MachineLearningServiceException$1 {
274
203
  name = "LimitExceededException";
275
204
  $fault = "client";
@@ -296,10 +225,6 @@ let PredictorNotMountedException$1 = class PredictorNotMountedException extends
296
225
  Object.setPrototypeOf(this, PredictorNotMountedException.prototype);
297
226
  }
298
227
  };
299
- const DetailsAttributes = {
300
- ALGORITHM: "Algorithm",
301
- PREDICTIVE_MODEL_TYPE: "PredictiveModelType",
302
- };
303
228
 
304
229
  const _A = "Algorithm";
305
230
  const _AT = "AddTags";
@@ -1635,6 +1560,82 @@ const waitUntilMLModelAvailable = async (params, input) => {
1635
1560
  return utilWaiter.checkExceptions(result);
1636
1561
  };
1637
1562
 
1563
+ const TaggableResourceType = {
1564
+ BATCH_PREDICTION: "BatchPrediction",
1565
+ DATASOURCE: "DataSource",
1566
+ EVALUATION: "Evaluation",
1567
+ ML_MODEL: "MLModel",
1568
+ };
1569
+ const Algorithm = {
1570
+ SGD: "sgd",
1571
+ };
1572
+ const MLModelType = {
1573
+ BINARY: "BINARY",
1574
+ MULTICLASS: "MULTICLASS",
1575
+ REGRESSION: "REGRESSION",
1576
+ };
1577
+ const RealtimeEndpointStatus = {
1578
+ FAILED: "FAILED",
1579
+ NONE: "NONE",
1580
+ READY: "READY",
1581
+ UPDATING: "UPDATING",
1582
+ };
1583
+ const BatchPredictionFilterVariable = {
1584
+ CREATED_AT: "CreatedAt",
1585
+ DATASOURCE_ID: "DataSourceId",
1586
+ DATA_URI: "DataURI",
1587
+ IAM_USER: "IAMUser",
1588
+ LAST_UPDATED_AT: "LastUpdatedAt",
1589
+ ML_MODEL_ID: "MLModelId",
1590
+ NAME: "Name",
1591
+ STATUS: "Status",
1592
+ };
1593
+ const SortOrder = {
1594
+ ASC: "asc",
1595
+ DSC: "dsc",
1596
+ };
1597
+ const EntityStatus = {
1598
+ COMPLETED: "COMPLETED",
1599
+ DELETED: "DELETED",
1600
+ FAILED: "FAILED",
1601
+ INPROGRESS: "INPROGRESS",
1602
+ PENDING: "PENDING",
1603
+ };
1604
+ const DataSourceFilterVariable = {
1605
+ CREATED_AT: "CreatedAt",
1606
+ DATA_URI: "DataLocationS3",
1607
+ IAM_USER: "IAMUser",
1608
+ LAST_UPDATED_AT: "LastUpdatedAt",
1609
+ NAME: "Name",
1610
+ STATUS: "Status",
1611
+ };
1612
+ const EvaluationFilterVariable = {
1613
+ CREATED_AT: "CreatedAt",
1614
+ DATASOURCE_ID: "DataSourceId",
1615
+ DATA_URI: "DataURI",
1616
+ IAM_USER: "IAMUser",
1617
+ LAST_UPDATED_AT: "LastUpdatedAt",
1618
+ ML_MODEL_ID: "MLModelId",
1619
+ NAME: "Name",
1620
+ STATUS: "Status",
1621
+ };
1622
+ const MLModelFilterVariable = {
1623
+ ALGORITHM: "Algorithm",
1624
+ CREATED_AT: "CreatedAt",
1625
+ IAM_USER: "IAMUser",
1626
+ LAST_UPDATED_AT: "LastUpdatedAt",
1627
+ ML_MODEL_TYPE: "MLModelType",
1628
+ NAME: "Name",
1629
+ REAL_TIME_ENDPOINT_STATUS: "RealtimeEndpointStatus",
1630
+ STATUS: "Status",
1631
+ TRAINING_DATASOURCE_ID: "TrainingDataSourceId",
1632
+ TRAINING_DATA_URI: "TrainingDataURI",
1633
+ };
1634
+ const DetailsAttributes = {
1635
+ ALGORITHM: "Algorithm",
1636
+ PREDICTIVE_MODEL_TYPE: "PredictiveModelType",
1637
+ };
1638
+
1638
1639
  Object.defineProperty(exports, "$Command", {
1639
1640
  enumerable: true,
1640
1641
  get: function () { return smithyClient.Command; }
package/dist-es/index.js CHANGED
@@ -3,5 +3,6 @@ export * from "./MachineLearning";
3
3
  export * from "./commands";
4
4
  export * from "./pagination";
5
5
  export * from "./waiters";
6
- export * from "./models";
6
+ export * from "./models/enums";
7
+ export * from "./models/errors";
7
8
  export { MachineLearningServiceException } from "./models/MachineLearningServiceException";
@@ -0,0 +1,75 @@
1
+ export const TaggableResourceType = {
2
+ BATCH_PREDICTION: "BatchPrediction",
3
+ DATASOURCE: "DataSource",
4
+ EVALUATION: "Evaluation",
5
+ ML_MODEL: "MLModel",
6
+ };
7
+ export const Algorithm = {
8
+ SGD: "sgd",
9
+ };
10
+ export const MLModelType = {
11
+ BINARY: "BINARY",
12
+ MULTICLASS: "MULTICLASS",
13
+ REGRESSION: "REGRESSION",
14
+ };
15
+ export const RealtimeEndpointStatus = {
16
+ FAILED: "FAILED",
17
+ NONE: "NONE",
18
+ READY: "READY",
19
+ UPDATING: "UPDATING",
20
+ };
21
+ export const BatchPredictionFilterVariable = {
22
+ CREATED_AT: "CreatedAt",
23
+ DATASOURCE_ID: "DataSourceId",
24
+ DATA_URI: "DataURI",
25
+ IAM_USER: "IAMUser",
26
+ LAST_UPDATED_AT: "LastUpdatedAt",
27
+ ML_MODEL_ID: "MLModelId",
28
+ NAME: "Name",
29
+ STATUS: "Status",
30
+ };
31
+ export const SortOrder = {
32
+ ASC: "asc",
33
+ DSC: "dsc",
34
+ };
35
+ export const EntityStatus = {
36
+ COMPLETED: "COMPLETED",
37
+ DELETED: "DELETED",
38
+ FAILED: "FAILED",
39
+ INPROGRESS: "INPROGRESS",
40
+ PENDING: "PENDING",
41
+ };
42
+ export const DataSourceFilterVariable = {
43
+ CREATED_AT: "CreatedAt",
44
+ DATA_URI: "DataLocationS3",
45
+ IAM_USER: "IAMUser",
46
+ LAST_UPDATED_AT: "LastUpdatedAt",
47
+ NAME: "Name",
48
+ STATUS: "Status",
49
+ };
50
+ export const EvaluationFilterVariable = {
51
+ CREATED_AT: "CreatedAt",
52
+ DATASOURCE_ID: "DataSourceId",
53
+ DATA_URI: "DataURI",
54
+ IAM_USER: "IAMUser",
55
+ LAST_UPDATED_AT: "LastUpdatedAt",
56
+ ML_MODEL_ID: "MLModelId",
57
+ NAME: "Name",
58
+ STATUS: "Status",
59
+ };
60
+ export const MLModelFilterVariable = {
61
+ ALGORITHM: "Algorithm",
62
+ CREATED_AT: "CreatedAt",
63
+ IAM_USER: "IAMUser",
64
+ LAST_UPDATED_AT: "LastUpdatedAt",
65
+ ML_MODEL_TYPE: "MLModelType",
66
+ NAME: "Name",
67
+ REAL_TIME_ENDPOINT_STATUS: "RealtimeEndpointStatus",
68
+ STATUS: "Status",
69
+ TRAINING_DATASOURCE_ID: "TrainingDataSourceId",
70
+ TRAINING_DATA_URI: "TrainingDataURI",
71
+ };
72
+ export const DetailsAttributes = {
73
+ ALGORITHM: "Algorithm",
74
+ PREDICTIVE_MODEL_TYPE: "PredictiveModelType",
75
+ };
@@ -0,0 +1,107 @@
1
+ import { MachineLearningServiceException as __BaseException } from "./MachineLearningServiceException";
2
+ export class InternalServerException extends __BaseException {
3
+ name = "InternalServerException";
4
+ $fault = "server";
5
+ code;
6
+ constructor(opts) {
7
+ super({
8
+ name: "InternalServerException",
9
+ $fault: "server",
10
+ ...opts,
11
+ });
12
+ Object.setPrototypeOf(this, InternalServerException.prototype);
13
+ this.code = opts.code;
14
+ }
15
+ }
16
+ export class InvalidInputException extends __BaseException {
17
+ name = "InvalidInputException";
18
+ $fault = "client";
19
+ code;
20
+ constructor(opts) {
21
+ super({
22
+ name: "InvalidInputException",
23
+ $fault: "client",
24
+ ...opts,
25
+ });
26
+ Object.setPrototypeOf(this, InvalidInputException.prototype);
27
+ this.code = opts.code;
28
+ }
29
+ }
30
+ export class InvalidTagException extends __BaseException {
31
+ name = "InvalidTagException";
32
+ $fault = "client";
33
+ constructor(opts) {
34
+ super({
35
+ name: "InvalidTagException",
36
+ $fault: "client",
37
+ ...opts,
38
+ });
39
+ Object.setPrototypeOf(this, InvalidTagException.prototype);
40
+ }
41
+ }
42
+ export class ResourceNotFoundException extends __BaseException {
43
+ name = "ResourceNotFoundException";
44
+ $fault = "client";
45
+ code;
46
+ constructor(opts) {
47
+ super({
48
+ name: "ResourceNotFoundException",
49
+ $fault: "client",
50
+ ...opts,
51
+ });
52
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
53
+ this.code = opts.code;
54
+ }
55
+ }
56
+ export class TagLimitExceededException extends __BaseException {
57
+ name = "TagLimitExceededException";
58
+ $fault = "client";
59
+ constructor(opts) {
60
+ super({
61
+ name: "TagLimitExceededException",
62
+ $fault: "client",
63
+ ...opts,
64
+ });
65
+ Object.setPrototypeOf(this, TagLimitExceededException.prototype);
66
+ }
67
+ }
68
+ export class IdempotentParameterMismatchException extends __BaseException {
69
+ name = "IdempotentParameterMismatchException";
70
+ $fault = "client";
71
+ code;
72
+ constructor(opts) {
73
+ super({
74
+ name: "IdempotentParameterMismatchException",
75
+ $fault: "client",
76
+ ...opts,
77
+ });
78
+ Object.setPrototypeOf(this, IdempotentParameterMismatchException.prototype);
79
+ this.code = opts.code;
80
+ }
81
+ }
82
+ export class LimitExceededException extends __BaseException {
83
+ name = "LimitExceededException";
84
+ $fault = "client";
85
+ code;
86
+ constructor(opts) {
87
+ super({
88
+ name: "LimitExceededException",
89
+ $fault: "client",
90
+ ...opts,
91
+ });
92
+ Object.setPrototypeOf(this, LimitExceededException.prototype);
93
+ this.code = opts.code;
94
+ }
95
+ }
96
+ export class PredictorNotMountedException extends __BaseException {
97
+ name = "PredictorNotMountedException";
98
+ $fault = "client";
99
+ constructor(opts) {
100
+ super({
101
+ name: "PredictorNotMountedException",
102
+ $fault: "client",
103
+ ...opts,
104
+ });
105
+ Object.setPrototypeOf(this, PredictorNotMountedException.prototype);
106
+ }
107
+ }
@@ -1,182 +1 @@
1
- import { MachineLearningServiceException as __BaseException } from "./MachineLearningServiceException";
2
- export const TaggableResourceType = {
3
- BATCH_PREDICTION: "BatchPrediction",
4
- DATASOURCE: "DataSource",
5
- EVALUATION: "Evaluation",
6
- ML_MODEL: "MLModel",
7
- };
8
- export class InternalServerException extends __BaseException {
9
- name = "InternalServerException";
10
- $fault = "server";
11
- code;
12
- constructor(opts) {
13
- super({
14
- name: "InternalServerException",
15
- $fault: "server",
16
- ...opts,
17
- });
18
- Object.setPrototypeOf(this, InternalServerException.prototype);
19
- this.code = opts.code;
20
- }
21
- }
22
- export class InvalidInputException extends __BaseException {
23
- name = "InvalidInputException";
24
- $fault = "client";
25
- code;
26
- constructor(opts) {
27
- super({
28
- name: "InvalidInputException",
29
- $fault: "client",
30
- ...opts,
31
- });
32
- Object.setPrototypeOf(this, InvalidInputException.prototype);
33
- this.code = opts.code;
34
- }
35
- }
36
- export class InvalidTagException extends __BaseException {
37
- name = "InvalidTagException";
38
- $fault = "client";
39
- constructor(opts) {
40
- super({
41
- name: "InvalidTagException",
42
- $fault: "client",
43
- ...opts,
44
- });
45
- Object.setPrototypeOf(this, InvalidTagException.prototype);
46
- }
47
- }
48
- export class ResourceNotFoundException extends __BaseException {
49
- name = "ResourceNotFoundException";
50
- $fault = "client";
51
- code;
52
- constructor(opts) {
53
- super({
54
- name: "ResourceNotFoundException",
55
- $fault: "client",
56
- ...opts,
57
- });
58
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
59
- this.code = opts.code;
60
- }
61
- }
62
- export class TagLimitExceededException extends __BaseException {
63
- name = "TagLimitExceededException";
64
- $fault = "client";
65
- constructor(opts) {
66
- super({
67
- name: "TagLimitExceededException",
68
- $fault: "client",
69
- ...opts,
70
- });
71
- Object.setPrototypeOf(this, TagLimitExceededException.prototype);
72
- }
73
- }
74
- export const Algorithm = {
75
- SGD: "sgd",
76
- };
77
- export class IdempotentParameterMismatchException extends __BaseException {
78
- name = "IdempotentParameterMismatchException";
79
- $fault = "client";
80
- code;
81
- constructor(opts) {
82
- super({
83
- name: "IdempotentParameterMismatchException",
84
- $fault: "client",
85
- ...opts,
86
- });
87
- Object.setPrototypeOf(this, IdempotentParameterMismatchException.prototype);
88
- this.code = opts.code;
89
- }
90
- }
91
- export const MLModelType = {
92
- BINARY: "BINARY",
93
- MULTICLASS: "MULTICLASS",
94
- REGRESSION: "REGRESSION",
95
- };
96
- export const RealtimeEndpointStatus = {
97
- FAILED: "FAILED",
98
- NONE: "NONE",
99
- READY: "READY",
100
- UPDATING: "UPDATING",
101
- };
102
- export const BatchPredictionFilterVariable = {
103
- CREATED_AT: "CreatedAt",
104
- DATASOURCE_ID: "DataSourceId",
105
- DATA_URI: "DataURI",
106
- IAM_USER: "IAMUser",
107
- LAST_UPDATED_AT: "LastUpdatedAt",
108
- ML_MODEL_ID: "MLModelId",
109
- NAME: "Name",
110
- STATUS: "Status",
111
- };
112
- export const SortOrder = {
113
- ASC: "asc",
114
- DSC: "dsc",
115
- };
116
- export const EntityStatus = {
117
- COMPLETED: "COMPLETED",
118
- DELETED: "DELETED",
119
- FAILED: "FAILED",
120
- INPROGRESS: "INPROGRESS",
121
- PENDING: "PENDING",
122
- };
123
- export const DataSourceFilterVariable = {
124
- CREATED_AT: "CreatedAt",
125
- DATA_URI: "DataLocationS3",
126
- IAM_USER: "IAMUser",
127
- LAST_UPDATED_AT: "LastUpdatedAt",
128
- NAME: "Name",
129
- STATUS: "Status",
130
- };
131
- export const EvaluationFilterVariable = {
132
- CREATED_AT: "CreatedAt",
133
- DATASOURCE_ID: "DataSourceId",
134
- DATA_URI: "DataURI",
135
- IAM_USER: "IAMUser",
136
- LAST_UPDATED_AT: "LastUpdatedAt",
137
- ML_MODEL_ID: "MLModelId",
138
- NAME: "Name",
139
- STATUS: "Status",
140
- };
141
- export const MLModelFilterVariable = {
142
- ALGORITHM: "Algorithm",
143
- CREATED_AT: "CreatedAt",
144
- IAM_USER: "IAMUser",
145
- LAST_UPDATED_AT: "LastUpdatedAt",
146
- ML_MODEL_TYPE: "MLModelType",
147
- NAME: "Name",
148
- REAL_TIME_ENDPOINT_STATUS: "RealtimeEndpointStatus",
149
- STATUS: "Status",
150
- TRAINING_DATASOURCE_ID: "TrainingDataSourceId",
151
- TRAINING_DATA_URI: "TrainingDataURI",
152
- };
153
- export class LimitExceededException extends __BaseException {
154
- name = "LimitExceededException";
155
- $fault = "client";
156
- code;
157
- constructor(opts) {
158
- super({
159
- name: "LimitExceededException",
160
- $fault: "client",
161
- ...opts,
162
- });
163
- Object.setPrototypeOf(this, LimitExceededException.prototype);
164
- this.code = opts.code;
165
- }
166
- }
167
- export class PredictorNotMountedException extends __BaseException {
168
- name = "PredictorNotMountedException";
169
- $fault = "client";
170
- constructor(opts) {
171
- super({
172
- name: "PredictorNotMountedException",
173
- $fault: "client",
174
- ...opts,
175
- });
176
- Object.setPrototypeOf(this, PredictorNotMountedException.prototype);
177
- }
178
- }
179
- export const DetailsAttributes = {
180
- ALGORITHM: "Algorithm",
181
- PREDICTIVE_MODEL_TYPE: "PredictiveModelType",
182
- };
1
+ export {};
@@ -216,7 +216,7 @@ const _s = "server";
216
216
  const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.machinelearning";
217
217
  const n0 = "com.amazonaws.machinelearning";
218
218
  import { TypeRegistry } from "@smithy/core/schema";
219
- import { IdempotentParameterMismatchException as __IdempotentParameterMismatchException, InternalServerException as __InternalServerException, InvalidInputException as __InvalidInputException, InvalidTagException as __InvalidTagException, LimitExceededException as __LimitExceededException, PredictorNotMountedException as __PredictorNotMountedException, ResourceNotFoundException as __ResourceNotFoundException, TagLimitExceededException as __TagLimitExceededException, } from "../models/index";
219
+ import { IdempotentParameterMismatchException as __IdempotentParameterMismatchException, InternalServerException as __InternalServerException, InvalidInputException as __InvalidInputException, InvalidTagException as __InvalidTagException, LimitExceededException as __LimitExceededException, PredictorNotMountedException as __PredictorNotMountedException, ResourceNotFoundException as __ResourceNotFoundException, TagLimitExceededException as __TagLimitExceededException, } from "../models/errors";
220
220
  import { MachineLearningServiceException as __MachineLearningServiceException } from "../models/MachineLearningServiceException";
221
221
  export var RDSDatabasePassword = [0, n0, _RDSDP, 8, 0];
222
222
  export var RedshiftDatabasePassword = [0, n0, _RDP, 8, 0];
@@ -12,5 +12,7 @@ export type { MachineLearningExtensionConfiguration } from "./extensionConfigura
12
12
  export * from "./commands";
13
13
  export * from "./pagination";
14
14
  export * from "./waiters";
15
- export * from "./models";
15
+ export * from "./models/enums";
16
+ export * from "./models/errors";
17
+ export type * from "./models/models_0";
16
18
  export { MachineLearningServiceException } from "./models/MachineLearningServiceException";