@aws-sdk/client-sagemaker-featurestore-runtime 3.35.0 → 3.38.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 +47 -0
- package/dist-cjs/SageMakerFeatureStoreRuntime.js +0 -30
- package/dist-cjs/SageMakerFeatureStoreRuntimeClient.js +0 -35
- package/dist-cjs/commands/BatchGetRecordCommand.js +0 -25
- package/dist-cjs/commands/DeleteRecordCommand.js +0 -27
- package/dist-cjs/commands/GetRecordCommand.js +0 -27
- package/dist-cjs/commands/PutRecordCommand.js +0 -29
- package/dist-cjs/commands/index.js +7 -0
- package/dist-cjs/endpoints.js +1 -2
- package/dist-cjs/index.js +3 -7
- package/dist-cjs/models/index.js +0 -1
- package/dist-cjs/models/models_0.js +0 -46
- package/dist-cjs/protocols/Aws_restJson1.js +0 -6
- package/dist-cjs/runtimeConfig.browser.js +1 -6
- package/dist-cjs/runtimeConfig.js +2 -7
- package/dist-cjs/runtimeConfig.native.js +0 -4
- package/dist-cjs/runtimeConfig.shared.js +0 -4
- package/dist-es/SageMakerFeatureStoreRuntime.js +0 -1
- package/dist-es/SageMakerFeatureStoreRuntimeClient.js +0 -1
- package/dist-es/commands/BatchGetRecordCommand.js +0 -1
- package/dist-es/commands/DeleteRecordCommand.js +0 -1
- package/dist-es/commands/GetRecordCommand.js +0 -1
- package/dist-es/commands/PutRecordCommand.js +0 -1
- package/dist-es/commands/index.js +4 -0
- package/dist-es/endpoints.js +1 -2
- package/dist-es/index.js +3 -7
- package/dist-es/models/index.js +0 -1
- package/dist-es/models/models_0.js +0 -1
- package/dist-es/protocols/Aws_restJson1.js +0 -1
- package/dist-es/runtimeConfig.browser.js +1 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/runtimeConfig.native.js +0 -1
- package/dist-es/runtimeConfig.shared.js +0 -1
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/index.d.ts +3 -6
- 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/commands/index.d.ts +4 -0
- package/dist-types/ts3.4/index.d.ts +3 -6
- 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 +33 -30
- package/dist-cjs/SageMakerFeatureStoreRuntime.js.map +0 -1
- package/dist-cjs/SageMakerFeatureStoreRuntimeClient.js.map +0 -1
- package/dist-cjs/commands/BatchGetRecordCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteRecordCommand.js.map +0 -1
- package/dist-cjs/commands/GetRecordCommand.js.map +0 -1
- package/dist-cjs/commands/PutRecordCommand.js.map +0 -1
- package/dist-cjs/endpoints.js.map +0 -1
- package/dist-cjs/index.js.map +0 -1
- package/dist-cjs/models/index.js.map +0 -1
- package/dist-cjs/models/models_0.js.map +0 -1
- package/dist-cjs/protocols/Aws_restJson1.js.map +0 -1
- package/dist-cjs/runtimeConfig.browser.js.map +0 -1
- package/dist-cjs/runtimeConfig.js.map +0 -1
- package/dist-cjs/runtimeConfig.native.js.map +0 -1
- package/dist-cjs/runtimeConfig.shared.js.map +0 -1
- package/dist-es/SageMakerFeatureStoreRuntime.js.map +0 -1
- package/dist-es/SageMakerFeatureStoreRuntimeClient.js.map +0 -1
- package/dist-es/commands/BatchGetRecordCommand.js.map +0 -1
- package/dist-es/commands/DeleteRecordCommand.js.map +0 -1
- package/dist-es/commands/GetRecordCommand.js.map +0 -1
- package/dist-es/commands/PutRecordCommand.js.map +0 -1
- package/dist-es/endpoints.js.map +0 -1
- package/dist-es/index.js.map +0 -1
- package/dist-es/models/index.js.map +0 -1
- package/dist-es/models/models_0.js.map +0 -1
- package/dist-es/protocols/Aws_restJson1.js.map +0 -1
- package/dist-es/runtimeConfig.browser.js.map +0 -1
- package/dist-es/runtimeConfig.js.map +0 -1
- package/dist-es/runtimeConfig.native.js.map +0 -1
- package/dist-es/runtimeConfig.shared.js.map +0 -1
- package/jest.config.js +0 -4
- package/src/SageMakerFeatureStoreRuntime.ts +0 -167
- package/src/SageMakerFeatureStoreRuntimeClient.ts +0 -275
- package/src/commands/BatchGetRecordCommand.ts +0 -99
- package/src/commands/DeleteRecordCommand.ts +0 -101
- package/src/commands/GetRecordCommand.ts +0 -101
- package/src/commands/PutRecordCommand.ts +0 -103
- package/src/endpoints.ts +0 -57
- package/src/index.ts +0 -7
- package/src/models/index.ts +0 -1
- package/src/models/models_0.ts +0 -360
- package/src/protocols/Aws_restJson1.ts +0 -835
- package/src/runtimeConfig.browser.ts +0 -41
- package/src/runtimeConfig.native.ts +0 -17
- package/src/runtimeConfig.shared.ts +0 -17
- package/src/runtimeConfig.ts +0 -46
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -33
- package/tsconfig.types.json +0 -9
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,53 @@
|
|
|
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.38.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.37.0...v3.38.0) (2021-10-22)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **client-documentation-generator:** rename package ([#2916](https://github.com/aws/aws-sdk-js-v3/issues/2916)) ([1a80bfd](https://github.com/aws/aws-sdk-js-v3/commit/1a80bfd2dfc583001ddb4a21b6432eaaad699aa7))
|
|
12
|
+
* **clients:** export folder from index.ts ([#2912](https://github.com/aws/aws-sdk-js-v3/issues/2912)) ([183b46d](https://github.com/aws/aws-sdk-js-v3/commit/183b46dde7f5613128038bf1c076f3c0b693203b))
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
# [3.37.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.1...v3.37.0) (2021-10-15)
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
### Features
|
|
22
|
+
|
|
23
|
+
* **clients:** update clients as of 10/15/2021 ([#2902](https://github.com/aws/aws-sdk-js-v3/issues/2902)) ([2730b54](https://github.com/aws/aws-sdk-js-v3/commit/2730b5424377944a5a2ad5e1ad7d3ca4135dae1c))
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
## [3.36.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.0...v3.36.1) (2021-10-12)
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
### Bug Fixes
|
|
33
|
+
|
|
34
|
+
* **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))
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
# [3.36.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.35.0...v3.36.0) (2021-10-08)
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
### Features
|
|
44
|
+
|
|
45
|
+
* publish files in dist-* only ([#2873](https://github.com/aws/aws-sdk-js-v3/issues/2873)) ([53b4243](https://github.com/aws/aws-sdk-js-v3/commit/53b4243b066f25ff2412d5f0dea1036054b2df32))
|
|
46
|
+
* **codegen:** ts-ignore packageInfo imports in codegen ([#2875](https://github.com/aws/aws-sdk-js-v3/issues/2875)) ([99d9267](https://github.com/aws/aws-sdk-js-v3/commit/99d926762193e83a354edec6e9de2b0543449704))
|
|
47
|
+
* **tsconfig:** remove sourceMap ([#2867](https://github.com/aws/aws-sdk-js-v3/issues/2867)) ([d25f526](https://github.com/aws/aws-sdk-js-v3/commit/d25f526627a02a2ca28675fecce66c76b6c97966))
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
|
|
6
53
|
# [3.35.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.34.0...v3.35.0) (2021-10-04)
|
|
7
54
|
|
|
8
55
|
|
|
@@ -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);
|
|
@@ -94,4 +65,3 @@ class SageMakerFeatureStoreRuntime extends SageMakerFeatureStoreRuntimeClient_1.
|
|
|
94
65
|
}
|
|
95
66
|
}
|
|
96
67
|
exports.SageMakerFeatureStoreRuntime = SageMakerFeatureStoreRuntime;
|
|
97
|
-
//# sourceMappingURL=SageMakerFeatureStoreRuntime.js.map
|
|
@@ -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,14 +28,8 @@ 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
|
}
|
|
68
34
|
}
|
|
69
35
|
exports.SageMakerFeatureStoreRuntimeClient = SageMakerFeatureStoreRuntimeClient;
|
|
70
|
-
//# sourceMappingURL=SageMakerFeatureStoreRuntimeClient.js.map
|
|
@@ -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);
|
|
@@ -58,4 +34,3 @@ class BatchGetRecordCommand extends smithy_client_1.Command {
|
|
|
58
34
|
}
|
|
59
35
|
}
|
|
60
36
|
exports.BatchGetRecordCommand = BatchGetRecordCommand;
|
|
61
|
-
//# sourceMappingURL=BatchGetRecordCommand.js.map
|
|
@@ -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);
|
|
@@ -60,4 +34,3 @@ class DeleteRecordCommand extends smithy_client_1.Command {
|
|
|
60
34
|
}
|
|
61
35
|
}
|
|
62
36
|
exports.DeleteRecordCommand = DeleteRecordCommand;
|
|
63
|
-
//# sourceMappingURL=DeleteRecordCommand.js.map
|
|
@@ -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);
|
|
@@ -60,4 +34,3 @@ class GetRecordCommand extends smithy_client_1.Command {
|
|
|
60
34
|
}
|
|
61
35
|
}
|
|
62
36
|
exports.GetRecordCommand = GetRecordCommand;
|
|
63
|
-
//# sourceMappingURL=GetRecordCommand.js.map
|
|
@@ -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);
|
|
@@ -62,4 +34,3 @@ class PutRecordCommand extends smithy_client_1.Command {
|
|
|
62
34
|
}
|
|
63
35
|
}
|
|
64
36
|
exports.PutRecordCommand = PutRecordCommand;
|
|
65
|
-
//# sourceMappingURL=PutRecordCommand.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./BatchGetRecordCommand"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./DeleteRecordCommand"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./GetRecordCommand"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./PutRecordCommand"), exports);
|
package/dist-cjs/endpoints.js
CHANGED
|
@@ -35,7 +35,7 @@ const partitionHash = {
|
|
|
35
35
|
hostname: "featurestore-runtime.sagemaker.{region}.amazonaws.com.cn",
|
|
36
36
|
},
|
|
37
37
|
"aws-iso": {
|
|
38
|
-
regions: ["us-iso-east-1"],
|
|
38
|
+
regions: ["us-iso-east-1", "us-iso-west-1"],
|
|
39
39
|
hostname: "featurestore-runtime.sagemaker.{region}.c2s.ic.gov",
|
|
40
40
|
},
|
|
41
41
|
"aws-iso-b": {
|
|
@@ -54,4 +54,3 @@ const defaultRegionInfoProvider = async (region, options) => config_resolver_1.g
|
|
|
54
54
|
partitionHash,
|
|
55
55
|
});
|
|
56
56
|
exports.defaultRegionInfoProvider = defaultRegionInfoProvider;
|
|
57
|
-
//# sourceMappingURL=endpoints.js.map
|
package/dist-cjs/index.js
CHANGED
|
@@ -1,11 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
|
-
tslib_1.__exportStar(require("./SageMakerFeatureStoreRuntimeClient"), exports);
|
|
5
4
|
tslib_1.__exportStar(require("./SageMakerFeatureStoreRuntime"), exports);
|
|
6
|
-
tslib_1.__exportStar(require("./
|
|
7
|
-
tslib_1.__exportStar(require("./commands
|
|
8
|
-
tslib_1.__exportStar(require("./
|
|
9
|
-
tslib_1.__exportStar(require("./commands/PutRecordCommand"), exports);
|
|
10
|
-
tslib_1.__exportStar(require("./models/index"), exports);
|
|
11
|
-
//# sourceMappingURL=index.js.map
|
|
5
|
+
tslib_1.__exportStar(require("./SageMakerFeatureStoreRuntimeClient"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./commands"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./models"), exports);
|
package/dist-cjs/models/index.js
CHANGED
|
@@ -3,137 +3,91 @@ 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
|
});
|
|
138
93
|
})(PutRecordRequest = exports.PutRecordRequest || (exports.PutRecordRequest = {}));
|
|
139
|
-
//# sourceMappingURL=models_0.js.map
|
|
@@ -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) => {
|
|
@@ -694,4 +689,3 @@ const loadRestJsonErrorCode = (output, data) => {
|
|
|
694
689
|
}
|
|
695
690
|
return "";
|
|
696
691
|
};
|
|
697
|
-
//# sourceMappingURL=Aws_restJson1.js.map
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
+
const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
5
6
|
const sha256_browser_1 = require("@aws-crypto/sha256-browser");
|
|
6
7
|
const fetch_http_handler_1 = require("@aws-sdk/fetch-http-handler");
|
|
7
8
|
const invalid_dependency_1 = require("@aws-sdk/invalid-dependency");
|
|
@@ -10,12 +11,7 @@ const util_base64_browser_1 = require("@aws-sdk/util-base64-browser");
|
|
|
10
11
|
const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
|
|
11
12
|
const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
|
|
12
13
|
const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
|
|
13
|
-
// @ts-ignore: package.json will be imported from dist folders
|
|
14
|
-
const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
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);
|
|
@@ -39,4 +35,3 @@ const getRuntimeConfig = (config) => {
|
|
|
39
35
|
};
|
|
40
36
|
};
|
|
41
37
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
42
|
-
//# sourceMappingURL=runtimeConfig.browser.js.map
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
+
const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
5
6
|
const client_sts_1 = require("@aws-sdk/client-sts");
|
|
6
7
|
const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
7
8
|
const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
|
|
@@ -9,17 +10,12 @@ const hash_node_1 = require("@aws-sdk/hash-node");
|
|
|
9
10
|
const middleware_retry_1 = require("@aws-sdk/middleware-retry");
|
|
10
11
|
const node_config_provider_1 = require("@aws-sdk/node-config-provider");
|
|
11
12
|
const node_http_handler_1 = require("@aws-sdk/node-http-handler");
|
|
12
|
-
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
13
13
|
const util_base64_node_1 = require("@aws-sdk/util-base64-node");
|
|
14
14
|
const util_body_length_node_1 = require("@aws-sdk/util-body-length-node");
|
|
15
15
|
const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
|
|
16
16
|
const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
|
|
17
|
-
// @ts-ignore: package.json will be imported from dist folders
|
|
18
|
-
const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
19
17
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
20
|
-
|
|
21
|
-
* @internal
|
|
22
|
-
*/
|
|
18
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
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);
|
|
@@ -44,4 +40,3 @@ const getRuntimeConfig = (config) => {
|
|
|
44
40
|
};
|
|
45
41
|
};
|
|
46
42
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
47
|
-
//# sourceMappingURL=runtimeConfig.js.map
|
|
@@ -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);
|
|
@@ -17,4 +14,3 @@ const getRuntimeConfig = (config) => {
|
|
|
17
14
|
};
|
|
18
15
|
};
|
|
19
16
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
20
|
-
//# sourceMappingURL=runtimeConfig.native.js.map
|
|
@@ -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 ({
|
|
@@ -18,4 +15,3 @@ const getRuntimeConfig = (config) => {
|
|
|
18
15
|
});
|
|
19
16
|
};
|
|
20
17
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
21
|
-
//# sourceMappingURL=runtimeConfig.shared.js.map
|