@aws-sdk/client-sagemaker-featurestore-runtime 3.312.0 → 3.316.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.
@@ -1,67 +1,19 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SageMakerFeatureStoreRuntime = void 0;
4
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
4
5
  const BatchGetRecordCommand_1 = require("./commands/BatchGetRecordCommand");
5
6
  const DeleteRecordCommand_1 = require("./commands/DeleteRecordCommand");
6
7
  const GetRecordCommand_1 = require("./commands/GetRecordCommand");
7
8
  const PutRecordCommand_1 = require("./commands/PutRecordCommand");
8
9
  const SageMakerFeatureStoreRuntimeClient_1 = require("./SageMakerFeatureStoreRuntimeClient");
10
+ const commands = {
11
+ BatchGetRecordCommand: BatchGetRecordCommand_1.BatchGetRecordCommand,
12
+ DeleteRecordCommand: DeleteRecordCommand_1.DeleteRecordCommand,
13
+ GetRecordCommand: GetRecordCommand_1.GetRecordCommand,
14
+ PutRecordCommand: PutRecordCommand_1.PutRecordCommand,
15
+ };
9
16
  class SageMakerFeatureStoreRuntime extends SageMakerFeatureStoreRuntimeClient_1.SageMakerFeatureStoreRuntimeClient {
10
- batchGetRecord(args, optionsOrCb, cb) {
11
- const command = new BatchGetRecordCommand_1.BatchGetRecordCommand(args);
12
- if (typeof optionsOrCb === "function") {
13
- this.send(command, optionsOrCb);
14
- }
15
- else if (typeof cb === "function") {
16
- if (typeof optionsOrCb !== "object")
17
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
18
- this.send(command, optionsOrCb || {}, cb);
19
- }
20
- else {
21
- return this.send(command, optionsOrCb);
22
- }
23
- }
24
- deleteRecord(args, optionsOrCb, cb) {
25
- const command = new DeleteRecordCommand_1.DeleteRecordCommand(args);
26
- if (typeof optionsOrCb === "function") {
27
- this.send(command, optionsOrCb);
28
- }
29
- else if (typeof cb === "function") {
30
- if (typeof optionsOrCb !== "object")
31
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
32
- this.send(command, optionsOrCb || {}, cb);
33
- }
34
- else {
35
- return this.send(command, optionsOrCb);
36
- }
37
- }
38
- getRecord(args, optionsOrCb, cb) {
39
- const command = new GetRecordCommand_1.GetRecordCommand(args);
40
- if (typeof optionsOrCb === "function") {
41
- this.send(command, optionsOrCb);
42
- }
43
- else if (typeof cb === "function") {
44
- if (typeof optionsOrCb !== "object")
45
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
46
- this.send(command, optionsOrCb || {}, cb);
47
- }
48
- else {
49
- return this.send(command, optionsOrCb);
50
- }
51
- }
52
- putRecord(args, optionsOrCb, cb) {
53
- const command = new PutRecordCommand_1.PutRecordCommand(args);
54
- if (typeof optionsOrCb === "function") {
55
- this.send(command, optionsOrCb);
56
- }
57
- else if (typeof cb === "function") {
58
- if (typeof optionsOrCb !== "object")
59
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
60
- this.send(command, optionsOrCb || {}, cb);
61
- }
62
- else {
63
- return this.send(command, optionsOrCb);
64
- }
65
- }
66
17
  }
67
18
  exports.SageMakerFeatureStoreRuntime = SageMakerFeatureStoreRuntime;
19
+ (0, smithy_client_1.createAggregatedClient)(commands, SageMakerFeatureStoreRuntime);
@@ -12,9 +12,9 @@ const se_BatchGetRecordCommand = async (input, context) => {
12
12
  };
13
13
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/BatchGetRecord";
14
14
  let body;
15
- body = JSON.stringify({
16
- ...(input.Identifiers != null && { Identifiers: se_BatchGetRecordIdentifiers(input.Identifiers, context) }),
17
- });
15
+ body = JSON.stringify((0, smithy_client_1.take)(input, {
16
+ Identifiers: (_) => (0, smithy_client_1._json)(_),
17
+ }));
18
18
  return new protocol_http_1.HttpRequest({
19
19
  protocol,
20
20
  hostname,
@@ -31,7 +31,7 @@ const se_DeleteRecordCommand = async (input, context) => {
31
31
  const headers = {};
32
32
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/FeatureGroup/{FeatureGroupName}";
33
33
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FeatureGroupName", () => input.FeatureGroupName, "{FeatureGroupName}", false);
34
- const query = map({
34
+ const query = (0, smithy_client_1.map)({
35
35
  RecordIdentifierValueAsString: [
36
36
  ,
37
37
  (0, smithy_client_1.expectNonNull)(input.RecordIdentifierValueAsString, `RecordIdentifierValueAsString`),
@@ -61,7 +61,7 @@ const se_GetRecordCommand = async (input, context) => {
61
61
  const headers = {};
62
62
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/FeatureGroup/{FeatureGroupName}";
63
63
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FeatureGroupName", () => input.FeatureGroupName, "{FeatureGroupName}", false);
64
- const query = map({
64
+ const query = (0, smithy_client_1.map)({
65
65
  RecordIdentifierValueAsString: [
66
66
  ,
67
67
  (0, smithy_client_1.expectNonNull)(input.RecordIdentifierValueAsString, `RecordIdentifierValueAsString`),
@@ -92,10 +92,10 @@ const se_PutRecordCommand = async (input, context) => {
92
92
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/FeatureGroup/{FeatureGroupName}";
93
93
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FeatureGroupName", () => input.FeatureGroupName, "{FeatureGroupName}", false);
94
94
  let body;
95
- body = JSON.stringify({
96
- ...(input.Record != null && { Record: se_Record(input.Record, context) }),
97
- ...(input.TargetStores != null && { TargetStores: se_TargetStores(input.TargetStores, context) }),
98
- });
95
+ body = JSON.stringify((0, smithy_client_1.take)(input, {
96
+ Record: (_) => (0, smithy_client_1._json)(_),
97
+ TargetStores: (_) => (0, smithy_client_1._json)(_),
98
+ }));
99
99
  return new protocol_http_1.HttpRequest({
100
100
  protocol,
101
101
  hostname,
@@ -111,19 +111,16 @@ const de_BatchGetRecordCommand = async (output, context) => {
111
111
  if (output.statusCode !== 200 && output.statusCode >= 300) {
112
112
  return de_BatchGetRecordCommandError(output, context);
113
113
  }
114
- const contents = map({
114
+ const contents = (0, smithy_client_1.map)({
115
115
  $metadata: deserializeMetadata(output),
116
116
  });
117
117
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
118
- if (data.Errors != null) {
119
- contents.Errors = de_BatchGetRecordErrors(data.Errors, context);
120
- }
121
- if (data.Records != null) {
122
- contents.Records = de_BatchGetRecordResultDetails(data.Records, context);
123
- }
124
- if (data.UnprocessedIdentifiers != null) {
125
- contents.UnprocessedIdentifiers = de_UnprocessedIdentifiers(data.UnprocessedIdentifiers, context);
126
- }
118
+ const doc = (0, smithy_client_1.take)(data, {
119
+ Errors: smithy_client_1._json,
120
+ Records: smithy_client_1._json,
121
+ UnprocessedIdentifiers: smithy_client_1._json,
122
+ });
123
+ Object.assign(contents, doc);
127
124
  return contents;
128
125
  };
129
126
  exports.de_BatchGetRecordCommand = de_BatchGetRecordCommand;
@@ -148,10 +145,9 @@ const de_BatchGetRecordCommandError = async (output, context) => {
148
145
  throw await de_ValidationErrorRes(parsedOutput, context);
149
146
  default:
150
147
  const parsedBody = parsedOutput.body;
151
- (0, smithy_client_1.throwDefaultError)({
148
+ return throwDefaultError({
152
149
  output,
153
150
  parsedBody,
154
- exceptionCtor: SageMakerFeatureStoreRuntimeServiceException_1.SageMakerFeatureStoreRuntimeServiceException,
155
151
  errorCode,
156
152
  });
157
153
  }
@@ -160,7 +156,7 @@ const de_DeleteRecordCommand = async (output, context) => {
160
156
  if (output.statusCode !== 200 && output.statusCode >= 300) {
161
157
  return de_DeleteRecordCommandError(output, context);
162
158
  }
163
- const contents = map({
159
+ const contents = (0, smithy_client_1.map)({
164
160
  $metadata: deserializeMetadata(output),
165
161
  });
166
162
  await collectBody(output.body, context);
@@ -188,10 +184,9 @@ const de_DeleteRecordCommandError = async (output, context) => {
188
184
  throw await de_ValidationErrorRes(parsedOutput, context);
189
185
  default:
190
186
  const parsedBody = parsedOutput.body;
191
- (0, smithy_client_1.throwDefaultError)({
187
+ return throwDefaultError({
192
188
  output,
193
189
  parsedBody,
194
- exceptionCtor: SageMakerFeatureStoreRuntimeServiceException_1.SageMakerFeatureStoreRuntimeServiceException,
195
190
  errorCode,
196
191
  });
197
192
  }
@@ -200,13 +195,14 @@ const de_GetRecordCommand = async (output, context) => {
200
195
  if (output.statusCode !== 200 && output.statusCode >= 300) {
201
196
  return de_GetRecordCommandError(output, context);
202
197
  }
203
- const contents = map({
198
+ const contents = (0, smithy_client_1.map)({
204
199
  $metadata: deserializeMetadata(output),
205
200
  });
206
201
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
207
- if (data.Record != null) {
208
- contents.Record = de_Record(data.Record, context);
209
- }
202
+ const doc = (0, smithy_client_1.take)(data, {
203
+ Record: smithy_client_1._json,
204
+ });
205
+ Object.assign(contents, doc);
210
206
  return contents;
211
207
  };
212
208
  exports.de_GetRecordCommand = de_GetRecordCommand;
@@ -234,10 +230,9 @@ const de_GetRecordCommandError = async (output, context) => {
234
230
  throw await de_ValidationErrorRes(parsedOutput, context);
235
231
  default:
236
232
  const parsedBody = parsedOutput.body;
237
- (0, smithy_client_1.throwDefaultError)({
233
+ return throwDefaultError({
238
234
  output,
239
235
  parsedBody,
240
- exceptionCtor: SageMakerFeatureStoreRuntimeServiceException_1.SageMakerFeatureStoreRuntimeServiceException,
241
236
  errorCode,
242
237
  });
243
238
  }
@@ -246,7 +241,7 @@ const de_PutRecordCommand = async (output, context) => {
246
241
  if (output.statusCode !== 200 && output.statusCode >= 300) {
247
242
  return de_PutRecordCommandError(output, context);
248
243
  }
249
- const contents = map({
244
+ const contents = (0, smithy_client_1.map)({
250
245
  $metadata: deserializeMetadata(output),
251
246
  });
252
247
  await collectBody(output.body, context);
@@ -274,21 +269,21 @@ const de_PutRecordCommandError = async (output, context) => {
274
269
  throw await de_ValidationErrorRes(parsedOutput, context);
275
270
  default:
276
271
  const parsedBody = parsedOutput.body;
277
- (0, smithy_client_1.throwDefaultError)({
272
+ return throwDefaultError({
278
273
  output,
279
274
  parsedBody,
280
- exceptionCtor: SageMakerFeatureStoreRuntimeServiceException_1.SageMakerFeatureStoreRuntimeServiceException,
281
275
  errorCode,
282
276
  });
283
277
  }
284
278
  };
285
- const map = smithy_client_1.map;
279
+ const throwDefaultError = (0, smithy_client_1.withBaseException)(SageMakerFeatureStoreRuntimeServiceException_1.SageMakerFeatureStoreRuntimeServiceException);
286
280
  const de_AccessForbiddenRes = async (parsedOutput, context) => {
287
- const contents = map({});
281
+ const contents = (0, smithy_client_1.map)({});
288
282
  const data = parsedOutput.body;
289
- if (data.Message != null) {
290
- contents.Message = (0, smithy_client_1.expectString)(data.Message);
291
- }
283
+ const doc = (0, smithy_client_1.take)(data, {
284
+ Message: smithy_client_1.expectString,
285
+ });
286
+ Object.assign(contents, doc);
292
287
  const exception = new models_0_1.AccessForbidden({
293
288
  $metadata: deserializeMetadata(parsedOutput),
294
289
  ...contents,
@@ -296,11 +291,12 @@ const de_AccessForbiddenRes = async (parsedOutput, context) => {
296
291
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
297
292
  };
298
293
  const de_InternalFailureRes = async (parsedOutput, context) => {
299
- const contents = map({});
294
+ const contents = (0, smithy_client_1.map)({});
300
295
  const data = parsedOutput.body;
301
- if (data.Message != null) {
302
- contents.Message = (0, smithy_client_1.expectString)(data.Message);
303
- }
296
+ const doc = (0, smithy_client_1.take)(data, {
297
+ Message: smithy_client_1.expectString,
298
+ });
299
+ Object.assign(contents, doc);
304
300
  const exception = new models_0_1.InternalFailure({
305
301
  $metadata: deserializeMetadata(parsedOutput),
306
302
  ...contents,
@@ -308,11 +304,12 @@ const de_InternalFailureRes = async (parsedOutput, context) => {
308
304
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
309
305
  };
310
306
  const de_ResourceNotFoundRes = async (parsedOutput, context) => {
311
- const contents = map({});
307
+ const contents = (0, smithy_client_1.map)({});
312
308
  const data = parsedOutput.body;
313
- if (data.Message != null) {
314
- contents.Message = (0, smithy_client_1.expectString)(data.Message);
315
- }
309
+ const doc = (0, smithy_client_1.take)(data, {
310
+ Message: smithy_client_1.expectString,
311
+ });
312
+ Object.assign(contents, doc);
316
313
  const exception = new models_0_1.ResourceNotFound({
317
314
  $metadata: deserializeMetadata(parsedOutput),
318
315
  ...contents,
@@ -320,11 +317,12 @@ const de_ResourceNotFoundRes = async (parsedOutput, context) => {
320
317
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
321
318
  };
322
319
  const de_ServiceUnavailableRes = async (parsedOutput, context) => {
323
- const contents = map({});
320
+ const contents = (0, smithy_client_1.map)({});
324
321
  const data = parsedOutput.body;
325
- if (data.Message != null) {
326
- contents.Message = (0, smithy_client_1.expectString)(data.Message);
327
- }
322
+ const doc = (0, smithy_client_1.take)(data, {
323
+ Message: smithy_client_1.expectString,
324
+ });
325
+ Object.assign(contents, doc);
328
326
  const exception = new models_0_1.ServiceUnavailable({
329
327
  $metadata: deserializeMetadata(parsedOutput),
330
328
  ...contents,
@@ -332,163 +330,18 @@ const de_ServiceUnavailableRes = async (parsedOutput, context) => {
332
330
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
333
331
  };
334
332
  const de_ValidationErrorRes = async (parsedOutput, context) => {
335
- const contents = map({});
333
+ const contents = (0, smithy_client_1.map)({});
336
334
  const data = parsedOutput.body;
337
- if (data.Message != null) {
338
- contents.Message = (0, smithy_client_1.expectString)(data.Message);
339
- }
335
+ const doc = (0, smithy_client_1.take)(data, {
336
+ Message: smithy_client_1.expectString,
337
+ });
338
+ Object.assign(contents, doc);
340
339
  const exception = new models_0_1.ValidationError({
341
340
  $metadata: deserializeMetadata(parsedOutput),
342
341
  ...contents,
343
342
  });
344
343
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
345
344
  };
346
- const se_BatchGetRecordIdentifier = (input, context) => {
347
- return {
348
- ...(input.FeatureGroupName != null && { FeatureGroupName: input.FeatureGroupName }),
349
- ...(input.FeatureNames != null && { FeatureNames: se_FeatureNames(input.FeatureNames, context) }),
350
- ...(input.RecordIdentifiersValueAsString != null && {
351
- RecordIdentifiersValueAsString: se_RecordIdentifiers(input.RecordIdentifiersValueAsString, context),
352
- }),
353
- };
354
- };
355
- const se_BatchGetRecordIdentifiers = (input, context) => {
356
- return input
357
- .filter((e) => e != null)
358
- .map((entry) => {
359
- return se_BatchGetRecordIdentifier(entry, context);
360
- });
361
- };
362
- const se_FeatureNames = (input, context) => {
363
- return input
364
- .filter((e) => e != null)
365
- .map((entry) => {
366
- return entry;
367
- });
368
- };
369
- const se_FeatureValue = (input, context) => {
370
- return {
371
- ...(input.FeatureName != null && { FeatureName: input.FeatureName }),
372
- ...(input.ValueAsString != null && { ValueAsString: input.ValueAsString }),
373
- };
374
- };
375
- const se_Record = (input, context) => {
376
- return input
377
- .filter((e) => e != null)
378
- .map((entry) => {
379
- return se_FeatureValue(entry, context);
380
- });
381
- };
382
- const se_RecordIdentifiers = (input, context) => {
383
- return input
384
- .filter((e) => e != null)
385
- .map((entry) => {
386
- return entry;
387
- });
388
- };
389
- const se_TargetStores = (input, context) => {
390
- return input
391
- .filter((e) => e != null)
392
- .map((entry) => {
393
- return entry;
394
- });
395
- };
396
- const de_BatchGetRecordError = (output, context) => {
397
- return {
398
- ErrorCode: (0, smithy_client_1.expectString)(output.ErrorCode),
399
- ErrorMessage: (0, smithy_client_1.expectString)(output.ErrorMessage),
400
- FeatureGroupName: (0, smithy_client_1.expectString)(output.FeatureGroupName),
401
- RecordIdentifierValueAsString: (0, smithy_client_1.expectString)(output.RecordIdentifierValueAsString),
402
- };
403
- };
404
- const de_BatchGetRecordErrors = (output, context) => {
405
- const retVal = (output || [])
406
- .filter((e) => e != null)
407
- .map((entry) => {
408
- if (entry === null) {
409
- return null;
410
- }
411
- return de_BatchGetRecordError(entry, context);
412
- });
413
- return retVal;
414
- };
415
- const de_BatchGetRecordIdentifier = (output, context) => {
416
- return {
417
- FeatureGroupName: (0, smithy_client_1.expectString)(output.FeatureGroupName),
418
- FeatureNames: output.FeatureNames != null ? de_FeatureNames(output.FeatureNames, context) : undefined,
419
- RecordIdentifiersValueAsString: output.RecordIdentifiersValueAsString != null
420
- ? de_RecordIdentifiers(output.RecordIdentifiersValueAsString, context)
421
- : undefined,
422
- };
423
- };
424
- const de_BatchGetRecordResultDetail = (output, context) => {
425
- return {
426
- FeatureGroupName: (0, smithy_client_1.expectString)(output.FeatureGroupName),
427
- Record: output.Record != null ? de_Record(output.Record, context) : undefined,
428
- RecordIdentifierValueAsString: (0, smithy_client_1.expectString)(output.RecordIdentifierValueAsString),
429
- };
430
- };
431
- const de_BatchGetRecordResultDetails = (output, context) => {
432
- const retVal = (output || [])
433
- .filter((e) => e != null)
434
- .map((entry) => {
435
- if (entry === null) {
436
- return null;
437
- }
438
- return de_BatchGetRecordResultDetail(entry, context);
439
- });
440
- return retVal;
441
- };
442
- const de_FeatureNames = (output, context) => {
443
- const retVal = (output || [])
444
- .filter((e) => e != null)
445
- .map((entry) => {
446
- if (entry === null) {
447
- return null;
448
- }
449
- return (0, smithy_client_1.expectString)(entry);
450
- });
451
- return retVal;
452
- };
453
- const de_FeatureValue = (output, context) => {
454
- return {
455
- FeatureName: (0, smithy_client_1.expectString)(output.FeatureName),
456
- ValueAsString: (0, smithy_client_1.expectString)(output.ValueAsString),
457
- };
458
- };
459
- const de_Record = (output, context) => {
460
- const retVal = (output || [])
461
- .filter((e) => e != null)
462
- .map((entry) => {
463
- if (entry === null) {
464
- return null;
465
- }
466
- return de_FeatureValue(entry, context);
467
- });
468
- return retVal;
469
- };
470
- const de_RecordIdentifiers = (output, context) => {
471
- const retVal = (output || [])
472
- .filter((e) => e != null)
473
- .map((entry) => {
474
- if (entry === null) {
475
- return null;
476
- }
477
- return (0, smithy_client_1.expectString)(entry);
478
- });
479
- return retVal;
480
- };
481
- const de_UnprocessedIdentifiers = (output, context) => {
482
- const retVal = (output || [])
483
- .filter((e) => e != null)
484
- .map((entry) => {
485
- if (entry === null) {
486
- return null;
487
- }
488
- return de_BatchGetRecordIdentifier(entry, context);
489
- });
490
- return retVal;
491
- };
492
345
  const deserializeMetadata = (output) => ({
493
346
  httpStatusCode: output.statusCode,
494
347
  requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
@@ -1,63 +1,15 @@
1
+ import { createAggregatedClient } from "@aws-sdk/smithy-client";
1
2
  import { BatchGetRecordCommand, } from "./commands/BatchGetRecordCommand";
2
3
  import { DeleteRecordCommand, } from "./commands/DeleteRecordCommand";
3
4
  import { GetRecordCommand } from "./commands/GetRecordCommand";
4
5
  import { PutRecordCommand } from "./commands/PutRecordCommand";
5
- import { SageMakerFeatureStoreRuntimeClient } from "./SageMakerFeatureStoreRuntimeClient";
6
+ import { SageMakerFeatureStoreRuntimeClient, } from "./SageMakerFeatureStoreRuntimeClient";
7
+ const commands = {
8
+ BatchGetRecordCommand,
9
+ DeleteRecordCommand,
10
+ GetRecordCommand,
11
+ PutRecordCommand,
12
+ };
6
13
  export class SageMakerFeatureStoreRuntime extends SageMakerFeatureStoreRuntimeClient {
7
- batchGetRecord(args, optionsOrCb, cb) {
8
- const command = new BatchGetRecordCommand(args);
9
- if (typeof optionsOrCb === "function") {
10
- this.send(command, optionsOrCb);
11
- }
12
- else if (typeof cb === "function") {
13
- if (typeof optionsOrCb !== "object")
14
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
15
- this.send(command, optionsOrCb || {}, cb);
16
- }
17
- else {
18
- return this.send(command, optionsOrCb);
19
- }
20
- }
21
- deleteRecord(args, optionsOrCb, cb) {
22
- const command = new DeleteRecordCommand(args);
23
- if (typeof optionsOrCb === "function") {
24
- this.send(command, optionsOrCb);
25
- }
26
- else if (typeof cb === "function") {
27
- if (typeof optionsOrCb !== "object")
28
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
29
- this.send(command, optionsOrCb || {}, cb);
30
- }
31
- else {
32
- return this.send(command, optionsOrCb);
33
- }
34
- }
35
- getRecord(args, optionsOrCb, cb) {
36
- const command = new GetRecordCommand(args);
37
- if (typeof optionsOrCb === "function") {
38
- this.send(command, optionsOrCb);
39
- }
40
- else if (typeof cb === "function") {
41
- if (typeof optionsOrCb !== "object")
42
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
43
- this.send(command, optionsOrCb || {}, cb);
44
- }
45
- else {
46
- return this.send(command, optionsOrCb);
47
- }
48
- }
49
- putRecord(args, optionsOrCb, cb) {
50
- const command = new PutRecordCommand(args);
51
- if (typeof optionsOrCb === "function") {
52
- this.send(command, optionsOrCb);
53
- }
54
- else if (typeof cb === "function") {
55
- if (typeof optionsOrCb !== "object")
56
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
57
- this.send(command, optionsOrCb || {}, cb);
58
- }
59
- else {
60
- return this.send(command, optionsOrCb);
61
- }
62
- }
63
14
  }
15
+ createAggregatedClient(commands, SageMakerFeatureStoreRuntime);
@@ -1,5 +1,5 @@
1
1
  import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
2
- import { decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, map as __map, resolvedPath as __resolvedPath, throwDefaultError, } from "@aws-sdk/smithy-client";
2
+ import { _json, decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, map, resolvedPath as __resolvedPath, take, withBaseException, } from "@aws-sdk/smithy-client";
3
3
  import { AccessForbidden, InternalFailure, ResourceNotFound, ServiceUnavailable, ValidationError, } from "../models/models_0";
4
4
  import { SageMakerFeatureStoreRuntimeServiceException as __BaseException } from "../models/SageMakerFeatureStoreRuntimeServiceException";
5
5
  export const se_BatchGetRecordCommand = async (input, context) => {
@@ -9,9 +9,9 @@ export const se_BatchGetRecordCommand = async (input, context) => {
9
9
  };
10
10
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/BatchGetRecord";
11
11
  let body;
12
- body = JSON.stringify({
13
- ...(input.Identifiers != null && { Identifiers: se_BatchGetRecordIdentifiers(input.Identifiers, context) }),
14
- });
12
+ body = JSON.stringify(take(input, {
13
+ Identifiers: (_) => _json(_),
14
+ }));
15
15
  return new __HttpRequest({
16
16
  protocol,
17
17
  hostname,
@@ -86,10 +86,10 @@ export const se_PutRecordCommand = async (input, context) => {
86
86
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/FeatureGroup/{FeatureGroupName}";
87
87
  resolvedPath = __resolvedPath(resolvedPath, input, "FeatureGroupName", () => input.FeatureGroupName, "{FeatureGroupName}", false);
88
88
  let body;
89
- body = JSON.stringify({
90
- ...(input.Record != null && { Record: se_Record(input.Record, context) }),
91
- ...(input.TargetStores != null && { TargetStores: se_TargetStores(input.TargetStores, context) }),
92
- });
89
+ body = JSON.stringify(take(input, {
90
+ Record: (_) => _json(_),
91
+ TargetStores: (_) => _json(_),
92
+ }));
93
93
  return new __HttpRequest({
94
94
  protocol,
95
95
  hostname,
@@ -108,15 +108,12 @@ export const de_BatchGetRecordCommand = async (output, context) => {
108
108
  $metadata: deserializeMetadata(output),
109
109
  });
110
110
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
111
- if (data.Errors != null) {
112
- contents.Errors = de_BatchGetRecordErrors(data.Errors, context);
113
- }
114
- if (data.Records != null) {
115
- contents.Records = de_BatchGetRecordResultDetails(data.Records, context);
116
- }
117
- if (data.UnprocessedIdentifiers != null) {
118
- contents.UnprocessedIdentifiers = de_UnprocessedIdentifiers(data.UnprocessedIdentifiers, context);
119
- }
111
+ const doc = take(data, {
112
+ Errors: _json,
113
+ Records: _json,
114
+ UnprocessedIdentifiers: _json,
115
+ });
116
+ Object.assign(contents, doc);
120
117
  return contents;
121
118
  };
122
119
  const de_BatchGetRecordCommandError = async (output, context) => {
@@ -140,10 +137,9 @@ const de_BatchGetRecordCommandError = async (output, context) => {
140
137
  throw await de_ValidationErrorRes(parsedOutput, context);
141
138
  default:
142
139
  const parsedBody = parsedOutput.body;
143
- throwDefaultError({
140
+ return throwDefaultError({
144
141
  output,
145
142
  parsedBody,
146
- exceptionCtor: __BaseException,
147
143
  errorCode,
148
144
  });
149
145
  }
@@ -179,10 +175,9 @@ const de_DeleteRecordCommandError = async (output, context) => {
179
175
  throw await de_ValidationErrorRes(parsedOutput, context);
180
176
  default:
181
177
  const parsedBody = parsedOutput.body;
182
- throwDefaultError({
178
+ return throwDefaultError({
183
179
  output,
184
180
  parsedBody,
185
- exceptionCtor: __BaseException,
186
181
  errorCode,
187
182
  });
188
183
  }
@@ -195,9 +190,10 @@ export const de_GetRecordCommand = async (output, context) => {
195
190
  $metadata: deserializeMetadata(output),
196
191
  });
197
192
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
198
- if (data.Record != null) {
199
- contents.Record = de_Record(data.Record, context);
200
- }
193
+ const doc = take(data, {
194
+ Record: _json,
195
+ });
196
+ Object.assign(contents, doc);
201
197
  return contents;
202
198
  };
203
199
  const de_GetRecordCommandError = async (output, context) => {
@@ -224,10 +220,9 @@ const de_GetRecordCommandError = async (output, context) => {
224
220
  throw await de_ValidationErrorRes(parsedOutput, context);
225
221
  default:
226
222
  const parsedBody = parsedOutput.body;
227
- throwDefaultError({
223
+ return throwDefaultError({
228
224
  output,
229
225
  parsedBody,
230
- exceptionCtor: __BaseException,
231
226
  errorCode,
232
227
  });
233
228
  }
@@ -263,21 +258,21 @@ const de_PutRecordCommandError = async (output, context) => {
263
258
  throw await de_ValidationErrorRes(parsedOutput, context);
264
259
  default:
265
260
  const parsedBody = parsedOutput.body;
266
- throwDefaultError({
261
+ return throwDefaultError({
267
262
  output,
268
263
  parsedBody,
269
- exceptionCtor: __BaseException,
270
264
  errorCode,
271
265
  });
272
266
  }
273
267
  };
274
- const map = __map;
268
+ const throwDefaultError = withBaseException(__BaseException);
275
269
  const de_AccessForbiddenRes = async (parsedOutput, context) => {
276
270
  const contents = map({});
277
271
  const data = parsedOutput.body;
278
- if (data.Message != null) {
279
- contents.Message = __expectString(data.Message);
280
- }
272
+ const doc = take(data, {
273
+ Message: __expectString,
274
+ });
275
+ Object.assign(contents, doc);
281
276
  const exception = new AccessForbidden({
282
277
  $metadata: deserializeMetadata(parsedOutput),
283
278
  ...contents,
@@ -287,9 +282,10 @@ const de_AccessForbiddenRes = async (parsedOutput, context) => {
287
282
  const de_InternalFailureRes = async (parsedOutput, context) => {
288
283
  const contents = map({});
289
284
  const data = parsedOutput.body;
290
- if (data.Message != null) {
291
- contents.Message = __expectString(data.Message);
292
- }
285
+ const doc = take(data, {
286
+ Message: __expectString,
287
+ });
288
+ Object.assign(contents, doc);
293
289
  const exception = new InternalFailure({
294
290
  $metadata: deserializeMetadata(parsedOutput),
295
291
  ...contents,
@@ -299,9 +295,10 @@ const de_InternalFailureRes = async (parsedOutput, context) => {
299
295
  const de_ResourceNotFoundRes = async (parsedOutput, context) => {
300
296
  const contents = map({});
301
297
  const data = parsedOutput.body;
302
- if (data.Message != null) {
303
- contents.Message = __expectString(data.Message);
304
- }
298
+ const doc = take(data, {
299
+ Message: __expectString,
300
+ });
301
+ Object.assign(contents, doc);
305
302
  const exception = new ResourceNotFound({
306
303
  $metadata: deserializeMetadata(parsedOutput),
307
304
  ...contents,
@@ -311,9 +308,10 @@ const de_ResourceNotFoundRes = async (parsedOutput, context) => {
311
308
  const de_ServiceUnavailableRes = async (parsedOutput, context) => {
312
309
  const contents = map({});
313
310
  const data = parsedOutput.body;
314
- if (data.Message != null) {
315
- contents.Message = __expectString(data.Message);
316
- }
311
+ const doc = take(data, {
312
+ Message: __expectString,
313
+ });
314
+ Object.assign(contents, doc);
317
315
  const exception = new ServiceUnavailable({
318
316
  $metadata: deserializeMetadata(parsedOutput),
319
317
  ...contents,
@@ -323,161 +321,16 @@ const de_ServiceUnavailableRes = async (parsedOutput, context) => {
323
321
  const de_ValidationErrorRes = async (parsedOutput, context) => {
324
322
  const contents = map({});
325
323
  const data = parsedOutput.body;
326
- if (data.Message != null) {
327
- contents.Message = __expectString(data.Message);
328
- }
324
+ const doc = take(data, {
325
+ Message: __expectString,
326
+ });
327
+ Object.assign(contents, doc);
329
328
  const exception = new ValidationError({
330
329
  $metadata: deserializeMetadata(parsedOutput),
331
330
  ...contents,
332
331
  });
333
332
  return __decorateServiceException(exception, parsedOutput.body);
334
333
  };
335
- const se_BatchGetRecordIdentifier = (input, context) => {
336
- return {
337
- ...(input.FeatureGroupName != null && { FeatureGroupName: input.FeatureGroupName }),
338
- ...(input.FeatureNames != null && { FeatureNames: se_FeatureNames(input.FeatureNames, context) }),
339
- ...(input.RecordIdentifiersValueAsString != null && {
340
- RecordIdentifiersValueAsString: se_RecordIdentifiers(input.RecordIdentifiersValueAsString, context),
341
- }),
342
- };
343
- };
344
- const se_BatchGetRecordIdentifiers = (input, context) => {
345
- return input
346
- .filter((e) => e != null)
347
- .map((entry) => {
348
- return se_BatchGetRecordIdentifier(entry, context);
349
- });
350
- };
351
- const se_FeatureNames = (input, context) => {
352
- return input
353
- .filter((e) => e != null)
354
- .map((entry) => {
355
- return entry;
356
- });
357
- };
358
- const se_FeatureValue = (input, context) => {
359
- return {
360
- ...(input.FeatureName != null && { FeatureName: input.FeatureName }),
361
- ...(input.ValueAsString != null && { ValueAsString: input.ValueAsString }),
362
- };
363
- };
364
- const se_Record = (input, context) => {
365
- return input
366
- .filter((e) => e != null)
367
- .map((entry) => {
368
- return se_FeatureValue(entry, context);
369
- });
370
- };
371
- const se_RecordIdentifiers = (input, context) => {
372
- return input
373
- .filter((e) => e != null)
374
- .map((entry) => {
375
- return entry;
376
- });
377
- };
378
- const se_TargetStores = (input, context) => {
379
- return input
380
- .filter((e) => e != null)
381
- .map((entry) => {
382
- return entry;
383
- });
384
- };
385
- const de_BatchGetRecordError = (output, context) => {
386
- return {
387
- ErrorCode: __expectString(output.ErrorCode),
388
- ErrorMessage: __expectString(output.ErrorMessage),
389
- FeatureGroupName: __expectString(output.FeatureGroupName),
390
- RecordIdentifierValueAsString: __expectString(output.RecordIdentifierValueAsString),
391
- };
392
- };
393
- const de_BatchGetRecordErrors = (output, context) => {
394
- const retVal = (output || [])
395
- .filter((e) => e != null)
396
- .map((entry) => {
397
- if (entry === null) {
398
- return null;
399
- }
400
- return de_BatchGetRecordError(entry, context);
401
- });
402
- return retVal;
403
- };
404
- const de_BatchGetRecordIdentifier = (output, context) => {
405
- return {
406
- FeatureGroupName: __expectString(output.FeatureGroupName),
407
- FeatureNames: output.FeatureNames != null ? de_FeatureNames(output.FeatureNames, context) : undefined,
408
- RecordIdentifiersValueAsString: output.RecordIdentifiersValueAsString != null
409
- ? de_RecordIdentifiers(output.RecordIdentifiersValueAsString, context)
410
- : undefined,
411
- };
412
- };
413
- const de_BatchGetRecordResultDetail = (output, context) => {
414
- return {
415
- FeatureGroupName: __expectString(output.FeatureGroupName),
416
- Record: output.Record != null ? de_Record(output.Record, context) : undefined,
417
- RecordIdentifierValueAsString: __expectString(output.RecordIdentifierValueAsString),
418
- };
419
- };
420
- const de_BatchGetRecordResultDetails = (output, context) => {
421
- const retVal = (output || [])
422
- .filter((e) => e != null)
423
- .map((entry) => {
424
- if (entry === null) {
425
- return null;
426
- }
427
- return de_BatchGetRecordResultDetail(entry, context);
428
- });
429
- return retVal;
430
- };
431
- const de_FeatureNames = (output, context) => {
432
- const retVal = (output || [])
433
- .filter((e) => e != null)
434
- .map((entry) => {
435
- if (entry === null) {
436
- return null;
437
- }
438
- return __expectString(entry);
439
- });
440
- return retVal;
441
- };
442
- const de_FeatureValue = (output, context) => {
443
- return {
444
- FeatureName: __expectString(output.FeatureName),
445
- ValueAsString: __expectString(output.ValueAsString),
446
- };
447
- };
448
- const de_Record = (output, context) => {
449
- const retVal = (output || [])
450
- .filter((e) => e != null)
451
- .map((entry) => {
452
- if (entry === null) {
453
- return null;
454
- }
455
- return de_FeatureValue(entry, context);
456
- });
457
- return retVal;
458
- };
459
- const de_RecordIdentifiers = (output, context) => {
460
- const retVal = (output || [])
461
- .filter((e) => e != null)
462
- .map((entry) => {
463
- if (entry === null) {
464
- return null;
465
- }
466
- return __expectString(entry);
467
- });
468
- return retVal;
469
- };
470
- const de_UnprocessedIdentifiers = (output, context) => {
471
- const retVal = (output || [])
472
- .filter((e) => e != null)
473
- .map((entry) => {
474
- if (entry === null) {
475
- return null;
476
- }
477
- return de_BatchGetRecordIdentifier(entry, context);
478
- });
479
- return retVal;
480
- };
481
334
  const deserializeMetadata = (output) => ({
482
335
  httpStatusCode: output.statusCode,
483
336
  requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
@@ -4,6 +4,32 @@ import { DeleteRecordCommandInput, DeleteRecordCommandOutput } from "./commands/
4
4
  import { GetRecordCommandInput, GetRecordCommandOutput } from "./commands/GetRecordCommand";
5
5
  import { PutRecordCommandInput, PutRecordCommandOutput } from "./commands/PutRecordCommand";
6
6
  import { SageMakerFeatureStoreRuntimeClient } from "./SageMakerFeatureStoreRuntimeClient";
7
+ export interface SageMakerFeatureStoreRuntime {
8
+ /**
9
+ * @see {@link BatchGetRecordCommand}
10
+ */
11
+ batchGetRecord(args: BatchGetRecordCommandInput, options?: __HttpHandlerOptions): Promise<BatchGetRecordCommandOutput>;
12
+ batchGetRecord(args: BatchGetRecordCommandInput, cb: (err: any, data?: BatchGetRecordCommandOutput) => void): void;
13
+ batchGetRecord(args: BatchGetRecordCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchGetRecordCommandOutput) => void): void;
14
+ /**
15
+ * @see {@link DeleteRecordCommand}
16
+ */
17
+ deleteRecord(args: DeleteRecordCommandInput, options?: __HttpHandlerOptions): Promise<DeleteRecordCommandOutput>;
18
+ deleteRecord(args: DeleteRecordCommandInput, cb: (err: any, data?: DeleteRecordCommandOutput) => void): void;
19
+ deleteRecord(args: DeleteRecordCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteRecordCommandOutput) => void): void;
20
+ /**
21
+ * @see {@link GetRecordCommand}
22
+ */
23
+ getRecord(args: GetRecordCommandInput, options?: __HttpHandlerOptions): Promise<GetRecordCommandOutput>;
24
+ getRecord(args: GetRecordCommandInput, cb: (err: any, data?: GetRecordCommandOutput) => void): void;
25
+ getRecord(args: GetRecordCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetRecordCommandOutput) => void): void;
26
+ /**
27
+ * @see {@link PutRecordCommand}
28
+ */
29
+ putRecord(args: PutRecordCommandInput, options?: __HttpHandlerOptions): Promise<PutRecordCommandOutput>;
30
+ putRecord(args: PutRecordCommandInput, cb: (err: any, data?: PutRecordCommandOutput) => void): void;
31
+ putRecord(args: PutRecordCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutRecordCommandOutput) => void): void;
32
+ }
7
33
  /**
8
34
  * @public
9
35
  * <p>Contains all data plane API operations and data types for the Amazon SageMaker Feature
@@ -34,64 +60,5 @@ import { SageMakerFeatureStoreRuntimeClient } from "./SageMakerFeatureStoreRunti
34
60
  * </li>
35
61
  * </ul>
36
62
  */
37
- export declare class SageMakerFeatureStoreRuntime extends SageMakerFeatureStoreRuntimeClient {
38
- /**
39
- * @public
40
- * <p>Retrieves a batch of <code>Records</code> from a <code>FeatureGroup</code>.</p>
41
- */
42
- batchGetRecord(args: BatchGetRecordCommandInput, options?: __HttpHandlerOptions): Promise<BatchGetRecordCommandOutput>;
43
- batchGetRecord(args: BatchGetRecordCommandInput, cb: (err: any, data?: BatchGetRecordCommandOutput) => void): void;
44
- batchGetRecord(args: BatchGetRecordCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchGetRecordCommandOutput) => void): void;
45
- /**
46
- * @public
47
- * <p>Deletes a <code>Record</code> from a <code>FeatureGroup</code> in the
48
- * <code>OnlineStore</code>. Feature Store supports both <code>SOFT_DELETE</code> and
49
- * <code>HARD_DELETE</code>. For <code>SOFT_DELETE</code> (default), feature columns are
50
- * set to <code>null</code> and the record is no longer retrievable by <code>GetRecord</code>
51
- * or <code>BatchGetRecord</code>. For<code> HARD_DELETE</code>, the complete
52
- * <code>Record</code> is removed from the <code>OnlineStore</code>. In both cases, Feature
53
- * Store appends the deleted record marker to the <code>OfflineStore</code> with feature
54
- * values set to <code>null</code>, <code>is_deleted</code> value set to <code>True</code>,
55
- * and <code>EventTime</code> set to the delete input <code>EventTime</code>.</p>
56
- * <p>Note that the <code>EventTime</code> specified in <code>DeleteRecord</code> should be
57
- * set later than the <code>EventTime</code> of the existing record in the
58
- * <code>OnlineStore</code> for that <code>RecordIdentifer</code>. If it is not, the
59
- * deletion does not occur:</p>
60
- * <ul>
61
- * <li>
62
- * <p>For <code>SOFT_DELETE</code>, the existing (undeleted) record remains in the
63
- * <code>OnlineStore</code>, though the delete record marker is still written to the
64
- * <code>OfflineStore</code>.</p>
65
- * </li>
66
- * <li>
67
- * <p>
68
- * <code>HARD_DELETE</code> returns <code>EventTime</code>: <code>400
69
- * ValidationException</code> to indicate that the delete operation failed. No delete
70
- * record marker is written to the <code>OfflineStore</code>.</p>
71
- * </li>
72
- * </ul>
73
- */
74
- deleteRecord(args: DeleteRecordCommandInput, options?: __HttpHandlerOptions): Promise<DeleteRecordCommandOutput>;
75
- deleteRecord(args: DeleteRecordCommandInput, cb: (err: any, data?: DeleteRecordCommandOutput) => void): void;
76
- deleteRecord(args: DeleteRecordCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteRecordCommandOutput) => void): void;
77
- /**
78
- * @public
79
- * <p>Use for <code>OnlineStore</code> serving from a <code>FeatureStore</code>. Only the
80
- * latest records stored in the <code>OnlineStore</code> can be retrieved. If no Record with
81
- * <code>RecordIdentifierValue</code> is found, then an empty result is returned. </p>
82
- */
83
- getRecord(args: GetRecordCommandInput, options?: __HttpHandlerOptions): Promise<GetRecordCommandOutput>;
84
- getRecord(args: GetRecordCommandInput, cb: (err: any, data?: GetRecordCommandOutput) => void): void;
85
- getRecord(args: GetRecordCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetRecordCommandOutput) => void): void;
86
- /**
87
- * @public
88
- * <p>Used for data ingestion into the <code>FeatureStore</code>. The <code>PutRecord</code>
89
- * API writes to both the <code>OnlineStore</code> and <code>OfflineStore</code>. If the
90
- * record is the latest record for the <code>recordIdentifier</code>, the record is written to
91
- * both the <code>OnlineStore</code> and <code>OfflineStore</code>. If the record is a
92
- * historic record, it is written only to the <code>OfflineStore</code>.</p>
93
- */
94
- putRecord(args: PutRecordCommandInput, options?: __HttpHandlerOptions): Promise<PutRecordCommandOutput>;
95
- putRecord(args: PutRecordCommandInput, cb: (err: any, data?: PutRecordCommandOutput) => void): void;
96
- putRecord(args: PutRecordCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutRecordCommandOutput) => void): void;
63
+ export declare class SageMakerFeatureStoreRuntime extends SageMakerFeatureStoreRuntimeClient implements SageMakerFeatureStoreRuntime {
97
64
  }
@@ -16,7 +16,7 @@ import {
16
16
  PutRecordCommandOutput,
17
17
  } from "./commands/PutRecordCommand";
18
18
  import { SageMakerFeatureStoreRuntimeClient } from "./SageMakerFeatureStoreRuntimeClient";
19
- export declare class SageMakerFeatureStoreRuntime extends SageMakerFeatureStoreRuntimeClient {
19
+ export interface SageMakerFeatureStoreRuntime {
20
20
  batchGetRecord(
21
21
  args: BatchGetRecordCommandInput,
22
22
  options?: __HttpHandlerOptions
@@ -70,3 +70,6 @@ export declare class SageMakerFeatureStoreRuntime extends SageMakerFeatureStoreR
70
70
  cb: (err: any, data?: PutRecordCommandOutput) => void
71
71
  ): void;
72
72
  }
73
+ export declare class SageMakerFeatureStoreRuntime
74
+ extends SageMakerFeatureStoreRuntimeClient
75
+ implements SageMakerFeatureStoreRuntime {}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-sagemaker-featurestore-runtime",
3
3
  "description": "AWS SDK for JavaScript Sagemaker Featurestore Runtime Client for Node.js, Browser and React Native",
4
- "version": "3.312.0",
4
+ "version": "3.316.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,9 +21,9 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.312.0",
24
+ "@aws-sdk/client-sts": "3.316.0",
25
25
  "@aws-sdk/config-resolver": "3.310.0",
26
- "@aws-sdk/credential-provider-node": "3.310.0",
26
+ "@aws-sdk/credential-provider-node": "3.316.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.310.0",
28
28
  "@aws-sdk/hash-node": "3.310.0",
29
29
  "@aws-sdk/invalid-dependency": "3.310.0",
@@ -40,14 +40,14 @@
40
40
  "@aws-sdk/node-config-provider": "3.310.0",
41
41
  "@aws-sdk/node-http-handler": "3.310.0",
42
42
  "@aws-sdk/protocol-http": "3.310.0",
43
- "@aws-sdk/smithy-client": "3.310.0",
43
+ "@aws-sdk/smithy-client": "3.316.0",
44
44
  "@aws-sdk/types": "3.310.0",
45
45
  "@aws-sdk/url-parser": "3.310.0",
46
46
  "@aws-sdk/util-base64": "3.310.0",
47
47
  "@aws-sdk/util-body-length-browser": "3.310.0",
48
48
  "@aws-sdk/util-body-length-node": "3.310.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.310.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.310.0",
49
+ "@aws-sdk/util-defaults-mode-browser": "3.316.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.316.0",
51
51
  "@aws-sdk/util-endpoints": "3.310.0",
52
52
  "@aws-sdk/util-retry": "3.310.0",
53
53
  "@aws-sdk/util-user-agent-browser": "3.310.0",