@aws-sdk/client-sagemaker-featurestore-runtime 3.36.0 → 3.36.1
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/SageMakerFeatureStoreRuntime.js +0 -29
- package/dist-cjs/SageMakerFeatureStoreRuntimeClient.js +0 -34
- package/dist-cjs/commands/BatchGetRecordCommand.js +0 -24
- package/dist-cjs/commands/DeleteRecordCommand.js +0 -26
- package/dist-cjs/commands/GetRecordCommand.js +0 -26
- package/dist-cjs/commands/PutRecordCommand.js +0 -28
- package/dist-cjs/models/models_0.js +0 -45
- package/dist-cjs/protocols/Aws_restJson1.js +0 -5
- package/dist-cjs/runtimeConfig.browser.js +1 -5
- package/dist-cjs/runtimeConfig.js +1 -5
- package/dist-cjs/runtimeConfig.native.js +0 -3
- package/dist-cjs/runtimeConfig.shared.js +0 -3
- package/dist-types/ts3.4/SageMakerFeatureStoreRuntime.d.ts +5 -49
- package/dist-types/ts3.4/SageMakerFeatureStoreRuntimeClient.d.ts +24 -115
- package/dist-types/ts3.4/commands/BatchGetRecordCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteRecordCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/GetRecordCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/PutRecordCommand.d.ts +2 -24
- package/dist-types/ts3.4/models/models_0.d.ts +49 -169
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +3 -3
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.36.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.0...v3.36.1) (2021-10-12)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **clients:** emitDeclarationOnly in tsconfig.types.json ([#2893](https://github.com/aws/aws-sdk-js-v3/issues/2893)) ([6dc3d56](https://github.com/aws/aws-sdk-js-v3/commit/6dc3d56c20809c90cbdc4dd48627eeebc64af99d))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [3.36.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.35.0...v3.36.0) (2021-10-08)
|
|
7
18
|
|
|
8
19
|
|
|
@@ -6,35 +6,6 @@ const DeleteRecordCommand_1 = require("./commands/DeleteRecordCommand");
|
|
|
6
6
|
const GetRecordCommand_1 = require("./commands/GetRecordCommand");
|
|
7
7
|
const PutRecordCommand_1 = require("./commands/PutRecordCommand");
|
|
8
8
|
const SageMakerFeatureStoreRuntimeClient_1 = require("./SageMakerFeatureStoreRuntimeClient");
|
|
9
|
-
/**
|
|
10
|
-
* <p>Contains all data plane API operations and data types for the Amazon SageMaker Feature
|
|
11
|
-
* Store. Use this API to put, delete, and retrieve (get) features from a feature
|
|
12
|
-
* store.</p>
|
|
13
|
-
* <p>Use the following operations to configure your <code>OnlineStore</code> and
|
|
14
|
-
* <code>OfflineStore</code> features, and to create and manage feature groups:</p>
|
|
15
|
-
* <ul>
|
|
16
|
-
* <li>
|
|
17
|
-
* <p>
|
|
18
|
-
* <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateFeatureGroup.html">CreateFeatureGroup</a>
|
|
19
|
-
* </p>
|
|
20
|
-
* </li>
|
|
21
|
-
* <li>
|
|
22
|
-
* <p>
|
|
23
|
-
* <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_DeleteFeatureGroup.html">DeleteFeatureGroup</a>
|
|
24
|
-
* </p>
|
|
25
|
-
* </li>
|
|
26
|
-
* <li>
|
|
27
|
-
* <p>
|
|
28
|
-
* <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_DescribeFeatureGroup.html">DescribeFeatureGroup</a>
|
|
29
|
-
* </p>
|
|
30
|
-
* </li>
|
|
31
|
-
* <li>
|
|
32
|
-
* <p>
|
|
33
|
-
* <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_ListFeatureGroups.html">ListFeatureGroups</a>
|
|
34
|
-
* </p>
|
|
35
|
-
* </li>
|
|
36
|
-
* </ul>
|
|
37
|
-
*/
|
|
38
9
|
class SageMakerFeatureStoreRuntime extends SageMakerFeatureStoreRuntimeClient_1.SageMakerFeatureStoreRuntimeClient {
|
|
39
10
|
batchGetRecord(args, optionsOrCb, cb) {
|
|
40
11
|
const command = new BatchGetRecordCommand_1.BatchGetRecordCommand(args);
|
|
@@ -10,35 +10,6 @@ const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
|
10
10
|
const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
|
|
11
11
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
12
12
|
const runtimeConfig_1 = require("./runtimeConfig");
|
|
13
|
-
/**
|
|
14
|
-
* <p>Contains all data plane API operations and data types for the Amazon SageMaker Feature
|
|
15
|
-
* Store. Use this API to put, delete, and retrieve (get) features from a feature
|
|
16
|
-
* store.</p>
|
|
17
|
-
* <p>Use the following operations to configure your <code>OnlineStore</code> and
|
|
18
|
-
* <code>OfflineStore</code> features, and to create and manage feature groups:</p>
|
|
19
|
-
* <ul>
|
|
20
|
-
* <li>
|
|
21
|
-
* <p>
|
|
22
|
-
* <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateFeatureGroup.html">CreateFeatureGroup</a>
|
|
23
|
-
* </p>
|
|
24
|
-
* </li>
|
|
25
|
-
* <li>
|
|
26
|
-
* <p>
|
|
27
|
-
* <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_DeleteFeatureGroup.html">DeleteFeatureGroup</a>
|
|
28
|
-
* </p>
|
|
29
|
-
* </li>
|
|
30
|
-
* <li>
|
|
31
|
-
* <p>
|
|
32
|
-
* <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_DescribeFeatureGroup.html">DescribeFeatureGroup</a>
|
|
33
|
-
* </p>
|
|
34
|
-
* </li>
|
|
35
|
-
* <li>
|
|
36
|
-
* <p>
|
|
37
|
-
* <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_ListFeatureGroups.html">ListFeatureGroups</a>
|
|
38
|
-
* </p>
|
|
39
|
-
* </li>
|
|
40
|
-
* </ul>
|
|
41
|
-
*/
|
|
42
13
|
class SageMakerFeatureStoreRuntimeClient extends smithy_client_1.Client {
|
|
43
14
|
constructor(configuration) {
|
|
44
15
|
const _config_0 = runtimeConfig_1.getRuntimeConfig(configuration);
|
|
@@ -57,11 +28,6 @@ class SageMakerFeatureStoreRuntimeClient extends smithy_client_1.Client {
|
|
|
57
28
|
this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(this.config));
|
|
58
29
|
this.middlewareStack.use(middleware_user_agent_1.getUserAgentPlugin(this.config));
|
|
59
30
|
}
|
|
60
|
-
/**
|
|
61
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
62
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
63
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
64
|
-
*/
|
|
65
31
|
destroy() {
|
|
66
32
|
super.destroy();
|
|
67
33
|
}
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Retrieves a batch of <code>Records</code> from a <code>FeatureGroup</code>.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { SageMakerFeatureStoreRuntimeClient, BatchGetRecordCommand } from "@aws-sdk/client-sagemaker-featurestore-runtime"; // ES Modules import
|
|
14
|
-
* // const { SageMakerFeatureStoreRuntimeClient, BatchGetRecordCommand } = require("@aws-sdk/client-sagemaker-featurestore-runtime"); // CommonJS import
|
|
15
|
-
* const client = new SageMakerFeatureStoreRuntimeClient(config);
|
|
16
|
-
* const command = new BatchGetRecordCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link BatchGetRecordCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link BatchGetRecordCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link SageMakerFeatureStoreRuntimeClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class BatchGetRecordCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,37 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Deletes a <code>Record</code> from a <code>FeatureGroup</code>. A new record will show
|
|
10
|
-
* up in the <code>OfflineStore</code> when the <code>DeleteRecord</code> API is called. This
|
|
11
|
-
* record will have a value of <code>True</code> in the <code>is_deleted</code> column.</p>
|
|
12
|
-
* @example
|
|
13
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
-
* ```javascript
|
|
15
|
-
* import { SageMakerFeatureStoreRuntimeClient, DeleteRecordCommand } from "@aws-sdk/client-sagemaker-featurestore-runtime"; // ES Modules import
|
|
16
|
-
* // const { SageMakerFeatureStoreRuntimeClient, DeleteRecordCommand } = require("@aws-sdk/client-sagemaker-featurestore-runtime"); // CommonJS import
|
|
17
|
-
* const client = new SageMakerFeatureStoreRuntimeClient(config);
|
|
18
|
-
* const command = new DeleteRecordCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link DeleteRecordCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link DeleteRecordCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link SageMakerFeatureStoreRuntimeClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
27
8
|
class DeleteRecordCommand extends smithy_client_1.Command {
|
|
28
|
-
// Start section: command_properties
|
|
29
|
-
// End section: command_properties
|
|
30
9
|
constructor(input) {
|
|
31
|
-
// Start section: command_constructor
|
|
32
10
|
super();
|
|
33
11
|
this.input = input;
|
|
34
|
-
// End section: command_constructor
|
|
35
12
|
}
|
|
36
|
-
/**
|
|
37
|
-
* @internal
|
|
38
|
-
*/
|
|
39
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
40
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
41
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,37 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Use for <code>OnlineStore</code> serving from a <code>FeatureStore</code>. Only the
|
|
10
|
-
* latest records stored in the <code>OnlineStore</code> can be retrieved. If no Record with
|
|
11
|
-
* <code>RecordIdentifierValue</code> is found, then an empty result is returned. </p>
|
|
12
|
-
* @example
|
|
13
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
-
* ```javascript
|
|
15
|
-
* import { SageMakerFeatureStoreRuntimeClient, GetRecordCommand } from "@aws-sdk/client-sagemaker-featurestore-runtime"; // ES Modules import
|
|
16
|
-
* // const { SageMakerFeatureStoreRuntimeClient, GetRecordCommand } = require("@aws-sdk/client-sagemaker-featurestore-runtime"); // CommonJS import
|
|
17
|
-
* const client = new SageMakerFeatureStoreRuntimeClient(config);
|
|
18
|
-
* const command = new GetRecordCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link GetRecordCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link GetRecordCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link SageMakerFeatureStoreRuntimeClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
27
8
|
class GetRecordCommand extends smithy_client_1.Command {
|
|
28
|
-
// Start section: command_properties
|
|
29
|
-
// End section: command_properties
|
|
30
9
|
constructor(input) {
|
|
31
|
-
// Start section: command_constructor
|
|
32
10
|
super();
|
|
33
11
|
this.input = input;
|
|
34
|
-
// End section: command_constructor
|
|
35
12
|
}
|
|
36
|
-
/**
|
|
37
|
-
* @internal
|
|
38
|
-
*/
|
|
39
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
40
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
41
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,39 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Used for data ingestion into the <code>FeatureStore</code>. The <code>PutRecord</code>
|
|
10
|
-
* API writes to both the <code>OnlineStore</code> and <code>OfflineStore</code>. If the
|
|
11
|
-
* record is the latest record for the <code>recordIdentifier</code>, the record is written to
|
|
12
|
-
* both the <code>OnlineStore</code> and <code>OfflineStore</code>. If the record is a
|
|
13
|
-
* historic record, it is written only to the <code>OfflineStore</code>.</p>
|
|
14
|
-
* @example
|
|
15
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
16
|
-
* ```javascript
|
|
17
|
-
* import { SageMakerFeatureStoreRuntimeClient, PutRecordCommand } from "@aws-sdk/client-sagemaker-featurestore-runtime"; // ES Modules import
|
|
18
|
-
* // const { SageMakerFeatureStoreRuntimeClient, PutRecordCommand } = require("@aws-sdk/client-sagemaker-featurestore-runtime"); // CommonJS import
|
|
19
|
-
* const client = new SageMakerFeatureStoreRuntimeClient(config);
|
|
20
|
-
* const command = new PutRecordCommand(input);
|
|
21
|
-
* const response = await client.send(command);
|
|
22
|
-
* ```
|
|
23
|
-
*
|
|
24
|
-
* @see {@link PutRecordCommandInput} for command's `input` shape.
|
|
25
|
-
* @see {@link PutRecordCommandOutput} for command's `response` shape.
|
|
26
|
-
* @see {@link SageMakerFeatureStoreRuntimeClientResolvedConfig | config} for command's `input` shape.
|
|
27
|
-
*
|
|
28
|
-
*/
|
|
29
8
|
class PutRecordCommand extends smithy_client_1.Command {
|
|
30
|
-
// Start section: command_properties
|
|
31
|
-
// End section: command_properties
|
|
32
9
|
constructor(input) {
|
|
33
|
-
// Start section: command_constructor
|
|
34
10
|
super();
|
|
35
11
|
this.input = input;
|
|
36
|
-
// End section: command_constructor
|
|
37
12
|
}
|
|
38
|
-
/**
|
|
39
|
-
* @internal
|
|
40
|
-
*/
|
|
41
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
42
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
43
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -3,135 +3,90 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.PutRecordRequest = exports.ResourceNotFound = exports.GetRecordResponse = exports.GetRecordRequest = exports.DeleteRecordRequest = exports.ValidationError = exports.ServiceUnavailable = exports.InternalFailure = exports.BatchGetRecordResponse = exports.BatchGetRecordResultDetail = exports.FeatureValue = exports.BatchGetRecordError = exports.BatchGetRecordRequest = exports.BatchGetRecordIdentifier = exports.AccessForbidden = void 0;
|
|
4
4
|
var AccessForbidden;
|
|
5
5
|
(function (AccessForbidden) {
|
|
6
|
-
/**
|
|
7
|
-
* @internal
|
|
8
|
-
*/
|
|
9
6
|
AccessForbidden.filterSensitiveLog = (obj) => ({
|
|
10
7
|
...obj,
|
|
11
8
|
});
|
|
12
9
|
})(AccessForbidden = exports.AccessForbidden || (exports.AccessForbidden = {}));
|
|
13
10
|
var BatchGetRecordIdentifier;
|
|
14
11
|
(function (BatchGetRecordIdentifier) {
|
|
15
|
-
/**
|
|
16
|
-
* @internal
|
|
17
|
-
*/
|
|
18
12
|
BatchGetRecordIdentifier.filterSensitiveLog = (obj) => ({
|
|
19
13
|
...obj,
|
|
20
14
|
});
|
|
21
15
|
})(BatchGetRecordIdentifier = exports.BatchGetRecordIdentifier || (exports.BatchGetRecordIdentifier = {}));
|
|
22
16
|
var BatchGetRecordRequest;
|
|
23
17
|
(function (BatchGetRecordRequest) {
|
|
24
|
-
/**
|
|
25
|
-
* @internal
|
|
26
|
-
*/
|
|
27
18
|
BatchGetRecordRequest.filterSensitiveLog = (obj) => ({
|
|
28
19
|
...obj,
|
|
29
20
|
});
|
|
30
21
|
})(BatchGetRecordRequest = exports.BatchGetRecordRequest || (exports.BatchGetRecordRequest = {}));
|
|
31
22
|
var BatchGetRecordError;
|
|
32
23
|
(function (BatchGetRecordError) {
|
|
33
|
-
/**
|
|
34
|
-
* @internal
|
|
35
|
-
*/
|
|
36
24
|
BatchGetRecordError.filterSensitiveLog = (obj) => ({
|
|
37
25
|
...obj,
|
|
38
26
|
});
|
|
39
27
|
})(BatchGetRecordError = exports.BatchGetRecordError || (exports.BatchGetRecordError = {}));
|
|
40
28
|
var FeatureValue;
|
|
41
29
|
(function (FeatureValue) {
|
|
42
|
-
/**
|
|
43
|
-
* @internal
|
|
44
|
-
*/
|
|
45
30
|
FeatureValue.filterSensitiveLog = (obj) => ({
|
|
46
31
|
...obj,
|
|
47
32
|
});
|
|
48
33
|
})(FeatureValue = exports.FeatureValue || (exports.FeatureValue = {}));
|
|
49
34
|
var BatchGetRecordResultDetail;
|
|
50
35
|
(function (BatchGetRecordResultDetail) {
|
|
51
|
-
/**
|
|
52
|
-
* @internal
|
|
53
|
-
*/
|
|
54
36
|
BatchGetRecordResultDetail.filterSensitiveLog = (obj) => ({
|
|
55
37
|
...obj,
|
|
56
38
|
});
|
|
57
39
|
})(BatchGetRecordResultDetail = exports.BatchGetRecordResultDetail || (exports.BatchGetRecordResultDetail = {}));
|
|
58
40
|
var BatchGetRecordResponse;
|
|
59
41
|
(function (BatchGetRecordResponse) {
|
|
60
|
-
/**
|
|
61
|
-
* @internal
|
|
62
|
-
*/
|
|
63
42
|
BatchGetRecordResponse.filterSensitiveLog = (obj) => ({
|
|
64
43
|
...obj,
|
|
65
44
|
});
|
|
66
45
|
})(BatchGetRecordResponse = exports.BatchGetRecordResponse || (exports.BatchGetRecordResponse = {}));
|
|
67
46
|
var InternalFailure;
|
|
68
47
|
(function (InternalFailure) {
|
|
69
|
-
/**
|
|
70
|
-
* @internal
|
|
71
|
-
*/
|
|
72
48
|
InternalFailure.filterSensitiveLog = (obj) => ({
|
|
73
49
|
...obj,
|
|
74
50
|
});
|
|
75
51
|
})(InternalFailure = exports.InternalFailure || (exports.InternalFailure = {}));
|
|
76
52
|
var ServiceUnavailable;
|
|
77
53
|
(function (ServiceUnavailable) {
|
|
78
|
-
/**
|
|
79
|
-
* @internal
|
|
80
|
-
*/
|
|
81
54
|
ServiceUnavailable.filterSensitiveLog = (obj) => ({
|
|
82
55
|
...obj,
|
|
83
56
|
});
|
|
84
57
|
})(ServiceUnavailable = exports.ServiceUnavailable || (exports.ServiceUnavailable = {}));
|
|
85
58
|
var ValidationError;
|
|
86
59
|
(function (ValidationError) {
|
|
87
|
-
/**
|
|
88
|
-
* @internal
|
|
89
|
-
*/
|
|
90
60
|
ValidationError.filterSensitiveLog = (obj) => ({
|
|
91
61
|
...obj,
|
|
92
62
|
});
|
|
93
63
|
})(ValidationError = exports.ValidationError || (exports.ValidationError = {}));
|
|
94
64
|
var DeleteRecordRequest;
|
|
95
65
|
(function (DeleteRecordRequest) {
|
|
96
|
-
/**
|
|
97
|
-
* @internal
|
|
98
|
-
*/
|
|
99
66
|
DeleteRecordRequest.filterSensitiveLog = (obj) => ({
|
|
100
67
|
...obj,
|
|
101
68
|
});
|
|
102
69
|
})(DeleteRecordRequest = exports.DeleteRecordRequest || (exports.DeleteRecordRequest = {}));
|
|
103
70
|
var GetRecordRequest;
|
|
104
71
|
(function (GetRecordRequest) {
|
|
105
|
-
/**
|
|
106
|
-
* @internal
|
|
107
|
-
*/
|
|
108
72
|
GetRecordRequest.filterSensitiveLog = (obj) => ({
|
|
109
73
|
...obj,
|
|
110
74
|
});
|
|
111
75
|
})(GetRecordRequest = exports.GetRecordRequest || (exports.GetRecordRequest = {}));
|
|
112
76
|
var GetRecordResponse;
|
|
113
77
|
(function (GetRecordResponse) {
|
|
114
|
-
/**
|
|
115
|
-
* @internal
|
|
116
|
-
*/
|
|
117
78
|
GetRecordResponse.filterSensitiveLog = (obj) => ({
|
|
118
79
|
...obj,
|
|
119
80
|
});
|
|
120
81
|
})(GetRecordResponse = exports.GetRecordResponse || (exports.GetRecordResponse = {}));
|
|
121
82
|
var ResourceNotFound;
|
|
122
83
|
(function (ResourceNotFound) {
|
|
123
|
-
/**
|
|
124
|
-
* @internal
|
|
125
|
-
*/
|
|
126
84
|
ResourceNotFound.filterSensitiveLog = (obj) => ({
|
|
127
85
|
...obj,
|
|
128
86
|
});
|
|
129
87
|
})(ResourceNotFound = exports.ResourceNotFound || (exports.ResourceNotFound = {}));
|
|
130
88
|
var PutRecordRequest;
|
|
131
89
|
(function (PutRecordRequest) {
|
|
132
|
-
/**
|
|
133
|
-
* @internal
|
|
134
|
-
*/
|
|
135
90
|
PutRecordRequest.filterSensitiveLog = (obj) => ({
|
|
136
91
|
...obj,
|
|
137
92
|
});
|
|
@@ -647,14 +647,12 @@ const deserializeMetadata = (output) => {
|
|
|
647
647
|
cfId: output.headers["x-amz-cf-id"],
|
|
648
648
|
});
|
|
649
649
|
};
|
|
650
|
-
// Collect low-level response body stream to Uint8Array.
|
|
651
650
|
const collectBody = (streamBody = new Uint8Array(), context) => {
|
|
652
651
|
if (streamBody instanceof Uint8Array) {
|
|
653
652
|
return Promise.resolve(streamBody);
|
|
654
653
|
}
|
|
655
654
|
return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
|
|
656
655
|
};
|
|
657
|
-
// Encode Uint8Array data into string with utf-8.
|
|
658
656
|
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
659
657
|
const isSerializableHeaderValue = (value) => value !== undefined &&
|
|
660
658
|
value !== null &&
|
|
@@ -667,9 +665,6 @@ const parseBody = (streamBody, context) => collectBodyString(streamBody, context
|
|
|
667
665
|
}
|
|
668
666
|
return {};
|
|
669
667
|
});
|
|
670
|
-
/**
|
|
671
|
-
* Load an error code for the aws.rest-json-1.1 protocol.
|
|
672
|
-
*/
|
|
673
668
|
const loadRestJsonErrorCode = (output, data) => {
|
|
674
669
|
const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
|
|
675
670
|
const sanitizeErrorCode = (rawValue) => {
|
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
|
|
6
|
-
const package_json_1 = tslib_1.__importDefault(require("../package.json")); // eslint-disable-line
|
|
5
|
+
const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
7
6
|
const sha256_browser_1 = require("@aws-crypto/sha256-browser");
|
|
8
7
|
const fetch_http_handler_1 = require("@aws-sdk/fetch-http-handler");
|
|
9
8
|
const invalid_dependency_1 = require("@aws-sdk/invalid-dependency");
|
|
@@ -13,9 +12,6 @@ const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
|
|
|
13
12
|
const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
|
|
14
13
|
const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
|
|
15
14
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
16
|
-
/**
|
|
17
|
-
* @internal
|
|
18
|
-
*/
|
|
19
15
|
const getRuntimeConfig = (config) => {
|
|
20
16
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
21
17
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
|
|
6
|
-
const package_json_1 = tslib_1.__importDefault(require("../package.json")); // eslint-disable-line
|
|
5
|
+
const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
7
6
|
const client_sts_1 = require("@aws-sdk/client-sts");
|
|
8
7
|
const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
9
8
|
const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
|
|
@@ -17,9 +16,6 @@ const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
|
|
|
17
16
|
const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
|
|
18
17
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
19
18
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
20
|
-
/**
|
|
21
|
-
* @internal
|
|
22
|
-
*/
|
|
23
19
|
const getRuntimeConfig = (config) => {
|
|
24
20
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
25
21
|
smithy_client_1.emitWarningIfUnsupportedVersion(process.version);
|
|
@@ -3,9 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const sha256_js_1 = require("@aws-crypto/sha256-js");
|
|
5
5
|
const runtimeConfig_browser_1 = require("./runtimeConfig.browser");
|
|
6
|
-
/**
|
|
7
|
-
* @internal
|
|
8
|
-
*/
|
|
9
6
|
const getRuntimeConfig = (config) => {
|
|
10
7
|
var _a;
|
|
11
8
|
const browserDefaults = runtimeConfig_browser_1.getRuntimeConfig(config);
|
|
@@ -3,9 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const url_parser_1 = require("@aws-sdk/url-parser");
|
|
5
5
|
const endpoints_1 = require("./endpoints");
|
|
6
|
-
/**
|
|
7
|
-
* @internal
|
|
8
|
-
*/
|
|
9
6
|
const getRuntimeConfig = (config) => {
|
|
10
7
|
var _a, _b, _c, _d, _e;
|
|
11
8
|
return ({
|
|
@@ -4,65 +4,21 @@ 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
|
-
|
|
8
|
-
* <p>Contains all data plane API operations and data types for the Amazon SageMaker Feature
|
|
9
|
-
* Store. Use this API to put, delete, and retrieve (get) features from a feature
|
|
10
|
-
* store.</p>
|
|
11
|
-
* <p>Use the following operations to configure your <code>OnlineStore</code> and
|
|
12
|
-
* <code>OfflineStore</code> features, and to create and manage feature groups:</p>
|
|
13
|
-
* <ul>
|
|
14
|
-
* <li>
|
|
15
|
-
* <p>
|
|
16
|
-
* <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateFeatureGroup.html">CreateFeatureGroup</a>
|
|
17
|
-
* </p>
|
|
18
|
-
* </li>
|
|
19
|
-
* <li>
|
|
20
|
-
* <p>
|
|
21
|
-
* <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_DeleteFeatureGroup.html">DeleteFeatureGroup</a>
|
|
22
|
-
* </p>
|
|
23
|
-
* </li>
|
|
24
|
-
* <li>
|
|
25
|
-
* <p>
|
|
26
|
-
* <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_DescribeFeatureGroup.html">DescribeFeatureGroup</a>
|
|
27
|
-
* </p>
|
|
28
|
-
* </li>
|
|
29
|
-
* <li>
|
|
30
|
-
* <p>
|
|
31
|
-
* <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_ListFeatureGroups.html">ListFeatureGroups</a>
|
|
32
|
-
* </p>
|
|
33
|
-
* </li>
|
|
34
|
-
* </ul>
|
|
35
|
-
*/
|
|
7
|
+
|
|
36
8
|
export declare class SageMakerFeatureStoreRuntime extends SageMakerFeatureStoreRuntimeClient {
|
|
37
|
-
|
|
38
|
-
* <p>Retrieves a batch of <code>Records</code> from a <code>FeatureGroup</code>.</p>
|
|
39
|
-
*/
|
|
9
|
+
|
|
40
10
|
batchGetRecord(args: BatchGetRecordCommandInput, options?: __HttpHandlerOptions): Promise<BatchGetRecordCommandOutput>;
|
|
41
11
|
batchGetRecord(args: BatchGetRecordCommandInput, cb: (err: any, data?: BatchGetRecordCommandOutput) => void): void;
|
|
42
12
|
batchGetRecord(args: BatchGetRecordCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchGetRecordCommandOutput) => void): void;
|
|
43
|
-
|
|
44
|
-
* <p>Deletes a <code>Record</code> from a <code>FeatureGroup</code>. A new record will show
|
|
45
|
-
* up in the <code>OfflineStore</code> when the <code>DeleteRecord</code> API is called. This
|
|
46
|
-
* record will have a value of <code>True</code> in the <code>is_deleted</code> column.</p>
|
|
47
|
-
*/
|
|
13
|
+
|
|
48
14
|
deleteRecord(args: DeleteRecordCommandInput, options?: __HttpHandlerOptions): Promise<DeleteRecordCommandOutput>;
|
|
49
15
|
deleteRecord(args: DeleteRecordCommandInput, cb: (err: any, data?: DeleteRecordCommandOutput) => void): void;
|
|
50
16
|
deleteRecord(args: DeleteRecordCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteRecordCommandOutput) => void): void;
|
|
51
|
-
|
|
52
|
-
* <p>Use for <code>OnlineStore</code> serving from a <code>FeatureStore</code>. Only the
|
|
53
|
-
* latest records stored in the <code>OnlineStore</code> can be retrieved. If no Record with
|
|
54
|
-
* <code>RecordIdentifierValue</code> is found, then an empty result is returned. </p>
|
|
55
|
-
*/
|
|
17
|
+
|
|
56
18
|
getRecord(args: GetRecordCommandInput, options?: __HttpHandlerOptions): Promise<GetRecordCommandOutput>;
|
|
57
19
|
getRecord(args: GetRecordCommandInput, cb: (err: any, data?: GetRecordCommandOutput) => void): void;
|
|
58
20
|
getRecord(args: GetRecordCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetRecordCommandOutput) => void): void;
|
|
59
|
-
|
|
60
|
-
* <p>Used for data ingestion into the <code>FeatureStore</code>. The <code>PutRecord</code>
|
|
61
|
-
* API writes to both the <code>OnlineStore</code> and <code>OfflineStore</code>. If the
|
|
62
|
-
* record is the latest record for the <code>recordIdentifier</code>, the record is written to
|
|
63
|
-
* both the <code>OnlineStore</code> and <code>OfflineStore</code>. If the record is a
|
|
64
|
-
* historic record, it is written only to the <code>OfflineStore</code>.</p>
|
|
65
|
-
*/
|
|
21
|
+
|
|
66
22
|
putRecord(args: PutRecordCommandInput, options?: __HttpHandlerOptions): Promise<PutRecordCommandOutput>;
|
|
67
23
|
putRecord(args: PutRecordCommandInput, cb: (err: any, data?: PutRecordCommandOutput) => void): void;
|
|
68
24
|
putRecord(args: PutRecordCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutRecordCommandOutput) => void): void;
|
|
@@ -13,150 +13,59 @@ import { PutRecordCommandInput, PutRecordCommandOutput } from "./commands/PutRec
|
|
|
13
13
|
export declare type ServiceInputTypes = BatchGetRecordCommandInput | DeleteRecordCommandInput | GetRecordCommandInput | PutRecordCommandInput;
|
|
14
14
|
export declare type ServiceOutputTypes = BatchGetRecordCommandOutput | DeleteRecordCommandOutput | GetRecordCommandOutput | PutRecordCommandOutput;
|
|
15
15
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
16
|
-
|
|
17
|
-
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
18
|
-
*/
|
|
16
|
+
|
|
19
17
|
requestHandler?: __HttpHandler;
|
|
20
|
-
|
|
21
|
-
* A constructor for a class implementing the {@link __Hash} interface
|
|
22
|
-
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
23
|
-
* @internal
|
|
24
|
-
*/
|
|
18
|
+
|
|
25
19
|
sha256?: __HashConstructor;
|
|
26
|
-
|
|
27
|
-
* The function that will be used to convert strings into HTTP endpoints.
|
|
28
|
-
* @internal
|
|
29
|
-
*/
|
|
20
|
+
|
|
30
21
|
urlParser?: __UrlParser;
|
|
31
|
-
|
|
32
|
-
* A function that can calculate the length of a request body.
|
|
33
|
-
* @internal
|
|
34
|
-
*/
|
|
22
|
+
|
|
35
23
|
bodyLengthChecker?: (body: any) => number | undefined;
|
|
36
|
-
|
|
37
|
-
* A function that converts a stream into an array of bytes.
|
|
38
|
-
* @internal
|
|
39
|
-
*/
|
|
24
|
+
|
|
40
25
|
streamCollector?: __StreamCollector;
|
|
41
|
-
|
|
42
|
-
* The function that will be used to convert a base64-encoded string to a byte array.
|
|
43
|
-
* @internal
|
|
44
|
-
*/
|
|
26
|
+
|
|
45
27
|
base64Decoder?: __Decoder;
|
|
46
|
-
|
|
47
|
-
* The function that will be used to convert binary data to a base64-encoded string.
|
|
48
|
-
* @internal
|
|
49
|
-
*/
|
|
28
|
+
|
|
50
29
|
base64Encoder?: __Encoder;
|
|
51
|
-
|
|
52
|
-
* The function that will be used to convert a UTF8-encoded string to a byte array.
|
|
53
|
-
* @internal
|
|
54
|
-
*/
|
|
30
|
+
|
|
55
31
|
utf8Decoder?: __Decoder;
|
|
56
|
-
|
|
57
|
-
* The function that will be used to convert binary data to a UTF-8 encoded string.
|
|
58
|
-
* @internal
|
|
59
|
-
*/
|
|
32
|
+
|
|
60
33
|
utf8Encoder?: __Encoder;
|
|
61
|
-
|
|
62
|
-
* The runtime environment.
|
|
63
|
-
* @internal
|
|
64
|
-
*/
|
|
34
|
+
|
|
65
35
|
runtime?: string;
|
|
66
|
-
|
|
67
|
-
* Disable dyanamically changing the endpoint of the client based on the hostPrefix
|
|
68
|
-
* trait of an operation.
|
|
69
|
-
*/
|
|
36
|
+
|
|
70
37
|
disableHostPrefix?: boolean;
|
|
71
|
-
|
|
72
|
-
* Value for how many times a request will be made at most in case of retry.
|
|
73
|
-
*/
|
|
38
|
+
|
|
74
39
|
maxAttempts?: number | __Provider<number>;
|
|
75
|
-
|
|
76
|
-
* Specifies which retry algorithm to use.
|
|
77
|
-
*/
|
|
40
|
+
|
|
78
41
|
retryMode?: string | __Provider<string>;
|
|
79
|
-
|
|
80
|
-
* Optional logger for logging debug/info/warn/error.
|
|
81
|
-
*/
|
|
42
|
+
|
|
82
43
|
logger?: __Logger;
|
|
83
|
-
|
|
84
|
-
* Unique service identifier.
|
|
85
|
-
* @internal
|
|
86
|
-
*/
|
|
44
|
+
|
|
87
45
|
serviceId?: string;
|
|
88
|
-
|
|
89
|
-
* The AWS region to which this client will send requests
|
|
90
|
-
*/
|
|
46
|
+
|
|
91
47
|
region?: string | __Provider<string>;
|
|
92
|
-
|
|
93
|
-
* Default credentials provider; Not available in browser runtime.
|
|
94
|
-
* @internal
|
|
95
|
-
*/
|
|
48
|
+
|
|
96
49
|
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
97
|
-
|
|
98
|
-
* Fetch related hostname, signing name or signing region with given region.
|
|
99
|
-
* @internal
|
|
100
|
-
*/
|
|
50
|
+
|
|
101
51
|
regionInfoProvider?: RegionInfoProvider;
|
|
102
|
-
|
|
103
|
-
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
104
|
-
* @internal
|
|
105
|
-
*/
|
|
52
|
+
|
|
106
53
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
107
54
|
}
|
|
108
55
|
declare type SageMakerFeatureStoreRuntimeClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
|
|
109
|
-
|
|
110
|
-
* The configuration interface of SageMakerFeatureStoreRuntimeClient class constructor that set the region, credentials and other options.
|
|
111
|
-
*/
|
|
56
|
+
|
|
112
57
|
export interface SageMakerFeatureStoreRuntimeClientConfig extends SageMakerFeatureStoreRuntimeClientConfigType {
|
|
113
58
|
}
|
|
114
59
|
declare type SageMakerFeatureStoreRuntimeClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointsResolvedConfig & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig;
|
|
115
|
-
|
|
116
|
-
* The resolved configuration interface of SageMakerFeatureStoreRuntimeClient class. This is resolved and normalized from the {@link SageMakerFeatureStoreRuntimeClientConfig | constructor configuration interface}.
|
|
117
|
-
*/
|
|
60
|
+
|
|
118
61
|
export interface SageMakerFeatureStoreRuntimeClientResolvedConfig extends SageMakerFeatureStoreRuntimeClientResolvedConfigType {
|
|
119
62
|
}
|
|
120
|
-
|
|
121
|
-
* <p>Contains all data plane API operations and data types for the Amazon SageMaker Feature
|
|
122
|
-
* Store. Use this API to put, delete, and retrieve (get) features from a feature
|
|
123
|
-
* store.</p>
|
|
124
|
-
* <p>Use the following operations to configure your <code>OnlineStore</code> and
|
|
125
|
-
* <code>OfflineStore</code> features, and to create and manage feature groups:</p>
|
|
126
|
-
* <ul>
|
|
127
|
-
* <li>
|
|
128
|
-
* <p>
|
|
129
|
-
* <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateFeatureGroup.html">CreateFeatureGroup</a>
|
|
130
|
-
* </p>
|
|
131
|
-
* </li>
|
|
132
|
-
* <li>
|
|
133
|
-
* <p>
|
|
134
|
-
* <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_DeleteFeatureGroup.html">DeleteFeatureGroup</a>
|
|
135
|
-
* </p>
|
|
136
|
-
* </li>
|
|
137
|
-
* <li>
|
|
138
|
-
* <p>
|
|
139
|
-
* <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_DescribeFeatureGroup.html">DescribeFeatureGroup</a>
|
|
140
|
-
* </p>
|
|
141
|
-
* </li>
|
|
142
|
-
* <li>
|
|
143
|
-
* <p>
|
|
144
|
-
* <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_ListFeatureGroups.html">ListFeatureGroups</a>
|
|
145
|
-
* </p>
|
|
146
|
-
* </li>
|
|
147
|
-
* </ul>
|
|
148
|
-
*/
|
|
63
|
+
|
|
149
64
|
export declare class SageMakerFeatureStoreRuntimeClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, SageMakerFeatureStoreRuntimeClientResolvedConfig> {
|
|
150
|
-
|
|
151
|
-
* The resolved configuration of SageMakerFeatureStoreRuntimeClient class. This is resolved and normalized from the {@link SageMakerFeatureStoreRuntimeClientConfig | constructor configuration interface}.
|
|
152
|
-
*/
|
|
65
|
+
|
|
153
66
|
readonly config: SageMakerFeatureStoreRuntimeClientResolvedConfig;
|
|
154
67
|
constructor(configuration: SageMakerFeatureStoreRuntimeClientConfig);
|
|
155
|
-
|
|
156
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
157
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
158
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
159
|
-
*/
|
|
68
|
+
|
|
160
69
|
destroy(): void;
|
|
161
70
|
}
|
|
162
71
|
export {};
|
|
@@ -6,29 +6,11 @@ export interface BatchGetRecordCommandInput extends BatchGetRecordRequest {
|
|
|
6
6
|
}
|
|
7
7
|
export interface BatchGetRecordCommandOutput extends BatchGetRecordResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Retrieves a batch of <code>Records</code> from a <code>FeatureGroup</code>.</p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { SageMakerFeatureStoreRuntimeClient, BatchGetRecordCommand } from "@aws-sdk/client-sagemaker-featurestore-runtime"; // ES Modules import
|
|
15
|
-
* // const { SageMakerFeatureStoreRuntimeClient, BatchGetRecordCommand } = require("@aws-sdk/client-sagemaker-featurestore-runtime"); // CommonJS import
|
|
16
|
-
* const client = new SageMakerFeatureStoreRuntimeClient(config);
|
|
17
|
-
* const command = new BatchGetRecordCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link BatchGetRecordCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link BatchGetRecordCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link SageMakerFeatureStoreRuntimeClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
9
|
+
|
|
26
10
|
export declare class BatchGetRecordCommand extends $Command<BatchGetRecordCommandInput, BatchGetRecordCommandOutput, SageMakerFeatureStoreRuntimeClientResolvedConfig> {
|
|
27
11
|
readonly input: BatchGetRecordCommandInput;
|
|
28
12
|
constructor(input: BatchGetRecordCommandInput);
|
|
29
|
-
|
|
30
|
-
* @internal
|
|
31
|
-
*/
|
|
13
|
+
|
|
32
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SageMakerFeatureStoreRuntimeClientResolvedConfig, options?: __HttpHandlerOptions): Handler<BatchGetRecordCommandInput, BatchGetRecordCommandOutput>;
|
|
33
15
|
private serialize;
|
|
34
16
|
private deserialize;
|
|
@@ -6,31 +6,11 @@ export interface DeleteRecordCommandInput extends DeleteRecordRequest {
|
|
|
6
6
|
}
|
|
7
7
|
export interface DeleteRecordCommandOutput extends __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Deletes a <code>Record</code> from a <code>FeatureGroup</code>. A new record will show
|
|
11
|
-
* up in the <code>OfflineStore</code> when the <code>DeleteRecord</code> API is called. This
|
|
12
|
-
* record will have a value of <code>True</code> in the <code>is_deleted</code> column.</p>
|
|
13
|
-
* @example
|
|
14
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
-
* ```javascript
|
|
16
|
-
* import { SageMakerFeatureStoreRuntimeClient, DeleteRecordCommand } from "@aws-sdk/client-sagemaker-featurestore-runtime"; // ES Modules import
|
|
17
|
-
* // const { SageMakerFeatureStoreRuntimeClient, DeleteRecordCommand } = require("@aws-sdk/client-sagemaker-featurestore-runtime"); // CommonJS import
|
|
18
|
-
* const client = new SageMakerFeatureStoreRuntimeClient(config);
|
|
19
|
-
* const command = new DeleteRecordCommand(input);
|
|
20
|
-
* const response = await client.send(command);
|
|
21
|
-
* ```
|
|
22
|
-
*
|
|
23
|
-
* @see {@link DeleteRecordCommandInput} for command's `input` shape.
|
|
24
|
-
* @see {@link DeleteRecordCommandOutput} for command's `response` shape.
|
|
25
|
-
* @see {@link SageMakerFeatureStoreRuntimeClientResolvedConfig | config} for command's `input` shape.
|
|
26
|
-
*
|
|
27
|
-
*/
|
|
9
|
+
|
|
28
10
|
export declare class DeleteRecordCommand extends $Command<DeleteRecordCommandInput, DeleteRecordCommandOutput, SageMakerFeatureStoreRuntimeClientResolvedConfig> {
|
|
29
11
|
readonly input: DeleteRecordCommandInput;
|
|
30
12
|
constructor(input: DeleteRecordCommandInput);
|
|
31
|
-
|
|
32
|
-
* @internal
|
|
33
|
-
*/
|
|
13
|
+
|
|
34
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SageMakerFeatureStoreRuntimeClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteRecordCommandInput, DeleteRecordCommandOutput>;
|
|
35
15
|
private serialize;
|
|
36
16
|
private deserialize;
|
|
@@ -6,31 +6,11 @@ export interface GetRecordCommandInput extends GetRecordRequest {
|
|
|
6
6
|
}
|
|
7
7
|
export interface GetRecordCommandOutput extends GetRecordResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Use for <code>OnlineStore</code> serving from a <code>FeatureStore</code>. Only the
|
|
11
|
-
* latest records stored in the <code>OnlineStore</code> can be retrieved. If no Record with
|
|
12
|
-
* <code>RecordIdentifierValue</code> is found, then an empty result is returned. </p>
|
|
13
|
-
* @example
|
|
14
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
-
* ```javascript
|
|
16
|
-
* import { SageMakerFeatureStoreRuntimeClient, GetRecordCommand } from "@aws-sdk/client-sagemaker-featurestore-runtime"; // ES Modules import
|
|
17
|
-
* // const { SageMakerFeatureStoreRuntimeClient, GetRecordCommand } = require("@aws-sdk/client-sagemaker-featurestore-runtime"); // CommonJS import
|
|
18
|
-
* const client = new SageMakerFeatureStoreRuntimeClient(config);
|
|
19
|
-
* const command = new GetRecordCommand(input);
|
|
20
|
-
* const response = await client.send(command);
|
|
21
|
-
* ```
|
|
22
|
-
*
|
|
23
|
-
* @see {@link GetRecordCommandInput} for command's `input` shape.
|
|
24
|
-
* @see {@link GetRecordCommandOutput} for command's `response` shape.
|
|
25
|
-
* @see {@link SageMakerFeatureStoreRuntimeClientResolvedConfig | config} for command's `input` shape.
|
|
26
|
-
*
|
|
27
|
-
*/
|
|
9
|
+
|
|
28
10
|
export declare class GetRecordCommand extends $Command<GetRecordCommandInput, GetRecordCommandOutput, SageMakerFeatureStoreRuntimeClientResolvedConfig> {
|
|
29
11
|
readonly input: GetRecordCommandInput;
|
|
30
12
|
constructor(input: GetRecordCommandInput);
|
|
31
|
-
|
|
32
|
-
* @internal
|
|
33
|
-
*/
|
|
13
|
+
|
|
34
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SageMakerFeatureStoreRuntimeClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetRecordCommandInput, GetRecordCommandOutput>;
|
|
35
15
|
private serialize;
|
|
36
16
|
private deserialize;
|
|
@@ -6,33 +6,11 @@ export interface PutRecordCommandInput extends PutRecordRequest {
|
|
|
6
6
|
}
|
|
7
7
|
export interface PutRecordCommandOutput extends __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Used for data ingestion into the <code>FeatureStore</code>. The <code>PutRecord</code>
|
|
11
|
-
* API writes to both the <code>OnlineStore</code> and <code>OfflineStore</code>. If the
|
|
12
|
-
* record is the latest record for the <code>recordIdentifier</code>, the record is written to
|
|
13
|
-
* both the <code>OnlineStore</code> and <code>OfflineStore</code>. If the record is a
|
|
14
|
-
* historic record, it is written only to the <code>OfflineStore</code>.</p>
|
|
15
|
-
* @example
|
|
16
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
17
|
-
* ```javascript
|
|
18
|
-
* import { SageMakerFeatureStoreRuntimeClient, PutRecordCommand } from "@aws-sdk/client-sagemaker-featurestore-runtime"; // ES Modules import
|
|
19
|
-
* // const { SageMakerFeatureStoreRuntimeClient, PutRecordCommand } = require("@aws-sdk/client-sagemaker-featurestore-runtime"); // CommonJS import
|
|
20
|
-
* const client = new SageMakerFeatureStoreRuntimeClient(config);
|
|
21
|
-
* const command = new PutRecordCommand(input);
|
|
22
|
-
* const response = await client.send(command);
|
|
23
|
-
* ```
|
|
24
|
-
*
|
|
25
|
-
* @see {@link PutRecordCommandInput} for command's `input` shape.
|
|
26
|
-
* @see {@link PutRecordCommandOutput} for command's `response` shape.
|
|
27
|
-
* @see {@link SageMakerFeatureStoreRuntimeClientResolvedConfig | config} for command's `input` shape.
|
|
28
|
-
*
|
|
29
|
-
*/
|
|
9
|
+
|
|
30
10
|
export declare class PutRecordCommand extends $Command<PutRecordCommandInput, PutRecordCommandOutput, SageMakerFeatureStoreRuntimeClientResolvedConfig> {
|
|
31
11
|
readonly input: PutRecordCommandInput;
|
|
32
12
|
constructor(input: PutRecordCommandInput);
|
|
33
|
-
|
|
34
|
-
* @internal
|
|
35
|
-
*/
|
|
13
|
+
|
|
36
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SageMakerFeatureStoreRuntimeClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutRecordCommandInput, PutRecordCommandOutput>;
|
|
37
15
|
private serialize;
|
|
38
16
|
private deserialize;
|
|
@@ -1,285 +1,165 @@
|
|
|
1
1
|
import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
* <p>You do not have permission to perform an action.</p>
|
|
4
|
-
*/
|
|
2
|
+
|
|
5
3
|
export interface AccessForbidden extends __SmithyException, $MetadataBearer {
|
|
6
4
|
name: "AccessForbidden";
|
|
7
5
|
$fault: "client";
|
|
8
6
|
Message?: string;
|
|
9
7
|
}
|
|
10
8
|
export declare namespace AccessForbidden {
|
|
11
|
-
|
|
12
|
-
* @internal
|
|
13
|
-
*/
|
|
9
|
+
|
|
14
10
|
const filterSensitiveLog: (obj: AccessForbidden) => any;
|
|
15
11
|
}
|
|
16
|
-
|
|
17
|
-
* <p>The identifier that identifies the batch of Records you are retrieving in a batch.</p>
|
|
18
|
-
*/
|
|
12
|
+
|
|
19
13
|
export interface BatchGetRecordIdentifier {
|
|
20
|
-
|
|
21
|
-
* <p>A <code>FeatureGroupName</code> containing Records you are retrieving in a batch.</p>
|
|
22
|
-
*/
|
|
14
|
+
|
|
23
15
|
FeatureGroupName: string | undefined;
|
|
24
|
-
|
|
25
|
-
* <p>The value for a list of record identifiers in string format.</p>
|
|
26
|
-
*/
|
|
16
|
+
|
|
27
17
|
RecordIdentifiersValueAsString: string[] | undefined;
|
|
28
|
-
|
|
29
|
-
* <p>List of names of Features to be retrieved. If not specified, the latest value for all
|
|
30
|
-
* the Features are returned.</p>
|
|
31
|
-
*/
|
|
18
|
+
|
|
32
19
|
FeatureNames?: string[];
|
|
33
20
|
}
|
|
34
21
|
export declare namespace BatchGetRecordIdentifier {
|
|
35
|
-
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
22
|
+
|
|
38
23
|
const filterSensitiveLog: (obj: BatchGetRecordIdentifier) => any;
|
|
39
24
|
}
|
|
40
25
|
export interface BatchGetRecordRequest {
|
|
41
|
-
|
|
42
|
-
* <p>A list of <code>FeatureGroup</code> names, with their corresponding <code>RecordIdentifier</code> value, and Feature name
|
|
43
|
-
* that have been requested to be retrieved in batch.</p>
|
|
44
|
-
*/
|
|
26
|
+
|
|
45
27
|
Identifiers: BatchGetRecordIdentifier[] | undefined;
|
|
46
28
|
}
|
|
47
29
|
export declare namespace BatchGetRecordRequest {
|
|
48
|
-
|
|
49
|
-
* @internal
|
|
50
|
-
*/
|
|
30
|
+
|
|
51
31
|
const filterSensitiveLog: (obj: BatchGetRecordRequest) => any;
|
|
52
32
|
}
|
|
53
|
-
|
|
54
|
-
* <p>The error that has occurred when attempting to retrieve a batch of Records.</p>
|
|
55
|
-
*/
|
|
33
|
+
|
|
56
34
|
export interface BatchGetRecordError {
|
|
57
|
-
|
|
58
|
-
* <p>The name of the feature group that the record belongs to.</p>
|
|
59
|
-
*/
|
|
35
|
+
|
|
60
36
|
FeatureGroupName: string | undefined;
|
|
61
|
-
|
|
62
|
-
* <p>The value for the <code>RecordIdentifier</code> in string format of a Record from a <code>FeatureGroup</code> that is causing
|
|
63
|
-
* an error when attempting to be retrieved.</p>
|
|
64
|
-
*/
|
|
37
|
+
|
|
65
38
|
RecordIdentifierValueAsString: string | undefined;
|
|
66
|
-
|
|
67
|
-
* <p>The error code of an error that has occured when attempting to retrieve a batch of Records. For more information on errors, see <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_feature_store_GetRecord.html#API_feature_store_GetRecord_Errors"> Errors</a>.</p>
|
|
68
|
-
*/
|
|
39
|
+
|
|
69
40
|
ErrorCode: string | undefined;
|
|
70
|
-
|
|
71
|
-
* <p>The error message of an error that has occured when attempting to retrieve a record in the batch.</p>
|
|
72
|
-
*/
|
|
41
|
+
|
|
73
42
|
ErrorMessage: string | undefined;
|
|
74
43
|
}
|
|
75
44
|
export declare namespace BatchGetRecordError {
|
|
76
|
-
|
|
77
|
-
* @internal
|
|
78
|
-
*/
|
|
45
|
+
|
|
79
46
|
const filterSensitiveLog: (obj: BatchGetRecordError) => any;
|
|
80
47
|
}
|
|
81
|
-
|
|
82
|
-
* <p>The value associated with a feature.</p>
|
|
83
|
-
*/
|
|
48
|
+
|
|
84
49
|
export interface FeatureValue {
|
|
85
|
-
|
|
86
|
-
* <p>The name of a feature that a feature value corresponds to.</p>
|
|
87
|
-
*/
|
|
50
|
+
|
|
88
51
|
FeatureName: string | undefined;
|
|
89
|
-
|
|
90
|
-
* <p>The value associated with a feature, in string format. Note that features types can be
|
|
91
|
-
* String, Integral, or Fractional. This value represents all three types as a string.</p>
|
|
92
|
-
*/
|
|
52
|
+
|
|
93
53
|
ValueAsString: string | undefined;
|
|
94
54
|
}
|
|
95
55
|
export declare namespace FeatureValue {
|
|
96
|
-
|
|
97
|
-
* @internal
|
|
98
|
-
*/
|
|
56
|
+
|
|
99
57
|
const filterSensitiveLog: (obj: FeatureValue) => any;
|
|
100
58
|
}
|
|
101
|
-
|
|
102
|
-
* <p>The output of Records that have been retrieved in a batch.</p>
|
|
103
|
-
*/
|
|
59
|
+
|
|
104
60
|
export interface BatchGetRecordResultDetail {
|
|
105
|
-
|
|
106
|
-
* <p>The <code>FeatureGroupName</code> containing Records you retrieved in a batch.</p>
|
|
107
|
-
*/
|
|
61
|
+
|
|
108
62
|
FeatureGroupName: string | undefined;
|
|
109
|
-
|
|
110
|
-
* <p>The value of the record identifer in string format.</p>
|
|
111
|
-
*/
|
|
63
|
+
|
|
112
64
|
RecordIdentifierValueAsString: string | undefined;
|
|
113
|
-
|
|
114
|
-
* <p>The <code>Record</code> retrieved.</p>
|
|
115
|
-
*/
|
|
65
|
+
|
|
116
66
|
Record: FeatureValue[] | undefined;
|
|
117
67
|
}
|
|
118
68
|
export declare namespace BatchGetRecordResultDetail {
|
|
119
|
-
|
|
120
|
-
* @internal
|
|
121
|
-
*/
|
|
69
|
+
|
|
122
70
|
const filterSensitiveLog: (obj: BatchGetRecordResultDetail) => any;
|
|
123
71
|
}
|
|
124
72
|
export interface BatchGetRecordResponse {
|
|
125
|
-
|
|
126
|
-
* <p>A list of Records you requested to be retrieved in batch.</p>
|
|
127
|
-
*/
|
|
73
|
+
|
|
128
74
|
Records: BatchGetRecordResultDetail[] | undefined;
|
|
129
|
-
|
|
130
|
-
* <p>A list of errors that have occured when retrieving a batch of Records.</p>
|
|
131
|
-
*/
|
|
75
|
+
|
|
132
76
|
Errors: BatchGetRecordError[] | undefined;
|
|
133
|
-
|
|
134
|
-
* <p>A unprocessed list of <code>FeatureGroup</code> names, with their corresponding <code>RecordIdentifier</code> value,
|
|
135
|
-
* and Feature name.</p>
|
|
136
|
-
*/
|
|
77
|
+
|
|
137
78
|
UnprocessedIdentifiers: BatchGetRecordIdentifier[] | undefined;
|
|
138
79
|
}
|
|
139
80
|
export declare namespace BatchGetRecordResponse {
|
|
140
|
-
|
|
141
|
-
* @internal
|
|
142
|
-
*/
|
|
81
|
+
|
|
143
82
|
const filterSensitiveLog: (obj: BatchGetRecordResponse) => any;
|
|
144
83
|
}
|
|
145
|
-
|
|
146
|
-
* <p>An internal failure occurred. Try your request again. If the problem
|
|
147
|
-
* persists, contact AWS customer support.</p>
|
|
148
|
-
*/
|
|
84
|
+
|
|
149
85
|
export interface InternalFailure extends __SmithyException, $MetadataBearer {
|
|
150
86
|
name: "InternalFailure";
|
|
151
87
|
$fault: "server";
|
|
152
88
|
Message?: string;
|
|
153
89
|
}
|
|
154
90
|
export declare namespace InternalFailure {
|
|
155
|
-
|
|
156
|
-
* @internal
|
|
157
|
-
*/
|
|
91
|
+
|
|
158
92
|
const filterSensitiveLog: (obj: InternalFailure) => any;
|
|
159
93
|
}
|
|
160
|
-
|
|
161
|
-
* <p>The service is currently unavailable.</p>
|
|
162
|
-
*/
|
|
94
|
+
|
|
163
95
|
export interface ServiceUnavailable extends __SmithyException, $MetadataBearer {
|
|
164
96
|
name: "ServiceUnavailable";
|
|
165
97
|
$fault: "server";
|
|
166
98
|
Message?: string;
|
|
167
99
|
}
|
|
168
100
|
export declare namespace ServiceUnavailable {
|
|
169
|
-
|
|
170
|
-
* @internal
|
|
171
|
-
*/
|
|
101
|
+
|
|
172
102
|
const filterSensitiveLog: (obj: ServiceUnavailable) => any;
|
|
173
103
|
}
|
|
174
|
-
|
|
175
|
-
* <p>There was an error validating your request.</p>
|
|
176
|
-
*/
|
|
104
|
+
|
|
177
105
|
export interface ValidationError extends __SmithyException, $MetadataBearer {
|
|
178
106
|
name: "ValidationError";
|
|
179
107
|
$fault: "client";
|
|
180
108
|
Message?: string;
|
|
181
109
|
}
|
|
182
110
|
export declare namespace ValidationError {
|
|
183
|
-
|
|
184
|
-
* @internal
|
|
185
|
-
*/
|
|
111
|
+
|
|
186
112
|
const filterSensitiveLog: (obj: ValidationError) => any;
|
|
187
113
|
}
|
|
188
114
|
export interface DeleteRecordRequest {
|
|
189
|
-
|
|
190
|
-
* <p>The name of the feature group to delete the record from. </p>
|
|
191
|
-
*/
|
|
115
|
+
|
|
192
116
|
FeatureGroupName: string | undefined;
|
|
193
|
-
|
|
194
|
-
* <p>The value for the <code>RecordIdentifier</code> that uniquely identifies the record, in
|
|
195
|
-
* string format. </p>
|
|
196
|
-
*/
|
|
117
|
+
|
|
197
118
|
RecordIdentifierValueAsString: string | undefined;
|
|
198
|
-
|
|
199
|
-
* <p>Timestamp indicating when the deletion event occurred. <code>EventTime</code> can be
|
|
200
|
-
* used to query data at a certain point in time.</p>
|
|
201
|
-
*/
|
|
119
|
+
|
|
202
120
|
EventTime: string | undefined;
|
|
203
121
|
}
|
|
204
122
|
export declare namespace DeleteRecordRequest {
|
|
205
|
-
|
|
206
|
-
* @internal
|
|
207
|
-
*/
|
|
123
|
+
|
|
208
124
|
const filterSensitiveLog: (obj: DeleteRecordRequest) => any;
|
|
209
125
|
}
|
|
210
126
|
export interface GetRecordRequest {
|
|
211
|
-
|
|
212
|
-
* <p>The name of the feature group in which you want to put the records.</p>
|
|
213
|
-
*/
|
|
127
|
+
|
|
214
128
|
FeatureGroupName: string | undefined;
|
|
215
|
-
|
|
216
|
-
* <p>The value that corresponds to <code>RecordIdentifier</code> type and uniquely identifies
|
|
217
|
-
* the record in the <code>FeatureGroup</code>. </p>
|
|
218
|
-
*/
|
|
129
|
+
|
|
219
130
|
RecordIdentifierValueAsString: string | undefined;
|
|
220
|
-
|
|
221
|
-
* <p>List of names of Features to be retrieved. If not specified, the latest value for all
|
|
222
|
-
* the Features are returned.</p>
|
|
223
|
-
*/
|
|
131
|
+
|
|
224
132
|
FeatureNames?: string[];
|
|
225
133
|
}
|
|
226
134
|
export declare namespace GetRecordRequest {
|
|
227
|
-
|
|
228
|
-
* @internal
|
|
229
|
-
*/
|
|
135
|
+
|
|
230
136
|
const filterSensitiveLog: (obj: GetRecordRequest) => any;
|
|
231
137
|
}
|
|
232
138
|
export interface GetRecordResponse {
|
|
233
|
-
|
|
234
|
-
* <p>The record you requested. A list of <code>FeatureValues</code>.</p>
|
|
235
|
-
*/
|
|
139
|
+
|
|
236
140
|
Record?: FeatureValue[];
|
|
237
141
|
}
|
|
238
142
|
export declare namespace GetRecordResponse {
|
|
239
|
-
|
|
240
|
-
* @internal
|
|
241
|
-
*/
|
|
143
|
+
|
|
242
144
|
const filterSensitiveLog: (obj: GetRecordResponse) => any;
|
|
243
145
|
}
|
|
244
|
-
|
|
245
|
-
* <p>A resource that is required to perform an action was not found.</p>
|
|
246
|
-
*/
|
|
146
|
+
|
|
247
147
|
export interface ResourceNotFound extends __SmithyException, $MetadataBearer {
|
|
248
148
|
name: "ResourceNotFound";
|
|
249
149
|
$fault: "client";
|
|
250
150
|
Message?: string;
|
|
251
151
|
}
|
|
252
152
|
export declare namespace ResourceNotFound {
|
|
253
|
-
|
|
254
|
-
* @internal
|
|
255
|
-
*/
|
|
153
|
+
|
|
256
154
|
const filterSensitiveLog: (obj: ResourceNotFound) => any;
|
|
257
155
|
}
|
|
258
156
|
export interface PutRecordRequest {
|
|
259
|
-
|
|
260
|
-
* <p>The name of the feature group that you want to insert the record into.</p>
|
|
261
|
-
*/
|
|
157
|
+
|
|
262
158
|
FeatureGroupName: string | undefined;
|
|
263
|
-
|
|
264
|
-
* <p>List of FeatureValues to be inserted. This will be a full over-write. If you only want
|
|
265
|
-
* to update few of the feature values, do the following:</p>
|
|
266
|
-
* <ul>
|
|
267
|
-
* <li>
|
|
268
|
-
* <p>Use <code>GetRecord</code> to retrieve the latest record.</p>
|
|
269
|
-
* </li>
|
|
270
|
-
* <li>
|
|
271
|
-
* <p>Update the record returned from <code>GetRecord</code>. </p>
|
|
272
|
-
* </li>
|
|
273
|
-
* <li>
|
|
274
|
-
* <p>Use <code>PutRecord</code> to update feature values.</p>
|
|
275
|
-
* </li>
|
|
276
|
-
* </ul>
|
|
277
|
-
*/
|
|
159
|
+
|
|
278
160
|
Record: FeatureValue[] | undefined;
|
|
279
161
|
}
|
|
280
162
|
export declare namespace PutRecordRequest {
|
|
281
|
-
|
|
282
|
-
* @internal
|
|
283
|
-
*/
|
|
163
|
+
|
|
284
164
|
const filterSensitiveLog: (obj: PutRecordRequest) => any;
|
|
285
165
|
}
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
|
|
2
2
|
import { SageMakerFeatureStoreRuntimeClientConfig } from "./SageMakerFeatureStoreRuntimeClient";
|
|
3
|
-
|
|
4
|
-
* @internal
|
|
5
|
-
*/
|
|
3
|
+
|
|
6
4
|
export declare const getRuntimeConfig: (config: SageMakerFeatureStoreRuntimeClientConfig) => {
|
|
7
5
|
runtime: string;
|
|
8
6
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
|
|
2
2
|
import { SageMakerFeatureStoreRuntimeClientConfig } from "./SageMakerFeatureStoreRuntimeClient";
|
|
3
|
-
|
|
4
|
-
* @internal
|
|
5
|
-
*/
|
|
3
|
+
|
|
6
4
|
export declare const getRuntimeConfig: (config: SageMakerFeatureStoreRuntimeClientConfig) => {
|
|
7
5
|
runtime: string;
|
|
8
6
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import { SageMakerFeatureStoreRuntimeClientConfig } from "./SageMakerFeatureStoreRuntimeClient";
|
|
2
|
-
|
|
3
|
-
* @internal
|
|
4
|
-
*/
|
|
2
|
+
|
|
5
3
|
export declare const getRuntimeConfig: (config: SageMakerFeatureStoreRuntimeClientConfig) => {
|
|
6
4
|
runtime: string;
|
|
7
5
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { Logger as __Logger } from "@aws-sdk/types";
|
|
2
2
|
import { SageMakerFeatureStoreRuntimeClientConfig } from "./SageMakerFeatureStoreRuntimeClient";
|
|
3
|
-
|
|
4
|
-
* @internal
|
|
5
|
-
*/
|
|
3
|
+
|
|
6
4
|
export declare const getRuntimeConfig: (config: SageMakerFeatureStoreRuntimeClientConfig) => {
|
|
7
5
|
apiVersion: string;
|
|
8
6
|
disableHostPrefix: boolean;
|
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.36.
|
|
4
|
+
"version": "3.36.1",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "yarn build:cjs && yarn build:es && yarn build:types",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.json",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "^1.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "^1.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.36.
|
|
24
|
+
"@aws-sdk/client-sts": "3.36.1",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.36.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.36.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.36.1",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.36.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.36.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.36.0",
|