@aws-sdk/client-machine-learning 3.1076.0 → 3.1078.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 +42 -288
- package/dist-es/commandBuilder.js +10 -0
- package/dist-es/commands/AddTagsCommand.js +2 -14
- package/dist-es/commands/CreateBatchPredictionCommand.js +2 -14
- package/dist-es/commands/CreateDataSourceFromRDSCommand.js +2 -14
- package/dist-es/commands/CreateDataSourceFromRedshiftCommand.js +2 -14
- package/dist-es/commands/CreateDataSourceFromS3Command.js +2 -14
- package/dist-es/commands/CreateEvaluationCommand.js +2 -14
- package/dist-es/commands/CreateMLModelCommand.js +2 -14
- package/dist-es/commands/CreateRealtimeEndpointCommand.js +2 -14
- package/dist-es/commands/DeleteBatchPredictionCommand.js +2 -14
- package/dist-es/commands/DeleteDataSourceCommand.js +2 -14
- package/dist-es/commands/DeleteEvaluationCommand.js +2 -14
- package/dist-es/commands/DeleteMLModelCommand.js +2 -14
- package/dist-es/commands/DeleteRealtimeEndpointCommand.js +2 -14
- package/dist-es/commands/DeleteTagsCommand.js +2 -14
- package/dist-es/commands/DescribeBatchPredictionsCommand.js +2 -14
- package/dist-es/commands/DescribeDataSourcesCommand.js +2 -14
- package/dist-es/commands/DescribeEvaluationsCommand.js +2 -14
- package/dist-es/commands/DescribeMLModelsCommand.js +2 -14
- package/dist-es/commands/DescribeTagsCommand.js +2 -14
- package/dist-es/commands/GetBatchPredictionCommand.js +2 -14
- package/dist-es/commands/GetDataSourceCommand.js +2 -14
- package/dist-es/commands/GetEvaluationCommand.js +2 -14
- package/dist-es/commands/GetMLModelCommand.js +2 -14
- package/dist-es/commands/PredictCommand.js +2 -18
- package/dist-es/commands/UpdateBatchPredictionCommand.js +2 -14
- package/dist-es/commands/UpdateDataSourceCommand.js +2 -14
- package/dist-es/commands/UpdateEvaluationCommand.js +2 -14
- package/dist-es/commands/UpdateMLModelCommand.js +2 -14
- package/dist-es/index.js +1 -0
- package/dist-es/runtimeConfig.browser.js +0 -2
- package/dist-es/runtimeConfig.js +1 -2
- package/dist-es/runtimeConfig.native.js +0 -2
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-types/commandBuilder.d.ts +22 -0
- package/dist-types/commands/AddTagsCommand.d.ts +3 -8
- package/dist-types/commands/CreateBatchPredictionCommand.d.ts +3 -8
- package/dist-types/commands/CreateDataSourceFromRDSCommand.d.ts +3 -8
- package/dist-types/commands/CreateDataSourceFromRedshiftCommand.d.ts +3 -8
- package/dist-types/commands/CreateDataSourceFromS3Command.d.ts +3 -8
- package/dist-types/commands/CreateEvaluationCommand.d.ts +3 -8
- package/dist-types/commands/CreateMLModelCommand.d.ts +3 -8
- package/dist-types/commands/CreateRealtimeEndpointCommand.d.ts +3 -8
- package/dist-types/commands/DeleteBatchPredictionCommand.d.ts +3 -8
- package/dist-types/commands/DeleteDataSourceCommand.d.ts +3 -8
- package/dist-types/commands/DeleteEvaluationCommand.d.ts +3 -8
- package/dist-types/commands/DeleteMLModelCommand.d.ts +3 -8
- package/dist-types/commands/DeleteRealtimeEndpointCommand.d.ts +3 -8
- package/dist-types/commands/DeleteTagsCommand.d.ts +3 -8
- package/dist-types/commands/DescribeBatchPredictionsCommand.d.ts +3 -8
- package/dist-types/commands/DescribeDataSourcesCommand.d.ts +3 -8
- package/dist-types/commands/DescribeEvaluationsCommand.d.ts +3 -8
- package/dist-types/commands/DescribeMLModelsCommand.d.ts +3 -8
- package/dist-types/commands/DescribeTagsCommand.d.ts +3 -8
- package/dist-types/commands/GetBatchPredictionCommand.d.ts +3 -8
- package/dist-types/commands/GetDataSourceCommand.d.ts +3 -8
- package/dist-types/commands/GetEvaluationCommand.d.ts +3 -8
- package/dist-types/commands/GetMLModelCommand.d.ts +3 -8
- package/dist-types/commands/PredictCommand.d.ts +3 -8
- package/dist-types/commands/UpdateBatchPredictionCommand.d.ts +3 -8
- package/dist-types/commands/UpdateDataSourceCommand.d.ts +3 -8
- package/dist-types/commands/UpdateEvaluationCommand.d.ts +3 -8
- package/dist-types/commands/UpdateMLModelCommand.d.ts +3 -8
- package/dist-types/index.d.ts +1 -0
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/ts3.4/commandBuilder.d.ts +52 -0
- package/dist-types/ts3.4/commands/AddTagsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateBatchPredictionCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateDataSourceFromRDSCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateDataSourceFromRedshiftCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateDataSourceFromS3Command.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateEvaluationCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateMLModelCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateRealtimeEndpointCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteBatchPredictionCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteDataSourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteEvaluationCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteMLModelCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteRealtimeEndpointCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteTagsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DescribeBatchPredictionsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DescribeDataSourcesCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DescribeEvaluationsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DescribeMLModelsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DescribeTagsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetBatchPredictionCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetDataSourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetEvaluationCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetMLModelCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/PredictCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateBatchPredictionCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateDataSourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateEvaluationCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateMLModelCommand.d.ts +7 -16
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
- package/package.json +9 -11
package/dist-cjs/index.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
|
|
2
2
|
const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
|
|
3
|
-
const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client,
|
|
4
|
-
|
|
3
|
+
const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createWaiter, checkExceptions, WaiterState, createAggregatedClient } = require("@smithy/core/client");
|
|
4
|
+
const { Command: $Command } = require("@smithy/core/client");
|
|
5
|
+
exports.$Command = $Command;
|
|
5
6
|
exports.__Client = Client;
|
|
6
7
|
const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
|
|
7
8
|
const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
|
|
@@ -10,9 +11,10 @@ const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CON
|
|
|
10
11
|
const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
|
|
11
12
|
const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
|
|
12
13
|
const { defaultProvider } = require("@aws-sdk/credential-provider-node");
|
|
13
|
-
const { toUtf8, fromUtf8, toBase64, fromBase64,
|
|
14
|
+
const { toUtf8, fromUtf8, toBase64, fromBase64, calculateBodyLength } = require("@smithy/core/serde");
|
|
14
15
|
const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
|
|
15
16
|
const { AwsJson1_1Protocol } = require("@aws-sdk/core/protocols");
|
|
17
|
+
const { Sha256 } = require("@smithy/core/checksum");
|
|
16
18
|
const { getPredictEndpointPlugin } = require("@aws-sdk/middleware-sdk-machinelearning");
|
|
17
19
|
|
|
18
20
|
const defaultMachineLearningHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
@@ -68,7 +70,7 @@ const commonParams = {
|
|
|
68
70
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
69
71
|
};
|
|
70
72
|
|
|
71
|
-
var version = "3.
|
|
73
|
+
var version = "3.1077.0";
|
|
72
74
|
var packageInfo = {
|
|
73
75
|
version: version};
|
|
74
76
|
|
|
@@ -1010,6 +1012,7 @@ const getRuntimeConfig$1 = (config) => {
|
|
|
1010
1012
|
serviceTarget: "AmazonML_20141212",
|
|
1011
1013
|
},
|
|
1012
1014
|
serviceId: config?.serviceId ?? "Machine Learning",
|
|
1015
|
+
sha256: config?.sha256 ?? Sha256,
|
|
1013
1016
|
urlParser: config?.urlParser ?? parseUrl,
|
|
1014
1017
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
1015
1018
|
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
@@ -1043,7 +1046,6 @@ const getRuntimeConfig = (config) => {
|
|
|
1043
1046
|
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
1044
1047
|
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
1045
1048
|
}, config),
|
|
1046
|
-
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
1047
1049
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
1048
1050
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
1049
1051
|
useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
@@ -1131,343 +1133,95 @@ class MachineLearningClient extends Client {
|
|
|
1131
1133
|
}
|
|
1132
1134
|
}
|
|
1133
1135
|
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
.sc(AddTags$)
|
|
1143
|
-
.build() {
|
|
1136
|
+
const command = makeBuilder(commonParams, "AmazonML_20141212", "MachineLearningClient", getEndpointPlugin);
|
|
1137
|
+
const _ep0 = {};
|
|
1138
|
+
const _mw0 = (Command, cs, config, o) => [];
|
|
1139
|
+
const _mw1 = (Command, cs, config, o) => [
|
|
1140
|
+
getPredictEndpointPlugin(config),
|
|
1141
|
+
];
|
|
1142
|
+
|
|
1143
|
+
class AddTagsCommand extends command(_ep0, _mw0, "AddTags", AddTags$) {
|
|
1144
1144
|
}
|
|
1145
1145
|
|
|
1146
|
-
class CreateBatchPredictionCommand extends
|
|
1147
|
-
.classBuilder()
|
|
1148
|
-
.ep(commonParams)
|
|
1149
|
-
.m(function (Command, cs, config, o) {
|
|
1150
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1151
|
-
})
|
|
1152
|
-
.s("AmazonML_20141212", "CreateBatchPrediction", {})
|
|
1153
|
-
.n("MachineLearningClient", "CreateBatchPredictionCommand")
|
|
1154
|
-
.sc(CreateBatchPrediction$)
|
|
1155
|
-
.build() {
|
|
1146
|
+
class CreateBatchPredictionCommand extends command(_ep0, _mw0, "CreateBatchPrediction", CreateBatchPrediction$) {
|
|
1156
1147
|
}
|
|
1157
1148
|
|
|
1158
|
-
class CreateDataSourceFromRDSCommand extends
|
|
1159
|
-
.classBuilder()
|
|
1160
|
-
.ep(commonParams)
|
|
1161
|
-
.m(function (Command, cs, config, o) {
|
|
1162
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1163
|
-
})
|
|
1164
|
-
.s("AmazonML_20141212", "CreateDataSourceFromRDS", {})
|
|
1165
|
-
.n("MachineLearningClient", "CreateDataSourceFromRDSCommand")
|
|
1166
|
-
.sc(CreateDataSourceFromRDS$)
|
|
1167
|
-
.build() {
|
|
1149
|
+
class CreateDataSourceFromRDSCommand extends command(_ep0, _mw0, "CreateDataSourceFromRDS", CreateDataSourceFromRDS$) {
|
|
1168
1150
|
}
|
|
1169
1151
|
|
|
1170
|
-
class CreateDataSourceFromRedshiftCommand extends
|
|
1171
|
-
.classBuilder()
|
|
1172
|
-
.ep(commonParams)
|
|
1173
|
-
.m(function (Command, cs, config, o) {
|
|
1174
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1175
|
-
})
|
|
1176
|
-
.s("AmazonML_20141212", "CreateDataSourceFromRedshift", {})
|
|
1177
|
-
.n("MachineLearningClient", "CreateDataSourceFromRedshiftCommand")
|
|
1178
|
-
.sc(CreateDataSourceFromRedshift$)
|
|
1179
|
-
.build() {
|
|
1152
|
+
class CreateDataSourceFromRedshiftCommand extends command(_ep0, _mw0, "CreateDataSourceFromRedshift", CreateDataSourceFromRedshift$) {
|
|
1180
1153
|
}
|
|
1181
1154
|
|
|
1182
|
-
class CreateDataSourceFromS3Command extends
|
|
1183
|
-
.classBuilder()
|
|
1184
|
-
.ep(commonParams)
|
|
1185
|
-
.m(function (Command, cs, config, o) {
|
|
1186
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1187
|
-
})
|
|
1188
|
-
.s("AmazonML_20141212", "CreateDataSourceFromS3", {})
|
|
1189
|
-
.n("MachineLearningClient", "CreateDataSourceFromS3Command")
|
|
1190
|
-
.sc(CreateDataSourceFromS3$)
|
|
1191
|
-
.build() {
|
|
1155
|
+
class CreateDataSourceFromS3Command extends command(_ep0, _mw0, "CreateDataSourceFromS3", CreateDataSourceFromS3$) {
|
|
1192
1156
|
}
|
|
1193
1157
|
|
|
1194
|
-
class CreateEvaluationCommand extends
|
|
1195
|
-
.classBuilder()
|
|
1196
|
-
.ep(commonParams)
|
|
1197
|
-
.m(function (Command, cs, config, o) {
|
|
1198
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1199
|
-
})
|
|
1200
|
-
.s("AmazonML_20141212", "CreateEvaluation", {})
|
|
1201
|
-
.n("MachineLearningClient", "CreateEvaluationCommand")
|
|
1202
|
-
.sc(CreateEvaluation$)
|
|
1203
|
-
.build() {
|
|
1158
|
+
class CreateEvaluationCommand extends command(_ep0, _mw0, "CreateEvaluation", CreateEvaluation$) {
|
|
1204
1159
|
}
|
|
1205
1160
|
|
|
1206
|
-
class CreateMLModelCommand extends
|
|
1207
|
-
.classBuilder()
|
|
1208
|
-
.ep(commonParams)
|
|
1209
|
-
.m(function (Command, cs, config, o) {
|
|
1210
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1211
|
-
})
|
|
1212
|
-
.s("AmazonML_20141212", "CreateMLModel", {})
|
|
1213
|
-
.n("MachineLearningClient", "CreateMLModelCommand")
|
|
1214
|
-
.sc(CreateMLModel$)
|
|
1215
|
-
.build() {
|
|
1161
|
+
class CreateMLModelCommand extends command(_ep0, _mw0, "CreateMLModel", CreateMLModel$) {
|
|
1216
1162
|
}
|
|
1217
1163
|
|
|
1218
|
-
class CreateRealtimeEndpointCommand extends
|
|
1219
|
-
.classBuilder()
|
|
1220
|
-
.ep(commonParams)
|
|
1221
|
-
.m(function (Command, cs, config, o) {
|
|
1222
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1223
|
-
})
|
|
1224
|
-
.s("AmazonML_20141212", "CreateRealtimeEndpoint", {})
|
|
1225
|
-
.n("MachineLearningClient", "CreateRealtimeEndpointCommand")
|
|
1226
|
-
.sc(CreateRealtimeEndpoint$)
|
|
1227
|
-
.build() {
|
|
1164
|
+
class CreateRealtimeEndpointCommand extends command(_ep0, _mw0, "CreateRealtimeEndpoint", CreateRealtimeEndpoint$) {
|
|
1228
1165
|
}
|
|
1229
1166
|
|
|
1230
|
-
class DeleteBatchPredictionCommand extends
|
|
1231
|
-
.classBuilder()
|
|
1232
|
-
.ep(commonParams)
|
|
1233
|
-
.m(function (Command, cs, config, o) {
|
|
1234
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1235
|
-
})
|
|
1236
|
-
.s("AmazonML_20141212", "DeleteBatchPrediction", {})
|
|
1237
|
-
.n("MachineLearningClient", "DeleteBatchPredictionCommand")
|
|
1238
|
-
.sc(DeleteBatchPrediction$)
|
|
1239
|
-
.build() {
|
|
1167
|
+
class DeleteBatchPredictionCommand extends command(_ep0, _mw0, "DeleteBatchPrediction", DeleteBatchPrediction$) {
|
|
1240
1168
|
}
|
|
1241
1169
|
|
|
1242
|
-
class DeleteDataSourceCommand extends
|
|
1243
|
-
.classBuilder()
|
|
1244
|
-
.ep(commonParams)
|
|
1245
|
-
.m(function (Command, cs, config, o) {
|
|
1246
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1247
|
-
})
|
|
1248
|
-
.s("AmazonML_20141212", "DeleteDataSource", {})
|
|
1249
|
-
.n("MachineLearningClient", "DeleteDataSourceCommand")
|
|
1250
|
-
.sc(DeleteDataSource$)
|
|
1251
|
-
.build() {
|
|
1170
|
+
class DeleteDataSourceCommand extends command(_ep0, _mw0, "DeleteDataSource", DeleteDataSource$) {
|
|
1252
1171
|
}
|
|
1253
1172
|
|
|
1254
|
-
class DeleteEvaluationCommand extends
|
|
1255
|
-
.classBuilder()
|
|
1256
|
-
.ep(commonParams)
|
|
1257
|
-
.m(function (Command, cs, config, o) {
|
|
1258
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1259
|
-
})
|
|
1260
|
-
.s("AmazonML_20141212", "DeleteEvaluation", {})
|
|
1261
|
-
.n("MachineLearningClient", "DeleteEvaluationCommand")
|
|
1262
|
-
.sc(DeleteEvaluation$)
|
|
1263
|
-
.build() {
|
|
1173
|
+
class DeleteEvaluationCommand extends command(_ep0, _mw0, "DeleteEvaluation", DeleteEvaluation$) {
|
|
1264
1174
|
}
|
|
1265
1175
|
|
|
1266
|
-
class DeleteMLModelCommand extends
|
|
1267
|
-
.classBuilder()
|
|
1268
|
-
.ep(commonParams)
|
|
1269
|
-
.m(function (Command, cs, config, o) {
|
|
1270
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1271
|
-
})
|
|
1272
|
-
.s("AmazonML_20141212", "DeleteMLModel", {})
|
|
1273
|
-
.n("MachineLearningClient", "DeleteMLModelCommand")
|
|
1274
|
-
.sc(DeleteMLModel$)
|
|
1275
|
-
.build() {
|
|
1176
|
+
class DeleteMLModelCommand extends command(_ep0, _mw0, "DeleteMLModel", DeleteMLModel$) {
|
|
1276
1177
|
}
|
|
1277
1178
|
|
|
1278
|
-
class DeleteRealtimeEndpointCommand extends
|
|
1279
|
-
.classBuilder()
|
|
1280
|
-
.ep(commonParams)
|
|
1281
|
-
.m(function (Command, cs, config, o) {
|
|
1282
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1283
|
-
})
|
|
1284
|
-
.s("AmazonML_20141212", "DeleteRealtimeEndpoint", {})
|
|
1285
|
-
.n("MachineLearningClient", "DeleteRealtimeEndpointCommand")
|
|
1286
|
-
.sc(DeleteRealtimeEndpoint$)
|
|
1287
|
-
.build() {
|
|
1179
|
+
class DeleteRealtimeEndpointCommand extends command(_ep0, _mw0, "DeleteRealtimeEndpoint", DeleteRealtimeEndpoint$) {
|
|
1288
1180
|
}
|
|
1289
1181
|
|
|
1290
|
-
class DeleteTagsCommand extends
|
|
1291
|
-
.classBuilder()
|
|
1292
|
-
.ep(commonParams)
|
|
1293
|
-
.m(function (Command, cs, config, o) {
|
|
1294
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1295
|
-
})
|
|
1296
|
-
.s("AmazonML_20141212", "DeleteTags", {})
|
|
1297
|
-
.n("MachineLearningClient", "DeleteTagsCommand")
|
|
1298
|
-
.sc(DeleteTags$)
|
|
1299
|
-
.build() {
|
|
1182
|
+
class DeleteTagsCommand extends command(_ep0, _mw0, "DeleteTags", DeleteTags$) {
|
|
1300
1183
|
}
|
|
1301
1184
|
|
|
1302
|
-
class DescribeBatchPredictionsCommand extends
|
|
1303
|
-
.classBuilder()
|
|
1304
|
-
.ep(commonParams)
|
|
1305
|
-
.m(function (Command, cs, config, o) {
|
|
1306
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1307
|
-
})
|
|
1308
|
-
.s("AmazonML_20141212", "DescribeBatchPredictions", {})
|
|
1309
|
-
.n("MachineLearningClient", "DescribeBatchPredictionsCommand")
|
|
1310
|
-
.sc(DescribeBatchPredictions$)
|
|
1311
|
-
.build() {
|
|
1185
|
+
class DescribeBatchPredictionsCommand extends command(_ep0, _mw0, "DescribeBatchPredictions", DescribeBatchPredictions$) {
|
|
1312
1186
|
}
|
|
1313
1187
|
|
|
1314
|
-
class DescribeDataSourcesCommand extends
|
|
1315
|
-
.classBuilder()
|
|
1316
|
-
.ep(commonParams)
|
|
1317
|
-
.m(function (Command, cs, config, o) {
|
|
1318
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1319
|
-
})
|
|
1320
|
-
.s("AmazonML_20141212", "DescribeDataSources", {})
|
|
1321
|
-
.n("MachineLearningClient", "DescribeDataSourcesCommand")
|
|
1322
|
-
.sc(DescribeDataSources$)
|
|
1323
|
-
.build() {
|
|
1188
|
+
class DescribeDataSourcesCommand extends command(_ep0, _mw0, "DescribeDataSources", DescribeDataSources$) {
|
|
1324
1189
|
}
|
|
1325
1190
|
|
|
1326
|
-
class DescribeEvaluationsCommand extends
|
|
1327
|
-
.classBuilder()
|
|
1328
|
-
.ep(commonParams)
|
|
1329
|
-
.m(function (Command, cs, config, o) {
|
|
1330
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1331
|
-
})
|
|
1332
|
-
.s("AmazonML_20141212", "DescribeEvaluations", {})
|
|
1333
|
-
.n("MachineLearningClient", "DescribeEvaluationsCommand")
|
|
1334
|
-
.sc(DescribeEvaluations$)
|
|
1335
|
-
.build() {
|
|
1191
|
+
class DescribeEvaluationsCommand extends command(_ep0, _mw0, "DescribeEvaluations", DescribeEvaluations$) {
|
|
1336
1192
|
}
|
|
1337
1193
|
|
|
1338
|
-
class DescribeMLModelsCommand extends
|
|
1339
|
-
.classBuilder()
|
|
1340
|
-
.ep(commonParams)
|
|
1341
|
-
.m(function (Command, cs, config, o) {
|
|
1342
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1343
|
-
})
|
|
1344
|
-
.s("AmazonML_20141212", "DescribeMLModels", {})
|
|
1345
|
-
.n("MachineLearningClient", "DescribeMLModelsCommand")
|
|
1346
|
-
.sc(DescribeMLModels$)
|
|
1347
|
-
.build() {
|
|
1194
|
+
class DescribeMLModelsCommand extends command(_ep0, _mw0, "DescribeMLModels", DescribeMLModels$) {
|
|
1348
1195
|
}
|
|
1349
1196
|
|
|
1350
|
-
class DescribeTagsCommand extends
|
|
1351
|
-
.classBuilder()
|
|
1352
|
-
.ep(commonParams)
|
|
1353
|
-
.m(function (Command, cs, config, o) {
|
|
1354
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1355
|
-
})
|
|
1356
|
-
.s("AmazonML_20141212", "DescribeTags", {})
|
|
1357
|
-
.n("MachineLearningClient", "DescribeTagsCommand")
|
|
1358
|
-
.sc(DescribeTags$)
|
|
1359
|
-
.build() {
|
|
1197
|
+
class DescribeTagsCommand extends command(_ep0, _mw0, "DescribeTags", DescribeTags$) {
|
|
1360
1198
|
}
|
|
1361
1199
|
|
|
1362
|
-
class GetBatchPredictionCommand extends
|
|
1363
|
-
.classBuilder()
|
|
1364
|
-
.ep(commonParams)
|
|
1365
|
-
.m(function (Command, cs, config, o) {
|
|
1366
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1367
|
-
})
|
|
1368
|
-
.s("AmazonML_20141212", "GetBatchPrediction", {})
|
|
1369
|
-
.n("MachineLearningClient", "GetBatchPredictionCommand")
|
|
1370
|
-
.sc(GetBatchPrediction$)
|
|
1371
|
-
.build() {
|
|
1200
|
+
class GetBatchPredictionCommand extends command(_ep0, _mw0, "GetBatchPrediction", GetBatchPrediction$) {
|
|
1372
1201
|
}
|
|
1373
1202
|
|
|
1374
|
-
class GetDataSourceCommand extends
|
|
1375
|
-
.classBuilder()
|
|
1376
|
-
.ep(commonParams)
|
|
1377
|
-
.m(function (Command, cs, config, o) {
|
|
1378
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1379
|
-
})
|
|
1380
|
-
.s("AmazonML_20141212", "GetDataSource", {})
|
|
1381
|
-
.n("MachineLearningClient", "GetDataSourceCommand")
|
|
1382
|
-
.sc(GetDataSource$)
|
|
1383
|
-
.build() {
|
|
1203
|
+
class GetDataSourceCommand extends command(_ep0, _mw0, "GetDataSource", GetDataSource$) {
|
|
1384
1204
|
}
|
|
1385
1205
|
|
|
1386
|
-
class GetEvaluationCommand extends
|
|
1387
|
-
.classBuilder()
|
|
1388
|
-
.ep(commonParams)
|
|
1389
|
-
.m(function (Command, cs, config, o) {
|
|
1390
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1391
|
-
})
|
|
1392
|
-
.s("AmazonML_20141212", "GetEvaluation", {})
|
|
1393
|
-
.n("MachineLearningClient", "GetEvaluationCommand")
|
|
1394
|
-
.sc(GetEvaluation$)
|
|
1395
|
-
.build() {
|
|
1206
|
+
class GetEvaluationCommand extends command(_ep0, _mw0, "GetEvaluation", GetEvaluation$) {
|
|
1396
1207
|
}
|
|
1397
1208
|
|
|
1398
|
-
class GetMLModelCommand extends
|
|
1399
|
-
.classBuilder()
|
|
1400
|
-
.ep(commonParams)
|
|
1401
|
-
.m(function (Command, cs, config, o) {
|
|
1402
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1403
|
-
})
|
|
1404
|
-
.s("AmazonML_20141212", "GetMLModel", {})
|
|
1405
|
-
.n("MachineLearningClient", "GetMLModelCommand")
|
|
1406
|
-
.sc(GetMLModel$)
|
|
1407
|
-
.build() {
|
|
1209
|
+
class GetMLModelCommand extends command(_ep0, _mw0, "GetMLModel", GetMLModel$) {
|
|
1408
1210
|
}
|
|
1409
1211
|
|
|
1410
|
-
class PredictCommand extends
|
|
1411
|
-
.classBuilder()
|
|
1412
|
-
.ep(commonParams)
|
|
1413
|
-
.m(function (Command, cs, config, o) {
|
|
1414
|
-
return [
|
|
1415
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1416
|
-
getPredictEndpointPlugin(config),
|
|
1417
|
-
];
|
|
1418
|
-
})
|
|
1419
|
-
.s("AmazonML_20141212", "Predict", {})
|
|
1420
|
-
.n("MachineLearningClient", "PredictCommand")
|
|
1421
|
-
.sc(Predict$)
|
|
1422
|
-
.build() {
|
|
1212
|
+
class PredictCommand extends command(_ep0, _mw1, "Predict", Predict$) {
|
|
1423
1213
|
}
|
|
1424
1214
|
|
|
1425
|
-
class UpdateBatchPredictionCommand extends
|
|
1426
|
-
.classBuilder()
|
|
1427
|
-
.ep(commonParams)
|
|
1428
|
-
.m(function (Command, cs, config, o) {
|
|
1429
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1430
|
-
})
|
|
1431
|
-
.s("AmazonML_20141212", "UpdateBatchPrediction", {})
|
|
1432
|
-
.n("MachineLearningClient", "UpdateBatchPredictionCommand")
|
|
1433
|
-
.sc(UpdateBatchPrediction$)
|
|
1434
|
-
.build() {
|
|
1215
|
+
class UpdateBatchPredictionCommand extends command(_ep0, _mw0, "UpdateBatchPrediction", UpdateBatchPrediction$) {
|
|
1435
1216
|
}
|
|
1436
1217
|
|
|
1437
|
-
class UpdateDataSourceCommand extends
|
|
1438
|
-
.classBuilder()
|
|
1439
|
-
.ep(commonParams)
|
|
1440
|
-
.m(function (Command, cs, config, o) {
|
|
1441
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1442
|
-
})
|
|
1443
|
-
.s("AmazonML_20141212", "UpdateDataSource", {})
|
|
1444
|
-
.n("MachineLearningClient", "UpdateDataSourceCommand")
|
|
1445
|
-
.sc(UpdateDataSource$)
|
|
1446
|
-
.build() {
|
|
1218
|
+
class UpdateDataSourceCommand extends command(_ep0, _mw0, "UpdateDataSource", UpdateDataSource$) {
|
|
1447
1219
|
}
|
|
1448
1220
|
|
|
1449
|
-
class UpdateEvaluationCommand extends
|
|
1450
|
-
.classBuilder()
|
|
1451
|
-
.ep(commonParams)
|
|
1452
|
-
.m(function (Command, cs, config, o) {
|
|
1453
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1454
|
-
})
|
|
1455
|
-
.s("AmazonML_20141212", "UpdateEvaluation", {})
|
|
1456
|
-
.n("MachineLearningClient", "UpdateEvaluationCommand")
|
|
1457
|
-
.sc(UpdateEvaluation$)
|
|
1458
|
-
.build() {
|
|
1221
|
+
class UpdateEvaluationCommand extends command(_ep0, _mw0, "UpdateEvaluation", UpdateEvaluation$) {
|
|
1459
1222
|
}
|
|
1460
1223
|
|
|
1461
|
-
class UpdateMLModelCommand extends
|
|
1462
|
-
.classBuilder()
|
|
1463
|
-
.ep(commonParams)
|
|
1464
|
-
.m(function (Command, cs, config, o) {
|
|
1465
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1466
|
-
})
|
|
1467
|
-
.s("AmazonML_20141212", "UpdateMLModel", {})
|
|
1468
|
-
.n("MachineLearningClient", "UpdateMLModelCommand")
|
|
1469
|
-
.sc(UpdateMLModel$)
|
|
1470
|
-
.build() {
|
|
1224
|
+
class UpdateMLModelCommand extends command(_ep0, _mw0, "UpdateMLModel", UpdateMLModel$) {
|
|
1471
1225
|
}
|
|
1472
1226
|
|
|
1473
1227
|
const paginateDescribeBatchPredictions = createPaginator(MachineLearningClient, DescribeBatchPredictionsCommand, "NextToken", "NextToken", "Limit");
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { getPredictEndpointPlugin } from "@aws-sdk/middleware-sdk-machinelearning";
|
|
2
|
+
import { makeBuilder } from "@smithy/core/client";
|
|
3
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
4
|
+
import { commonParams } from "./endpoint/EndpointParameters";
|
|
5
|
+
export const command = makeBuilder(commonParams, "AmazonML_20141212", "MachineLearningClient", getEndpointPlugin);
|
|
6
|
+
export const _ep0 = {};
|
|
7
|
+
export const _mw0 = (Command, cs, config, o) => [];
|
|
8
|
+
export const _mw1 = (Command, cs, config, o) => [
|
|
9
|
+
getPredictEndpointPlugin(config),
|
|
10
|
+
];
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { AddTags$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class AddTagsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonML_20141212", "AddTags", {})
|
|
13
|
-
.n("MachineLearningClient", "AddTagsCommand")
|
|
14
|
-
.sc(AddTags$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class AddTagsCommand extends command(_ep0, _mw0, "AddTags", AddTags$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { CreateBatchPrediction$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class CreateBatchPredictionCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonML_20141212", "CreateBatchPrediction", {})
|
|
13
|
-
.n("MachineLearningClient", "CreateBatchPredictionCommand")
|
|
14
|
-
.sc(CreateBatchPrediction$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class CreateBatchPredictionCommand extends command(_ep0, _mw0, "CreateBatchPrediction", CreateBatchPrediction$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { CreateDataSourceFromRDS$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class CreateDataSourceFromRDSCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonML_20141212", "CreateDataSourceFromRDS", {})
|
|
13
|
-
.n("MachineLearningClient", "CreateDataSourceFromRDSCommand")
|
|
14
|
-
.sc(CreateDataSourceFromRDS$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class CreateDataSourceFromRDSCommand extends command(_ep0, _mw0, "CreateDataSourceFromRDS", CreateDataSourceFromRDS$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { CreateDataSourceFromRedshift$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class CreateDataSourceFromRedshiftCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonML_20141212", "CreateDataSourceFromRedshift", {})
|
|
13
|
-
.n("MachineLearningClient", "CreateDataSourceFromRedshiftCommand")
|
|
14
|
-
.sc(CreateDataSourceFromRedshift$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class CreateDataSourceFromRedshiftCommand extends command(_ep0, _mw0, "CreateDataSourceFromRedshift", CreateDataSourceFromRedshift$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { CreateDataSourceFromS3$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class CreateDataSourceFromS3Command extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonML_20141212", "CreateDataSourceFromS3", {})
|
|
13
|
-
.n("MachineLearningClient", "CreateDataSourceFromS3Command")
|
|
14
|
-
.sc(CreateDataSourceFromS3$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class CreateDataSourceFromS3Command extends command(_ep0, _mw0, "CreateDataSourceFromS3", CreateDataSourceFromS3$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { CreateEvaluation$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class CreateEvaluationCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonML_20141212", "CreateEvaluation", {})
|
|
13
|
-
.n("MachineLearningClient", "CreateEvaluationCommand")
|
|
14
|
-
.sc(CreateEvaluation$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class CreateEvaluationCommand extends command(_ep0, _mw0, "CreateEvaluation", CreateEvaluation$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { CreateMLModel$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class CreateMLModelCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonML_20141212", "CreateMLModel", {})
|
|
13
|
-
.n("MachineLearningClient", "CreateMLModelCommand")
|
|
14
|
-
.sc(CreateMLModel$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class CreateMLModelCommand extends command(_ep0, _mw0, "CreateMLModel", CreateMLModel$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { CreateRealtimeEndpoint$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class CreateRealtimeEndpointCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonML_20141212", "CreateRealtimeEndpoint", {})
|
|
13
|
-
.n("MachineLearningClient", "CreateRealtimeEndpointCommand")
|
|
14
|
-
.sc(CreateRealtimeEndpoint$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class CreateRealtimeEndpointCommand extends command(_ep0, _mw0, "CreateRealtimeEndpoint", CreateRealtimeEndpoint$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { DeleteBatchPrediction$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class DeleteBatchPredictionCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonML_20141212", "DeleteBatchPrediction", {})
|
|
13
|
-
.n("MachineLearningClient", "DeleteBatchPredictionCommand")
|
|
14
|
-
.sc(DeleteBatchPrediction$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class DeleteBatchPredictionCommand extends command(_ep0, _mw0, "DeleteBatchPrediction", DeleteBatchPrediction$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { DeleteDataSource$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class DeleteDataSourceCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonML_20141212", "DeleteDataSource", {})
|
|
13
|
-
.n("MachineLearningClient", "DeleteDataSourceCommand")
|
|
14
|
-
.sc(DeleteDataSource$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class DeleteDataSourceCommand extends command(_ep0, _mw0, "DeleteDataSource", DeleteDataSource$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { DeleteEvaluation$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class DeleteEvaluationCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonML_20141212", "DeleteEvaluation", {})
|
|
13
|
-
.n("MachineLearningClient", "DeleteEvaluationCommand")
|
|
14
|
-
.sc(DeleteEvaluation$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class DeleteEvaluationCommand extends command(_ep0, _mw0, "DeleteEvaluation", DeleteEvaluation$) {
|
|
16
4
|
}
|