@aws-sdk/client-sagemaker-featurestore-runtime 3.370.0 → 3.374.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.
|
@@ -25,9 +25,9 @@ export interface DeleteRecordCommandOutput extends __MetadataBearer {
|
|
|
25
25
|
* @public
|
|
26
26
|
* <p>Deletes a <code>Record</code> from a <code>FeatureGroup</code> in the
|
|
27
27
|
* <code>OnlineStore</code>. Feature Store supports both <code>SoftDelete</code> and
|
|
28
|
-
* <code>HardDelete</code>. For <code>SoftDelete</code> (default), feature columns are
|
|
29
|
-
*
|
|
30
|
-
*
|
|
28
|
+
* <code>HardDelete</code>. For <code>SoftDelete</code> (default), feature columns are set
|
|
29
|
+
* to <code>null</code> and the record is no longer retrievable by <code>GetRecord</code> or
|
|
30
|
+
* <code>BatchGetRecord</code>. For <code>HardDelete</code>, the complete
|
|
31
31
|
* <code>Record</code> is removed from the <code>OnlineStore</code>. In both cases, Feature
|
|
32
32
|
* Store appends the deleted record marker to the <code>OfflineStore</code> with feature
|
|
33
33
|
* values set to <code>null</code>, <code>is_deleted</code> value set to <code>True</code>,
|
|
@@ -23,11 +23,22 @@ export interface PutRecordCommandOutput extends __MetadataBearer {
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <p>
|
|
27
|
-
*
|
|
28
|
-
*
|
|
29
|
-
*
|
|
30
|
-
* historic record
|
|
26
|
+
* <p>The <code>PutRecord</code> API is used to ingest a list of <code>Records</code> into
|
|
27
|
+
* your feature group. </p>
|
|
28
|
+
* <p>If a new record’s <code>EventTime</code> is greater, the new record is written to both
|
|
29
|
+
* the <code>OnlineStore</code> and <code>OfflineStore</code>. Otherwise, the record is a
|
|
30
|
+
* historic record and it is written only to the <code>OfflineStore</code>. </p>
|
|
31
|
+
* <p>You can specify the ingestion to be applied to the <code>OnlineStore</code>,
|
|
32
|
+
* <code>OfflineStore</code>, or both by using the <code>TargetStores</code> request
|
|
33
|
+
* parameter. </p>
|
|
34
|
+
* <p>You can set the ingested record to expire at a given time to live (TTL) duration after
|
|
35
|
+
* the record’s event time, <code>ExpiresAt</code> = <code>EventTime</code> +
|
|
36
|
+
* <code>TtlDuration</code>, by specifying the <code>TtlDuration</code> parameter. A record
|
|
37
|
+
* level <code>TtlDuration</code> is set when specifying the <code>TtlDuration</code>
|
|
38
|
+
* parameter using the <code>PutRecord</code> API call. If the input <code>TtlDuration</code>
|
|
39
|
+
* is <code>null</code> or unspecified, <code>TtlDuration</code> is set to the default feature
|
|
40
|
+
* group level <code>TtlDuration</code>. A record level <code>TtlDuration</code> supersedes
|
|
41
|
+
* the group level <code>TtlDuration</code>.</p>
|
|
31
42
|
* @example
|
|
32
43
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
44
|
* ```javascript
|
|
@@ -32,7 +32,8 @@ export type ExpirationTimeResponse = (typeof ExpirationTimeResponse)[keyof typeo
|
|
|
32
32
|
*/
|
|
33
33
|
export interface BatchGetRecordIdentifier {
|
|
34
34
|
/**
|
|
35
|
-
* <p>
|
|
35
|
+
* <p>The name or Amazon Resource Name (ARN) of the <code>FeatureGroup</code> containing the
|
|
36
|
+
* records you are retrieving in a batch.</p>
|
|
36
37
|
*/
|
|
37
38
|
FeatureGroupName: string | undefined;
|
|
38
39
|
/**
|
|
@@ -50,14 +51,14 @@ export interface BatchGetRecordIdentifier {
|
|
|
50
51
|
*/
|
|
51
52
|
export interface BatchGetRecordRequest {
|
|
52
53
|
/**
|
|
53
|
-
* <p>A list
|
|
54
|
-
* <code>
|
|
55
|
-
*
|
|
54
|
+
* <p>A list containing the name or Amazon Resource Name (ARN) of the
|
|
55
|
+
* <code>FeatureGroup</code>, the list of names of <code>Feature</code>s to be retrieved,
|
|
56
|
+
* and the corresponding <code>RecordIdentifier</code> values as strings.</p>
|
|
56
57
|
*/
|
|
57
58
|
Identifiers: BatchGetRecordIdentifier[] | undefined;
|
|
58
59
|
/**
|
|
59
60
|
* <p>Parameter to request <code>ExpiresAt</code> in response. If <code>Enabled</code>,
|
|
60
|
-
*
|
|
61
|
+
* <code>BatchGetRecord</code> will return the value of <code>ExpiresAt</code>, if it is
|
|
61
62
|
* not null. If <code>Disabled</code> and null, <code>BatchGetRecord</code> will return
|
|
62
63
|
* null.</p>
|
|
63
64
|
*/
|
|
@@ -106,7 +107,7 @@ export interface FeatureValue {
|
|
|
106
107
|
}
|
|
107
108
|
/**
|
|
108
109
|
* @public
|
|
109
|
-
* <p>The output of
|
|
110
|
+
* <p>The output of records that have been retrieved in a batch.</p>
|
|
110
111
|
*/
|
|
111
112
|
export interface BatchGetRecordResultDetail {
|
|
112
113
|
/**
|
|
@@ -213,7 +214,8 @@ export type TargetStore = (typeof TargetStore)[keyof typeof TargetStore];
|
|
|
213
214
|
*/
|
|
214
215
|
export interface DeleteRecordRequest {
|
|
215
216
|
/**
|
|
216
|
-
* <p>The name of the feature group to delete the record from.
|
|
217
|
+
* <p>The name or Amazon Resource Name (ARN) of the feature group to delete the record from.
|
|
218
|
+
* </p>
|
|
217
219
|
*/
|
|
218
220
|
FeatureGroupName: string | undefined;
|
|
219
221
|
/**
|
|
@@ -243,7 +245,8 @@ export interface DeleteRecordRequest {
|
|
|
243
245
|
*/
|
|
244
246
|
export interface GetRecordRequest {
|
|
245
247
|
/**
|
|
246
|
-
* <p>The name of the feature group from which you want to
|
|
248
|
+
* <p>The name or Amazon Resource Name (ARN) of the feature group from which you want to
|
|
249
|
+
* retrieve a record.</p>
|
|
247
250
|
*/
|
|
248
251
|
FeatureGroupName: string | undefined;
|
|
249
252
|
/**
|
|
@@ -258,9 +261,8 @@ export interface GetRecordRequest {
|
|
|
258
261
|
FeatureNames?: string[];
|
|
259
262
|
/**
|
|
260
263
|
* <p>Parameter to request <code>ExpiresAt</code> in response. If <code>Enabled</code>,
|
|
261
|
-
*
|
|
262
|
-
*
|
|
263
|
-
* null.</p>
|
|
264
|
+
* <code>GetRecord</code> will return the value of <code>ExpiresAt</code>, if it is not
|
|
265
|
+
* null. If <code>Disabled</code> and null, <code>GetRecord</code> will return null.</p>
|
|
264
266
|
*/
|
|
265
267
|
ExpirationTimeResponse?: ExpirationTimeResponse | string;
|
|
266
268
|
}
|
|
@@ -328,7 +330,8 @@ export interface TtlDuration {
|
|
|
328
330
|
*/
|
|
329
331
|
export interface PutRecordRequest {
|
|
330
332
|
/**
|
|
331
|
-
* <p>The name of the feature group that you want to insert the
|
|
333
|
+
* <p>The name or Amazon Resource Name (ARN) of the feature group that you want to insert the
|
|
334
|
+
* record into.</p>
|
|
332
335
|
*/
|
|
333
336
|
FeatureGroupName: string | undefined;
|
|
334
337
|
/**
|
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.
|
|
4
|
+
"version": "3.374.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",
|