aws-sdk 2.1347.0 → 2.1349.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.
@@ -20,11 +20,11 @@ declare class SageMakerFeatureStoreRuntime extends Service {
20
20
  */
21
21
  batchGetRecord(callback?: (err: AWSError, data: SageMakerFeatureStoreRuntime.Types.BatchGetRecordResponse) => void): Request<SageMakerFeatureStoreRuntime.Types.BatchGetRecordResponse, AWSError>;
22
22
  /**
23
- * Deletes a Record from a FeatureGroup. When the DeleteRecord API is called a new record will be added to the OfflineStore and the Record will be removed from the OnlineStore. This record will have a value of True in the is_deleted column.
23
+ * 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 set to null and the record is no longer retrievable by GetRecord or BatchGetRecord. For HARD_DELETE, 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, and EventTime set to the delete input EventTime. Note that the EventTime specified in DeleteRecord should be set later than the EventTime of the existing record in the OnlineStore for that RecordIdentifer. If it is not, the deletion does not occur: For SOFT_DELETE, the existing (undeleted) record remains in the OnlineStore, though the delete record marker is still written to the OfflineStore. HARD_DELETE returns EventTime: 400 ValidationException to indicate that the delete operation failed. No delete record marker is written to the OfflineStore.
24
24
  */
25
25
  deleteRecord(params: SageMakerFeatureStoreRuntime.Types.DeleteRecordRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
26
26
  /**
27
- * Deletes a Record from a FeatureGroup. When the DeleteRecord API is called a new record will be added to the OfflineStore and the Record will be removed from the OnlineStore. This record will have a value of True in the is_deleted column.
27
+ * 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 set to null and the record is no longer retrievable by GetRecord or BatchGetRecord. For HARD_DELETE, 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, and EventTime set to the delete input EventTime. Note that the EventTime specified in DeleteRecord should be set later than the EventTime of the existing record in the OnlineStore for that RecordIdentifer. If it is not, the deletion does not occur: For SOFT_DELETE, the existing (undeleted) record remains in the OnlineStore, though the delete record marker is still written to the OfflineStore. HARD_DELETE returns EventTime: 400 ValidationException to indicate that the delete operation failed. No delete record marker is written to the OfflineStore.
28
28
  */
29
29
  deleteRecord(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
30
30
  /**
@@ -55,11 +55,11 @@ declare namespace SageMakerFeatureStoreRuntime {
55
55
  */
56
56
  RecordIdentifierValueAsString: ValueAsString;
57
57
  /**
58
- * The error code of an error that has occured when attempting to retrieve a batch of Records. For more information on errors, see Errors.
58
+ * The error code of an error that has occurred when attempting to retrieve a batch of Records. For more information on errors, see Errors.
59
59
  */
60
60
  ErrorCode: ValueAsString;
61
61
  /**
62
- * The error message of an error that has occured when attempting to retrieve a record in the batch.
62
+ * The error message of an error that has occurred when attempting to retrieve a record in the batch.
63
63
  */
64
64
  ErrorMessage: Message;
65
65
  }
@@ -105,7 +105,7 @@ declare namespace SageMakerFeatureStoreRuntime {
105
105
  */
106
106
  FeatureGroupName: ValueAsString;
107
107
  /**
108
- * The value of the record identifer in string format.
108
+ * The value of the record identifier in string format.
109
109
  */
110
110
  RecordIdentifierValueAsString: ValueAsString;
111
111
  /**
@@ -131,7 +131,12 @@ declare namespace SageMakerFeatureStoreRuntime {
131
131
  * A list of stores from which you're deleting the record. By default, Feature Store deletes the record from all of the stores that you're using for the FeatureGroup.
132
132
  */
133
133
  TargetStores?: TargetStores;
134
+ /**
135
+ * The name of the deletion mode for deleting the record. By default, the deletion mode is set to SoftDelete.
136
+ */
137
+ DeletionMode?: DeletionMode;
134
138
  }
139
+ export type DeletionMode = "SoftDelete"|"HardDelete"|string;
135
140
  export type FeatureGroupName = string;
136
141
  export type FeatureName = string;
137
142
  export type FeatureNames = FeatureName[];