@aws-sdk/client-sagemaker-featurestore-runtime 3.928.0 → 3.929.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 +295 -261
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/SageMakerFeatureStoreRuntimeClient.js +2 -0
- package/dist-es/commands/BatchGetRecordCommand.js +3 -9
- package/dist-es/commands/DeleteRecordCommand.js +3 -9
- package/dist-es/commands/GetRecordCommand.js +3 -9
- package/dist-es/commands/PutRecordCommand.js +3 -9
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +281 -0
- package/dist-types/SageMakerFeatureStoreRuntimeClient.d.ts +10 -1
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +32 -0
- package/dist-types/ts3.4/SageMakerFeatureStoreRuntimeClient.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +37 -0
- package/package.json +2 -2
- package/dist-es/protocols/Aws_restJson1.js +0 -226
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -38
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -53
package/dist-cjs/index.js
CHANGED
|
@@ -6,6 +6,7 @@ var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detect
|
|
|
6
6
|
var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
|
|
7
7
|
var configResolver = require('@smithy/config-resolver');
|
|
8
8
|
var core = require('@smithy/core');
|
|
9
|
+
var schema = require('@smithy/core/schema');
|
|
9
10
|
var middlewareContentLength = require('@smithy/middleware-content-length');
|
|
10
11
|
var middlewareEndpoint = require('@smithy/middleware-endpoint');
|
|
11
12
|
var middlewareRetry = require('@smithy/middleware-retry');
|
|
@@ -14,8 +15,6 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
|
|
|
14
15
|
var runtimeConfig = require('./runtimeConfig');
|
|
15
16
|
var regionConfigResolver = require('@aws-sdk/region-config-resolver');
|
|
16
17
|
var protocolHttp = require('@smithy/protocol-http');
|
|
17
|
-
var middlewareSerde = require('@smithy/middleware-serde');
|
|
18
|
-
var core$1 = require('@aws-sdk/core');
|
|
19
18
|
|
|
20
19
|
const resolveClientEndpointParameters = (options) => {
|
|
21
20
|
return Object.assign(options, {
|
|
@@ -91,6 +90,7 @@ class SageMakerFeatureStoreRuntimeClient extends smithyClient.Client {
|
|
|
91
90
|
const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
|
|
92
91
|
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
93
92
|
this.config = _config_8;
|
|
93
|
+
this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
|
|
94
94
|
this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
|
|
95
95
|
this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
|
|
96
96
|
this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
|
|
@@ -110,14 +110,14 @@ class SageMakerFeatureStoreRuntimeClient extends smithyClient.Client {
|
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
-
class SageMakerFeatureStoreRuntimeServiceException extends smithyClient.ServiceException {
|
|
113
|
+
let SageMakerFeatureStoreRuntimeServiceException$1 = class SageMakerFeatureStoreRuntimeServiceException extends smithyClient.ServiceException {
|
|
114
114
|
constructor(options) {
|
|
115
115
|
super(options);
|
|
116
116
|
Object.setPrototypeOf(this, SageMakerFeatureStoreRuntimeServiceException.prototype);
|
|
117
117
|
}
|
|
118
|
-
}
|
|
118
|
+
};
|
|
119
119
|
|
|
120
|
-
class AccessForbidden extends SageMakerFeatureStoreRuntimeServiceException {
|
|
120
|
+
let AccessForbidden$1 = class AccessForbidden extends SageMakerFeatureStoreRuntimeServiceException$1 {
|
|
121
121
|
name = "AccessForbidden";
|
|
122
122
|
$fault = "client";
|
|
123
123
|
Message;
|
|
@@ -130,12 +130,12 @@ class AccessForbidden extends SageMakerFeatureStoreRuntimeServiceException {
|
|
|
130
130
|
Object.setPrototypeOf(this, AccessForbidden.prototype);
|
|
131
131
|
this.Message = opts.Message;
|
|
132
132
|
}
|
|
133
|
-
}
|
|
133
|
+
};
|
|
134
134
|
const ExpirationTimeResponse = {
|
|
135
135
|
DISABLED: "Disabled",
|
|
136
136
|
ENABLED: "Enabled",
|
|
137
137
|
};
|
|
138
|
-
class InternalFailure extends SageMakerFeatureStoreRuntimeServiceException {
|
|
138
|
+
let InternalFailure$1 = class InternalFailure extends SageMakerFeatureStoreRuntimeServiceException$1 {
|
|
139
139
|
name = "InternalFailure";
|
|
140
140
|
$fault = "server";
|
|
141
141
|
Message;
|
|
@@ -148,8 +148,8 @@ class InternalFailure extends SageMakerFeatureStoreRuntimeServiceException {
|
|
|
148
148
|
Object.setPrototypeOf(this, InternalFailure.prototype);
|
|
149
149
|
this.Message = opts.Message;
|
|
150
150
|
}
|
|
151
|
-
}
|
|
152
|
-
class ServiceUnavailable extends SageMakerFeatureStoreRuntimeServiceException {
|
|
151
|
+
};
|
|
152
|
+
let ServiceUnavailable$1 = class ServiceUnavailable extends SageMakerFeatureStoreRuntimeServiceException$1 {
|
|
153
153
|
name = "ServiceUnavailable";
|
|
154
154
|
$fault = "server";
|
|
155
155
|
Message;
|
|
@@ -162,8 +162,8 @@ class ServiceUnavailable extends SageMakerFeatureStoreRuntimeServiceException {
|
|
|
162
162
|
Object.setPrototypeOf(this, ServiceUnavailable.prototype);
|
|
163
163
|
this.Message = opts.Message;
|
|
164
164
|
}
|
|
165
|
-
}
|
|
166
|
-
class ValidationError extends SageMakerFeatureStoreRuntimeServiceException {
|
|
165
|
+
};
|
|
166
|
+
let ValidationError$1 = class ValidationError extends SageMakerFeatureStoreRuntimeServiceException$1 {
|
|
167
167
|
name = "ValidationError";
|
|
168
168
|
$fault = "client";
|
|
169
169
|
Message;
|
|
@@ -176,7 +176,7 @@ class ValidationError extends SageMakerFeatureStoreRuntimeServiceException {
|
|
|
176
176
|
Object.setPrototypeOf(this, ValidationError.prototype);
|
|
177
177
|
this.Message = opts.Message;
|
|
178
178
|
}
|
|
179
|
-
}
|
|
179
|
+
};
|
|
180
180
|
const DeletionMode = {
|
|
181
181
|
HARD_DELETE: "HardDelete",
|
|
182
182
|
SOFT_DELETE: "SoftDelete",
|
|
@@ -185,7 +185,7 @@ const TargetStore = {
|
|
|
185
185
|
OFFLINE_STORE: "OfflineStore",
|
|
186
186
|
ONLINE_STORE: "OnlineStore",
|
|
187
187
|
};
|
|
188
|
-
class ResourceNotFound extends SageMakerFeatureStoreRuntimeServiceException {
|
|
188
|
+
let ResourceNotFound$1 = class ResourceNotFound extends SageMakerFeatureStoreRuntimeServiceException$1 {
|
|
189
189
|
name = "ResourceNotFound";
|
|
190
190
|
$fault = "client";
|
|
191
191
|
Message;
|
|
@@ -198,7 +198,7 @@ class ResourceNotFound extends SageMakerFeatureStoreRuntimeServiceException {
|
|
|
198
198
|
Object.setPrototypeOf(this, ResourceNotFound.prototype);
|
|
199
199
|
this.Message = opts.Message;
|
|
200
200
|
}
|
|
201
|
-
}
|
|
201
|
+
};
|
|
202
202
|
const TtlDurationUnit = {
|
|
203
203
|
DAYS: "Days",
|
|
204
204
|
HOURS: "Hours",
|
|
@@ -207,241 +207,290 @@ const TtlDurationUnit = {
|
|
|
207
207
|
WEEKS: "Weeks",
|
|
208
208
|
};
|
|
209
209
|
|
|
210
|
-
const
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
}));
|
|
221
|
-
b.m("POST").h(headers).b(body);
|
|
222
|
-
return b.build();
|
|
223
|
-
};
|
|
224
|
-
const se_DeleteRecordCommand = async (input, context) => {
|
|
225
|
-
const b = core.requestBuilder(input, context);
|
|
226
|
-
const headers = {};
|
|
227
|
-
b.bp("/FeatureGroup/{FeatureGroupName}");
|
|
228
|
-
b.p("FeatureGroupName", () => input.FeatureGroupName, "{FeatureGroupName}", false);
|
|
229
|
-
const query = smithyClient.map({
|
|
230
|
-
[_RIVAS]: [, smithyClient.expectNonNull(input[_RIVAS], `RecordIdentifierValueAsString`)],
|
|
231
|
-
[_ET]: [, smithyClient.expectNonNull(input[_ET], `EventTime`)],
|
|
232
|
-
[_TS]: [() => input.TargetStores !== void 0, () => input[_TS] || []],
|
|
233
|
-
[_DM]: [, input[_DM]],
|
|
234
|
-
});
|
|
235
|
-
let body;
|
|
236
|
-
b.m("DELETE").h(headers).q(query).b(body);
|
|
237
|
-
return b.build();
|
|
238
|
-
};
|
|
239
|
-
const se_GetRecordCommand = async (input, context) => {
|
|
240
|
-
const b = core.requestBuilder(input, context);
|
|
241
|
-
const headers = {};
|
|
242
|
-
b.bp("/FeatureGroup/{FeatureGroupName}");
|
|
243
|
-
b.p("FeatureGroupName", () => input.FeatureGroupName, "{FeatureGroupName}", false);
|
|
244
|
-
const query = smithyClient.map({
|
|
245
|
-
[_RIVAS]: [, smithyClient.expectNonNull(input[_RIVAS], `RecordIdentifierValueAsString`)],
|
|
246
|
-
[_FNe]: [() => input.FeatureNames !== void 0, () => input[_FN] || []],
|
|
247
|
-
[_ETR]: [, input[_ETR]],
|
|
248
|
-
});
|
|
249
|
-
let body;
|
|
250
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
251
|
-
return b.build();
|
|
252
|
-
};
|
|
253
|
-
const se_PutRecordCommand = async (input, context) => {
|
|
254
|
-
const b = core.requestBuilder(input, context);
|
|
255
|
-
const headers = {
|
|
256
|
-
"content-type": "application/json",
|
|
257
|
-
};
|
|
258
|
-
b.bp("/FeatureGroup/{FeatureGroupName}");
|
|
259
|
-
b.p("FeatureGroupName", () => input.FeatureGroupName, "{FeatureGroupName}", false);
|
|
260
|
-
let body;
|
|
261
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
262
|
-
Record: (_) => smithyClient._json(_),
|
|
263
|
-
TargetStores: (_) => smithyClient._json(_),
|
|
264
|
-
TtlDuration: (_) => smithyClient._json(_),
|
|
265
|
-
}));
|
|
266
|
-
b.m("PUT").h(headers).b(body);
|
|
267
|
-
return b.build();
|
|
268
|
-
};
|
|
269
|
-
const de_BatchGetRecordCommand = async (output, context) => {
|
|
270
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
271
|
-
return de_CommandError(output, context);
|
|
272
|
-
}
|
|
273
|
-
const contents = smithyClient.map({
|
|
274
|
-
$metadata: deserializeMetadata(output),
|
|
275
|
-
});
|
|
276
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
277
|
-
const doc = smithyClient.take(data, {
|
|
278
|
-
Errors: smithyClient._json,
|
|
279
|
-
Records: smithyClient._json,
|
|
280
|
-
UnprocessedIdentifiers: smithyClient._json,
|
|
281
|
-
});
|
|
282
|
-
Object.assign(contents, doc);
|
|
283
|
-
return contents;
|
|
284
|
-
};
|
|
285
|
-
const de_DeleteRecordCommand = async (output, context) => {
|
|
286
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
287
|
-
return de_CommandError(output, context);
|
|
288
|
-
}
|
|
289
|
-
const contents = smithyClient.map({
|
|
290
|
-
$metadata: deserializeMetadata(output),
|
|
291
|
-
});
|
|
292
|
-
await smithyClient.collectBody(output.body, context);
|
|
293
|
-
return contents;
|
|
294
|
-
};
|
|
295
|
-
const de_GetRecordCommand = async (output, context) => {
|
|
296
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
297
|
-
return de_CommandError(output, context);
|
|
298
|
-
}
|
|
299
|
-
const contents = smithyClient.map({
|
|
300
|
-
$metadata: deserializeMetadata(output),
|
|
301
|
-
});
|
|
302
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
303
|
-
const doc = smithyClient.take(data, {
|
|
304
|
-
ExpiresAt: smithyClient.expectString,
|
|
305
|
-
Record: smithyClient._json,
|
|
306
|
-
});
|
|
307
|
-
Object.assign(contents, doc);
|
|
308
|
-
return contents;
|
|
309
|
-
};
|
|
310
|
-
const de_PutRecordCommand = async (output, context) => {
|
|
311
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
312
|
-
return de_CommandError(output, context);
|
|
313
|
-
}
|
|
314
|
-
const contents = smithyClient.map({
|
|
315
|
-
$metadata: deserializeMetadata(output),
|
|
316
|
-
});
|
|
317
|
-
await smithyClient.collectBody(output.body, context);
|
|
318
|
-
return contents;
|
|
319
|
-
};
|
|
320
|
-
const de_CommandError = async (output, context) => {
|
|
321
|
-
const parsedOutput = {
|
|
322
|
-
...output,
|
|
323
|
-
body: await core$1.parseJsonErrorBody(output.body, context),
|
|
324
|
-
};
|
|
325
|
-
const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
|
|
326
|
-
switch (errorCode) {
|
|
327
|
-
case "AccessForbidden":
|
|
328
|
-
case "com.amazonaws.sagemakerfeaturestoreruntime#AccessForbidden":
|
|
329
|
-
throw await de_AccessForbiddenRes(parsedOutput);
|
|
330
|
-
case "InternalFailure":
|
|
331
|
-
case "com.amazonaws.sagemakerfeaturestoreruntime#InternalFailure":
|
|
332
|
-
throw await de_InternalFailureRes(parsedOutput);
|
|
333
|
-
case "ServiceUnavailable":
|
|
334
|
-
case "com.amazonaws.sagemakerfeaturestoreruntime#ServiceUnavailable":
|
|
335
|
-
throw await de_ServiceUnavailableRes(parsedOutput);
|
|
336
|
-
case "ValidationError":
|
|
337
|
-
case "com.amazonaws.sagemakerfeaturestoreruntime#ValidationError":
|
|
338
|
-
throw await de_ValidationErrorRes(parsedOutput);
|
|
339
|
-
case "ResourceNotFound":
|
|
340
|
-
case "com.amazonaws.sagemakerfeaturestoreruntime#ResourceNotFound":
|
|
341
|
-
throw await de_ResourceNotFoundRes(parsedOutput);
|
|
342
|
-
default:
|
|
343
|
-
const parsedBody = parsedOutput.body;
|
|
344
|
-
return throwDefaultError({
|
|
345
|
-
output,
|
|
346
|
-
parsedBody,
|
|
347
|
-
errorCode,
|
|
348
|
-
});
|
|
349
|
-
}
|
|
350
|
-
};
|
|
351
|
-
const throwDefaultError = smithyClient.withBaseException(SageMakerFeatureStoreRuntimeServiceException);
|
|
352
|
-
const de_AccessForbiddenRes = async (parsedOutput, context) => {
|
|
353
|
-
const contents = smithyClient.map({});
|
|
354
|
-
const data = parsedOutput.body;
|
|
355
|
-
const doc = smithyClient.take(data, {
|
|
356
|
-
Message: smithyClient.expectString,
|
|
357
|
-
});
|
|
358
|
-
Object.assign(contents, doc);
|
|
359
|
-
const exception = new AccessForbidden({
|
|
360
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
361
|
-
...contents,
|
|
362
|
-
});
|
|
363
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
364
|
-
};
|
|
365
|
-
const de_InternalFailureRes = async (parsedOutput, context) => {
|
|
366
|
-
const contents = smithyClient.map({});
|
|
367
|
-
const data = parsedOutput.body;
|
|
368
|
-
const doc = smithyClient.take(data, {
|
|
369
|
-
Message: smithyClient.expectString,
|
|
370
|
-
});
|
|
371
|
-
Object.assign(contents, doc);
|
|
372
|
-
const exception = new InternalFailure({
|
|
373
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
374
|
-
...contents,
|
|
375
|
-
});
|
|
376
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
377
|
-
};
|
|
378
|
-
const de_ResourceNotFoundRes = async (parsedOutput, context) => {
|
|
379
|
-
const contents = smithyClient.map({});
|
|
380
|
-
const data = parsedOutput.body;
|
|
381
|
-
const doc = smithyClient.take(data, {
|
|
382
|
-
Message: smithyClient.expectString,
|
|
383
|
-
});
|
|
384
|
-
Object.assign(contents, doc);
|
|
385
|
-
const exception = new ResourceNotFound({
|
|
386
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
387
|
-
...contents,
|
|
388
|
-
});
|
|
389
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
390
|
-
};
|
|
391
|
-
const de_ServiceUnavailableRes = async (parsedOutput, context) => {
|
|
392
|
-
const contents = smithyClient.map({});
|
|
393
|
-
const data = parsedOutput.body;
|
|
394
|
-
const doc = smithyClient.take(data, {
|
|
395
|
-
Message: smithyClient.expectString,
|
|
396
|
-
});
|
|
397
|
-
Object.assign(contents, doc);
|
|
398
|
-
const exception = new ServiceUnavailable({
|
|
399
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
400
|
-
...contents,
|
|
401
|
-
});
|
|
402
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
403
|
-
};
|
|
404
|
-
const de_ValidationErrorRes = async (parsedOutput, context) => {
|
|
405
|
-
const contents = smithyClient.map({});
|
|
406
|
-
const data = parsedOutput.body;
|
|
407
|
-
const doc = smithyClient.take(data, {
|
|
408
|
-
Message: smithyClient.expectString,
|
|
409
|
-
});
|
|
410
|
-
Object.assign(contents, doc);
|
|
411
|
-
const exception = new ValidationError({
|
|
412
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
413
|
-
...contents,
|
|
414
|
-
});
|
|
415
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
416
|
-
};
|
|
417
|
-
const deserializeMetadata = (output) => ({
|
|
418
|
-
httpStatusCode: output.statusCode,
|
|
419
|
-
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
420
|
-
extendedRequestId: output.headers["x-amz-id-2"],
|
|
421
|
-
cfId: output.headers["x-amz-cf-id"],
|
|
422
|
-
});
|
|
210
|
+
const _AF = "AccessForbidden";
|
|
211
|
+
const _BGR = "BatchGetRecord";
|
|
212
|
+
const _BGRE = "BatchGetRecordError";
|
|
213
|
+
const _BGREa = "BatchGetRecordErrors";
|
|
214
|
+
const _BGRI = "BatchGetRecordIdentifier";
|
|
215
|
+
const _BGRIa = "BatchGetRecordIdentifiers";
|
|
216
|
+
const _BGRR = "BatchGetRecordRequest";
|
|
217
|
+
const _BGRRD = "BatchGetRecordResultDetail";
|
|
218
|
+
const _BGRRDa = "BatchGetRecordResultDetails";
|
|
219
|
+
const _BGRRa = "BatchGetRecordResponse";
|
|
423
220
|
const _DM = "DeletionMode";
|
|
221
|
+
const _DR = "DeleteRecord";
|
|
222
|
+
const _DRR = "DeleteRecordRequest";
|
|
223
|
+
const _E = "Errors";
|
|
224
|
+
const _EA = "ExpiresAt";
|
|
225
|
+
const _EC = "ErrorCode";
|
|
226
|
+
const _EM = "ErrorMessage";
|
|
424
227
|
const _ET = "EventTime";
|
|
425
228
|
const _ETR = "ExpirationTimeResponse";
|
|
229
|
+
const _FGN = "FeatureGroupName";
|
|
426
230
|
const _FN = "FeatureNames";
|
|
427
231
|
const _FNe = "FeatureName";
|
|
232
|
+
const _FV = "FeatureValue";
|
|
233
|
+
const _GR = "GetRecord";
|
|
234
|
+
const _GRR = "GetRecordRequest";
|
|
235
|
+
const _GRRe = "GetRecordResponse";
|
|
236
|
+
const _I = "Identifiers";
|
|
237
|
+
const _IF = "InternalFailure";
|
|
238
|
+
const _M = "Message";
|
|
239
|
+
const _PR = "PutRecord";
|
|
240
|
+
const _PRR = "PutRecordRequest";
|
|
241
|
+
const _R = "Records";
|
|
428
242
|
const _RIVAS = "RecordIdentifierValueAsString";
|
|
243
|
+
const _RIVASe = "RecordIdentifiersValueAsString";
|
|
244
|
+
const _RNF = "ResourceNotFound";
|
|
245
|
+
const _Re = "Record";
|
|
246
|
+
const _SU = "ServiceUnavailable";
|
|
247
|
+
const _TD = "TtlDuration";
|
|
429
248
|
const _TS = "TargetStores";
|
|
249
|
+
const _U = "Unit";
|
|
250
|
+
const _UI = "UnprocessedIdentifiers";
|
|
251
|
+
const _V = "Value";
|
|
252
|
+
const _VAS = "ValueAsString";
|
|
253
|
+
const _VASL = "ValueAsStringList";
|
|
254
|
+
const _VE = "ValidationError";
|
|
255
|
+
const _c = "client";
|
|
256
|
+
const _e = "error";
|
|
257
|
+
const _h = "http";
|
|
258
|
+
const _hE = "httpError";
|
|
259
|
+
const _hQ = "httpQuery";
|
|
260
|
+
const _s = "server";
|
|
261
|
+
const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.sagemakerfeaturestoreruntime";
|
|
262
|
+
const n0 = "com.amazonaws.sagemakerfeaturestoreruntime";
|
|
263
|
+
var AccessForbidden = [
|
|
264
|
+
-3,
|
|
265
|
+
n0,
|
|
266
|
+
_AF,
|
|
267
|
+
{
|
|
268
|
+
[_e]: _c,
|
|
269
|
+
[_hE]: 403,
|
|
270
|
+
},
|
|
271
|
+
[_M],
|
|
272
|
+
[0],
|
|
273
|
+
];
|
|
274
|
+
schema.TypeRegistry.for(n0).registerError(AccessForbidden, AccessForbidden$1);
|
|
275
|
+
var BatchGetRecordError = [3, n0, _BGRE, 0, [_FGN, _RIVAS, _EC, _EM], [0, 0, 0, 0]];
|
|
276
|
+
var BatchGetRecordIdentifier = [
|
|
277
|
+
3,
|
|
278
|
+
n0,
|
|
279
|
+
_BGRI,
|
|
280
|
+
0,
|
|
281
|
+
[_FGN, _RIVASe, _FN],
|
|
282
|
+
[0, 64 | 0, 64 | 0],
|
|
283
|
+
];
|
|
284
|
+
var BatchGetRecordRequest = [
|
|
285
|
+
3,
|
|
286
|
+
n0,
|
|
287
|
+
_BGRR,
|
|
288
|
+
0,
|
|
289
|
+
[_I, _ETR],
|
|
290
|
+
[() => BatchGetRecordIdentifiers, 0],
|
|
291
|
+
];
|
|
292
|
+
var BatchGetRecordResponse = [
|
|
293
|
+
3,
|
|
294
|
+
n0,
|
|
295
|
+
_BGRRa,
|
|
296
|
+
0,
|
|
297
|
+
[_R, _E, _UI],
|
|
298
|
+
[() => BatchGetRecordResultDetails, () => BatchGetRecordErrors, () => UnprocessedIdentifiers],
|
|
299
|
+
];
|
|
300
|
+
var BatchGetRecordResultDetail = [
|
|
301
|
+
3,
|
|
302
|
+
n0,
|
|
303
|
+
_BGRRD,
|
|
304
|
+
0,
|
|
305
|
+
[_FGN, _RIVAS, _Re, _EA],
|
|
306
|
+
[0, 0, () => _Record, 0],
|
|
307
|
+
];
|
|
308
|
+
var DeleteRecordRequest = [
|
|
309
|
+
3,
|
|
310
|
+
n0,
|
|
311
|
+
_DRR,
|
|
312
|
+
0,
|
|
313
|
+
[_FGN, _RIVAS, _ET, _TS, _DM],
|
|
314
|
+
[
|
|
315
|
+
[0, 1],
|
|
316
|
+
[
|
|
317
|
+
0,
|
|
318
|
+
{
|
|
319
|
+
[_hQ]: _RIVAS,
|
|
320
|
+
},
|
|
321
|
+
],
|
|
322
|
+
[
|
|
323
|
+
0,
|
|
324
|
+
{
|
|
325
|
+
[_hQ]: _ET,
|
|
326
|
+
},
|
|
327
|
+
],
|
|
328
|
+
[
|
|
329
|
+
64 | 0,
|
|
330
|
+
{
|
|
331
|
+
[_hQ]: _TS,
|
|
332
|
+
},
|
|
333
|
+
],
|
|
334
|
+
[
|
|
335
|
+
0,
|
|
336
|
+
{
|
|
337
|
+
[_hQ]: _DM,
|
|
338
|
+
},
|
|
339
|
+
],
|
|
340
|
+
],
|
|
341
|
+
];
|
|
342
|
+
var FeatureValue = [3, n0, _FV, 0, [_FNe, _VAS, _VASL], [0, 0, 64 | 0]];
|
|
343
|
+
var GetRecordRequest = [
|
|
344
|
+
3,
|
|
345
|
+
n0,
|
|
346
|
+
_GRR,
|
|
347
|
+
0,
|
|
348
|
+
[_FGN, _RIVAS, _FN, _ETR],
|
|
349
|
+
[
|
|
350
|
+
[0, 1],
|
|
351
|
+
[
|
|
352
|
+
0,
|
|
353
|
+
{
|
|
354
|
+
[_hQ]: _RIVAS,
|
|
355
|
+
},
|
|
356
|
+
],
|
|
357
|
+
[
|
|
358
|
+
64 | 0,
|
|
359
|
+
{
|
|
360
|
+
[_hQ]: _FNe,
|
|
361
|
+
},
|
|
362
|
+
],
|
|
363
|
+
[
|
|
364
|
+
0,
|
|
365
|
+
{
|
|
366
|
+
[_hQ]: _ETR,
|
|
367
|
+
},
|
|
368
|
+
],
|
|
369
|
+
],
|
|
370
|
+
];
|
|
371
|
+
var GetRecordResponse = [3, n0, _GRRe, 0, [_Re, _EA], [() => _Record, 0]];
|
|
372
|
+
var InternalFailure = [
|
|
373
|
+
-3,
|
|
374
|
+
n0,
|
|
375
|
+
_IF,
|
|
376
|
+
{
|
|
377
|
+
[_e]: _s,
|
|
378
|
+
[_hE]: 500,
|
|
379
|
+
},
|
|
380
|
+
[_M],
|
|
381
|
+
[0],
|
|
382
|
+
];
|
|
383
|
+
schema.TypeRegistry.for(n0).registerError(InternalFailure, InternalFailure$1);
|
|
384
|
+
var PutRecordRequest = [
|
|
385
|
+
3,
|
|
386
|
+
n0,
|
|
387
|
+
_PRR,
|
|
388
|
+
0,
|
|
389
|
+
[_FGN, _Re, _TS, _TD],
|
|
390
|
+
[[0, 1], () => _Record, 64 | 0, () => TtlDuration],
|
|
391
|
+
];
|
|
392
|
+
var ResourceNotFound = [
|
|
393
|
+
-3,
|
|
394
|
+
n0,
|
|
395
|
+
_RNF,
|
|
396
|
+
{
|
|
397
|
+
[_e]: _c,
|
|
398
|
+
[_hE]: 404,
|
|
399
|
+
},
|
|
400
|
+
[_M],
|
|
401
|
+
[0],
|
|
402
|
+
];
|
|
403
|
+
schema.TypeRegistry.for(n0).registerError(ResourceNotFound, ResourceNotFound$1);
|
|
404
|
+
var ServiceUnavailable = [
|
|
405
|
+
-3,
|
|
406
|
+
n0,
|
|
407
|
+
_SU,
|
|
408
|
+
{
|
|
409
|
+
[_e]: _s,
|
|
410
|
+
[_hE]: 503,
|
|
411
|
+
},
|
|
412
|
+
[_M],
|
|
413
|
+
[0],
|
|
414
|
+
];
|
|
415
|
+
schema.TypeRegistry.for(n0).registerError(ServiceUnavailable, ServiceUnavailable$1);
|
|
416
|
+
var TtlDuration = [3, n0, _TD, 0, [_U, _V], [0, 1]];
|
|
417
|
+
var ValidationError = [
|
|
418
|
+
-3,
|
|
419
|
+
n0,
|
|
420
|
+
_VE,
|
|
421
|
+
{
|
|
422
|
+
[_e]: _c,
|
|
423
|
+
[_hE]: 400,
|
|
424
|
+
},
|
|
425
|
+
[_M],
|
|
426
|
+
[0],
|
|
427
|
+
];
|
|
428
|
+
schema.TypeRegistry.for(n0).registerError(ValidationError, ValidationError$1);
|
|
429
|
+
var __Unit = "unit";
|
|
430
|
+
var SageMakerFeatureStoreRuntimeServiceException = [
|
|
431
|
+
-3,
|
|
432
|
+
_sm,
|
|
433
|
+
"SageMakerFeatureStoreRuntimeServiceException",
|
|
434
|
+
0,
|
|
435
|
+
[],
|
|
436
|
+
[],
|
|
437
|
+
];
|
|
438
|
+
schema.TypeRegistry.for(_sm).registerError(SageMakerFeatureStoreRuntimeServiceException, SageMakerFeatureStoreRuntimeServiceException$1);
|
|
439
|
+
var BatchGetRecordErrors = [1, n0, _BGREa, 0, () => BatchGetRecordError];
|
|
440
|
+
var BatchGetRecordIdentifiers = [1, n0, _BGRIa, 0, () => BatchGetRecordIdentifier];
|
|
441
|
+
var BatchGetRecordResultDetails = [1, n0, _BGRRDa, 0, () => BatchGetRecordResultDetail];
|
|
442
|
+
var _Record = [1, n0, _Re, 0, () => FeatureValue];
|
|
443
|
+
var UnprocessedIdentifiers = [1, n0, _UI, 0, () => BatchGetRecordIdentifier];
|
|
444
|
+
var BatchGetRecord = [
|
|
445
|
+
9,
|
|
446
|
+
n0,
|
|
447
|
+
_BGR,
|
|
448
|
+
{
|
|
449
|
+
[_h]: ["POST", "/BatchGetRecord", 200],
|
|
450
|
+
},
|
|
451
|
+
() => BatchGetRecordRequest,
|
|
452
|
+
() => BatchGetRecordResponse,
|
|
453
|
+
];
|
|
454
|
+
var DeleteRecord = [
|
|
455
|
+
9,
|
|
456
|
+
n0,
|
|
457
|
+
_DR,
|
|
458
|
+
{
|
|
459
|
+
[_h]: ["DELETE", "/FeatureGroup/{FeatureGroupName}", 200],
|
|
460
|
+
},
|
|
461
|
+
() => DeleteRecordRequest,
|
|
462
|
+
() => __Unit,
|
|
463
|
+
];
|
|
464
|
+
var GetRecord = [
|
|
465
|
+
9,
|
|
466
|
+
n0,
|
|
467
|
+
_GR,
|
|
468
|
+
{
|
|
469
|
+
[_h]: ["GET", "/FeatureGroup/{FeatureGroupName}", 200],
|
|
470
|
+
},
|
|
471
|
+
() => GetRecordRequest,
|
|
472
|
+
() => GetRecordResponse,
|
|
473
|
+
];
|
|
474
|
+
var PutRecord = [
|
|
475
|
+
9,
|
|
476
|
+
n0,
|
|
477
|
+
_PR,
|
|
478
|
+
{
|
|
479
|
+
[_h]: ["PUT", "/FeatureGroup/{FeatureGroupName}", 200],
|
|
480
|
+
},
|
|
481
|
+
() => PutRecordRequest,
|
|
482
|
+
() => __Unit,
|
|
483
|
+
];
|
|
430
484
|
|
|
431
485
|
class BatchGetRecordCommand extends smithyClient.Command
|
|
432
486
|
.classBuilder()
|
|
433
487
|
.ep(commonParams)
|
|
434
488
|
.m(function (Command, cs, config, o) {
|
|
435
|
-
return [
|
|
436
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
437
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
438
|
-
];
|
|
489
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
439
490
|
})
|
|
440
491
|
.s("AmazonSageMakerFeatureStoreRuntime", "BatchGetRecord", {})
|
|
441
492
|
.n("SageMakerFeatureStoreRuntimeClient", "BatchGetRecordCommand")
|
|
442
|
-
.
|
|
443
|
-
.ser(se_BatchGetRecordCommand)
|
|
444
|
-
.de(de_BatchGetRecordCommand)
|
|
493
|
+
.sc(BatchGetRecord)
|
|
445
494
|
.build() {
|
|
446
495
|
}
|
|
447
496
|
|
|
@@ -449,16 +498,11 @@ class DeleteRecordCommand extends smithyClient.Command
|
|
|
449
498
|
.classBuilder()
|
|
450
499
|
.ep(commonParams)
|
|
451
500
|
.m(function (Command, cs, config, o) {
|
|
452
|
-
return [
|
|
453
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
454
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
455
|
-
];
|
|
501
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
456
502
|
})
|
|
457
503
|
.s("AmazonSageMakerFeatureStoreRuntime", "DeleteRecord", {})
|
|
458
504
|
.n("SageMakerFeatureStoreRuntimeClient", "DeleteRecordCommand")
|
|
459
|
-
.
|
|
460
|
-
.ser(se_DeleteRecordCommand)
|
|
461
|
-
.de(de_DeleteRecordCommand)
|
|
505
|
+
.sc(DeleteRecord)
|
|
462
506
|
.build() {
|
|
463
507
|
}
|
|
464
508
|
|
|
@@ -466,16 +510,11 @@ class GetRecordCommand extends smithyClient.Command
|
|
|
466
510
|
.classBuilder()
|
|
467
511
|
.ep(commonParams)
|
|
468
512
|
.m(function (Command, cs, config, o) {
|
|
469
|
-
return [
|
|
470
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
471
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
472
|
-
];
|
|
513
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
473
514
|
})
|
|
474
515
|
.s("AmazonSageMakerFeatureStoreRuntime", "GetRecord", {})
|
|
475
516
|
.n("SageMakerFeatureStoreRuntimeClient", "GetRecordCommand")
|
|
476
|
-
.
|
|
477
|
-
.ser(se_GetRecordCommand)
|
|
478
|
-
.de(de_GetRecordCommand)
|
|
517
|
+
.sc(GetRecord)
|
|
479
518
|
.build() {
|
|
480
519
|
}
|
|
481
520
|
|
|
@@ -483,16 +522,11 @@ class PutRecordCommand extends smithyClient.Command
|
|
|
483
522
|
.classBuilder()
|
|
484
523
|
.ep(commonParams)
|
|
485
524
|
.m(function (Command, cs, config, o) {
|
|
486
|
-
return [
|
|
487
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
488
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
489
|
-
];
|
|
525
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
490
526
|
})
|
|
491
527
|
.s("AmazonSageMakerFeatureStoreRuntime", "PutRecord", {})
|
|
492
528
|
.n("SageMakerFeatureStoreRuntimeClient", "PutRecordCommand")
|
|
493
|
-
.
|
|
494
|
-
.ser(se_PutRecordCommand)
|
|
495
|
-
.de(de_PutRecordCommand)
|
|
529
|
+
.sc(PutRecord)
|
|
496
530
|
.build() {
|
|
497
531
|
}
|
|
498
532
|
|
|
@@ -514,19 +548,19 @@ Object.defineProperty(exports, "__Client", {
|
|
|
514
548
|
enumerable: true,
|
|
515
549
|
get: function () { return smithyClient.Client; }
|
|
516
550
|
});
|
|
517
|
-
exports.AccessForbidden = AccessForbidden;
|
|
551
|
+
exports.AccessForbidden = AccessForbidden$1;
|
|
518
552
|
exports.BatchGetRecordCommand = BatchGetRecordCommand;
|
|
519
553
|
exports.DeleteRecordCommand = DeleteRecordCommand;
|
|
520
554
|
exports.DeletionMode = DeletionMode;
|
|
521
555
|
exports.ExpirationTimeResponse = ExpirationTimeResponse;
|
|
522
556
|
exports.GetRecordCommand = GetRecordCommand;
|
|
523
|
-
exports.InternalFailure = InternalFailure;
|
|
557
|
+
exports.InternalFailure = InternalFailure$1;
|
|
524
558
|
exports.PutRecordCommand = PutRecordCommand;
|
|
525
|
-
exports.ResourceNotFound = ResourceNotFound;
|
|
559
|
+
exports.ResourceNotFound = ResourceNotFound$1;
|
|
526
560
|
exports.SageMakerFeatureStoreRuntime = SageMakerFeatureStoreRuntime;
|
|
527
561
|
exports.SageMakerFeatureStoreRuntimeClient = SageMakerFeatureStoreRuntimeClient;
|
|
528
|
-
exports.SageMakerFeatureStoreRuntimeServiceException = SageMakerFeatureStoreRuntimeServiceException;
|
|
529
|
-
exports.ServiceUnavailable = ServiceUnavailable;
|
|
562
|
+
exports.SageMakerFeatureStoreRuntimeServiceException = SageMakerFeatureStoreRuntimeServiceException$1;
|
|
563
|
+
exports.ServiceUnavailable = ServiceUnavailable$1;
|
|
530
564
|
exports.TargetStore = TargetStore;
|
|
531
565
|
exports.TtlDurationUnit = TtlDurationUnit;
|
|
532
|
-
exports.ValidationError = ValidationError;
|
|
566
|
+
exports.ValidationError = ValidationError$1;
|