| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.SageMakerFeatureStoreRuntime.PutRecord
Description
Used for data ingestion into the FeatureStore. The PutRecord API
writes to both the OnlineStore and OfflineStore. If the record is
the latest record for the recordIdentifier, the record is written to
both the OnlineStore and OfflineStore. If the record is a historic
record, it is written only to the OfflineStore.
Synopsis
- data PutRecord = PutRecord' {}
- newPutRecord :: Text -> NonEmpty FeatureValue -> PutRecord
- putRecord_targetStores :: Lens' PutRecord (Maybe (NonEmpty TargetStore))
- putRecord_featureGroupName :: Lens' PutRecord Text
- putRecord_record :: Lens' PutRecord (NonEmpty FeatureValue)
- data PutRecordResponse = PutRecordResponse' {
- newPutRecordResponse :: PutRecordResponse
Creating a Request
See: newPutRecord smart constructor.
Constructors
| PutRecord' | |
Fields
| |
Instances
Create a value of PutRecord with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:targetStores:PutRecord', putRecord_targetStores - A list of stores to which you're adding the record. By default, Feature
Store adds the record to all of the stores that you're using for the
FeatureGroup.
PutRecord, putRecord_featureGroupName - The name of the feature group that you want to insert the record into.
PutRecord, putRecord_record - List of FeatureValues to be inserted. This will be a full over-write. If
you only want to update few of the feature values, do the following:
- Use
GetRecordto retrieve the latest record. - Update the record returned from
GetRecord. - Use
PutRecordto update feature values.
Request Lenses
putRecord_targetStores :: Lens' PutRecord (Maybe (NonEmpty TargetStore)) Source #
A list of stores to which you're adding the record. By default, Feature
Store adds the record to all of the stores that you're using for the
FeatureGroup.
putRecord_featureGroupName :: Lens' PutRecord Text Source #
The name of the feature group that you want to insert the record into.
putRecord_record :: Lens' PutRecord (NonEmpty FeatureValue) Source #
List of FeatureValues to be inserted. This will be a full over-write. If you only want to update few of the feature values, do the following:
- Use
GetRecordto retrieve the latest record. - Update the record returned from
GetRecord. - Use
PutRecordto update feature values.
Destructuring the Response
data PutRecordResponse Source #
See: newPutRecordResponse smart constructor.
Constructors
| PutRecordResponse' | |
Instances
newPutRecordResponse :: PutRecordResponse Source #
Create a value of PutRecordResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.