@aws-sdk/client-sagemaker-featurestore-runtime 3.300.0 → 3.303.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.
@@ -58,11 +58,10 @@ class ValidationError extends SageMakerFeatureStoreRuntimeServiceException_1.Sag
58
58
  }
59
59
  }
60
60
  exports.ValidationError = ValidationError;
61
- var TargetStore;
62
- (function (TargetStore) {
63
- TargetStore["OFFLINE_STORE"] = "OfflineStore";
64
- TargetStore["ONLINE_STORE"] = "OnlineStore";
65
- })(TargetStore = exports.TargetStore || (exports.TargetStore = {}));
61
+ exports.TargetStore = {
62
+ OFFLINE_STORE: "OfflineStore",
63
+ ONLINE_STORE: "OnlineStore",
64
+ };
66
65
  class ResourceNotFound extends SageMakerFeatureStoreRuntimeServiceException_1.SageMakerFeatureStoreRuntimeServiceException {
67
66
  constructor(opts) {
68
67
  super({
@@ -51,11 +51,10 @@ export class ValidationError extends __BaseException {
51
51
  this.Message = opts.Message;
52
52
  }
53
53
  }
54
- export var TargetStore;
55
- (function (TargetStore) {
56
- TargetStore["OFFLINE_STORE"] = "OfflineStore";
57
- TargetStore["ONLINE_STORE"] = "OnlineStore";
58
- })(TargetStore || (TargetStore = {}));
54
+ export const TargetStore = {
55
+ OFFLINE_STORE: "OfflineStore",
56
+ ONLINE_STORE: "OnlineStore",
57
+ };
59
58
  export class ResourceNotFound extends __BaseException {
60
59
  constructor(opts) {
61
60
  super({
@@ -26,14 +26,14 @@ export interface BatchGetRecordCommandOutput extends BatchGetRecordResponse, __M
26
26
  * import { SageMakerFeatureStoreRuntimeClient, BatchGetRecordCommand } from "@aws-sdk/client-sagemaker-featurestore-runtime"; // ES Modules import
27
27
  * // const { SageMakerFeatureStoreRuntimeClient, BatchGetRecordCommand } = require("@aws-sdk/client-sagemaker-featurestore-runtime"); // CommonJS import
28
28
  * const client = new SageMakerFeatureStoreRuntimeClient(config);
29
- * const input = {
30
- * Identifiers: [ // required
31
- * {
29
+ * const input = { // BatchGetRecordRequest
30
+ * Identifiers: [ // BatchGetRecordIdentifiers // required
31
+ * { // BatchGetRecordIdentifier
32
32
  * FeatureGroupName: "STRING_VALUE", // required
33
- * RecordIdentifiersValueAsString: [ // required
33
+ * RecordIdentifiersValueAsString: [ // RecordIdentifiers // required
34
34
  * "STRING_VALUE",
35
35
  * ],
36
- * FeatureNames: [
36
+ * FeatureNames: [ // FeatureNames
37
37
  * "STRING_VALUE",
38
38
  * ],
39
39
  * },
@@ -27,11 +27,11 @@ export interface DeleteRecordCommandOutput extends __MetadataBearer {
27
27
  * import { SageMakerFeatureStoreRuntimeClient, DeleteRecordCommand } from "@aws-sdk/client-sagemaker-featurestore-runtime"; // ES Modules import
28
28
  * // const { SageMakerFeatureStoreRuntimeClient, DeleteRecordCommand } = require("@aws-sdk/client-sagemaker-featurestore-runtime"); // CommonJS import
29
29
  * const client = new SageMakerFeatureStoreRuntimeClient(config);
30
- * const input = {
30
+ * const input = { // DeleteRecordRequest
31
31
  * FeatureGroupName: "STRING_VALUE", // required
32
32
  * RecordIdentifierValueAsString: "STRING_VALUE", // required
33
33
  * EventTime: "STRING_VALUE", // required
34
- * TargetStores: [
34
+ * TargetStores: [ // TargetStores
35
35
  * "OnlineStore" || "OfflineStore",
36
36
  * ],
37
37
  * };
@@ -28,10 +28,10 @@ export interface GetRecordCommandOutput extends GetRecordResponse, __MetadataBea
28
28
  * import { SageMakerFeatureStoreRuntimeClient, GetRecordCommand } from "@aws-sdk/client-sagemaker-featurestore-runtime"; // ES Modules import
29
29
  * // const { SageMakerFeatureStoreRuntimeClient, GetRecordCommand } = require("@aws-sdk/client-sagemaker-featurestore-runtime"); // CommonJS import
30
30
  * const client = new SageMakerFeatureStoreRuntimeClient(config);
31
- * const input = {
31
+ * const input = { // GetRecordRequest
32
32
  * FeatureGroupName: "STRING_VALUE", // required
33
33
  * RecordIdentifierValueAsString: "STRING_VALUE", // required
34
- * FeatureNames: [
34
+ * FeatureNames: [ // FeatureNames
35
35
  * "STRING_VALUE",
36
36
  * ],
37
37
  * };
@@ -30,15 +30,15 @@ export interface PutRecordCommandOutput extends __MetadataBearer {
30
30
  * import { SageMakerFeatureStoreRuntimeClient, PutRecordCommand } from "@aws-sdk/client-sagemaker-featurestore-runtime"; // ES Modules import
31
31
  * // const { SageMakerFeatureStoreRuntimeClient, PutRecordCommand } = require("@aws-sdk/client-sagemaker-featurestore-runtime"); // CommonJS import
32
32
  * const client = new SageMakerFeatureStoreRuntimeClient(config);
33
- * const input = {
33
+ * const input = { // PutRecordRequest
34
34
  * FeatureGroupName: "STRING_VALUE", // required
35
- * Record: [ // required
36
- * {
35
+ * Record: [ // Record // required
36
+ * { // FeatureValue
37
37
  * FeatureName: "STRING_VALUE", // required
38
38
  * ValueAsString: "STRING_VALUE", // required
39
39
  * },
40
40
  * ],
41
- * TargetStores: [
41
+ * TargetStores: [ // TargetStores
42
42
  * "OnlineStore" || "OfflineStore",
43
43
  * ],
44
44
  * };
@@ -159,11 +159,16 @@ export declare class ValidationError extends __BaseException {
159
159
  }
160
160
  /**
161
161
  * @public
162
+ * @enum
162
163
  */
163
- export declare enum TargetStore {
164
- OFFLINE_STORE = "OfflineStore",
165
- ONLINE_STORE = "OnlineStore"
166
- }
164
+ export declare const TargetStore: {
165
+ readonly OFFLINE_STORE: "OfflineStore";
166
+ readonly ONLINE_STORE: "OnlineStore";
167
+ };
168
+ /**
169
+ * @public
170
+ */
171
+ export type TargetStore = (typeof TargetStore)[keyof typeof TargetStore];
167
172
  /**
168
173
  * @public
169
174
  */
@@ -52,10 +52,11 @@ export declare class ValidationError extends __BaseException {
52
52
  Message?: string;
53
53
  constructor(opts: __ExceptionOptionType<ValidationError, __BaseException>);
54
54
  }
55
- export declare enum TargetStore {
56
- OFFLINE_STORE = "OfflineStore",
57
- ONLINE_STORE = "OnlineStore",
58
- }
55
+ export declare const TargetStore: {
56
+ readonly OFFLINE_STORE: "OfflineStore";
57
+ readonly ONLINE_STORE: "OnlineStore";
58
+ };
59
+ export type TargetStore = (typeof TargetStore)[keyof typeof TargetStore];
59
60
  export interface DeleteRecordRequest {
60
61
  FeatureGroupName: string | undefined;
61
62
  RecordIdentifierValueAsString: string | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-sagemaker-featurestore-runtime",
3
3
  "description": "AWS SDK for JavaScript Sagemaker Featurestore Runtime Client for Node.js, Browser and React Native",
4
- "version": "3.300.0",
4
+ "version": "3.303.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,42 +21,42 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.300.0",
25
- "@aws-sdk/config-resolver": "3.300.0",
26
- "@aws-sdk/credential-provider-node": "3.300.0",
27
- "@aws-sdk/fetch-http-handler": "3.296.0",
28
- "@aws-sdk/hash-node": "3.296.0",
29
- "@aws-sdk/invalid-dependency": "3.296.0",
30
- "@aws-sdk/middleware-content-length": "3.296.0",
31
- "@aws-sdk/middleware-endpoint": "3.299.0",
32
- "@aws-sdk/middleware-host-header": "3.296.0",
33
- "@aws-sdk/middleware-logger": "3.296.0",
34
- "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.300.0",
36
- "@aws-sdk/middleware-serde": "3.296.0",
37
- "@aws-sdk/middleware-signing": "3.299.0",
38
- "@aws-sdk/middleware-stack": "3.296.0",
39
- "@aws-sdk/middleware-user-agent": "3.299.0",
40
- "@aws-sdk/node-config-provider": "3.300.0",
41
- "@aws-sdk/node-http-handler": "3.296.0",
42
- "@aws-sdk/protocol-http": "3.296.0",
43
- "@aws-sdk/smithy-client": "3.296.0",
44
- "@aws-sdk/types": "3.296.0",
45
- "@aws-sdk/url-parser": "3.296.0",
46
- "@aws-sdk/util-base64": "3.295.0",
47
- "@aws-sdk/util-body-length-browser": "3.295.0",
48
- "@aws-sdk/util-body-length-node": "3.295.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
- "@aws-sdk/util-endpoints": "3.296.0",
52
- "@aws-sdk/util-retry": "3.296.0",
53
- "@aws-sdk/util-user-agent-browser": "3.299.0",
54
- "@aws-sdk/util-user-agent-node": "3.300.0",
55
- "@aws-sdk/util-utf8": "3.295.0",
24
+ "@aws-sdk/client-sts": "3.303.0",
25
+ "@aws-sdk/config-resolver": "3.303.0",
26
+ "@aws-sdk/credential-provider-node": "3.303.0",
27
+ "@aws-sdk/fetch-http-handler": "3.303.0",
28
+ "@aws-sdk/hash-node": "3.303.0",
29
+ "@aws-sdk/invalid-dependency": "3.303.0",
30
+ "@aws-sdk/middleware-content-length": "3.303.0",
31
+ "@aws-sdk/middleware-endpoint": "3.303.0",
32
+ "@aws-sdk/middleware-host-header": "3.303.0",
33
+ "@aws-sdk/middleware-logger": "3.303.0",
34
+ "@aws-sdk/middleware-recursion-detection": "3.303.0",
35
+ "@aws-sdk/middleware-retry": "3.303.0",
36
+ "@aws-sdk/middleware-serde": "3.303.0",
37
+ "@aws-sdk/middleware-signing": "3.303.0",
38
+ "@aws-sdk/middleware-stack": "3.303.0",
39
+ "@aws-sdk/middleware-user-agent": "3.303.0",
40
+ "@aws-sdk/node-config-provider": "3.303.0",
41
+ "@aws-sdk/node-http-handler": "3.303.0",
42
+ "@aws-sdk/protocol-http": "3.303.0",
43
+ "@aws-sdk/smithy-client": "3.303.0",
44
+ "@aws-sdk/types": "3.303.0",
45
+ "@aws-sdk/url-parser": "3.303.0",
46
+ "@aws-sdk/util-base64": "3.303.0",
47
+ "@aws-sdk/util-body-length-browser": "3.303.0",
48
+ "@aws-sdk/util-body-length-node": "3.303.0",
49
+ "@aws-sdk/util-defaults-mode-browser": "3.303.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.303.0",
51
+ "@aws-sdk/util-endpoints": "3.303.0",
52
+ "@aws-sdk/util-retry": "3.303.0",
53
+ "@aws-sdk/util-user-agent-browser": "3.303.0",
54
+ "@aws-sdk/util-user-agent-node": "3.303.0",
55
+ "@aws-sdk/util-utf8": "3.303.0",
56
56
  "tslib": "^2.5.0"
57
57
  },
58
58
  "devDependencies": {
59
- "@aws-sdk/service-client-documentation-generator": "3.295.0",
59
+ "@aws-sdk/service-client-documentation-generator": "3.303.0",
60
60
  "@tsconfig/node14": "1.0.3",
61
61
  "@types/node": "^14.14.31",
62
62
  "concurrently": "7.0.0",