@aws-sdk/client-machine-learning 3.300.0 → 3.303.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/models/models_0.js +75 -86
- package/dist-es/models/models_0.js +75 -86
- package/dist-types/commands/AddTagsCommand.d.ts +3 -3
- package/dist-types/commands/CreateBatchPredictionCommand.d.ts +1 -1
- package/dist-types/commands/CreateDataSourceFromRDSCommand.d.ts +5 -5
- package/dist-types/commands/CreateDataSourceFromRedshiftCommand.d.ts +4 -4
- package/dist-types/commands/CreateDataSourceFromS3Command.d.ts +2 -2
- package/dist-types/commands/CreateEvaluationCommand.d.ts +1 -1
- package/dist-types/commands/CreateMLModelCommand.d.ts +2 -2
- package/dist-types/commands/CreateRealtimeEndpointCommand.d.ts +1 -1
- package/dist-types/commands/DeleteBatchPredictionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteDataSourceCommand.d.ts +1 -1
- package/dist-types/commands/DeleteEvaluationCommand.d.ts +1 -1
- package/dist-types/commands/DeleteMLModelCommand.d.ts +1 -1
- package/dist-types/commands/DeleteRealtimeEndpointCommand.d.ts +1 -1
- package/dist-types/commands/DeleteTagsCommand.d.ts +2 -2
- package/dist-types/commands/DescribeBatchPredictionsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeDataSourcesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeEvaluationsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeMLModelsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTagsCommand.d.ts +1 -1
- package/dist-types/commands/GetBatchPredictionCommand.d.ts +1 -1
- package/dist-types/commands/GetDataSourceCommand.d.ts +1 -1
- package/dist-types/commands/GetEvaluationCommand.d.ts +1 -1
- package/dist-types/commands/GetMLModelCommand.d.ts +1 -1
- package/dist-types/commands/PredictCommand.d.ts +2 -2
- package/dist-types/commands/UpdateBatchPredictionCommand.d.ts +1 -1
- package/dist-types/commands/UpdateDataSourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateEvaluationCommand.d.ts +1 -1
- package/dist-types/commands/UpdateMLModelCommand.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +130 -75
- package/dist-types/ts3.4/models/models_0.d.ts +93 -75
- package/package.json +36 -36
|
@@ -2,13 +2,12 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
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
4
|
const MachineLearningServiceException_1 = require("./MachineLearningServiceException");
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
})(TaggableResourceType = exports.TaggableResourceType || (exports.TaggableResourceType = {}));
|
|
5
|
+
exports.TaggableResourceType = {
|
|
6
|
+
BATCH_PREDICTION: "BatchPrediction",
|
|
7
|
+
DATASOURCE: "DataSource",
|
|
8
|
+
EVALUATION: "Evaluation",
|
|
9
|
+
ML_MODEL: "MLModel",
|
|
10
|
+
};
|
|
12
11
|
class InternalServerException extends MachineLearningServiceException_1.MachineLearningServiceException {
|
|
13
12
|
constructor(opts) {
|
|
14
13
|
super({
|
|
@@ -77,10 +76,9 @@ class TagLimitExceededException extends MachineLearningServiceException_1.Machin
|
|
|
77
76
|
}
|
|
78
77
|
}
|
|
79
78
|
exports.TagLimitExceededException = TagLimitExceededException;
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
})(Algorithm = exports.Algorithm || (exports.Algorithm = {}));
|
|
79
|
+
exports.Algorithm = {
|
|
80
|
+
SGD: "sgd",
|
|
81
|
+
};
|
|
84
82
|
class IdempotentParameterMismatchException extends MachineLearningServiceException_1.MachineLearningServiceException {
|
|
85
83
|
constructor(opts) {
|
|
86
84
|
super({
|
|
@@ -95,76 +93,68 @@ class IdempotentParameterMismatchException extends MachineLearningServiceExcepti
|
|
|
95
93
|
}
|
|
96
94
|
}
|
|
97
95
|
exports.IdempotentParameterMismatchException = IdempotentParameterMismatchException;
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
MLModelFilterVariable["LAST_UPDATED_AT"] = "LastUpdatedAt";
|
|
161
|
-
MLModelFilterVariable["ML_MODEL_TYPE"] = "MLModelType";
|
|
162
|
-
MLModelFilterVariable["NAME"] = "Name";
|
|
163
|
-
MLModelFilterVariable["REAL_TIME_ENDPOINT_STATUS"] = "RealtimeEndpointStatus";
|
|
164
|
-
MLModelFilterVariable["STATUS"] = "Status";
|
|
165
|
-
MLModelFilterVariable["TRAINING_DATASOURCE_ID"] = "TrainingDataSourceId";
|
|
166
|
-
MLModelFilterVariable["TRAINING_DATA_URI"] = "TrainingDataURI";
|
|
167
|
-
})(MLModelFilterVariable = exports.MLModelFilterVariable || (exports.MLModelFilterVariable = {}));
|
|
96
|
+
exports.MLModelType = {
|
|
97
|
+
BINARY: "BINARY",
|
|
98
|
+
MULTICLASS: "MULTICLASS",
|
|
99
|
+
REGRESSION: "REGRESSION",
|
|
100
|
+
};
|
|
101
|
+
exports.RealtimeEndpointStatus = {
|
|
102
|
+
FAILED: "FAILED",
|
|
103
|
+
NONE: "NONE",
|
|
104
|
+
READY: "READY",
|
|
105
|
+
UPDATING: "UPDATING",
|
|
106
|
+
};
|
|
107
|
+
exports.BatchPredictionFilterVariable = {
|
|
108
|
+
CREATED_AT: "CreatedAt",
|
|
109
|
+
DATASOURCE_ID: "DataSourceId",
|
|
110
|
+
DATA_URI: "DataURI",
|
|
111
|
+
IAM_USER: "IAMUser",
|
|
112
|
+
LAST_UPDATED_AT: "LastUpdatedAt",
|
|
113
|
+
ML_MODEL_ID: "MLModelId",
|
|
114
|
+
NAME: "Name",
|
|
115
|
+
STATUS: "Status",
|
|
116
|
+
};
|
|
117
|
+
exports.SortOrder = {
|
|
118
|
+
ASC: "asc",
|
|
119
|
+
DSC: "dsc",
|
|
120
|
+
};
|
|
121
|
+
exports.EntityStatus = {
|
|
122
|
+
COMPLETED: "COMPLETED",
|
|
123
|
+
DELETED: "DELETED",
|
|
124
|
+
FAILED: "FAILED",
|
|
125
|
+
INPROGRESS: "INPROGRESS",
|
|
126
|
+
PENDING: "PENDING",
|
|
127
|
+
};
|
|
128
|
+
exports.DataSourceFilterVariable = {
|
|
129
|
+
CREATED_AT: "CreatedAt",
|
|
130
|
+
DATA_URI: "DataLocationS3",
|
|
131
|
+
IAM_USER: "IAMUser",
|
|
132
|
+
LAST_UPDATED_AT: "LastUpdatedAt",
|
|
133
|
+
NAME: "Name",
|
|
134
|
+
STATUS: "Status",
|
|
135
|
+
};
|
|
136
|
+
exports.EvaluationFilterVariable = {
|
|
137
|
+
CREATED_AT: "CreatedAt",
|
|
138
|
+
DATASOURCE_ID: "DataSourceId",
|
|
139
|
+
DATA_URI: "DataURI",
|
|
140
|
+
IAM_USER: "IAMUser",
|
|
141
|
+
LAST_UPDATED_AT: "LastUpdatedAt",
|
|
142
|
+
ML_MODEL_ID: "MLModelId",
|
|
143
|
+
NAME: "Name",
|
|
144
|
+
STATUS: "Status",
|
|
145
|
+
};
|
|
146
|
+
exports.MLModelFilterVariable = {
|
|
147
|
+
ALGORITHM: "Algorithm",
|
|
148
|
+
CREATED_AT: "CreatedAt",
|
|
149
|
+
IAM_USER: "IAMUser",
|
|
150
|
+
LAST_UPDATED_AT: "LastUpdatedAt",
|
|
151
|
+
ML_MODEL_TYPE: "MLModelType",
|
|
152
|
+
NAME: "Name",
|
|
153
|
+
REAL_TIME_ENDPOINT_STATUS: "RealtimeEndpointStatus",
|
|
154
|
+
STATUS: "Status",
|
|
155
|
+
TRAINING_DATASOURCE_ID: "TrainingDataSourceId",
|
|
156
|
+
TRAINING_DATA_URI: "TrainingDataURI",
|
|
157
|
+
};
|
|
168
158
|
class LimitExceededException extends MachineLearningServiceException_1.MachineLearningServiceException {
|
|
169
159
|
constructor(opts) {
|
|
170
160
|
super({
|
|
@@ -192,8 +182,7 @@ class PredictorNotMountedException extends MachineLearningServiceException_1.Mac
|
|
|
192
182
|
}
|
|
193
183
|
}
|
|
194
184
|
exports.PredictorNotMountedException = PredictorNotMountedException;
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
})(DetailsAttributes = exports.DetailsAttributes || (exports.DetailsAttributes = {}));
|
|
185
|
+
exports.DetailsAttributes = {
|
|
186
|
+
ALGORITHM: "Algorithm",
|
|
187
|
+
PREDICTIVE_MODEL_TYPE: "PredictiveModelType",
|
|
188
|
+
};
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { MachineLearningServiceException as __BaseException } from "./MachineLearningServiceException";
|
|
2
|
-
export
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
})(TaggableResourceType || (TaggableResourceType = {}));
|
|
2
|
+
export const TaggableResourceType = {
|
|
3
|
+
BATCH_PREDICTION: "BatchPrediction",
|
|
4
|
+
DATASOURCE: "DataSource",
|
|
5
|
+
EVALUATION: "Evaluation",
|
|
6
|
+
ML_MODEL: "MLModel",
|
|
7
|
+
};
|
|
9
8
|
export class InternalServerException extends __BaseException {
|
|
10
9
|
constructor(opts) {
|
|
11
10
|
super({
|
|
@@ -69,10 +68,9 @@ export class TagLimitExceededException extends __BaseException {
|
|
|
69
68
|
Object.setPrototypeOf(this, TagLimitExceededException.prototype);
|
|
70
69
|
}
|
|
71
70
|
}
|
|
72
|
-
export
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
})(Algorithm || (Algorithm = {}));
|
|
71
|
+
export const Algorithm = {
|
|
72
|
+
SGD: "sgd",
|
|
73
|
+
};
|
|
76
74
|
export class IdempotentParameterMismatchException extends __BaseException {
|
|
77
75
|
constructor(opts) {
|
|
78
76
|
super({
|
|
@@ -86,76 +84,68 @@ export class IdempotentParameterMismatchException extends __BaseException {
|
|
|
86
84
|
this.code = opts.code;
|
|
87
85
|
}
|
|
88
86
|
}
|
|
89
|
-
export
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
MLModelFilterVariable["LAST_UPDATED_AT"] = "LastUpdatedAt";
|
|
152
|
-
MLModelFilterVariable["ML_MODEL_TYPE"] = "MLModelType";
|
|
153
|
-
MLModelFilterVariable["NAME"] = "Name";
|
|
154
|
-
MLModelFilterVariable["REAL_TIME_ENDPOINT_STATUS"] = "RealtimeEndpointStatus";
|
|
155
|
-
MLModelFilterVariable["STATUS"] = "Status";
|
|
156
|
-
MLModelFilterVariable["TRAINING_DATASOURCE_ID"] = "TrainingDataSourceId";
|
|
157
|
-
MLModelFilterVariable["TRAINING_DATA_URI"] = "TrainingDataURI";
|
|
158
|
-
})(MLModelFilterVariable || (MLModelFilterVariable = {}));
|
|
87
|
+
export const MLModelType = {
|
|
88
|
+
BINARY: "BINARY",
|
|
89
|
+
MULTICLASS: "MULTICLASS",
|
|
90
|
+
REGRESSION: "REGRESSION",
|
|
91
|
+
};
|
|
92
|
+
export const RealtimeEndpointStatus = {
|
|
93
|
+
FAILED: "FAILED",
|
|
94
|
+
NONE: "NONE",
|
|
95
|
+
READY: "READY",
|
|
96
|
+
UPDATING: "UPDATING",
|
|
97
|
+
};
|
|
98
|
+
export const BatchPredictionFilterVariable = {
|
|
99
|
+
CREATED_AT: "CreatedAt",
|
|
100
|
+
DATASOURCE_ID: "DataSourceId",
|
|
101
|
+
DATA_URI: "DataURI",
|
|
102
|
+
IAM_USER: "IAMUser",
|
|
103
|
+
LAST_UPDATED_AT: "LastUpdatedAt",
|
|
104
|
+
ML_MODEL_ID: "MLModelId",
|
|
105
|
+
NAME: "Name",
|
|
106
|
+
STATUS: "Status",
|
|
107
|
+
};
|
|
108
|
+
export const SortOrder = {
|
|
109
|
+
ASC: "asc",
|
|
110
|
+
DSC: "dsc",
|
|
111
|
+
};
|
|
112
|
+
export const EntityStatus = {
|
|
113
|
+
COMPLETED: "COMPLETED",
|
|
114
|
+
DELETED: "DELETED",
|
|
115
|
+
FAILED: "FAILED",
|
|
116
|
+
INPROGRESS: "INPROGRESS",
|
|
117
|
+
PENDING: "PENDING",
|
|
118
|
+
};
|
|
119
|
+
export const DataSourceFilterVariable = {
|
|
120
|
+
CREATED_AT: "CreatedAt",
|
|
121
|
+
DATA_URI: "DataLocationS3",
|
|
122
|
+
IAM_USER: "IAMUser",
|
|
123
|
+
LAST_UPDATED_AT: "LastUpdatedAt",
|
|
124
|
+
NAME: "Name",
|
|
125
|
+
STATUS: "Status",
|
|
126
|
+
};
|
|
127
|
+
export const EvaluationFilterVariable = {
|
|
128
|
+
CREATED_AT: "CreatedAt",
|
|
129
|
+
DATASOURCE_ID: "DataSourceId",
|
|
130
|
+
DATA_URI: "DataURI",
|
|
131
|
+
IAM_USER: "IAMUser",
|
|
132
|
+
LAST_UPDATED_AT: "LastUpdatedAt",
|
|
133
|
+
ML_MODEL_ID: "MLModelId",
|
|
134
|
+
NAME: "Name",
|
|
135
|
+
STATUS: "Status",
|
|
136
|
+
};
|
|
137
|
+
export const MLModelFilterVariable = {
|
|
138
|
+
ALGORITHM: "Algorithm",
|
|
139
|
+
CREATED_AT: "CreatedAt",
|
|
140
|
+
IAM_USER: "IAMUser",
|
|
141
|
+
LAST_UPDATED_AT: "LastUpdatedAt",
|
|
142
|
+
ML_MODEL_TYPE: "MLModelType",
|
|
143
|
+
NAME: "Name",
|
|
144
|
+
REAL_TIME_ENDPOINT_STATUS: "RealtimeEndpointStatus",
|
|
145
|
+
STATUS: "Status",
|
|
146
|
+
TRAINING_DATASOURCE_ID: "TrainingDataSourceId",
|
|
147
|
+
TRAINING_DATA_URI: "TrainingDataURI",
|
|
148
|
+
};
|
|
159
149
|
export class LimitExceededException extends __BaseException {
|
|
160
150
|
constructor(opts) {
|
|
161
151
|
super({
|
|
@@ -181,8 +171,7 @@ export class PredictorNotMountedException extends __BaseException {
|
|
|
181
171
|
Object.setPrototypeOf(this, PredictorNotMountedException.prototype);
|
|
182
172
|
}
|
|
183
173
|
}
|
|
184
|
-
export
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
})(DetailsAttributes || (DetailsAttributes = {}));
|
|
174
|
+
export const DetailsAttributes = {
|
|
175
|
+
ALGORITHM: "Algorithm",
|
|
176
|
+
PREDICTIVE_MODEL_TYPE: "PredictiveModelType",
|
|
177
|
+
};
|
|
@@ -28,9 +28,9 @@ export interface AddTagsCommandOutput extends AddTagsOutput, __MetadataBearer {
|
|
|
28
28
|
* import { MachineLearningClient, AddTagsCommand } from "@aws-sdk/client-machine-learning"; // ES Modules import
|
|
29
29
|
* // const { MachineLearningClient, AddTagsCommand } = require("@aws-sdk/client-machine-learning"); // CommonJS import
|
|
30
30
|
* const client = new MachineLearningClient(config);
|
|
31
|
-
* const input = {
|
|
32
|
-
* Tags: [ // required
|
|
33
|
-
* {
|
|
31
|
+
* const input = { // AddTagsInput
|
|
32
|
+
* Tags: [ // TagList // required
|
|
33
|
+
* { // Tag
|
|
34
34
|
* Key: "STRING_VALUE",
|
|
35
35
|
* Value: "STRING_VALUE",
|
|
36
36
|
* },
|
|
@@ -37,7 +37,7 @@ export interface CreateBatchPredictionCommandOutput extends CreateBatchPredictio
|
|
|
37
37
|
* import { MachineLearningClient, CreateBatchPredictionCommand } from "@aws-sdk/client-machine-learning"; // ES Modules import
|
|
38
38
|
* // const { MachineLearningClient, CreateBatchPredictionCommand } = require("@aws-sdk/client-machine-learning"); // CommonJS import
|
|
39
39
|
* const client = new MachineLearningClient(config);
|
|
40
|
-
* const input = {
|
|
40
|
+
* const input = { // CreateBatchPredictionInput
|
|
41
41
|
* BatchPredictionId: "STRING_VALUE", // required
|
|
42
42
|
* BatchPredictionName: "STRING_VALUE",
|
|
43
43
|
* MLModelId: "STRING_VALUE", // required
|
|
@@ -37,16 +37,16 @@ export interface CreateDataSourceFromRDSCommandOutput extends CreateDataSourceFr
|
|
|
37
37
|
* import { MachineLearningClient, CreateDataSourceFromRDSCommand } from "@aws-sdk/client-machine-learning"; // ES Modules import
|
|
38
38
|
* // const { MachineLearningClient, CreateDataSourceFromRDSCommand } = require("@aws-sdk/client-machine-learning"); // CommonJS import
|
|
39
39
|
* const client = new MachineLearningClient(config);
|
|
40
|
-
* const input = {
|
|
40
|
+
* const input = { // CreateDataSourceFromRDSInput
|
|
41
41
|
* DataSourceId: "STRING_VALUE", // required
|
|
42
42
|
* DataSourceName: "STRING_VALUE",
|
|
43
|
-
* RDSData: {
|
|
44
|
-
* DatabaseInformation: {
|
|
43
|
+
* RDSData: { // RDSDataSpec
|
|
44
|
+
* DatabaseInformation: { // RDSDatabase
|
|
45
45
|
* InstanceIdentifier: "STRING_VALUE", // required
|
|
46
46
|
* DatabaseName: "STRING_VALUE", // required
|
|
47
47
|
* },
|
|
48
48
|
* SelectSqlQuery: "STRING_VALUE", // required
|
|
49
|
-
* DatabaseCredentials: {
|
|
49
|
+
* DatabaseCredentials: { // RDSDatabaseCredentials
|
|
50
50
|
* Username: "STRING_VALUE", // required
|
|
51
51
|
* Password: "STRING_VALUE", // required
|
|
52
52
|
* },
|
|
@@ -57,7 +57,7 @@ export interface CreateDataSourceFromRDSCommandOutput extends CreateDataSourceFr
|
|
|
57
57
|
* ResourceRole: "STRING_VALUE", // required
|
|
58
58
|
* ServiceRole: "STRING_VALUE", // required
|
|
59
59
|
* SubnetId: "STRING_VALUE", // required
|
|
60
|
-
* SecurityGroupIds: [ // required
|
|
60
|
+
* SecurityGroupIds: [ // EDPSecurityGroupIds // required
|
|
61
61
|
* "STRING_VALUE",
|
|
62
62
|
* ],
|
|
63
63
|
* },
|
|
@@ -58,16 +58,16 @@ export interface CreateDataSourceFromRedshiftCommandOutput extends CreateDataSou
|
|
|
58
58
|
* import { MachineLearningClient, CreateDataSourceFromRedshiftCommand } from "@aws-sdk/client-machine-learning"; // ES Modules import
|
|
59
59
|
* // const { MachineLearningClient, CreateDataSourceFromRedshiftCommand } = require("@aws-sdk/client-machine-learning"); // CommonJS import
|
|
60
60
|
* const client = new MachineLearningClient(config);
|
|
61
|
-
* const input = {
|
|
61
|
+
* const input = { // CreateDataSourceFromRedshiftInput
|
|
62
62
|
* DataSourceId: "STRING_VALUE", // required
|
|
63
63
|
* DataSourceName: "STRING_VALUE",
|
|
64
|
-
* DataSpec: {
|
|
65
|
-
* DatabaseInformation: {
|
|
64
|
+
* DataSpec: { // RedshiftDataSpec
|
|
65
|
+
* DatabaseInformation: { // RedshiftDatabase
|
|
66
66
|
* DatabaseName: "STRING_VALUE", // required
|
|
67
67
|
* ClusterIdentifier: "STRING_VALUE", // required
|
|
68
68
|
* },
|
|
69
69
|
* SelectSqlQuery: "STRING_VALUE", // required
|
|
70
|
-
* DatabaseCredentials: {
|
|
70
|
+
* DatabaseCredentials: { // RedshiftDatabaseCredentials
|
|
71
71
|
* Username: "STRING_VALUE", // required
|
|
72
72
|
* Password: "STRING_VALUE", // required
|
|
73
73
|
* },
|
|
@@ -56,10 +56,10 @@ export interface CreateDataSourceFromS3CommandOutput extends CreateDataSourceFro
|
|
|
56
56
|
* import { MachineLearningClient, CreateDataSourceFromS3Command } from "@aws-sdk/client-machine-learning"; // ES Modules import
|
|
57
57
|
* // const { MachineLearningClient, CreateDataSourceFromS3Command } = require("@aws-sdk/client-machine-learning"); // CommonJS import
|
|
58
58
|
* const client = new MachineLearningClient(config);
|
|
59
|
-
* const input = {
|
|
59
|
+
* const input = { // CreateDataSourceFromS3Input
|
|
60
60
|
* DataSourceId: "STRING_VALUE", // required
|
|
61
61
|
* DataSourceName: "STRING_VALUE",
|
|
62
|
-
* DataSpec: {
|
|
62
|
+
* DataSpec: { // S3DataSpec
|
|
63
63
|
* DataLocationS3: "STRING_VALUE", // required
|
|
64
64
|
* DataRearrangement: "STRING_VALUE",
|
|
65
65
|
* DataSchema: "STRING_VALUE",
|
|
@@ -37,7 +37,7 @@ export interface CreateEvaluationCommandOutput extends CreateEvaluationOutput, _
|
|
|
37
37
|
* import { MachineLearningClient, CreateEvaluationCommand } from "@aws-sdk/client-machine-learning"; // ES Modules import
|
|
38
38
|
* // const { MachineLearningClient, CreateEvaluationCommand } = require("@aws-sdk/client-machine-learning"); // CommonJS import
|
|
39
39
|
* const client = new MachineLearningClient(config);
|
|
40
|
-
* const input = {
|
|
40
|
+
* const input = { // CreateEvaluationInput
|
|
41
41
|
* EvaluationId: "STRING_VALUE", // required
|
|
42
42
|
* EvaluationName: "STRING_VALUE",
|
|
43
43
|
* MLModelId: "STRING_VALUE", // required
|
|
@@ -45,11 +45,11 @@ export interface CreateMLModelCommandOutput extends CreateMLModelOutput, __Metad
|
|
|
45
45
|
* import { MachineLearningClient, CreateMLModelCommand } from "@aws-sdk/client-machine-learning"; // ES Modules import
|
|
46
46
|
* // const { MachineLearningClient, CreateMLModelCommand } = require("@aws-sdk/client-machine-learning"); // CommonJS import
|
|
47
47
|
* const client = new MachineLearningClient(config);
|
|
48
|
-
* const input = {
|
|
48
|
+
* const input = { // CreateMLModelInput
|
|
49
49
|
* MLModelId: "STRING_VALUE", // required
|
|
50
50
|
* MLModelName: "STRING_VALUE",
|
|
51
51
|
* MLModelType: "STRING_VALUE", // required
|
|
52
|
-
* Parameters: {
|
|
52
|
+
* Parameters: { // TrainingParameters
|
|
53
53
|
* "<keys>": "STRING_VALUE",
|
|
54
54
|
* },
|
|
55
55
|
* TrainingDataSourceId: "STRING_VALUE", // required
|
|
@@ -26,7 +26,7 @@ export interface CreateRealtimeEndpointCommandOutput extends CreateRealtimeEndpo
|
|
|
26
26
|
* import { MachineLearningClient, CreateRealtimeEndpointCommand } from "@aws-sdk/client-machine-learning"; // ES Modules import
|
|
27
27
|
* // const { MachineLearningClient, CreateRealtimeEndpointCommand } = require("@aws-sdk/client-machine-learning"); // CommonJS import
|
|
28
28
|
* const client = new MachineLearningClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // CreateRealtimeEndpointInput
|
|
30
30
|
* MLModelId: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new CreateRealtimeEndpointCommand(input);
|
|
@@ -31,7 +31,7 @@ export interface DeleteBatchPredictionCommandOutput extends DeleteBatchPredictio
|
|
|
31
31
|
* import { MachineLearningClient, DeleteBatchPredictionCommand } from "@aws-sdk/client-machine-learning"; // ES Modules import
|
|
32
32
|
* // const { MachineLearningClient, DeleteBatchPredictionCommand } = require("@aws-sdk/client-machine-learning"); // CommonJS import
|
|
33
33
|
* const client = new MachineLearningClient(config);
|
|
34
|
-
* const input = {
|
|
34
|
+
* const input = { // DeleteBatchPredictionInput
|
|
35
35
|
* BatchPredictionId: "STRING_VALUE", // required
|
|
36
36
|
* };
|
|
37
37
|
* const command = new DeleteBatchPredictionCommand(input);
|
|
@@ -29,7 +29,7 @@ export interface DeleteDataSourceCommandOutput extends DeleteDataSourceOutput, _
|
|
|
29
29
|
* import { MachineLearningClient, DeleteDataSourceCommand } from "@aws-sdk/client-machine-learning"; // ES Modules import
|
|
30
30
|
* // const { MachineLearningClient, DeleteDataSourceCommand } = require("@aws-sdk/client-machine-learning"); // CommonJS import
|
|
31
31
|
* const client = new MachineLearningClient(config);
|
|
32
|
-
* const input = {
|
|
32
|
+
* const input = { // DeleteDataSourceInput
|
|
33
33
|
* DataSourceId: "STRING_VALUE", // required
|
|
34
34
|
* };
|
|
35
35
|
* const command = new DeleteDataSourceCommand(input);
|
|
@@ -31,7 +31,7 @@ export interface DeleteEvaluationCommandOutput extends DeleteEvaluationOutput, _
|
|
|
31
31
|
* import { MachineLearningClient, DeleteEvaluationCommand } from "@aws-sdk/client-machine-learning"; // ES Modules import
|
|
32
32
|
* // const { MachineLearningClient, DeleteEvaluationCommand } = require("@aws-sdk/client-machine-learning"); // CommonJS import
|
|
33
33
|
* const client = new MachineLearningClient(config);
|
|
34
|
-
* const input = {
|
|
34
|
+
* const input = { // DeleteEvaluationInput
|
|
35
35
|
* EvaluationId: "STRING_VALUE", // required
|
|
36
36
|
* };
|
|
37
37
|
* const command = new DeleteEvaluationCommand(input);
|
|
@@ -31,7 +31,7 @@ export interface DeleteMLModelCommandOutput extends DeleteMLModelOutput, __Metad
|
|
|
31
31
|
* import { MachineLearningClient, DeleteMLModelCommand } from "@aws-sdk/client-machine-learning"; // ES Modules import
|
|
32
32
|
* // const { MachineLearningClient, DeleteMLModelCommand } = require("@aws-sdk/client-machine-learning"); // CommonJS import
|
|
33
33
|
* const client = new MachineLearningClient(config);
|
|
34
|
-
* const input = {
|
|
34
|
+
* const input = { // DeleteMLModelInput
|
|
35
35
|
* MLModelId: "STRING_VALUE", // required
|
|
36
36
|
* };
|
|
37
37
|
* const command = new DeleteMLModelCommand(input);
|
|
@@ -26,7 +26,7 @@ export interface DeleteRealtimeEndpointCommandOutput extends DeleteRealtimeEndpo
|
|
|
26
26
|
* import { MachineLearningClient, DeleteRealtimeEndpointCommand } from "@aws-sdk/client-machine-learning"; // ES Modules import
|
|
27
27
|
* // const { MachineLearningClient, DeleteRealtimeEndpointCommand } = require("@aws-sdk/client-machine-learning"); // CommonJS import
|
|
28
28
|
* const client = new MachineLearningClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // DeleteRealtimeEndpointInput
|
|
30
30
|
* MLModelId: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new DeleteRealtimeEndpointCommand(input);
|
|
@@ -27,8 +27,8 @@ export interface DeleteTagsCommandOutput extends DeleteTagsOutput, __MetadataBea
|
|
|
27
27
|
* import { MachineLearningClient, DeleteTagsCommand } from "@aws-sdk/client-machine-learning"; // ES Modules import
|
|
28
28
|
* // const { MachineLearningClient, DeleteTagsCommand } = require("@aws-sdk/client-machine-learning"); // CommonJS import
|
|
29
29
|
* const client = new MachineLearningClient(config);
|
|
30
|
-
* const input = {
|
|
31
|
-
* TagKeys: [ // required
|
|
30
|
+
* const input = { // DeleteTagsInput
|
|
31
|
+
* TagKeys: [ // TagKeyList // required
|
|
32
32
|
* "STRING_VALUE",
|
|
33
33
|
* ],
|
|
34
34
|
* ResourceId: "STRING_VALUE", // required
|
|
@@ -26,7 +26,7 @@ export interface DescribeBatchPredictionsCommandOutput extends DescribeBatchPred
|
|
|
26
26
|
* import { MachineLearningClient, DescribeBatchPredictionsCommand } from "@aws-sdk/client-machine-learning"; // ES Modules import
|
|
27
27
|
* // const { MachineLearningClient, DescribeBatchPredictionsCommand } = require("@aws-sdk/client-machine-learning"); // CommonJS import
|
|
28
28
|
* const client = new MachineLearningClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // DescribeBatchPredictionsInput
|
|
30
30
|
* FilterVariable: "STRING_VALUE",
|
|
31
31
|
* EQ: "STRING_VALUE",
|
|
32
32
|
* GT: "STRING_VALUE",
|
|
@@ -26,7 +26,7 @@ export interface DescribeDataSourcesCommandOutput extends DescribeDataSourcesOut
|
|
|
26
26
|
* import { MachineLearningClient, DescribeDataSourcesCommand } from "@aws-sdk/client-machine-learning"; // ES Modules import
|
|
27
27
|
* // const { MachineLearningClient, DescribeDataSourcesCommand } = require("@aws-sdk/client-machine-learning"); // CommonJS import
|
|
28
28
|
* const client = new MachineLearningClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // DescribeDataSourcesInput
|
|
30
30
|
* FilterVariable: "STRING_VALUE",
|
|
31
31
|
* EQ: "STRING_VALUE",
|
|
32
32
|
* GT: "STRING_VALUE",
|
|
@@ -26,7 +26,7 @@ export interface DescribeEvaluationsCommandOutput extends DescribeEvaluationsOut
|
|
|
26
26
|
* import { MachineLearningClient, DescribeEvaluationsCommand } from "@aws-sdk/client-machine-learning"; // ES Modules import
|
|
27
27
|
* // const { MachineLearningClient, DescribeEvaluationsCommand } = require("@aws-sdk/client-machine-learning"); // CommonJS import
|
|
28
28
|
* const client = new MachineLearningClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // DescribeEvaluationsInput
|
|
30
30
|
* FilterVariable: "STRING_VALUE",
|
|
31
31
|
* EQ: "STRING_VALUE",
|
|
32
32
|
* GT: "STRING_VALUE",
|
|
@@ -26,7 +26,7 @@ export interface DescribeMLModelsCommandOutput extends DescribeMLModelsOutput, _
|
|
|
26
26
|
* import { MachineLearningClient, DescribeMLModelsCommand } from "@aws-sdk/client-machine-learning"; // ES Modules import
|
|
27
27
|
* // const { MachineLearningClient, DescribeMLModelsCommand } = require("@aws-sdk/client-machine-learning"); // CommonJS import
|
|
28
28
|
* const client = new MachineLearningClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // DescribeMLModelsInput
|
|
30
30
|
* FilterVariable: "STRING_VALUE",
|
|
31
31
|
* EQ: "STRING_VALUE",
|
|
32
32
|
* GT: "STRING_VALUE",
|
|
@@ -26,7 +26,7 @@ export interface DescribeTagsCommandOutput extends DescribeTagsOutput, __Metadat
|
|
|
26
26
|
* import { MachineLearningClient, DescribeTagsCommand } from "@aws-sdk/client-machine-learning"; // ES Modules import
|
|
27
27
|
* // const { MachineLearningClient, DescribeTagsCommand } = require("@aws-sdk/client-machine-learning"); // CommonJS import
|
|
28
28
|
* const client = new MachineLearningClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // DescribeTagsInput
|
|
30
30
|
* ResourceId: "STRING_VALUE", // required
|
|
31
31
|
* ResourceType: "STRING_VALUE", // required
|
|
32
32
|
* };
|