@aws-sdk/client-sagemaker-featurestore-runtime 3.32.0 → 3.36.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.
Files changed (112) hide show
  1. package/CHANGELOG.md +44 -0
  2. package/{dist/cjs → dist-cjs}/SageMakerFeatureStoreRuntime.js +1 -2
  3. package/{dist/cjs → dist-cjs}/SageMakerFeatureStoreRuntimeClient.js +8 -9
  4. package/{dist/cjs → dist-cjs}/commands/BatchGetRecordCommand.js +2 -3
  5. package/{dist/cjs → dist-cjs}/commands/DeleteRecordCommand.js +2 -3
  6. package/{dist/cjs → dist-cjs}/commands/GetRecordCommand.js +2 -3
  7. package/{dist/cjs → dist-cjs}/commands/PutRecordCommand.js +2 -3
  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 -1
  12. package/{dist/cjs → dist-cjs}/protocols/Aws_restJson1.js +1 -2
  13. package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +2 -2
  14. package/{dist/cjs → dist-cjs}/runtimeConfig.js +2 -2
  15. package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -1
  16. package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -2
  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 +1 -0
  44. package/{dist/types/ts3.4 → dist-types}/runtimeConfig.d.ts +37 -36
  45. package/{dist/types/ts3.4 → dist-types}/runtimeConfig.native.d.ts +36 -35
  46. package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
  47. package/{dist/types → dist-types}/ts3.4/SageMakerFeatureStoreRuntime.d.ts +2 -2
  48. package/{dist/types → dist-types}/ts3.4/SageMakerFeatureStoreRuntimeClient.d.ts +5 -5
  49. package/{dist/types → dist-types}/ts3.4/commands/BatchGetRecordCommand.d.ts +3 -3
  50. package/{dist/types → dist-types}/ts3.4/commands/DeleteRecordCommand.d.ts +3 -3
  51. package/{dist/types → dist-types}/ts3.4/commands/GetRecordCommand.d.ts +3 -3
  52. package/{dist/types → dist-types}/ts3.4/commands/PutRecordCommand.d.ts +3 -3
  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 → dist-types}/ts3.4/models/models_0.d.ts +0 -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 -0
  59. package/{dist/types → dist-types/ts3.4}/runtimeConfig.d.ts +37 -36
  60. package/{dist/types → dist-types/ts3.4}/runtimeConfig.native.d.ts +36 -35
  61. package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +0 -0
  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.map +0 -1
  71. package/dist/cjs/commands/BatchGetRecordCommand.js.map +0 -1
  72. package/dist/cjs/commands/DeleteRecordCommand.js.map +0 -1
  73. package/dist/cjs/commands/GetRecordCommand.js.map +0 -1
  74. package/dist/cjs/commands/PutRecordCommand.js.map +0 -1
  75. package/dist/cjs/endpoints.js.map +0 -1
  76. package/dist/cjs/index.js.map +0 -1
  77. package/dist/cjs/models/index.js.map +0 -1
  78. package/dist/cjs/models/models_0.js.map +0 -1
  79. package/dist/cjs/package.json +0 -91
  80. package/dist/cjs/protocols/Aws_restJson1.js.map +0 -1
  81. package/dist/cjs/runtimeConfig.browser.js.map +0 -1
  82. package/dist/cjs/runtimeConfig.js.map +0 -1
  83. package/dist/cjs/runtimeConfig.native.js.map +0 -1
  84. package/dist/cjs/runtimeConfig.shared.js.map +0 -1
  85. package/dist/es/SageMakerFeatureStoreRuntime.js.map +0 -1
  86. package/dist/es/SageMakerFeatureStoreRuntimeClient.js.map +0 -1
  87. package/dist/es/commands/BatchGetRecordCommand.js.map +0 -1
  88. package/dist/es/commands/DeleteRecordCommand.js.map +0 -1
  89. package/dist/es/commands/GetRecordCommand.js.map +0 -1
  90. package/dist/es/commands/PutRecordCommand.js.map +0 -1
  91. package/dist/es/endpoints.js.map +0 -1
  92. package/dist/es/index.js +0 -8
  93. package/dist/es/index.js.map +0 -1
  94. package/dist/es/models/index.js +0 -2
  95. package/dist/es/models/index.js.map +0 -1
  96. package/dist/es/models/models_0.js.map +0 -1
  97. package/dist/es/package.json +0 -91
  98. package/dist/es/protocols/Aws_restJson1.js.map +0 -1
  99. package/dist/es/runtimeConfig.browser.js.map +0 -1
  100. package/dist/es/runtimeConfig.js.map +0 -1
  101. package/dist/es/runtimeConfig.native.js.map +0 -1
  102. package/dist/es/runtimeConfig.shared.js.map +0 -1
  103. package/endpoints.ts +0 -57
  104. package/jest.config.js +0 -4
  105. package/models/models_0.ts +0 -360
  106. package/protocols/Aws_restJson1.ts +0 -834
  107. package/runtimeConfig.browser.ts +0 -40
  108. package/runtimeConfig.native.ts +0 -16
  109. package/runtimeConfig.shared.ts +0 -16
  110. package/runtimeConfig.ts +0 -45
  111. package/tsconfig.es.json +0 -12
  112. package/tsconfig.json +0 -32
package/CHANGELOG.md CHANGED
@@ -3,6 +3,50 @@
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.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.35.0...v3.36.0) (2021-10-08)
7
+
8
+
9
+ ### Features
10
+
11
+ * 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))
12
+ * **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))
13
+ * **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))
14
+
15
+
16
+
17
+
18
+
19
+ # [3.35.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.34.0...v3.35.0) (2021-10-04)
20
+
21
+
22
+ ### Features
23
+
24
+ * **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))
25
+ * **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))
26
+
27
+
28
+
29
+
30
+
31
+ # [3.34.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.33.0...v3.34.0) (2021-09-24)
32
+
33
+
34
+ ### Features
35
+
36
+ * **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))
37
+
38
+
39
+
40
+
41
+
42
+ # [3.33.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.32.0...v3.33.0) (2021-09-21)
43
+
44
+ **Note:** Version bump only for package @aws-sdk/client-sagemaker-featurestore-runtime
45
+
46
+
47
+
48
+
49
+
6
50
  # [3.32.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.31.0...v3.32.0) (2021-09-17)
7
51
 
8
52
  **Note:** Version bump only for package @aws-sdk/client-sagemaker-featurestore-runtime
@@ -1,11 +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");
8
+ const SageMakerFeatureStoreRuntimeClient_1 = require("./SageMakerFeatureStoreRuntimeClient");
9
9
  /**
10
10
  * <p>Contains all data plane API operations and data types for the Amazon SageMaker Feature
11
11
  * Store. Use this API to put, delete, and retrieve (get) features from a feature
@@ -94,4 +94,3 @@ class SageMakerFeatureStoreRuntime extends SageMakerFeatureStoreRuntimeClient_1.
94
94
  }
95
95
  }
96
96
  exports.SageMakerFeatureStoreRuntime = SageMakerFeatureStoreRuntime;
97
- //# sourceMappingURL=SageMakerFeatureStoreRuntime.js.map
@@ -1,7 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SageMakerFeatureStoreRuntimeClient = void 0;
4
- const runtimeConfig_1 = require("./runtimeConfig");
5
4
  const config_resolver_1 = require("@aws-sdk/config-resolver");
6
5
  const middleware_content_length_1 = require("@aws-sdk/middleware-content-length");
7
6
  const middleware_host_header_1 = require("@aws-sdk/middleware-host-header");
@@ -10,6 +9,7 @@ const middleware_retry_1 = require("@aws-sdk/middleware-retry");
10
9
  const middleware_signing_1 = require("@aws-sdk/middleware-signing");
11
10
  const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
12
11
  const smithy_client_1 = require("@aws-sdk/smithy-client");
12
+ const runtimeConfig_1 = require("./runtimeConfig");
13
13
  /**
14
14
  * <p>Contains all data plane API operations and data types for the Amazon SageMaker Feature
15
15
  * Store. Use this API to put, delete, and retrieve (get) features from a feature
@@ -41,13 +41,13 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
41
41
  */
42
42
  class SageMakerFeatureStoreRuntimeClient extends smithy_client_1.Client {
43
43
  constructor(configuration) {
44
- let _config_0 = runtimeConfig_1.getRuntimeConfig(configuration);
45
- let _config_1 = config_resolver_1.resolveRegionConfig(_config_0);
46
- let _config_2 = config_resolver_1.resolveEndpointsConfig(_config_1);
47
- let _config_3 = middleware_retry_1.resolveRetryConfig(_config_2);
48
- let _config_4 = middleware_host_header_1.resolveHostHeaderConfig(_config_3);
49
- let _config_5 = middleware_signing_1.resolveAwsAuthConfig(_config_4);
50
- let _config_6 = middleware_user_agent_1.resolveUserAgentConfig(_config_5);
44
+ const _config_0 = runtimeConfig_1.getRuntimeConfig(configuration);
45
+ const _config_1 = config_resolver_1.resolveRegionConfig(_config_0);
46
+ const _config_2 = config_resolver_1.resolveEndpointsConfig(_config_1);
47
+ const _config_3 = middleware_retry_1.resolveRetryConfig(_config_2);
48
+ const _config_4 = middleware_host_header_1.resolveHostHeaderConfig(_config_3);
49
+ const _config_5 = middleware_signing_1.resolveAwsAuthConfig(_config_4);
50
+ const _config_6 = middleware_user_agent_1.resolveUserAgentConfig(_config_5);
51
51
  super(_config_6);
52
52
  this.config = _config_6;
53
53
  this.middlewareStack.use(middleware_retry_1.getRetryPlugin(this.config));
@@ -67,4 +67,3 @@ class SageMakerFeatureStoreRuntimeClient extends smithy_client_1.Client {
67
67
  }
68
68
  }
69
69
  exports.SageMakerFeatureStoreRuntimeClient = SageMakerFeatureStoreRuntimeClient;
70
- //# sourceMappingURL=SageMakerFeatureStoreRuntimeClient.js.map
@@ -1,10 +1,10 @@
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");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
8
  /**
9
9
  * <p>Retrieves a batch of <code>Records</code> from a <code>FeatureGroup</code>.</p>
10
10
  * @example
@@ -58,4 +58,3 @@ class BatchGetRecordCommand extends smithy_client_1.Command {
58
58
  }
59
59
  }
60
60
  exports.BatchGetRecordCommand = BatchGetRecordCommand;
61
- //# sourceMappingURL=BatchGetRecordCommand.js.map
@@ -1,10 +1,10 @@
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");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
8
  /**
9
9
  * <p>Deletes a <code>Record</code> from a <code>FeatureGroup</code>. A new record will show
10
10
  * up in the <code>OfflineStore</code> when the <code>DeleteRecord</code> API is called. This
@@ -60,4 +60,3 @@ class DeleteRecordCommand extends smithy_client_1.Command {
60
60
  }
61
61
  }
62
62
  exports.DeleteRecordCommand = DeleteRecordCommand;
63
- //# sourceMappingURL=DeleteRecordCommand.js.map
@@ -1,10 +1,10 @@
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");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
8
  /**
9
9
  * <p>Use for <code>OnlineStore</code> serving from a <code>FeatureStore</code>. Only the
10
10
  * latest records stored in the <code>OnlineStore</code> can be retrieved. If no Record with
@@ -60,4 +60,3 @@ class GetRecordCommand extends smithy_client_1.Command {
60
60
  }
61
61
  }
62
62
  exports.GetRecordCommand = GetRecordCommand;
63
- //# sourceMappingURL=GetRecordCommand.js.map
@@ -1,10 +1,10 @@
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");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
8
  /**
9
9
  * <p>Used for data ingestion into the <code>FeatureStore</code>. The <code>PutRecord</code>
10
10
  * API writes to both the <code>OnlineStore</code> and <code>OfflineStore</code>. If the
@@ -62,4 +62,3 @@ class PutRecordCommand extends smithy_client_1.Command {
62
62
  }
63
63
  }
64
64
  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
@@ -136,4 +136,3 @@ var PutRecordRequest;
136
136
  ...obj,
137
137
  });
138
138
  })(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 &&
@@ -694,4 +694,3 @@ const loadRestJsonErrorCode = (output, data) => {
694
694
  }
695
695
  return "";
696
696
  };
697
- //# sourceMappingURL=Aws_restJson1.js.map
@@ -2,7 +2,8 @@
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
+ // @ts-ignore: package.json will be imported from dist folders
6
+ const package_json_1 = tslib_1.__importDefault(require("../package.json")); // eslint-disable-line
6
7
  const sha256_browser_1 = require("@aws-crypto/sha256-browser");
7
8
  const fetch_http_handler_1 = require("@aws-sdk/fetch-http-handler");
8
9
  const invalid_dependency_1 = require("@aws-sdk/invalid-dependency");
@@ -38,4 +39,3 @@ const getRuntimeConfig = (config) => {
38
39
  };
39
40
  };
40
41
  exports.getRuntimeConfig = getRuntimeConfig;
41
- //# sourceMappingURL=runtimeConfig.browser.js.map
@@ -2,7 +2,8 @@
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
+ // @ts-ignore: package.json will be imported from dist folders
6
+ const package_json_1 = tslib_1.__importDefault(require("../package.json")); // eslint-disable-line
6
7
  const client_sts_1 = require("@aws-sdk/client-sts");
7
8
  const config_resolver_1 = require("@aws-sdk/config-resolver");
8
9
  const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
@@ -43,4 +44,3 @@ const getRuntimeConfig = (config) => {
43
44
  };
44
45
  };
45
46
  exports.getRuntimeConfig = getRuntimeConfig;
46
- //# sourceMappingURL=runtimeConfig.js.map
@@ -17,4 +17,3 @@ const getRuntimeConfig = (config) => {
17
17
  };
18
18
  };
19
19
  exports.getRuntimeConfig = getRuntimeConfig;
20
- //# sourceMappingURL=runtimeConfig.native.js.map
@@ -1,8 +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");
5
+ const endpoints_1 = require("./endpoints");
6
6
  /**
7
7
  * @internal
8
8
  */
@@ -18,4 +18,3 @@ const getRuntimeConfig = (config) => {
18
18
  });
19
19
  };
20
20
  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
@@ -1,5 +1,4 @@
1
1
  import { __extends } from "tslib";
2
- import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
3
2
  import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
4
3
  import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
5
4
  import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
@@ -8,36 +7,8 @@ import { getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
8
7
  import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-signing";
9
8
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
10
9
  import { Client as __Client, } from "@aws-sdk/smithy-client";
11
- /**
12
- * <p>Contains all data plane API operations and data types for the Amazon SageMaker Feature
13
- * Store. Use this API to put, delete, and retrieve (get) features from a feature
14
- * store.</p>
15
- * <p>Use the following operations to configure your <code>OnlineStore</code> and
16
- * <code>OfflineStore</code> features, and to create and manage feature groups:</p>
17
- * <ul>
18
- * <li>
19
- * <p>
20
- * <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateFeatureGroup.html">CreateFeatureGroup</a>
21
- * </p>
22
- * </li>
23
- * <li>
24
- * <p>
25
- * <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_DeleteFeatureGroup.html">DeleteFeatureGroup</a>
26
- * </p>
27
- * </li>
28
- * <li>
29
- * <p>
30
- * <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_DescribeFeatureGroup.html">DescribeFeatureGroup</a>
31
- * </p>
32
- * </li>
33
- * <li>
34
- * <p>
35
- * <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_ListFeatureGroups.html">ListFeatureGroups</a>
36
- * </p>
37
- * </li>
38
- * </ul>
39
- */
40
- var SageMakerFeatureStoreRuntimeClient = /** @class */ (function (_super) {
10
+ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
11
+ var SageMakerFeatureStoreRuntimeClient = (function (_super) {
41
12
  __extends(SageMakerFeatureStoreRuntimeClient, _super);
42
13
  function SageMakerFeatureStoreRuntimeClient(configuration) {
43
14
  var _this = this;
@@ -58,15 +29,9 @@ var SageMakerFeatureStoreRuntimeClient = /** @class */ (function (_super) {
58
29
  _this.middlewareStack.use(getUserAgentPlugin(_this.config));
59
30
  return _this;
60
31
  }
61
- /**
62
- * Destroy underlying resources, like sockets. It's usually not necessary to do this.
63
- * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
64
- * Otherwise, sockets might stay open for quite a long time before the server terminates them.
65
- */
66
32
  SageMakerFeatureStoreRuntimeClient.prototype.destroy = function () {
67
33
  _super.prototype.destroy.call(this);
68
34
  };
69
35
  return SageMakerFeatureStoreRuntimeClient;
70
36
  }(__Client));
71
37
  export { SageMakerFeatureStoreRuntimeClient };
72
- //# sourceMappingURL=SageMakerFeatureStoreRuntimeClient.js.map
@@ -1,40 +1,15 @@
1
1
  import { __extends } from "tslib";
2
- import { BatchGetRecordRequest, BatchGetRecordResponse } from "../models/models_0";
3
- import { deserializeAws_restJson1BatchGetRecordCommand, serializeAws_restJson1BatchGetRecordCommand, } from "../protocols/Aws_restJson1";
4
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Retrieves a batch of <code>Records</code> from a <code>FeatureGroup</code>.</p>
8
- * @example
9
- * Use a bare-bones client and the command you need to make an API call.
10
- * ```javascript
11
- * import { SageMakerFeatureStoreRuntimeClient, BatchGetRecordCommand } from "@aws-sdk/client-sagemaker-featurestore-runtime"; // ES Modules import
12
- * // const { SageMakerFeatureStoreRuntimeClient, BatchGetRecordCommand } = require("@aws-sdk/client-sagemaker-featurestore-runtime"); // CommonJS import
13
- * const client = new SageMakerFeatureStoreRuntimeClient(config);
14
- * const command = new BatchGetRecordCommand(input);
15
- * const response = await client.send(command);
16
- * ```
17
- *
18
- * @see {@link BatchGetRecordCommandInput} for command's `input` shape.
19
- * @see {@link BatchGetRecordCommandOutput} for command's `response` shape.
20
- * @see {@link SageMakerFeatureStoreRuntimeClientResolvedConfig | config} for command's `input` shape.
21
- *
22
- */
23
- var BatchGetRecordCommand = /** @class */ (function (_super) {
4
+ import { BatchGetRecordRequest, BatchGetRecordResponse } from "../models/models_0";
5
+ import { deserializeAws_restJson1BatchGetRecordCommand, serializeAws_restJson1BatchGetRecordCommand, } from "../protocols/Aws_restJson1";
6
+ var BatchGetRecordCommand = (function (_super) {
24
7
  __extends(BatchGetRecordCommand, _super);
25
- // Start section: command_properties
26
- // End section: command_properties
27
8
  function BatchGetRecordCommand(input) {
28
- var _this =
29
- // Start section: command_constructor
30
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
31
10
  _this.input = input;
32
11
  return _this;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  BatchGetRecordCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
39
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -62,4 +37,3 @@ var BatchGetRecordCommand = /** @class */ (function (_super) {
62
37
  return BatchGetRecordCommand;
63
38
  }($Command));
64
39
  export { BatchGetRecordCommand };
65
- //# sourceMappingURL=BatchGetRecordCommand.js.map
@@ -1,42 +1,15 @@
1
1
  import { __extends } from "tslib";
2
- import { DeleteRecordRequest } from "../models/models_0";
3
- import { deserializeAws_restJson1DeleteRecordCommand, serializeAws_restJson1DeleteRecordCommand, } from "../protocols/Aws_restJson1";
4
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Deletes a <code>Record</code> from a <code>FeatureGroup</code>. A new record will show
8
- * up in the <code>OfflineStore</code> when the <code>DeleteRecord</code> API is called. This
9
- * record will have a value of <code>True</code> in the <code>is_deleted</code> column.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { SageMakerFeatureStoreRuntimeClient, DeleteRecordCommand } from "@aws-sdk/client-sagemaker-featurestore-runtime"; // ES Modules import
14
- * // const { SageMakerFeatureStoreRuntimeClient, DeleteRecordCommand } = require("@aws-sdk/client-sagemaker-featurestore-runtime"); // CommonJS import
15
- * const client = new SageMakerFeatureStoreRuntimeClient(config);
16
- * const command = new DeleteRecordCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link DeleteRecordCommandInput} for command's `input` shape.
21
- * @see {@link DeleteRecordCommandOutput} for command's `response` shape.
22
- * @see {@link SageMakerFeatureStoreRuntimeClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
- var DeleteRecordCommand = /** @class */ (function (_super) {
4
+ import { DeleteRecordRequest } from "../models/models_0";
5
+ import { deserializeAws_restJson1DeleteRecordCommand, serializeAws_restJson1DeleteRecordCommand, } from "../protocols/Aws_restJson1";
6
+ var DeleteRecordCommand = (function (_super) {
26
7
  __extends(DeleteRecordCommand, _super);
27
- // Start section: command_properties
28
- // End section: command_properties
29
8
  function DeleteRecordCommand(input) {
30
- var _this =
31
- // Start section: command_constructor
32
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
33
10
  _this.input = input;
34
11
  return _this;
35
- // End section: command_constructor
36
12
  }
37
- /**
38
- * @internal
39
- */
40
13
  DeleteRecordCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
41
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
42
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -64,4 +37,3 @@ var DeleteRecordCommand = /** @class */ (function (_super) {
64
37
  return DeleteRecordCommand;
65
38
  }($Command));
66
39
  export { DeleteRecordCommand };
67
- //# sourceMappingURL=DeleteRecordCommand.js.map
@@ -1,42 +1,15 @@
1
1
  import { __extends } from "tslib";
2
- import { GetRecordRequest, GetRecordResponse } from "../models/models_0";
3
- import { deserializeAws_restJson1GetRecordCommand, serializeAws_restJson1GetRecordCommand, } from "../protocols/Aws_restJson1";
4
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Use for <code>OnlineStore</code> serving from a <code>FeatureStore</code>. Only the
8
- * latest records stored in the <code>OnlineStore</code> can be retrieved. If no Record with
9
- * <code>RecordIdentifierValue</code> is found, then an empty result is returned. </p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { SageMakerFeatureStoreRuntimeClient, GetRecordCommand } from "@aws-sdk/client-sagemaker-featurestore-runtime"; // ES Modules import
14
- * // const { SageMakerFeatureStoreRuntimeClient, GetRecordCommand } = require("@aws-sdk/client-sagemaker-featurestore-runtime"); // CommonJS import
15
- * const client = new SageMakerFeatureStoreRuntimeClient(config);
16
- * const command = new GetRecordCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link GetRecordCommandInput} for command's `input` shape.
21
- * @see {@link GetRecordCommandOutput} for command's `response` shape.
22
- * @see {@link SageMakerFeatureStoreRuntimeClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
- var GetRecordCommand = /** @class */ (function (_super) {
4
+ import { GetRecordRequest, GetRecordResponse } from "../models/models_0";
5
+ import { deserializeAws_restJson1GetRecordCommand, serializeAws_restJson1GetRecordCommand, } from "../protocols/Aws_restJson1";
6
+ var GetRecordCommand = (function (_super) {
26
7
  __extends(GetRecordCommand, _super);
27
- // Start section: command_properties
28
- // End section: command_properties
29
8
  function GetRecordCommand(input) {
30
- var _this =
31
- // Start section: command_constructor
32
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
33
10
  _this.input = input;
34
11
  return _this;
35
- // End section: command_constructor
36
12
  }
37
- /**
38
- * @internal
39
- */
40
13
  GetRecordCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
41
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
42
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -64,4 +37,3 @@ var GetRecordCommand = /** @class */ (function (_super) {
64
37
  return GetRecordCommand;
65
38
  }($Command));
66
39
  export { GetRecordCommand };
67
- //# sourceMappingURL=GetRecordCommand.js.map
@@ -1,44 +1,15 @@
1
1
  import { __extends } from "tslib";
2
- import { PutRecordRequest } from "../models/models_0";
3
- import { deserializeAws_restJson1PutRecordCommand, serializeAws_restJson1PutRecordCommand, } from "../protocols/Aws_restJson1";
4
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Used for data ingestion into the <code>FeatureStore</code>. The <code>PutRecord</code>
8
- * API writes to both the <code>OnlineStore</code> and <code>OfflineStore</code>. If the
9
- * record is the latest record for the <code>recordIdentifier</code>, the record is written to
10
- * both the <code>OnlineStore</code> and <code>OfflineStore</code>. If the record is a
11
- * historic record, it is written only to the <code>OfflineStore</code>.</p>
12
- * @example
13
- * Use a bare-bones client and the command you need to make an API call.
14
- * ```javascript
15
- * import { SageMakerFeatureStoreRuntimeClient, PutRecordCommand } from "@aws-sdk/client-sagemaker-featurestore-runtime"; // ES Modules import
16
- * // const { SageMakerFeatureStoreRuntimeClient, PutRecordCommand } = require("@aws-sdk/client-sagemaker-featurestore-runtime"); // CommonJS import
17
- * const client = new SageMakerFeatureStoreRuntimeClient(config);
18
- * const command = new PutRecordCommand(input);
19
- * const response = await client.send(command);
20
- * ```
21
- *
22
- * @see {@link PutRecordCommandInput} for command's `input` shape.
23
- * @see {@link PutRecordCommandOutput} for command's `response` shape.
24
- * @see {@link SageMakerFeatureStoreRuntimeClientResolvedConfig | config} for command's `input` shape.
25
- *
26
- */
27
- var PutRecordCommand = /** @class */ (function (_super) {
4
+ import { PutRecordRequest } from "../models/models_0";
5
+ import { deserializeAws_restJson1PutRecordCommand, serializeAws_restJson1PutRecordCommand, } from "../protocols/Aws_restJson1";
6
+ var PutRecordCommand = (function (_super) {
28
7
  __extends(PutRecordCommand, _super);
29
- // Start section: command_properties
30
- // End section: command_properties
31
8
  function PutRecordCommand(input) {
32
- var _this =
33
- // Start section: command_constructor
34
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
35
10
  _this.input = input;
36
11
  return _this;
37
- // End section: command_constructor
38
12
  }
39
- /**
40
- * @internal
41
- */
42
13
  PutRecordCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
43
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
44
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -66,4 +37,3 @@ var PutRecordCommand = /** @class */ (function (_super) {
66
37
  return PutRecordCommand;
67
38
  }($Command));
68
39
  export { PutRecordCommand };
69
- //# sourceMappingURL=PutRecordCommand.js.map
@@ -47,7 +47,6 @@ var partitionHash = {
47
47
  };
48
48
  export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
49
49
  return __generator(this, function (_a) {
50
- return [2 /*return*/, getRegionInfo(region, __assign(__assign({}, options), { signingService: "sagemaker", regionHash: regionHash, partitionHash: partitionHash }))];
50
+ return [2, getRegionInfo(region, __assign(__assign({}, options), { signingService: "sagemaker", regionHash: regionHash, partitionHash: partitionHash }))];
51
51
  });
52
52
  }); };
53
- //# sourceMappingURL=endpoints.js.map
File without changes