Skip to content

Commit f12c0b5

Browse files
author
awstools
committed
feat(client-sagemaker-featurestore-runtime): Increase BatchGetRecord limits from 10 items to 100 items
1 parent 9f1a143 commit f12c0b5

File tree

2 files changed

+14
-6
lines changed

2 files changed

+14
-6
lines changed

clients/client-sagemaker-featurestore-runtime/src/commands/DeleteRecordCommand.ts

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,16 +38,18 @@ export interface DeleteRecordCommandOutput extends __MetadataBearer {}
3838
* to <code>null</code> and the record is no longer retrievable by <code>GetRecord</code> or
3939
* <code>BatchGetRecord</code>. For <code>HardDelete</code>, the complete
4040
* <code>Record</code> is removed from the <code>OnlineStore</code>. In both cases, Feature
41-
* Store appends the deleted record marker to the <code>OfflineStore</code> with feature
42-
* values set to <code>null</code>, <code>is_deleted</code> value set to <code>True</code>,
43-
* and <code>EventTime</code> set to the delete input <code>EventTime</code>.</p>
41+
* Store appends the deleted record marker to the <code>OfflineStore</code>. The deleted
42+
* record marker is a record with the same <code>RecordIdentifer</code> as the original, but
43+
* with <code>is_deleted</code> value set to <code>True</code>, <code>EventTime</code> set to
44+
* the delete input <code>EventTime</code>, and other feature values set to
45+
* <code>null</code>.</p>
4446
* <p>Note that the <code>EventTime</code> specified in <code>DeleteRecord</code> should be
4547
* set later than the <code>EventTime</code> of the existing record in the
4648
* <code>OnlineStore</code> for that <code>RecordIdentifer</code>. If it is not, the
4749
* deletion does not occur:</p>
4850
* <ul>
4951
* <li>
50-
* <p>For <code>SoftDelete</code>, the existing (undeleted) record remains in the
52+
* <p>For <code>SoftDelete</code>, the existing (not deleted) record remains in the
5153
* <code>OnlineStore</code>, though the delete record marker is still written to the
5254
* <code>OfflineStore</code>.</p>
5355
* </li>
@@ -58,6 +60,12 @@ export interface DeleteRecordCommandOutput extends __MetadataBearer {}
5860
* record marker is written to the <code>OfflineStore</code>.</p>
5961
* </li>
6062
* </ul>
63+
* <p>When a record is deleted from the <code>OnlineStore</code>, the deleted record marker is
64+
* appended to the <code>OfflineStore</code>. If you have the Iceberg table format enabled for
65+
* your <code>OfflineStore</code>, you can remove all history of a record from the
66+
* <code>OfflineStore</code> using Amazon Athena or Apache Spark. For information on how to
67+
* hard delete a record from the <code>OfflineStore</code> with the Iceberg table format
68+
* enabled, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/feature-store-delete-records-offline-store.html#feature-store-delete-records-offline-store">Delete records from the offline store</a>.</p>
6169
* @example
6270
* Use a bare-bones client and the command you need to make an API call.
6371
* ```javascript

codegen/sdk-codegen/aws-models/sagemaker-featurestore-runtime.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -823,7 +823,7 @@
823823
"traits": {
824824
"smithy.api#length": {
825825
"min": 1,
826-
"max": 10
826+
"max": 100
827827
}
828828
}
829829
},
@@ -953,7 +953,7 @@
953953
}
954954
],
955955
"traits": {
956-
"smithy.api#documentation": "<p>Deletes a <code>Record</code> from a <code>FeatureGroup</code> in the\n <code>OnlineStore</code>. Feature Store supports both <code>SoftDelete</code> and\n <code>HardDelete</code>. For <code>SoftDelete</code> (default), feature columns are set\n to <code>null</code> and the record is no longer retrievable by <code>GetRecord</code> or\n <code>BatchGetRecord</code>. For <code>HardDelete</code>, the complete\n <code>Record</code> is removed from the <code>OnlineStore</code>. In both cases, Feature\n Store appends the deleted record marker to the <code>OfflineStore</code> with feature\n values set to <code>null</code>, <code>is_deleted</code> value set to <code>True</code>,\n and <code>EventTime</code> set to the delete input <code>EventTime</code>.</p>\n <p>Note that the <code>EventTime</code> specified in <code>DeleteRecord</code> should be\n set later than the <code>EventTime</code> of the existing record in the\n <code>OnlineStore</code> for that <code>RecordIdentifer</code>. If it is not, the\n deletion does not occur:</p>\n <ul>\n <li>\n <p>For <code>SoftDelete</code>, the existing (undeleted) record remains in the\n <code>OnlineStore</code>, though the delete record marker is still written to the\n <code>OfflineStore</code>.</p>\n </li>\n <li>\n <p>\n <code>HardDelete</code> returns <code>EventTime</code>: <code>400\n ValidationException</code> to indicate that the delete operation failed. No delete\n record marker is written to the <code>OfflineStore</code>.</p>\n </li>\n </ul>",
956+
"smithy.api#documentation": "<p>Deletes a <code>Record</code> from a <code>FeatureGroup</code> in the\n <code>OnlineStore</code>. Feature Store supports both <code>SoftDelete</code> and\n <code>HardDelete</code>. For <code>SoftDelete</code> (default), feature columns are set\n to <code>null</code> and the record is no longer retrievable by <code>GetRecord</code> or\n <code>BatchGetRecord</code>. For <code>HardDelete</code>, the complete\n <code>Record</code> is removed from the <code>OnlineStore</code>. In both cases, Feature\n Store appends the deleted record marker to the <code>OfflineStore</code>. The deleted\n record marker is a record with the same <code>RecordIdentifer</code> as the original, but\n with <code>is_deleted</code> value set to <code>True</code>, <code>EventTime</code> set to\n the delete input <code>EventTime</code>, and other feature values set to\n <code>null</code>.</p>\n <p>Note that the <code>EventTime</code> specified in <code>DeleteRecord</code> should be\n set later than the <code>EventTime</code> of the existing record in the\n <code>OnlineStore</code> for that <code>RecordIdentifer</code>. If it is not, the\n deletion does not occur:</p>\n <ul>\n <li>\n <p>For <code>SoftDelete</code>, the existing (not deleted) record remains in the\n <code>OnlineStore</code>, though the delete record marker is still written to the\n <code>OfflineStore</code>.</p>\n </li>\n <li>\n <p>\n <code>HardDelete</code> returns <code>EventTime</code>: <code>400\n ValidationException</code> to indicate that the delete operation failed. No delete\n record marker is written to the <code>OfflineStore</code>.</p>\n </li>\n </ul>\n <p>When a record is deleted from the <code>OnlineStore</code>, the deleted record marker is\n appended to the <code>OfflineStore</code>. If you have the Iceberg table format enabled for\n your <code>OfflineStore</code>, you can remove all history of a record from the\n <code>OfflineStore</code> using Amazon Athena or Apache Spark. For information on how to\n hard delete a record from the <code>OfflineStore</code> with the Iceberg table format\n enabled, see <a href=\"https://docs.aws.amazon.com/sagemaker/latest/dg/feature-store-delete-records-offline-store.html#feature-store-delete-records-offline-store\">Delete records from the offline store</a>.</p>",
957957
"smithy.api#http": {
958958
"method": "DELETE",
959959
"uri": "/FeatureGroup/{FeatureGroupName}",

0 commit comments

Comments
 (0)