@aws-sdk/client-sagemaker-featurestore-runtime 3.33.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.
Files changed (120) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/{dist/cjs → dist-cjs}/SageMakerFeatureStoreRuntime.js +1 -31
  3. package/dist-cjs/SageMakerFeatureStoreRuntimeClient.js +35 -0
  4. package/{dist/cjs → dist-cjs}/commands/BatchGetRecordCommand.js +2 -27
  5. package/{dist/cjs → dist-cjs}/commands/DeleteRecordCommand.js +2 -29
  6. package/{dist/cjs → dist-cjs}/commands/GetRecordCommand.js +2 -29
  7. package/{dist/cjs → dist-cjs}/commands/PutRecordCommand.js +2 -31
  8. package/{dist/cjs → dist-cjs}/endpoints.js +0 -1
  9. package/{dist/cjs → dist-cjs}/index.js +0 -1
  10. package/{dist/cjs → dist-cjs}/models/index.js +0 -1
  11. package/{dist/cjs → dist-cjs}/models/models_0.js +0 -46
  12. package/{dist/cjs → dist-cjs}/protocols/Aws_restJson1.js +1 -7
  13. package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +1 -5
  14. package/{dist/cjs → dist-cjs}/runtimeConfig.js +1 -5
  15. package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -4
  16. package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -5
  17. package/{dist/es → dist-es}/SageMakerFeatureStoreRuntime.js +2 -32
  18. package/{dist/es → dist-es}/SageMakerFeatureStoreRuntimeClient.js +2 -37
  19. package/{dist/es → dist-es}/commands/BatchGetRecordCommand.js +4 -30
  20. package/{dist/es → dist-es}/commands/DeleteRecordCommand.js +4 -32
  21. package/{dist/es → dist-es}/commands/GetRecordCommand.js +4 -32
  22. package/{dist/es → dist-es}/commands/PutRecordCommand.js +4 -34
  23. package/{dist/es → dist-es}/endpoints.js +1 -2
  24. package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
  25. package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
  26. package/{dist/es → dist-es}/models/models_0.js +0 -46
  27. package/{dist/es → dist-es}/protocols/Aws_restJson1.js +105 -111
  28. package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -5
  29. package/{dist/es → dist-es}/runtimeConfig.js +1 -5
  30. package/{dist/es → dist-es}/runtimeConfig.native.js +0 -4
  31. package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -5
  32. package/{dist/types → dist-types}/SageMakerFeatureStoreRuntime.d.ts +2 -2
  33. package/{dist/types → dist-types}/SageMakerFeatureStoreRuntimeClient.d.ts +5 -5
  34. package/{dist/types → dist-types}/commands/BatchGetRecordCommand.d.ts +3 -3
  35. package/{dist/types → dist-types}/commands/DeleteRecordCommand.d.ts +3 -3
  36. package/{dist/types → dist-types}/commands/GetRecordCommand.d.ts +3 -3
  37. package/{dist/types → dist-types}/commands/PutRecordCommand.d.ts +3 -3
  38. package/{dist/types → dist-types}/endpoints.d.ts +0 -0
  39. package/{index.ts → dist-types/index.d.ts} +0 -0
  40. package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
  41. package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
  42. package/{dist/types → dist-types}/protocols/Aws_restJson1.d.ts +2 -2
  43. package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
  44. package/{dist/types → dist-types}/runtimeConfig.d.ts +1 -1
  45. package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
  46. package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
  47. package/dist-types/ts3.4/SageMakerFeatureStoreRuntime.d.ts +25 -0
  48. package/dist-types/ts3.4/SageMakerFeatureStoreRuntimeClient.d.ts +71 -0
  49. package/dist-types/ts3.4/commands/BatchGetRecordCommand.d.ts +17 -0
  50. package/dist-types/ts3.4/commands/DeleteRecordCommand.d.ts +17 -0
  51. package/dist-types/ts3.4/commands/GetRecordCommand.d.ts +17 -0
  52. package/dist-types/ts3.4/commands/PutRecordCommand.d.ts +17 -0
  53. package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
  54. package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
  55. package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
  56. package/dist-types/ts3.4/models/models_0.d.ts +165 -0
  57. package/{dist/types → dist-types}/ts3.4/protocols/Aws_restJson1.d.ts +2 -2
  58. package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -3
  59. package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +2 -4
  60. package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -3
  61. package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +1 -3
  62. package/package.json +52 -49
  63. package/SageMakerFeatureStoreRuntime.ts +0 -166
  64. package/SageMakerFeatureStoreRuntimeClient.ts +0 -274
  65. package/commands/BatchGetRecordCommand.ts +0 -98
  66. package/commands/DeleteRecordCommand.ts +0 -100
  67. package/commands/GetRecordCommand.ts +0 -100
  68. package/commands/PutRecordCommand.ts +0 -102
  69. package/dist/cjs/SageMakerFeatureStoreRuntime.js.map +0 -1
  70. package/dist/cjs/SageMakerFeatureStoreRuntimeClient.js +0 -70
  71. package/dist/cjs/SageMakerFeatureStoreRuntimeClient.js.map +0 -1
  72. package/dist/cjs/commands/BatchGetRecordCommand.js.map +0 -1
  73. package/dist/cjs/commands/DeleteRecordCommand.js.map +0 -1
  74. package/dist/cjs/commands/GetRecordCommand.js.map +0 -1
  75. package/dist/cjs/commands/PutRecordCommand.js.map +0 -1
  76. package/dist/cjs/endpoints.js.map +0 -1
  77. package/dist/cjs/index.js.map +0 -1
  78. package/dist/cjs/models/index.js.map +0 -1
  79. package/dist/cjs/models/models_0.js.map +0 -1
  80. package/dist/cjs/package.json +0 -91
  81. package/dist/cjs/protocols/Aws_restJson1.js.map +0 -1
  82. package/dist/cjs/runtimeConfig.browser.js.map +0 -1
  83. package/dist/cjs/runtimeConfig.js.map +0 -1
  84. package/dist/cjs/runtimeConfig.native.js.map +0 -1
  85. package/dist/cjs/runtimeConfig.shared.js.map +0 -1
  86. package/dist/es/SageMakerFeatureStoreRuntime.js.map +0 -1
  87. package/dist/es/SageMakerFeatureStoreRuntimeClient.js.map +0 -1
  88. package/dist/es/commands/BatchGetRecordCommand.js.map +0 -1
  89. package/dist/es/commands/DeleteRecordCommand.js.map +0 -1
  90. package/dist/es/commands/GetRecordCommand.js.map +0 -1
  91. package/dist/es/commands/PutRecordCommand.js.map +0 -1
  92. package/dist/es/endpoints.js.map +0 -1
  93. package/dist/es/index.js +0 -8
  94. package/dist/es/index.js.map +0 -1
  95. package/dist/es/models/index.js +0 -2
  96. package/dist/es/models/index.js.map +0 -1
  97. package/dist/es/models/models_0.js.map +0 -1
  98. package/dist/es/package.json +0 -91
  99. package/dist/es/protocols/Aws_restJson1.js.map +0 -1
  100. package/dist/es/runtimeConfig.browser.js.map +0 -1
  101. package/dist/es/runtimeConfig.js.map +0 -1
  102. package/dist/es/runtimeConfig.native.js.map +0 -1
  103. package/dist/es/runtimeConfig.shared.js.map +0 -1
  104. package/dist/types/ts3.4/SageMakerFeatureStoreRuntime.d.ts +0 -69
  105. package/dist/types/ts3.4/SageMakerFeatureStoreRuntimeClient.d.ts +0 -162
  106. package/dist/types/ts3.4/commands/BatchGetRecordCommand.d.ts +0 -35
  107. package/dist/types/ts3.4/commands/DeleteRecordCommand.d.ts +0 -37
  108. package/dist/types/ts3.4/commands/GetRecordCommand.d.ts +0 -37
  109. package/dist/types/ts3.4/commands/PutRecordCommand.d.ts +0 -39
  110. package/dist/types/ts3.4/models/models_0.d.ts +0 -285
  111. package/endpoints.ts +0 -57
  112. package/jest.config.js +0 -4
  113. package/models/models_0.ts +0 -360
  114. package/protocols/Aws_restJson1.ts +0 -834
  115. package/runtimeConfig.browser.ts +0 -40
  116. package/runtimeConfig.native.ts +0 -16
  117. package/runtimeConfig.shared.ts +0 -16
  118. package/runtimeConfig.ts +0 -45
  119. package/tsconfig.es.json +0 -12
  120. package/tsconfig.json +0 -32
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.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
+
17
+ # [3.36.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.35.0...v3.36.0) (2021-10-08)
18
+
19
+
20
+ ### Features
21
+
22
+ * 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))
23
+ * **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))
24
+ * **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))
25
+
26
+
27
+
28
+
29
+
30
+ # [3.35.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.34.0...v3.35.0) (2021-10-04)
31
+
32
+
33
+ ### Features
34
+
35
+ * **clients:** eslint --fix using esprint ([#2849](https://github.com/aws/aws-sdk-js-v3/issues/2849)) ([94d0a2d](https://github.com/aws/aws-sdk-js-v3/commit/94d0a2d8a0579ee0a742337937ad05735cfbc1ba))
36
+ * **clients:** move source files to 'src' folder ([#2845](https://github.com/aws/aws-sdk-js-v3/issues/2845)) ([e0025cd](https://github.com/aws/aws-sdk-js-v3/commit/e0025cddbba244a41ddf1fd1adb761142e15c22d))
37
+
38
+
39
+
40
+
41
+
42
+ # [3.34.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.33.0...v3.34.0) (2021-09-24)
43
+
44
+
45
+ ### Features
46
+
47
+ * **clients:** remove comments from transpiled JS files ([#2817](https://github.com/aws/aws-sdk-js-v3/issues/2817)) ([d01420b](https://github.com/aws/aws-sdk-js-v3/commit/d01420b247966c8ec84c1dd0a1b42512ede10c90))
48
+
49
+
50
+
51
+
52
+
6
53
  # [3.33.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.32.0...v3.33.0) (2021-09-21)
7
54
 
8
55
  **Note:** Version bump only for package @aws-sdk/client-sagemaker-featurestore-runtime
@@ -1,40 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SageMakerFeatureStoreRuntime = void 0;
4
- const SageMakerFeatureStoreRuntimeClient_1 = require("./SageMakerFeatureStoreRuntimeClient");
5
4
  const BatchGetRecordCommand_1 = require("./commands/BatchGetRecordCommand");
6
5
  const DeleteRecordCommand_1 = require("./commands/DeleteRecordCommand");
7
6
  const GetRecordCommand_1 = require("./commands/GetRecordCommand");
8
7
  const PutRecordCommand_1 = require("./commands/PutRecordCommand");
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
- */
8
+ const SageMakerFeatureStoreRuntimeClient_1 = require("./SageMakerFeatureStoreRuntimeClient");
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
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SageMakerFeatureStoreRuntimeClient = void 0;
4
+ const config_resolver_1 = require("@aws-sdk/config-resolver");
5
+ const middleware_content_length_1 = require("@aws-sdk/middleware-content-length");
6
+ const middleware_host_header_1 = require("@aws-sdk/middleware-host-header");
7
+ const middleware_logger_1 = require("@aws-sdk/middleware-logger");
8
+ const middleware_retry_1 = require("@aws-sdk/middleware-retry");
9
+ const middleware_signing_1 = require("@aws-sdk/middleware-signing");
10
+ const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
11
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
12
+ const runtimeConfig_1 = require("./runtimeConfig");
13
+ class SageMakerFeatureStoreRuntimeClient extends smithy_client_1.Client {
14
+ constructor(configuration) {
15
+ const _config_0 = runtimeConfig_1.getRuntimeConfig(configuration);
16
+ const _config_1 = config_resolver_1.resolveRegionConfig(_config_0);
17
+ const _config_2 = config_resolver_1.resolveEndpointsConfig(_config_1);
18
+ const _config_3 = middleware_retry_1.resolveRetryConfig(_config_2);
19
+ const _config_4 = middleware_host_header_1.resolveHostHeaderConfig(_config_3);
20
+ const _config_5 = middleware_signing_1.resolveAwsAuthConfig(_config_4);
21
+ const _config_6 = middleware_user_agent_1.resolveUserAgentConfig(_config_5);
22
+ super(_config_6);
23
+ this.config = _config_6;
24
+ this.middlewareStack.use(middleware_retry_1.getRetryPlugin(this.config));
25
+ this.middlewareStack.use(middleware_content_length_1.getContentLengthPlugin(this.config));
26
+ this.middlewareStack.use(middleware_host_header_1.getHostHeaderPlugin(this.config));
27
+ this.middlewareStack.use(middleware_logger_1.getLoggerPlugin(this.config));
28
+ this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(this.config));
29
+ this.middlewareStack.use(middleware_user_agent_1.getUserAgentPlugin(this.config));
30
+ }
31
+ destroy() {
32
+ super.destroy();
33
+ }
34
+ }
35
+ exports.SageMakerFeatureStoreRuntimeClient = SageMakerFeatureStoreRuntimeClient;
@@ -1,39 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.BatchGetRecordCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
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
- */
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
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
@@ -1,41 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DeleteRecordCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
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
- */
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
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
@@ -1,41 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.GetRecordCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
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
- */
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
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
@@ -1,43 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.PutRecordCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
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
- */
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
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
@@ -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
@@ -8,4 +8,3 @@ tslib_1.__exportStar(require("./commands/DeleteRecordCommand"), exports);
8
8
  tslib_1.__exportStar(require("./commands/GetRecordCommand"), exports);
9
9
  tslib_1.__exportStar(require("./commands/PutRecordCommand"), exports);
10
10
  tslib_1.__exportStar(require("./models/index"), exports);
11
- //# sourceMappingURL=index.js.map
@@ -2,4 +2,3 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
4
  tslib_1.__exportStar(require("./models_0"), exports);
5
- //# sourceMappingURL=index.js.map
@@ -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
@@ -8,7 +8,7 @@ const serializeAws_restJson1BatchGetRecordCommand = async (input, context) => {
8
8
  const headers = {
9
9
  "content-type": "application/json",
10
10
  };
11
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/BatchGetRecord";
11
+ const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/BatchGetRecord";
12
12
  let body;
13
13
  body = JSON.stringify({
14
14
  ...(input.Identifiers !== undefined &&
@@ -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,7 +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
+ const package_json_1 = tslib_1.__importDefault(require("../package.json"));
6
6
  const sha256_browser_1 = require("@aws-crypto/sha256-browser");
7
7
  const fetch_http_handler_1 = require("@aws-sdk/fetch-http-handler");
8
8
  const invalid_dependency_1 = require("@aws-sdk/invalid-dependency");
@@ -12,9 +12,6 @@ const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
12
12
  const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
13
13
  const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
14
14
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
15
- /**
16
- * @internal
17
- */
18
15
  const getRuntimeConfig = (config) => {
19
16
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
20
17
  const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
@@ -38,4 +35,3 @@ const getRuntimeConfig = (config) => {
38
35
  };
39
36
  };
40
37
  exports.getRuntimeConfig = getRuntimeConfig;
41
- //# sourceMappingURL=runtimeConfig.browser.js.map
@@ -2,7 +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
+ const package_json_1 = tslib_1.__importDefault(require("../package.json"));
6
6
  const client_sts_1 = require("@aws-sdk/client-sts");
7
7
  const config_resolver_1 = require("@aws-sdk/config-resolver");
8
8
  const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
@@ -16,9 +16,6 @@ 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
17
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
18
18
  const smithy_client_1 = require("@aws-sdk/smithy-client");
19
- /**
20
- * @internal
21
- */
22
19
  const getRuntimeConfig = (config) => {
23
20
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
24
21
  smithy_client_1.emitWarningIfUnsupportedVersion(process.version);
@@ -43,4 +40,3 @@ const getRuntimeConfig = (config) => {
43
40
  };
44
41
  };
45
42
  exports.getRuntimeConfig = getRuntimeConfig;
46
- //# 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
@@ -1,11 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
- const endpoints_1 = require("./endpoints");
5
4
  const url_parser_1 = require("@aws-sdk/url-parser");
6
- /**
7
- * @internal
8
- */
5
+ const endpoints_1 = require("./endpoints");
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
@@ -1,39 +1,10 @@
1
1
  import { __extends } from "tslib";
2
- import { SageMakerFeatureStoreRuntimeClient } from "./SageMakerFeatureStoreRuntimeClient";
3
2
  import { BatchGetRecordCommand, } from "./commands/BatchGetRecordCommand";
4
3
  import { DeleteRecordCommand, } from "./commands/DeleteRecordCommand";
5
4
  import { GetRecordCommand } from "./commands/GetRecordCommand";
6
5
  import { PutRecordCommand } from "./commands/PutRecordCommand";
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
- */
36
- var SageMakerFeatureStoreRuntime = /** @class */ (function (_super) {
6
+ import { SageMakerFeatureStoreRuntimeClient } from "./SageMakerFeatureStoreRuntimeClient";
7
+ var SageMakerFeatureStoreRuntime = (function (_super) {
37
8
  __extends(SageMakerFeatureStoreRuntime, _super);
38
9
  function SageMakerFeatureStoreRuntime() {
39
10
  return _super !== null && _super.apply(this, arguments) || this;
@@ -97,4 +68,3 @@ var SageMakerFeatureStoreRuntime = /** @class */ (function (_super) {
97
68
  return SageMakerFeatureStoreRuntime;
98
69
  }(SageMakerFeatureStoreRuntimeClient));
99
70
  export { SageMakerFeatureStoreRuntime };
100
- //# sourceMappingURL=SageMakerFeatureStoreRuntime.js.map