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 |
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.
PutRecord' | |
|
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
GetRecord
to retrieve the latest record. - Update the record returned from
GetRecord
. - Use
PutRecord
to 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
GetRecord
to retrieve the latest record. - Update the record returned from
GetRecord
. - Use
PutRecord
to update feature values.
Destructuring the Response
data PutRecordResponse Source #
See: newPutRecordResponse
smart constructor.
Instances
Generic PutRecordResponse Source # | |
Defined in Amazonka.SageMakerFeatureStoreRuntime.PutRecord type Rep PutRecordResponse :: Type -> Type # from :: PutRecordResponse -> Rep PutRecordResponse x # to :: Rep PutRecordResponse x -> PutRecordResponse # | |
Read PutRecordResponse Source # | |
Show PutRecordResponse Source # | |
Defined in Amazonka.SageMakerFeatureStoreRuntime.PutRecord showsPrec :: Int -> PutRecordResponse -> ShowS # show :: PutRecordResponse -> String # showList :: [PutRecordResponse] -> ShowS # | |
NFData PutRecordResponse Source # | |
Defined in Amazonka.SageMakerFeatureStoreRuntime.PutRecord rnf :: PutRecordResponse -> () # | |
Eq PutRecordResponse Source # | |
Defined in Amazonka.SageMakerFeatureStoreRuntime.PutRecord (==) :: PutRecordResponse -> PutRecordResponse -> Bool # (/=) :: PutRecordResponse -> PutRecordResponse -> Bool # | |
type Rep PutRecordResponse Source # | |
newPutRecordResponse :: PutRecordResponse Source #
Create a value of PutRecordResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.