@aws-sdk/client-sagemaker-featurestore-runtime 3.687.0 → 3.691.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.
@@ -7,7 +7,7 @@ import { SageMakerFeatureStoreRuntimeServiceException as __BaseException } from
7
7
  export declare class AccessForbidden extends __BaseException {
8
8
  readonly name: "AccessForbidden";
9
9
  readonly $fault: "client";
10
- Message?: string;
10
+ Message?: string | undefined;
11
11
  /**
12
12
  * @internal
13
13
  */
@@ -47,7 +47,7 @@ export interface BatchGetRecordIdentifier {
47
47
  * the Features are returned.</p>
48
48
  * @public
49
49
  */
50
- FeatureNames?: string[];
50
+ FeatureNames?: string[] | undefined;
51
51
  }
52
52
  /**
53
53
  * @public
@@ -67,7 +67,7 @@ export interface BatchGetRecordRequest {
67
67
  * null.</p>
68
68
  * @public
69
69
  */
70
- ExpirationTimeResponse?: ExpirationTimeResponse;
70
+ ExpirationTimeResponse?: ExpirationTimeResponse | undefined;
71
71
  }
72
72
  /**
73
73
  * <p>The error that has occurred when attempting to retrieve a batch of Records.</p>
@@ -116,7 +116,7 @@ export interface FeatureValue {
116
116
  * represents all three types as a string.</p>
117
117
  * @public
118
118
  */
119
- ValueAsString?: string;
119
+ ValueAsString?: string | undefined;
120
120
  /**
121
121
  * <p>The list of values in string format associated with a feature. Used when your
122
122
  * <code>CollectionType</code> is a <code>List</code>, <code>Set</code>, or
@@ -125,7 +125,7 @@ export interface FeatureValue {
125
125
  * types as a string.</p>
126
126
  * @public
127
127
  */
128
- ValueAsStringList?: string[];
128
+ ValueAsStringList?: string[] | undefined;
129
129
  }
130
130
  /**
131
131
  * <p>The output of records that have been retrieved in a batch.</p>
@@ -151,7 +151,7 @@ export interface BatchGetRecordResultDetail {
151
151
  * <p>The <code>ExpiresAt</code> ISO string of the requested record.</p>
152
152
  * @public
153
153
  */
154
- ExpiresAt?: string;
154
+ ExpiresAt?: string | undefined;
155
155
  }
156
156
  /**
157
157
  * @public
@@ -182,7 +182,7 @@ export interface BatchGetRecordResponse {
182
182
  export declare class InternalFailure extends __BaseException {
183
183
  readonly name: "InternalFailure";
184
184
  readonly $fault: "server";
185
- Message?: string;
185
+ Message?: string | undefined;
186
186
  /**
187
187
  * @internal
188
188
  */
@@ -195,7 +195,7 @@ export declare class InternalFailure extends __BaseException {
195
195
  export declare class ServiceUnavailable extends __BaseException {
196
196
  readonly name: "ServiceUnavailable";
197
197
  readonly $fault: "server";
198
- Message?: string;
198
+ Message?: string | undefined;
199
199
  /**
200
200
  * @internal
201
201
  */
@@ -208,7 +208,7 @@ export declare class ServiceUnavailable extends __BaseException {
208
208
  export declare class ValidationError extends __BaseException {
209
209
  readonly name: "ValidationError";
210
210
  readonly $fault: "client";
211
- Message?: string;
211
+ Message?: string | undefined;
212
212
  /**
213
213
  * @internal
214
214
  */
@@ -266,13 +266,13 @@ export interface DeleteRecordRequest {
266
266
  * <code>FeatureGroup</code>.</p>
267
267
  * @public
268
268
  */
269
- TargetStores?: TargetStore[];
269
+ TargetStores?: TargetStore[] | undefined;
270
270
  /**
271
271
  * <p>The name of the deletion mode for deleting the record. By default, the deletion mode is
272
272
  * set to <code>SoftDelete</code>.</p>
273
273
  * @public
274
274
  */
275
- DeletionMode?: DeletionMode;
275
+ DeletionMode?: DeletionMode | undefined;
276
276
  }
277
277
  /**
278
278
  * @public
@@ -295,14 +295,14 @@ export interface GetRecordRequest {
295
295
  * the Features are returned.</p>
296
296
  * @public
297
297
  */
298
- FeatureNames?: string[];
298
+ FeatureNames?: string[] | undefined;
299
299
  /**
300
300
  * <p>Parameter to request <code>ExpiresAt</code> in response. If <code>Enabled</code>,
301
301
  * <code>GetRecord</code> will return the value of <code>ExpiresAt</code>, if it is not
302
302
  * null. If <code>Disabled</code> and null, <code>GetRecord</code> will return null.</p>
303
303
  * @public
304
304
  */
305
- ExpirationTimeResponse?: ExpirationTimeResponse;
305
+ ExpirationTimeResponse?: ExpirationTimeResponse | undefined;
306
306
  }
307
307
  /**
308
308
  * @public
@@ -312,12 +312,12 @@ export interface GetRecordResponse {
312
312
  * <p>The record you requested. A list of <code>FeatureValues</code>.</p>
313
313
  * @public
314
314
  */
315
- Record?: FeatureValue[];
315
+ Record?: FeatureValue[] | undefined;
316
316
  /**
317
317
  * <p>The <code>ExpiresAt</code> ISO string of the requested record.</p>
318
318
  * @public
319
319
  */
320
- ExpiresAt?: string;
320
+ ExpiresAt?: string | undefined;
321
321
  }
322
322
  /**
323
323
  * <p>A resource that is required to perform an action was not found.</p>
@@ -326,7 +326,7 @@ export interface GetRecordResponse {
326
326
  export declare class ResourceNotFound extends __BaseException {
327
327
  readonly name: "ResourceNotFound";
328
328
  readonly $fault: "client";
329
- Message?: string;
329
+ Message?: string | undefined;
330
330
  /**
331
331
  * @internal
332
332
  */
@@ -399,12 +399,12 @@ export interface PutRecordRequest {
399
399
  * record to all of the stores that you're using for the <code>FeatureGroup</code>.</p>
400
400
  * @public
401
401
  */
402
- TargetStores?: TargetStore[];
402
+ TargetStores?: TargetStore[] | undefined;
403
403
  /**
404
404
  * <p>Time to live duration, where the record is hard deleted after the expiration time is
405
405
  * reached; <code>ExpiresAt</code> = <code>EventTime</code> + <code>TtlDuration</code>. For
406
406
  * information on HardDelete, see the <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_feature_store_DeleteRecord.html">DeleteRecord</a> API in the Amazon SageMaker API Reference guide.</p>
407
407
  * @public
408
408
  */
409
- TtlDuration?: TtlDuration;
409
+ TtlDuration?: TtlDuration | undefined;
410
410
  }
@@ -3,7 +3,7 @@ import { SageMakerFeatureStoreRuntimeServiceException as __BaseException } from
3
3
  export declare class AccessForbidden extends __BaseException {
4
4
  readonly name: "AccessForbidden";
5
5
  readonly $fault: "client";
6
- Message?: string;
6
+ Message?: string | undefined;
7
7
  constructor(opts: __ExceptionOptionType<AccessForbidden, __BaseException>);
8
8
  }
9
9
  export declare const ExpirationTimeResponse: {
@@ -15,11 +15,11 @@ export type ExpirationTimeResponse =
15
15
  export interface BatchGetRecordIdentifier {
16
16
  FeatureGroupName: string | undefined;
17
17
  RecordIdentifiersValueAsString: string[] | undefined;
18
- FeatureNames?: string[];
18
+ FeatureNames?: string[] | undefined;
19
19
  }
20
20
  export interface BatchGetRecordRequest {
21
21
  Identifiers: BatchGetRecordIdentifier[] | undefined;
22
- ExpirationTimeResponse?: ExpirationTimeResponse;
22
+ ExpirationTimeResponse?: ExpirationTimeResponse | undefined;
23
23
  }
24
24
  export interface BatchGetRecordError {
25
25
  FeatureGroupName: string | undefined;
@@ -29,14 +29,14 @@ export interface BatchGetRecordError {
29
29
  }
30
30
  export interface FeatureValue {
31
31
  FeatureName: string | undefined;
32
- ValueAsString?: string;
33
- ValueAsStringList?: string[];
32
+ ValueAsString?: string | undefined;
33
+ ValueAsStringList?: string[] | undefined;
34
34
  }
35
35
  export interface BatchGetRecordResultDetail {
36
36
  FeatureGroupName: string | undefined;
37
37
  RecordIdentifierValueAsString: string | undefined;
38
38
  Record: FeatureValue[] | undefined;
39
- ExpiresAt?: string;
39
+ ExpiresAt?: string | undefined;
40
40
  }
41
41
  export interface BatchGetRecordResponse {
42
42
  Records: BatchGetRecordResultDetail[] | undefined;
@@ -46,19 +46,19 @@ export interface BatchGetRecordResponse {
46
46
  export declare class InternalFailure extends __BaseException {
47
47
  readonly name: "InternalFailure";
48
48
  readonly $fault: "server";
49
- Message?: string;
49
+ Message?: string | undefined;
50
50
  constructor(opts: __ExceptionOptionType<InternalFailure, __BaseException>);
51
51
  }
52
52
  export declare class ServiceUnavailable extends __BaseException {
53
53
  readonly name: "ServiceUnavailable";
54
54
  readonly $fault: "server";
55
- Message?: string;
55
+ Message?: string | undefined;
56
56
  constructor(opts: __ExceptionOptionType<ServiceUnavailable, __BaseException>);
57
57
  }
58
58
  export declare class ValidationError extends __BaseException {
59
59
  readonly name: "ValidationError";
60
60
  readonly $fault: "client";
61
- Message?: string;
61
+ Message?: string | undefined;
62
62
  constructor(opts: __ExceptionOptionType<ValidationError, __BaseException>);
63
63
  }
64
64
  export declare const DeletionMode: {
@@ -75,23 +75,23 @@ export interface DeleteRecordRequest {
75
75
  FeatureGroupName: string | undefined;
76
76
  RecordIdentifierValueAsString: string | undefined;
77
77
  EventTime: string | undefined;
78
- TargetStores?: TargetStore[];
79
- DeletionMode?: DeletionMode;
78
+ TargetStores?: TargetStore[] | undefined;
79
+ DeletionMode?: DeletionMode | undefined;
80
80
  }
81
81
  export interface GetRecordRequest {
82
82
  FeatureGroupName: string | undefined;
83
83
  RecordIdentifierValueAsString: string | undefined;
84
- FeatureNames?: string[];
85
- ExpirationTimeResponse?: ExpirationTimeResponse;
84
+ FeatureNames?: string[] | undefined;
85
+ ExpirationTimeResponse?: ExpirationTimeResponse | undefined;
86
86
  }
87
87
  export interface GetRecordResponse {
88
- Record?: FeatureValue[];
89
- ExpiresAt?: string;
88
+ Record?: FeatureValue[] | undefined;
89
+ ExpiresAt?: string | undefined;
90
90
  }
91
91
  export declare class ResourceNotFound extends __BaseException {
92
92
  readonly name: "ResourceNotFound";
93
93
  readonly $fault: "client";
94
- Message?: string;
94
+ Message?: string | undefined;
95
95
  constructor(opts: __ExceptionOptionType<ResourceNotFound, __BaseException>);
96
96
  }
97
97
  export declare const TtlDurationUnit: {
@@ -110,6 +110,6 @@ export interface TtlDuration {
110
110
  export interface PutRecordRequest {
111
111
  FeatureGroupName: string | undefined;
112
112
  Record: FeatureValue[] | undefined;
113
- TargetStores?: TargetStore[];
114
- TtlDuration?: TtlDuration;
113
+ TargetStores?: TargetStore[] | undefined;
114
+ TtlDuration?: TtlDuration | undefined;
115
115
  }
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.687.0",
4
+ "version": "3.691.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-sagemaker-featurestore-runtime",
@@ -20,19 +20,19 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.687.0",
24
- "@aws-sdk/client-sts": "3.687.0",
25
- "@aws-sdk/core": "3.686.0",
26
- "@aws-sdk/credential-provider-node": "3.687.0",
23
+ "@aws-sdk/client-sso-oidc": "3.691.0",
24
+ "@aws-sdk/client-sts": "3.691.0",
25
+ "@aws-sdk/core": "3.691.0",
26
+ "@aws-sdk/credential-provider-node": "3.691.0",
27
27
  "@aws-sdk/middleware-host-header": "3.686.0",
28
28
  "@aws-sdk/middleware-logger": "3.686.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.686.0",
30
- "@aws-sdk/middleware-user-agent": "3.687.0",
30
+ "@aws-sdk/middleware-user-agent": "3.691.0",
31
31
  "@aws-sdk/region-config-resolver": "3.686.0",
32
32
  "@aws-sdk/types": "3.686.0",
33
33
  "@aws-sdk/util-endpoints": "3.686.0",
34
34
  "@aws-sdk/util-user-agent-browser": "3.686.0",
35
- "@aws-sdk/util-user-agent-node": "3.687.0",
35
+ "@aws-sdk/util-user-agent-node": "3.691.0",
36
36
  "@smithy/config-resolver": "^3.0.10",
37
37
  "@smithy/core": "^2.5.1",
38
38
  "@smithy/fetch-http-handler": "^4.0.0",