From 60c5c6a4f536165949312f0431a17cf0859d1ca5 Mon Sep 17 00:00:00 2001 From: awstools Date: Tue, 27 Jun 2023 18:25:31 +0000 Subject: [PATCH] feat(client-sagemaker-featurestore-runtime): Introducing TTL for online store records for feature groups. --- .../src/commands/BatchGetRecordCommand.ts | 2 + .../src/commands/DeleteRecordCommand.ts | 10 +- .../src/commands/GetRecordCommand.ts | 2 + .../src/commands/PutRecordCommand.ts | 4 + .../src/models/models_0.ts | 84 +++++++ .../src/protocols/Aws_restJson1.ts | 7 + .../sagemaker-featurestore-runtime.json | 206 ++++++++++++++---- 7 files changed, 265 insertions(+), 50 deletions(-) diff --git a/clients/client-sagemaker-featurestore-runtime/src/commands/BatchGetRecordCommand.ts b/clients/client-sagemaker-featurestore-runtime/src/commands/BatchGetRecordCommand.ts index 36a437cc742c..72673b284930 100644 --- a/clients/client-sagemaker-featurestore-runtime/src/commands/BatchGetRecordCommand.ts +++ b/clients/client-sagemaker-featurestore-runtime/src/commands/BatchGetRecordCommand.ts @@ -59,6 +59,7 @@ export interface BatchGetRecordCommandOutput extends BatchGetRecordResponse, __M * ], * }, * ], + * ExpirationTimeResponse: "Enabled" || "Disabled", * }; * const command = new BatchGetRecordCommand(input); * const response = await client.send(command); @@ -73,6 +74,7 @@ export interface BatchGetRecordCommandOutput extends BatchGetRecordResponse, __M * // ValueAsString: "STRING_VALUE", // required * // }, * // ], + * // ExpiresAt: "STRING_VALUE", * // }, * // ], * // Errors: [ // BatchGetRecordErrors // required diff --git a/clients/client-sagemaker-featurestore-runtime/src/commands/DeleteRecordCommand.ts b/clients/client-sagemaker-featurestore-runtime/src/commands/DeleteRecordCommand.ts index da0941c48e6f..06cdabfff03a 100644 --- a/clients/client-sagemaker-featurestore-runtime/src/commands/DeleteRecordCommand.ts +++ b/clients/client-sagemaker-featurestore-runtime/src/commands/DeleteRecordCommand.ts @@ -41,10 +41,10 @@ export interface DeleteRecordCommandOutput extends __MetadataBearer {} /** * @public *

Deletes a Record from a FeatureGroup in the - * OnlineStore. Feature Store supports both SOFT_DELETE and - * HARD_DELETE. For SOFT_DELETE (default), feature columns are + * OnlineStore. Feature Store supports both SoftDelete and + * HardDelete. For SoftDelete (default), feature columns are * set to null and the record is no longer retrievable by GetRecord - * or BatchGetRecord. For HARD_DELETE, the complete + * or BatchGetRecord. For HardDelete, the complete * Record is removed from the OnlineStore. In both cases, Feature * Store appends the deleted record marker to the OfflineStore with feature * values set to null, is_deleted value set to True, @@ -55,13 +55,13 @@ export interface DeleteRecordCommandOutput extends __MetadataBearer {} * deletion does not occur:

*