amazonka-sagemaker-featurestore-runtime-2.0: Amazon SageMaker Feature Store Runtime SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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

Creating a Request

data PutRecord Source #

See: newPutRecord smart constructor.

Constructors

PutRecord' 

Fields

  • targetStores :: Maybe (NonEmpty TargetStore)

    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.

  • featureGroupName :: Text

    The name of the feature group that you want to insert the record into.

  • record :: NonEmpty FeatureValue

    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.

Instances

Instances details
ToJSON PutRecord Source # 
Instance details

Defined in Amazonka.SageMakerFeatureStoreRuntime.PutRecord

ToHeaders PutRecord Source # 
Instance details

Defined in Amazonka.SageMakerFeatureStoreRuntime.PutRecord

Methods

toHeaders :: PutRecord -> [Header] #

ToPath PutRecord Source # 
Instance details

Defined in Amazonka.SageMakerFeatureStoreRuntime.PutRecord

ToQuery PutRecord Source # 
Instance details

Defined in Amazonka.SageMakerFeatureStoreRuntime.PutRecord

AWSRequest PutRecord Source # 
Instance details

Defined in Amazonka.SageMakerFeatureStoreRuntime.PutRecord

Associated Types

type AWSResponse PutRecord #

Generic PutRecord Source # 
Instance details

Defined in Amazonka.SageMakerFeatureStoreRuntime.PutRecord

Associated Types

type Rep PutRecord :: Type -> Type #

Read PutRecord Source # 
Instance details

Defined in Amazonka.SageMakerFeatureStoreRuntime.PutRecord

Show PutRecord Source # 
Instance details

Defined in Amazonka.SageMakerFeatureStoreRuntime.PutRecord

NFData PutRecord Source # 
Instance details

Defined in Amazonka.SageMakerFeatureStoreRuntime.PutRecord

Methods

rnf :: PutRecord -> () #

Eq PutRecord Source # 
Instance details

Defined in Amazonka.SageMakerFeatureStoreRuntime.PutRecord

Hashable PutRecord Source # 
Instance details

Defined in Amazonka.SageMakerFeatureStoreRuntime.PutRecord

type AWSResponse PutRecord Source # 
Instance details

Defined in Amazonka.SageMakerFeatureStoreRuntime.PutRecord

type Rep PutRecord Source # 
Instance details

Defined in Amazonka.SageMakerFeatureStoreRuntime.PutRecord

type Rep PutRecord = D1 ('MetaData "PutRecord" "Amazonka.SageMakerFeatureStoreRuntime.PutRecord" "amazonka-sagemaker-featurestore-runtime-2.0-Ge8ickTqcVaBGzrkCd8wM0" 'False) (C1 ('MetaCons "PutRecord'" 'PrefixI 'True) (S1 ('MetaSel ('Just "targetStores") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty TargetStore))) :*: (S1 ('MetaSel ('Just "featureGroupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "record") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty FeatureValue)))))

newPutRecord Source #

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.

Constructors

PutRecordResponse' 

Instances

Instances details
Generic PutRecordResponse Source # 
Instance details

Defined in Amazonka.SageMakerFeatureStoreRuntime.PutRecord

Associated Types

type Rep PutRecordResponse :: Type -> Type #

Read PutRecordResponse Source # 
Instance details

Defined in Amazonka.SageMakerFeatureStoreRuntime.PutRecord

Show PutRecordResponse Source # 
Instance details

Defined in Amazonka.SageMakerFeatureStoreRuntime.PutRecord

NFData PutRecordResponse Source # 
Instance details

Defined in Amazonka.SageMakerFeatureStoreRuntime.PutRecord

Methods

rnf :: PutRecordResponse -> () #

Eq PutRecordResponse Source # 
Instance details

Defined in Amazonka.SageMakerFeatureStoreRuntime.PutRecord

type Rep PutRecordResponse Source # 
Instance details

Defined in Amazonka.SageMakerFeatureStoreRuntime.PutRecord

type Rep PutRecordResponse = D1 ('MetaData "PutRecordResponse" "Amazonka.SageMakerFeatureStoreRuntime.PutRecord" "amazonka-sagemaker-featurestore-runtime-2.0-Ge8ickTqcVaBGzrkCd8wM0" 'False) (C1 ('MetaCons "PutRecordResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newPutRecordResponse :: PutRecordResponse Source #

Create a value of PutRecordResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.