@aws-sdk/client-sagemaker-featurestore-runtime 3.183.0 → 3.185.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 +11 -0
- package/dist-cjs/protocols/Aws_restJson1.js +2 -2
- package/dist-es/SageMakerFeatureStoreRuntime.js +25 -18
- package/dist-es/SageMakerFeatureStoreRuntimeClient.js +28 -22
- package/dist-es/commands/BatchGetRecordCommand.js +28 -21
- package/dist-es/commands/DeleteRecordCommand.js +29 -22
- package/dist-es/commands/GetRecordCommand.js +28 -21
- package/dist-es/commands/PutRecordCommand.js +29 -22
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/SageMakerFeatureStoreRuntimeServiceException.js +10 -5
- package/dist-es/models/models_0.js +71 -90
- package/dist-es/protocols/Aws_restJson1.js +520 -387
- package/dist-es/runtimeConfig.browser.js +12 -26
- package/dist-es/runtimeConfig.js +12 -30
- package/dist-es/runtimeConfig.native.js +5 -8
- package/dist-es/runtimeConfig.shared.js +11 -8
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
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.185.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.184.0...v3.185.0) (2022-10-05)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **codegen:** add deser check for x-amz-request-id ([#4015](https://github.com/aws/aws-sdk-js-v3/issues/4015)) ([6ff07bd](https://github.com/aws/aws-sdk-js-v3/commit/6ff07bd7e72bd56725f318013ac1d6d0fbbcdd9a))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [3.183.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.182.0...v3.183.0) (2022-10-03)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @aws-sdk/client-sagemaker-featurestore-runtime
|
|
@@ -475,10 +475,10 @@ const deserializeAws_restJson1UnprocessedIdentifiers = (output, context) => {
|
|
|
475
475
|
return retVal;
|
|
476
476
|
};
|
|
477
477
|
const deserializeMetadata = (output) => {
|
|
478
|
-
var _a;
|
|
478
|
+
var _a, _b;
|
|
479
479
|
return ({
|
|
480
480
|
httpStatusCode: output.statusCode,
|
|
481
|
-
requestId: (_a = output.headers["x-amzn-requestid"]) !== null && _a !== void 0 ? _a : output.headers["x-amzn-request-id"],
|
|
481
|
+
requestId: (_b = (_a = output.headers["x-amzn-requestid"]) !== null && _a !== void 0 ? _a : output.headers["x-amzn-request-id"]) !== null && _b !== void 0 ? _b : output.headers["x-amz-request-id"],
|
|
482
482
|
extendedRequestId: output.headers["x-amz-id-2"],
|
|
483
483
|
cfId: output.headers["x-amz-cf-id"],
|
|
484
484
|
});
|
|
@@ -1,63 +1,70 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
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
6
|
import { SageMakerFeatureStoreRuntimeClient } from "./SageMakerFeatureStoreRuntimeClient";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
var SageMakerFeatureStoreRuntime = (function (_super) {
|
|
8
|
+
__extends(SageMakerFeatureStoreRuntime, _super);
|
|
9
|
+
function SageMakerFeatureStoreRuntime() {
|
|
10
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
11
|
+
}
|
|
12
|
+
SageMakerFeatureStoreRuntime.prototype.batchGetRecord = function (args, optionsOrCb, cb) {
|
|
13
|
+
var command = new BatchGetRecordCommand(args);
|
|
9
14
|
if (typeof optionsOrCb === "function") {
|
|
10
15
|
this.send(command, optionsOrCb);
|
|
11
16
|
}
|
|
12
17
|
else if (typeof cb === "function") {
|
|
13
18
|
if (typeof optionsOrCb !== "object")
|
|
14
|
-
throw new Error(
|
|
19
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
15
20
|
this.send(command, optionsOrCb || {}, cb);
|
|
16
21
|
}
|
|
17
22
|
else {
|
|
18
23
|
return this.send(command, optionsOrCb);
|
|
19
24
|
}
|
|
20
|
-
}
|
|
21
|
-
deleteRecord(args, optionsOrCb, cb) {
|
|
22
|
-
|
|
25
|
+
};
|
|
26
|
+
SageMakerFeatureStoreRuntime.prototype.deleteRecord = function (args, optionsOrCb, cb) {
|
|
27
|
+
var command = new DeleteRecordCommand(args);
|
|
23
28
|
if (typeof optionsOrCb === "function") {
|
|
24
29
|
this.send(command, optionsOrCb);
|
|
25
30
|
}
|
|
26
31
|
else if (typeof cb === "function") {
|
|
27
32
|
if (typeof optionsOrCb !== "object")
|
|
28
|
-
throw new Error(
|
|
33
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
29
34
|
this.send(command, optionsOrCb || {}, cb);
|
|
30
35
|
}
|
|
31
36
|
else {
|
|
32
37
|
return this.send(command, optionsOrCb);
|
|
33
38
|
}
|
|
34
|
-
}
|
|
35
|
-
getRecord(args, optionsOrCb, cb) {
|
|
36
|
-
|
|
39
|
+
};
|
|
40
|
+
SageMakerFeatureStoreRuntime.prototype.getRecord = function (args, optionsOrCb, cb) {
|
|
41
|
+
var command = new GetRecordCommand(args);
|
|
37
42
|
if (typeof optionsOrCb === "function") {
|
|
38
43
|
this.send(command, optionsOrCb);
|
|
39
44
|
}
|
|
40
45
|
else if (typeof cb === "function") {
|
|
41
46
|
if (typeof optionsOrCb !== "object")
|
|
42
|
-
throw new Error(
|
|
47
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
43
48
|
this.send(command, optionsOrCb || {}, cb);
|
|
44
49
|
}
|
|
45
50
|
else {
|
|
46
51
|
return this.send(command, optionsOrCb);
|
|
47
52
|
}
|
|
48
|
-
}
|
|
49
|
-
putRecord(args, optionsOrCb, cb) {
|
|
50
|
-
|
|
53
|
+
};
|
|
54
|
+
SageMakerFeatureStoreRuntime.prototype.putRecord = function (args, optionsOrCb, cb) {
|
|
55
|
+
var command = new PutRecordCommand(args);
|
|
51
56
|
if (typeof optionsOrCb === "function") {
|
|
52
57
|
this.send(command, optionsOrCb);
|
|
53
58
|
}
|
|
54
59
|
else if (typeof cb === "function") {
|
|
55
60
|
if (typeof optionsOrCb !== "object")
|
|
56
|
-
throw new Error(
|
|
61
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
57
62
|
this.send(command, optionsOrCb || {}, cb);
|
|
58
63
|
}
|
|
59
64
|
else {
|
|
60
65
|
return this.send(command, optionsOrCb);
|
|
61
66
|
}
|
|
62
|
-
}
|
|
63
|
-
|
|
67
|
+
};
|
|
68
|
+
return SageMakerFeatureStoreRuntime;
|
|
69
|
+
}(SageMakerFeatureStoreRuntimeClient));
|
|
70
|
+
export { SageMakerFeatureStoreRuntime };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
|
|
2
3
|
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
3
4
|
import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
|
|
@@ -8,26 +9,31 @@ import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-sig
|
|
|
8
9
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
9
10
|
import { Client as __Client, } from "@aws-sdk/smithy-client";
|
|
10
11
|
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
12
|
+
var SageMakerFeatureStoreRuntimeClient = (function (_super) {
|
|
13
|
+
__extends(SageMakerFeatureStoreRuntimeClient, _super);
|
|
14
|
+
function SageMakerFeatureStoreRuntimeClient(configuration) {
|
|
15
|
+
var _this = this;
|
|
16
|
+
var _config_0 = __getRuntimeConfig(configuration);
|
|
17
|
+
var _config_1 = resolveRegionConfig(_config_0);
|
|
18
|
+
var _config_2 = resolveEndpointsConfig(_config_1);
|
|
19
|
+
var _config_3 = resolveRetryConfig(_config_2);
|
|
20
|
+
var _config_4 = resolveHostHeaderConfig(_config_3);
|
|
21
|
+
var _config_5 = resolveAwsAuthConfig(_config_4);
|
|
22
|
+
var _config_6 = resolveUserAgentConfig(_config_5);
|
|
23
|
+
_this = _super.call(this, _config_6) || this;
|
|
24
|
+
_this.config = _config_6;
|
|
25
|
+
_this.middlewareStack.use(getRetryPlugin(_this.config));
|
|
26
|
+
_this.middlewareStack.use(getContentLengthPlugin(_this.config));
|
|
27
|
+
_this.middlewareStack.use(getHostHeaderPlugin(_this.config));
|
|
28
|
+
_this.middlewareStack.use(getLoggerPlugin(_this.config));
|
|
29
|
+
_this.middlewareStack.use(getRecursionDetectionPlugin(_this.config));
|
|
30
|
+
_this.middlewareStack.use(getAwsAuthPlugin(_this.config));
|
|
31
|
+
_this.middlewareStack.use(getUserAgentPlugin(_this.config));
|
|
32
|
+
return _this;
|
|
29
33
|
}
|
|
30
|
-
destroy() {
|
|
31
|
-
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
+
SageMakerFeatureStoreRuntimeClient.prototype.destroy = function () {
|
|
35
|
+
_super.prototype.destroy.call(this);
|
|
36
|
+
};
|
|
37
|
+
return SageMakerFeatureStoreRuntimeClient;
|
|
38
|
+
}(__Client));
|
|
39
|
+
export { SageMakerFeatureStoreRuntimeClient };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { BatchGetRecordRequestFilterSensitiveLog, BatchGetRecordResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1BatchGetRecordCommand, serializeAws_restJson1BatchGetRecordCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var BatchGetRecordCommand = (function (_super) {
|
|
7
|
+
__extends(BatchGetRecordCommand, _super);
|
|
8
|
+
function BatchGetRecordCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
BatchGetRecordCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "SageMakerFeatureStoreRuntimeClient";
|
|
18
|
+
var commandName = "BatchGetRecordCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: BatchGetRecordRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: BatchGetRecordResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
BatchGetRecordCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1BatchGetRecordCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
BatchGetRecordCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1BatchGetRecordCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return BatchGetRecordCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { BatchGetRecordCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { DeleteRecordRequestFilterSensitiveLog } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1DeleteRecordCommand, serializeAws_restJson1DeleteRecordCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var DeleteRecordCommand = (function (_super) {
|
|
7
|
+
__extends(DeleteRecordCommand, _super);
|
|
8
|
+
function DeleteRecordCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
DeleteRecordCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "SageMakerFeatureStoreRuntimeClient";
|
|
18
|
+
var commandName = "DeleteRecordCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: DeleteRecordRequestFilterSensitiveLog,
|
|
21
|
-
outputFilterSensitiveLog: (output)
|
|
24
|
+
outputFilterSensitiveLog: function (output) { return output; },
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DeleteRecordCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1DeleteRecordCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
DeleteRecordCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1DeleteRecordCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return DeleteRecordCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DeleteRecordCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { GetRecordRequestFilterSensitiveLog, GetRecordResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1GetRecordCommand, serializeAws_restJson1GetRecordCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var GetRecordCommand = (function (_super) {
|
|
7
|
+
__extends(GetRecordCommand, _super);
|
|
8
|
+
function GetRecordCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
GetRecordCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "SageMakerFeatureStoreRuntimeClient";
|
|
18
|
+
var commandName = "GetRecordCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: GetRecordRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: GetRecordResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
GetRecordCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1GetRecordCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
GetRecordCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1GetRecordCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return GetRecordCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetRecordCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { PutRecordRequestFilterSensitiveLog } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1PutRecordCommand, serializeAws_restJson1PutRecordCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var PutRecordCommand = (function (_super) {
|
|
7
|
+
__extends(PutRecordCommand, _super);
|
|
8
|
+
function PutRecordCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
PutRecordCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "SageMakerFeatureStoreRuntimeClient";
|
|
18
|
+
var commandName = "PutRecordCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: PutRecordRequestFilterSensitiveLog,
|
|
21
|
-
outputFilterSensitiveLog: (output)
|
|
24
|
+
outputFilterSensitiveLog: function (output) { return output; },
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
PutRecordCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1PutRecordCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
PutRecordCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1PutRecordCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return PutRecordCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { PutRecordCommand };
|
package/dist-es/endpoints.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import { __assign, __awaiter, __generator } from "tslib";
|
|
1
2
|
import { getRegionInfo } from "@aws-sdk/config-resolver";
|
|
2
|
-
|
|
3
|
-
|
|
3
|
+
var regionHash = {};
|
|
4
|
+
var partitionHash = {
|
|
4
5
|
aws: {
|
|
5
6
|
regions: [
|
|
6
7
|
"af-south-1",
|
|
@@ -120,9 +121,8 @@ const partitionHash = {
|
|
|
120
121
|
],
|
|
121
122
|
},
|
|
122
123
|
};
|
|
123
|
-
export
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
});
|
|
124
|
+
export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
|
|
125
|
+
return __generator(this, function (_a) {
|
|
126
|
+
return [2, getRegionInfo(region, __assign(__assign({}, options), { signingService: "sagemaker", regionHash: regionHash, partitionHash: partitionHash }))];
|
|
127
|
+
});
|
|
128
|
+
}); };
|
|
@@ -1,7 +1,12 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
var SageMakerFeatureStoreRuntimeServiceException = (function (_super) {
|
|
4
|
+
__extends(SageMakerFeatureStoreRuntimeServiceException, _super);
|
|
5
|
+
function SageMakerFeatureStoreRuntimeServiceException(options) {
|
|
6
|
+
var _this = _super.call(this, options) || this;
|
|
7
|
+
Object.setPrototypeOf(_this, SageMakerFeatureStoreRuntimeServiceException.prototype);
|
|
8
|
+
return _this;
|
|
6
9
|
}
|
|
7
|
-
|
|
10
|
+
return SageMakerFeatureStoreRuntimeServiceException;
|
|
11
|
+
}(__ServiceException));
|
|
12
|
+
export { SageMakerFeatureStoreRuntimeServiceException };
|