@aws-sdk/client-sagemaker-featurestore-runtime 3.1137.0 → 3.1139.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/dist-cjs/index.js CHANGED
@@ -69,7 +69,7 @@ const commonParams = {
69
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
70
70
  };
71
71
 
72
- var version = "3.1136.0";
72
+ var version = "3.1138.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
@@ -298,10 +298,10 @@ const _hQ = "httpQuery";
298
298
  const _s = "smithy.ts.sdk.synthetic.com.amazonaws.sagemakerfeaturestoreruntime";
299
299
  const _se = "server";
300
300
  const n0 = "com.amazonaws.sagemakerfeaturestoreruntime";
301
- const _s_registry = TypeRegistry.for(_s);
301
+ const _s_registry = new TypeRegistry(_s);
302
302
  var SageMakerFeatureStoreRuntimeServiceException$ = [-3, _s, "SageMakerFeatureStoreRuntimeServiceException", 0, [], []];
303
303
  _s_registry.registerError(SageMakerFeatureStoreRuntimeServiceException$, SageMakerFeatureStoreRuntimeServiceException);
304
- const n0_registry = TypeRegistry.for(n0);
304
+ const n0_registry = new TypeRegistry(n0);
305
305
  var AccessForbidden$ = [-3, n0, _AF,
306
306
  { [_e]: _c, [_hE]: 403 },
307
307
  [_M],
@@ -76,10 +76,10 @@ const n0 = "com.amazonaws.sagemakerfeaturestoreruntime";
76
76
  import { TypeRegistry } from "@smithy/core/schema";
77
77
  import { AccessForbidden, ConflictException, InternalFailure, ResourceNotFound, ServiceUnavailable, ValidationError, } from "../models/errors";
78
78
  import { SageMakerFeatureStoreRuntimeServiceException } from "../models/SageMakerFeatureStoreRuntimeServiceException";
79
- const _s_registry = TypeRegistry.for(_s);
79
+ const _s_registry = new TypeRegistry(_s);
80
80
  export var SageMakerFeatureStoreRuntimeServiceException$ = [-3, _s, "SageMakerFeatureStoreRuntimeServiceException", 0, [], []];
81
81
  _s_registry.registerError(SageMakerFeatureStoreRuntimeServiceException$, SageMakerFeatureStoreRuntimeServiceException);
82
- const n0_registry = TypeRegistry.for(n0);
82
+ const n0_registry = new TypeRegistry(n0);
83
83
  export var AccessForbidden$ = [-3, n0, _AF,
84
84
  { [_e]: _c, [_hE]: 403 },
85
85
  [_M],
@@ -1,4 +1,4 @@
1
- import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator } from "@smithy/types";
1
+ import type { HttpHandlerOptions as __HttpHandlerOptions, MetricsRecorder as __MetricsRecorder, PaginationConfiguration, Paginator } from "@smithy/types";
2
2
  import { type BatchGetRecordCommandInput, type BatchGetRecordCommandOutput } from "./commands/BatchGetRecordCommand";
3
3
  import { type BatchWriteRecordCommandInput, type BatchWriteRecordCommandOutput } from "./commands/BatchWriteRecordCommand";
4
4
  import { type DeleteRecordCommandInput, type DeleteRecordCommandOutput } from "./commands/DeleteRecordCommand";
@@ -7,49 +7,55 @@ import { type ListRecordsCommandInput, type ListRecordsCommandOutput } from "./c
7
7
  import { type PutRecordCommandInput, type PutRecordCommandOutput } from "./commands/PutRecordCommand";
8
8
  import { type UpdateRecordCommandInput, type UpdateRecordCommandOutput } from "./commands/UpdateRecordCommand";
9
9
  import { SageMakerFeatureStoreRuntimeClient } from "./SageMakerFeatureStoreRuntimeClient";
10
+ /**
11
+ * @public
12
+ */
13
+ export interface SageMakerFeatureStoreRuntimeRequestOptions extends __HttpHandlerOptions {
14
+ metricsRecorder?: __MetricsRecorder<unknown>;
15
+ }
10
16
  export interface SageMakerFeatureStoreRuntime {
11
17
  /**
12
18
  * @see {@link BatchGetRecordCommand}
13
19
  */
14
- batchGetRecord(args: BatchGetRecordCommandInput, options?: __HttpHandlerOptions): Promise<BatchGetRecordCommandOutput>;
20
+ batchGetRecord(args: BatchGetRecordCommandInput, options?: SageMakerFeatureStoreRuntimeRequestOptions): Promise<BatchGetRecordCommandOutput>;
15
21
  batchGetRecord(args: BatchGetRecordCommandInput, cb: (err: any, data?: BatchGetRecordCommandOutput) => void): void;
16
- batchGetRecord(args: BatchGetRecordCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchGetRecordCommandOutput) => void): void;
22
+ batchGetRecord(args: BatchGetRecordCommandInput, options: SageMakerFeatureStoreRuntimeRequestOptions, cb: (err: any, data?: BatchGetRecordCommandOutput) => void): void;
17
23
  /**
18
24
  * @see {@link BatchWriteRecordCommand}
19
25
  */
20
- batchWriteRecord(args: BatchWriteRecordCommandInput, options?: __HttpHandlerOptions): Promise<BatchWriteRecordCommandOutput>;
26
+ batchWriteRecord(args: BatchWriteRecordCommandInput, options?: SageMakerFeatureStoreRuntimeRequestOptions): Promise<BatchWriteRecordCommandOutput>;
21
27
  batchWriteRecord(args: BatchWriteRecordCommandInput, cb: (err: any, data?: BatchWriteRecordCommandOutput) => void): void;
22
- batchWriteRecord(args: BatchWriteRecordCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchWriteRecordCommandOutput) => void): void;
28
+ batchWriteRecord(args: BatchWriteRecordCommandInput, options: SageMakerFeatureStoreRuntimeRequestOptions, cb: (err: any, data?: BatchWriteRecordCommandOutput) => void): void;
23
29
  /**
24
30
  * @see {@link DeleteRecordCommand}
25
31
  */
26
- deleteRecord(args: DeleteRecordCommandInput, options?: __HttpHandlerOptions): Promise<DeleteRecordCommandOutput>;
32
+ deleteRecord(args: DeleteRecordCommandInput, options?: SageMakerFeatureStoreRuntimeRequestOptions): Promise<DeleteRecordCommandOutput>;
27
33
  deleteRecord(args: DeleteRecordCommandInput, cb: (err: any, data?: DeleteRecordCommandOutput) => void): void;
28
- deleteRecord(args: DeleteRecordCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteRecordCommandOutput) => void): void;
34
+ deleteRecord(args: DeleteRecordCommandInput, options: SageMakerFeatureStoreRuntimeRequestOptions, cb: (err: any, data?: DeleteRecordCommandOutput) => void): void;
29
35
  /**
30
36
  * @see {@link GetRecordCommand}
31
37
  */
32
- getRecord(args: GetRecordCommandInput, options?: __HttpHandlerOptions): Promise<GetRecordCommandOutput>;
38
+ getRecord(args: GetRecordCommandInput, options?: SageMakerFeatureStoreRuntimeRequestOptions): Promise<GetRecordCommandOutput>;
33
39
  getRecord(args: GetRecordCommandInput, cb: (err: any, data?: GetRecordCommandOutput) => void): void;
34
- getRecord(args: GetRecordCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetRecordCommandOutput) => void): void;
40
+ getRecord(args: GetRecordCommandInput, options: SageMakerFeatureStoreRuntimeRequestOptions, cb: (err: any, data?: GetRecordCommandOutput) => void): void;
35
41
  /**
36
42
  * @see {@link ListRecordsCommand}
37
43
  */
38
- listRecords(args: ListRecordsCommandInput, options?: __HttpHandlerOptions): Promise<ListRecordsCommandOutput>;
44
+ listRecords(args: ListRecordsCommandInput, options?: SageMakerFeatureStoreRuntimeRequestOptions): Promise<ListRecordsCommandOutput>;
39
45
  listRecords(args: ListRecordsCommandInput, cb: (err: any, data?: ListRecordsCommandOutput) => void): void;
40
- listRecords(args: ListRecordsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListRecordsCommandOutput) => void): void;
46
+ listRecords(args: ListRecordsCommandInput, options: SageMakerFeatureStoreRuntimeRequestOptions, cb: (err: any, data?: ListRecordsCommandOutput) => void): void;
41
47
  /**
42
48
  * @see {@link PutRecordCommand}
43
49
  */
44
- putRecord(args: PutRecordCommandInput, options?: __HttpHandlerOptions): Promise<PutRecordCommandOutput>;
50
+ putRecord(args: PutRecordCommandInput, options?: SageMakerFeatureStoreRuntimeRequestOptions): Promise<PutRecordCommandOutput>;
45
51
  putRecord(args: PutRecordCommandInput, cb: (err: any, data?: PutRecordCommandOutput) => void): void;
46
- putRecord(args: PutRecordCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutRecordCommandOutput) => void): void;
52
+ putRecord(args: PutRecordCommandInput, options: SageMakerFeatureStoreRuntimeRequestOptions, cb: (err: any, data?: PutRecordCommandOutput) => void): void;
47
53
  /**
48
54
  * @see {@link UpdateRecordCommand}
49
55
  */
50
- updateRecord(args: UpdateRecordCommandInput, options?: __HttpHandlerOptions): Promise<UpdateRecordCommandOutput>;
56
+ updateRecord(args: UpdateRecordCommandInput, options?: SageMakerFeatureStoreRuntimeRequestOptions): Promise<UpdateRecordCommandOutput>;
51
57
  updateRecord(args: UpdateRecordCommandInput, cb: (err: any, data?: UpdateRecordCommandOutput) => void): void;
52
- updateRecord(args: UpdateRecordCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateRecordCommandOutput) => void): void;
58
+ updateRecord(args: UpdateRecordCommandInput, options: SageMakerFeatureStoreRuntimeRequestOptions, cb: (err: any, data?: UpdateRecordCommandOutput) => void): void;
53
59
  /**
54
60
  * @see {@link ListRecordsCommand}
55
61
  * @param args - command input.
@@ -1,5 +1,6 @@
1
1
  import {
2
2
  HttpHandlerOptions as __HttpHandlerOptions,
3
+ MetricsRecorder as __MetricsRecorder,
3
4
  PaginationConfiguration,
4
5
  Paginator,
5
6
  } from "@smithy/types";
@@ -23,10 +24,13 @@ import {
23
24
  UpdateRecordCommandOutput,
24
25
  } from "./commands/UpdateRecordCommand";
25
26
  import { SageMakerFeatureStoreRuntimeClient } from "./SageMakerFeatureStoreRuntimeClient";
27
+ export interface SageMakerFeatureStoreRuntimeRequestOptions extends __HttpHandlerOptions {
28
+ metricsRecorder?: __MetricsRecorder<unknown>;
29
+ }
26
30
  export interface SageMakerFeatureStoreRuntime {
27
31
  batchGetRecord(
28
32
  args: BatchGetRecordCommandInput,
29
- options?: __HttpHandlerOptions,
33
+ options?: SageMakerFeatureStoreRuntimeRequestOptions,
30
34
  ): Promise<BatchGetRecordCommandOutput>;
31
35
  batchGetRecord(
32
36
  args: BatchGetRecordCommandInput,
@@ -34,12 +38,12 @@ export interface SageMakerFeatureStoreRuntime {
34
38
  ): void;
35
39
  batchGetRecord(
36
40
  args: BatchGetRecordCommandInput,
37
- options: __HttpHandlerOptions,
41
+ options: SageMakerFeatureStoreRuntimeRequestOptions,
38
42
  cb: (err: any, data?: BatchGetRecordCommandOutput) => void,
39
43
  ): void;
40
44
  batchWriteRecord(
41
45
  args: BatchWriteRecordCommandInput,
42
- options?: __HttpHandlerOptions,
46
+ options?: SageMakerFeatureStoreRuntimeRequestOptions,
43
47
  ): Promise<BatchWriteRecordCommandOutput>;
44
48
  batchWriteRecord(
45
49
  args: BatchWriteRecordCommandInput,
@@ -47,12 +51,12 @@ export interface SageMakerFeatureStoreRuntime {
47
51
  ): void;
48
52
  batchWriteRecord(
49
53
  args: BatchWriteRecordCommandInput,
50
- options: __HttpHandlerOptions,
54
+ options: SageMakerFeatureStoreRuntimeRequestOptions,
51
55
  cb: (err: any, data?: BatchWriteRecordCommandOutput) => void,
52
56
  ): void;
53
57
  deleteRecord(
54
58
  args: DeleteRecordCommandInput,
55
- options?: __HttpHandlerOptions,
59
+ options?: SageMakerFeatureStoreRuntimeRequestOptions,
56
60
  ): Promise<DeleteRecordCommandOutput>;
57
61
  deleteRecord(
58
62
  args: DeleteRecordCommandInput,
@@ -60,12 +64,12 @@ export interface SageMakerFeatureStoreRuntime {
60
64
  ): void;
61
65
  deleteRecord(
62
66
  args: DeleteRecordCommandInput,
63
- options: __HttpHandlerOptions,
67
+ options: SageMakerFeatureStoreRuntimeRequestOptions,
64
68
  cb: (err: any, data?: DeleteRecordCommandOutput) => void,
65
69
  ): void;
66
70
  getRecord(
67
71
  args: GetRecordCommandInput,
68
- options?: __HttpHandlerOptions,
72
+ options?: SageMakerFeatureStoreRuntimeRequestOptions,
69
73
  ): Promise<GetRecordCommandOutput>;
70
74
  getRecord(
71
75
  args: GetRecordCommandInput,
@@ -73,12 +77,12 @@ export interface SageMakerFeatureStoreRuntime {
73
77
  ): void;
74
78
  getRecord(
75
79
  args: GetRecordCommandInput,
76
- options: __HttpHandlerOptions,
80
+ options: SageMakerFeatureStoreRuntimeRequestOptions,
77
81
  cb: (err: any, data?: GetRecordCommandOutput) => void,
78
82
  ): void;
79
83
  listRecords(
80
84
  args: ListRecordsCommandInput,
81
- options?: __HttpHandlerOptions,
85
+ options?: SageMakerFeatureStoreRuntimeRequestOptions,
82
86
  ): Promise<ListRecordsCommandOutput>;
83
87
  listRecords(
84
88
  args: ListRecordsCommandInput,
@@ -86,12 +90,12 @@ export interface SageMakerFeatureStoreRuntime {
86
90
  ): void;
87
91
  listRecords(
88
92
  args: ListRecordsCommandInput,
89
- options: __HttpHandlerOptions,
93
+ options: SageMakerFeatureStoreRuntimeRequestOptions,
90
94
  cb: (err: any, data?: ListRecordsCommandOutput) => void,
91
95
  ): void;
92
96
  putRecord(
93
97
  args: PutRecordCommandInput,
94
- options?: __HttpHandlerOptions,
98
+ options?: SageMakerFeatureStoreRuntimeRequestOptions,
95
99
  ): Promise<PutRecordCommandOutput>;
96
100
  putRecord(
97
101
  args: PutRecordCommandInput,
@@ -99,12 +103,12 @@ export interface SageMakerFeatureStoreRuntime {
99
103
  ): void;
100
104
  putRecord(
101
105
  args: PutRecordCommandInput,
102
- options: __HttpHandlerOptions,
106
+ options: SageMakerFeatureStoreRuntimeRequestOptions,
103
107
  cb: (err: any, data?: PutRecordCommandOutput) => void,
104
108
  ): void;
105
109
  updateRecord(
106
110
  args: UpdateRecordCommandInput,
107
- options?: __HttpHandlerOptions,
111
+ options?: SageMakerFeatureStoreRuntimeRequestOptions,
108
112
  ): Promise<UpdateRecordCommandOutput>;
109
113
  updateRecord(
110
114
  args: UpdateRecordCommandInput,
@@ -112,7 +116,7 @@ export interface SageMakerFeatureStoreRuntime {
112
116
  ): void;
113
117
  updateRecord(
114
118
  args: UpdateRecordCommandInput,
115
- options: __HttpHandlerOptions,
119
+ options: SageMakerFeatureStoreRuntimeRequestOptions,
116
120
  cb: (err: any, data?: UpdateRecordCommandOutput) => void,
117
121
  ): void;
118
122
  paginateListRecords(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-sagemaker-featurestore-runtime",
3
- "version": "3.1137.0",
3
+ "version": "3.1139.0",
4
4
  "description": "AWS SDK for JavaScript Sagemaker Featurestore Runtime Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-sagemaker-featurestore-runtime",
6
6
  "license": "Apache-2.0",
@@ -46,13 +46,13 @@
46
46
  "test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
47
47
  },
48
48
  "dependencies": {
49
- "@aws-sdk/core": "^3.978.0",
50
- "@aws-sdk/credential-provider-node": "^3.972.83",
51
- "@aws-sdk/types": "^3.974.5",
52
- "@smithy/core": "^3.33.3",
53
- "@smithy/fetch-http-handler": "^5.7.2",
54
- "@smithy/node-http-handler": "^4.11.3",
55
- "@smithy/types": "^4.17.2",
49
+ "@aws-sdk/core": "^3.978.1",
50
+ "@aws-sdk/credential-provider-node": "^3.972.84",
51
+ "@aws-sdk/types": "^3.974.6",
52
+ "@smithy/core": "^3.35.0",
53
+ "@smithy/fetch-http-handler": "^5.8.0",
54
+ "@smithy/node-http-handler": "^4.12.1",
55
+ "@smithy/types": "^4.19.0",
56
56
  "tslib": "^2.6.2"
57
57
  },
58
58
  "devDependencies": {