Skip to content

Commit

Permalink
feat(client-sagemaker-featurestore-runtime): Increase BatchGetRecord …
Browse files Browse the repository at this point in the history
…limits from 10 items to 100 items
  • Loading branch information
awstools committed Jan 18, 2024
1 parent 9f1a143 commit f12c0b5
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,16 +38,18 @@ export interface DeleteRecordCommandOutput extends __MetadataBearer {}
* to <code>null</code> and the record is no longer retrievable by <code>GetRecord</code> or
* <code>BatchGetRecord</code>. For <code>HardDelete</code>, the complete
* <code>Record</code> is removed from the <code>OnlineStore</code>. In both cases, Feature
* Store appends the deleted record marker to the <code>OfflineStore</code> with feature
* values set to <code>null</code>, <code>is_deleted</code> value set to <code>True</code>,
* and <code>EventTime</code> set to the delete input <code>EventTime</code>.</p>
* Store appends the deleted record marker to the <code>OfflineStore</code>. The deleted
* record marker is a record with the same <code>RecordIdentifer</code> as the original, but
* with <code>is_deleted</code> value set to <code>True</code>, <code>EventTime</code> set to
* the delete input <code>EventTime</code>, and other feature values set to
* <code>null</code>.</p>
* <p>Note that the <code>EventTime</code> specified in <code>DeleteRecord</code> should be
* set later than the <code>EventTime</code> of the existing record in the
* <code>OnlineStore</code> for that <code>RecordIdentifer</code>. If it is not, the
* deletion does not occur:</p>
* <ul>
* <li>
* <p>For <code>SoftDelete</code>, the existing (undeleted) record remains in the
* <p>For <code>SoftDelete</code>, the existing (not deleted) record remains in the
* <code>OnlineStore</code>, though the delete record marker is still written to the
* <code>OfflineStore</code>.</p>
* </li>
Expand All @@ -58,6 +60,12 @@ export interface DeleteRecordCommandOutput extends __MetadataBearer {}
* record marker is written to the <code>OfflineStore</code>.</p>
* </li>
* </ul>
* <p>When a record is deleted from the <code>OnlineStore</code>, the deleted record marker is
* appended to the <code>OfflineStore</code>. If you have the Iceberg table format enabled for
* your <code>OfflineStore</code>, you can remove all history of a record from the
* <code>OfflineStore</code> using Amazon Athena or Apache Spark. For information on how to
* hard delete a record from the <code>OfflineStore</code> with the Iceberg table format
* 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>
* @example
* Use a bare-bones client and the command you need to make an API call.
* ```javascript
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -823,7 +823,7 @@
"traits": {
"smithy.api#length": {
"min": 1,
"max": 10
"max": 100
}
}
},
Expand Down Expand Up @@ -953,7 +953,7 @@
}
],
"traits": {
"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>",
"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>",
"smithy.api#http": {
"method": "DELETE",
"uri": "/FeatureGroup/{FeatureGroupName}",
Expand Down

0 comments on commit f12c0b5

Please sign in to comment.