@aws-sdk/client-sagemaker-featurestore-runtime 3.121.0 → 3.127.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/CHANGELOG.md +8 -0
- package/dist-cjs/protocols/Aws_restJson1.js +12 -19
- package/dist-es/protocols/Aws_restJson1.js +9 -16
- package/package.json +26 -26
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.127.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.126.0...v3.127.0) (2022-07-11)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-sagemaker-featurestore-runtime
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
# [3.121.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.120.0...v3.121.0) (2022-06-30)
|
|
7
15
|
|
|
8
16
|
|
|
@@ -13,8 +13,7 @@ const serializeAws_restJson1BatchGetRecordCommand = async (input, context) => {
|
|
|
13
13
|
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/BatchGetRecord";
|
|
14
14
|
let body;
|
|
15
15
|
body = JSON.stringify({
|
|
16
|
-
...(input.Identifiers
|
|
17
|
-
input.Identifiers !== null && {
|
|
16
|
+
...(input.Identifiers != null && {
|
|
18
17
|
Identifiers: serializeAws_restJson1BatchGetRecordIdentifiers(input.Identifiers, context),
|
|
19
18
|
}),
|
|
20
19
|
});
|
|
@@ -113,8 +112,7 @@ const serializeAws_restJson1PutRecordCommand = async (input, context) => {
|
|
|
113
112
|
}
|
|
114
113
|
let body;
|
|
115
114
|
body = JSON.stringify({
|
|
116
|
-
...(input.Record
|
|
117
|
-
input.Record !== null && { Record: serializeAws_restJson1Record(input.Record, context) }),
|
|
115
|
+
...(input.Record != null && { Record: serializeAws_restJson1Record(input.Record, context) }),
|
|
118
116
|
});
|
|
119
117
|
return new protocol_http_1.HttpRequest({
|
|
120
118
|
protocol,
|
|
@@ -380,12 +378,11 @@ const deserializeAws_restJson1ValidationErrorResponse = async (parsedOutput, con
|
|
|
380
378
|
};
|
|
381
379
|
const serializeAws_restJson1BatchGetRecordIdentifier = (input, context) => {
|
|
382
380
|
return {
|
|
383
|
-
...(input.FeatureGroupName
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
...(input.RecordIdentifiersValueAsString
|
|
388
|
-
input.RecordIdentifiersValueAsString !== null && {
|
|
381
|
+
...(input.FeatureGroupName != null && { FeatureGroupName: input.FeatureGroupName }),
|
|
382
|
+
...(input.FeatureNames != null && {
|
|
383
|
+
FeatureNames: serializeAws_restJson1FeatureNames(input.FeatureNames, context),
|
|
384
|
+
}),
|
|
385
|
+
...(input.RecordIdentifiersValueAsString != null && {
|
|
389
386
|
RecordIdentifiersValueAsString: serializeAws_restJson1RecordIdentifiers(input.RecordIdentifiersValueAsString, context),
|
|
390
387
|
}),
|
|
391
388
|
};
|
|
@@ -412,8 +409,8 @@ const serializeAws_restJson1FeatureNames = (input, context) => {
|
|
|
412
409
|
};
|
|
413
410
|
const serializeAws_restJson1FeatureValue = (input, context) => {
|
|
414
411
|
return {
|
|
415
|
-
...(input.FeatureName
|
|
416
|
-
...(input.ValueAsString
|
|
412
|
+
...(input.FeatureName != null && { FeatureName: input.FeatureName }),
|
|
413
|
+
...(input.ValueAsString != null && { ValueAsString: input.ValueAsString }),
|
|
417
414
|
};
|
|
418
415
|
};
|
|
419
416
|
const serializeAws_restJson1Record = (input, context) => {
|
|
@@ -458,10 +455,8 @@ const deserializeAws_restJson1BatchGetRecordErrors = (output, context) => {
|
|
|
458
455
|
const deserializeAws_restJson1BatchGetRecordIdentifier = (output, context) => {
|
|
459
456
|
return {
|
|
460
457
|
FeatureGroupName: (0, smithy_client_1.expectString)(output.FeatureGroupName),
|
|
461
|
-
FeatureNames: output.FeatureNames
|
|
462
|
-
|
|
463
|
-
: undefined,
|
|
464
|
-
RecordIdentifiersValueAsString: output.RecordIdentifiersValueAsString !== undefined && output.RecordIdentifiersValueAsString !== null
|
|
458
|
+
FeatureNames: output.FeatureNames != null ? deserializeAws_restJson1FeatureNames(output.FeatureNames, context) : undefined,
|
|
459
|
+
RecordIdentifiersValueAsString: output.RecordIdentifiersValueAsString != null
|
|
465
460
|
? deserializeAws_restJson1RecordIdentifiers(output.RecordIdentifiersValueAsString, context)
|
|
466
461
|
: undefined,
|
|
467
462
|
};
|
|
@@ -469,9 +464,7 @@ const deserializeAws_restJson1BatchGetRecordIdentifier = (output, context) => {
|
|
|
469
464
|
const deserializeAws_restJson1BatchGetRecordResultDetail = (output, context) => {
|
|
470
465
|
return {
|
|
471
466
|
FeatureGroupName: (0, smithy_client_1.expectString)(output.FeatureGroupName),
|
|
472
|
-
Record: output.Record
|
|
473
|
-
? deserializeAws_restJson1Record(output.Record, context)
|
|
474
|
-
: undefined,
|
|
467
|
+
Record: output.Record != null ? deserializeAws_restJson1Record(output.Record, context) : undefined,
|
|
475
468
|
RecordIdentifierValueAsString: (0, smithy_client_1.expectString)(output.RecordIdentifierValueAsString),
|
|
476
469
|
};
|
|
477
470
|
};
|
|
@@ -14,8 +14,7 @@ export var serializeAws_restJson1BatchGetRecordCommand = function (input, contex
|
|
|
14
14
|
"content-type": "application/json",
|
|
15
15
|
};
|
|
16
16
|
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/BatchGetRecord";
|
|
17
|
-
body = JSON.stringify(__assign({}, (input.Identifiers
|
|
18
|
-
input.Identifiers !== null && {
|
|
17
|
+
body = JSON.stringify(__assign({}, (input.Identifiers != null && {
|
|
19
18
|
Identifiers: serializeAws_restJson1BatchGetRecordIdentifiers(input.Identifiers, context),
|
|
20
19
|
})));
|
|
21
20
|
return [2, new __HttpRequest({
|
|
@@ -121,8 +120,7 @@ export var serializeAws_restJson1PutRecordCommand = function (input, context) {
|
|
|
121
120
|
else {
|
|
122
121
|
throw new Error("No value provided for input HTTP label: FeatureGroupName.");
|
|
123
122
|
}
|
|
124
|
-
body = JSON.stringify(__assign({}, (input.Record
|
|
125
|
-
input.Record !== null && { Record: serializeAws_restJson1Record(input.Record, context) })));
|
|
123
|
+
body = JSON.stringify(__assign({}, (input.Record != null && { Record: serializeAws_restJson1Record(input.Record, context) })));
|
|
126
124
|
return [2, new __HttpRequest({
|
|
127
125
|
protocol: protocol,
|
|
128
126
|
hostname: hostname,
|
|
@@ -472,10 +470,9 @@ var deserializeAws_restJson1ValidationErrorResponse = function (parsedOutput, co
|
|
|
472
470
|
});
|
|
473
471
|
}); };
|
|
474
472
|
var serializeAws_restJson1BatchGetRecordIdentifier = function (input, context) {
|
|
475
|
-
return __assign(__assign(__assign({}, (input.FeatureGroupName
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
input.RecordIdentifiersValueAsString !== null && {
|
|
473
|
+
return __assign(__assign(__assign({}, (input.FeatureGroupName != null && { FeatureGroupName: input.FeatureGroupName })), (input.FeatureNames != null && {
|
|
474
|
+
FeatureNames: serializeAws_restJson1FeatureNames(input.FeatureNames, context),
|
|
475
|
+
})), (input.RecordIdentifiersValueAsString != null && {
|
|
479
476
|
RecordIdentifiersValueAsString: serializeAws_restJson1RecordIdentifiers(input.RecordIdentifiersValueAsString, context),
|
|
480
477
|
}));
|
|
481
478
|
};
|
|
@@ -500,7 +497,7 @@ var serializeAws_restJson1FeatureNames = function (input, context) {
|
|
|
500
497
|
});
|
|
501
498
|
};
|
|
502
499
|
var serializeAws_restJson1FeatureValue = function (input, context) {
|
|
503
|
-
return __assign(__assign({}, (input.FeatureName
|
|
500
|
+
return __assign(__assign({}, (input.FeatureName != null && { FeatureName: input.FeatureName })), (input.ValueAsString != null && { ValueAsString: input.ValueAsString }));
|
|
504
501
|
};
|
|
505
502
|
var serializeAws_restJson1Record = function (input, context) {
|
|
506
503
|
return input
|
|
@@ -544,10 +541,8 @@ var deserializeAws_restJson1BatchGetRecordErrors = function (output, context) {
|
|
|
544
541
|
var deserializeAws_restJson1BatchGetRecordIdentifier = function (output, context) {
|
|
545
542
|
return {
|
|
546
543
|
FeatureGroupName: __expectString(output.FeatureGroupName),
|
|
547
|
-
FeatureNames: output.FeatureNames
|
|
548
|
-
|
|
549
|
-
: undefined,
|
|
550
|
-
RecordIdentifiersValueAsString: output.RecordIdentifiersValueAsString !== undefined && output.RecordIdentifiersValueAsString !== null
|
|
544
|
+
FeatureNames: output.FeatureNames != null ? deserializeAws_restJson1FeatureNames(output.FeatureNames, context) : undefined,
|
|
545
|
+
RecordIdentifiersValueAsString: output.RecordIdentifiersValueAsString != null
|
|
551
546
|
? deserializeAws_restJson1RecordIdentifiers(output.RecordIdentifiersValueAsString, context)
|
|
552
547
|
: undefined,
|
|
553
548
|
};
|
|
@@ -555,9 +550,7 @@ var deserializeAws_restJson1BatchGetRecordIdentifier = function (output, context
|
|
|
555
550
|
var deserializeAws_restJson1BatchGetRecordResultDetail = function (output, context) {
|
|
556
551
|
return {
|
|
557
552
|
FeatureGroupName: __expectString(output.FeatureGroupName),
|
|
558
|
-
Record: output.Record
|
|
559
|
-
? deserializeAws_restJson1Record(output.Record, context)
|
|
560
|
-
: undefined,
|
|
553
|
+
Record: output.Record != null ? deserializeAws_restJson1Record(output.Record, context) : undefined,
|
|
561
554
|
RecordIdentifierValueAsString: __expectString(output.RecordIdentifierValueAsString),
|
|
562
555
|
};
|
|
563
556
|
};
|
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.
|
|
4
|
+
"version": "3.127.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",
|
|
@@ -18,35 +18,35 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
-
"@aws-sdk/config-resolver": "3.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
25
|
-
"@aws-sdk/hash-node": "3.
|
|
26
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
27
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
29
|
-
"@aws-sdk/middleware-logger": "3.
|
|
30
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
31
|
-
"@aws-sdk/middleware-retry": "3.
|
|
32
|
-
"@aws-sdk/middleware-serde": "3.
|
|
33
|
-
"@aws-sdk/middleware-signing": "3.
|
|
34
|
-
"@aws-sdk/middleware-stack": "3.
|
|
35
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
36
|
-
"@aws-sdk/node-config-provider": "3.
|
|
37
|
-
"@aws-sdk/node-http-handler": "3.
|
|
38
|
-
"@aws-sdk/protocol-http": "3.
|
|
39
|
-
"@aws-sdk/smithy-client": "3.
|
|
40
|
-
"@aws-sdk/types": "3.
|
|
41
|
-
"@aws-sdk/url-parser": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.127.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.127.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.127.0",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.127.0",
|
|
25
|
+
"@aws-sdk/hash-node": "3.127.0",
|
|
26
|
+
"@aws-sdk/invalid-dependency": "3.127.0",
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.127.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.127.0",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.127.0",
|
|
30
|
+
"@aws-sdk/middleware-recursion-detection": "3.127.0",
|
|
31
|
+
"@aws-sdk/middleware-retry": "3.127.0",
|
|
32
|
+
"@aws-sdk/middleware-serde": "3.127.0",
|
|
33
|
+
"@aws-sdk/middleware-signing": "3.127.0",
|
|
34
|
+
"@aws-sdk/middleware-stack": "3.127.0",
|
|
35
|
+
"@aws-sdk/middleware-user-agent": "3.127.0",
|
|
36
|
+
"@aws-sdk/node-config-provider": "3.127.0",
|
|
37
|
+
"@aws-sdk/node-http-handler": "3.127.0",
|
|
38
|
+
"@aws-sdk/protocol-http": "3.127.0",
|
|
39
|
+
"@aws-sdk/smithy-client": "3.127.0",
|
|
40
|
+
"@aws-sdk/types": "3.127.0",
|
|
41
|
+
"@aws-sdk/url-parser": "3.127.0",
|
|
42
42
|
"@aws-sdk/util-base64-browser": "3.109.0",
|
|
43
43
|
"@aws-sdk/util-base64-node": "3.55.0",
|
|
44
44
|
"@aws-sdk/util-body-length-browser": "3.55.0",
|
|
45
45
|
"@aws-sdk/util-body-length-node": "3.55.0",
|
|
46
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
47
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
48
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
49
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
46
|
+
"@aws-sdk/util-defaults-mode-browser": "3.127.0",
|
|
47
|
+
"@aws-sdk/util-defaults-mode-node": "3.127.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-browser": "3.127.0",
|
|
49
|
+
"@aws-sdk/util-user-agent-node": "3.127.0",
|
|
50
50
|
"@aws-sdk/util-utf8-browser": "3.109.0",
|
|
51
51
|
"@aws-sdk/util-utf8-node": "3.109.0",
|
|
52
52
|
"tslib": "^2.3.1"
|