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.DeleteRecord

Description

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.

Synopsis

Creating a Request

data DeleteRecord Source #

See: newDeleteRecord smart constructor.

Constructors

DeleteRecord' 

Fields

  • targetStores :: Maybe (NonEmpty TargetStore)

    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.

  • featureGroupName :: Text

    The name of the feature group to delete the record from.

  • recordIdentifierValueAsString :: Text

    The value for the RecordIdentifier that uniquely identifies the record, in string format.

  • eventTime :: Text

    Timestamp indicating when the deletion event occurred. EventTime can be used to query data at a certain point in time.

Instances

Instances details
ToHeaders DeleteRecord Source # 
Instance details

Defined in Amazonka.SageMakerFeatureStoreRuntime.DeleteRecord

ToPath DeleteRecord Source # 
Instance details

Defined in Amazonka.SageMakerFeatureStoreRuntime.DeleteRecord

ToQuery DeleteRecord Source # 
Instance details

Defined in Amazonka.SageMakerFeatureStoreRuntime.DeleteRecord

AWSRequest DeleteRecord Source # 
Instance details

Defined in Amazonka.SageMakerFeatureStoreRuntime.DeleteRecord

Associated Types

type AWSResponse DeleteRecord #

Generic DeleteRecord Source # 
Instance details

Defined in Amazonka.SageMakerFeatureStoreRuntime.DeleteRecord

Associated Types

type Rep DeleteRecord :: Type -> Type #

Read DeleteRecord Source # 
Instance details

Defined in Amazonka.SageMakerFeatureStoreRuntime.DeleteRecord

Show DeleteRecord Source # 
Instance details

Defined in Amazonka.SageMakerFeatureStoreRuntime.DeleteRecord

NFData DeleteRecord Source # 
Instance details

Defined in Amazonka.SageMakerFeatureStoreRuntime.DeleteRecord

Methods

rnf :: DeleteRecord -> () #

Eq DeleteRecord Source # 
Instance details

Defined in Amazonka.SageMakerFeatureStoreRuntime.DeleteRecord

Hashable DeleteRecord Source # 
Instance details

Defined in Amazonka.SageMakerFeatureStoreRuntime.DeleteRecord

type AWSResponse DeleteRecord Source # 
Instance details

Defined in Amazonka.SageMakerFeatureStoreRuntime.DeleteRecord

type Rep DeleteRecord Source # 
Instance details

Defined in Amazonka.SageMakerFeatureStoreRuntime.DeleteRecord

type Rep DeleteRecord = D1 ('MetaData "DeleteRecord" "Amazonka.SageMakerFeatureStoreRuntime.DeleteRecord" "amazonka-sagemaker-featurestore-runtime-2.0-Ge8ickTqcVaBGzrkCd8wM0" 'False) (C1 ('MetaCons "DeleteRecord'" '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 "recordIdentifierValueAsString") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "eventTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newDeleteRecord Source #

Create a value of DeleteRecord 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:DeleteRecord', deleteRecord_targetStores - 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.

DeleteRecord, deleteRecord_featureGroupName - The name of the feature group to delete the record from.

DeleteRecord, deleteRecord_recordIdentifierValueAsString - The value for the RecordIdentifier that uniquely identifies the record, in string format.

$sel:eventTime:DeleteRecord', deleteRecord_eventTime - Timestamp indicating when the deletion event occurred. EventTime can be used to query data at a certain point in time.

Request Lenses

deleteRecord_targetStores :: Lens' DeleteRecord (Maybe (NonEmpty TargetStore)) Source #

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.

deleteRecord_featureGroupName :: Lens' DeleteRecord Text Source #

The name of the feature group to delete the record from.

deleteRecord_recordIdentifierValueAsString :: Lens' DeleteRecord Text Source #

The value for the RecordIdentifier that uniquely identifies the record, in string format.

deleteRecord_eventTime :: Lens' DeleteRecord Text Source #

Timestamp indicating when the deletion event occurred. EventTime can be used to query data at a certain point in time.

Destructuring the Response

data DeleteRecordResponse Source #

See: newDeleteRecordResponse smart constructor.

Constructors

DeleteRecordResponse' 

Instances

Instances details
Generic DeleteRecordResponse Source # 
Instance details

Defined in Amazonka.SageMakerFeatureStoreRuntime.DeleteRecord

Associated Types

type Rep DeleteRecordResponse :: Type -> Type #

Read DeleteRecordResponse Source # 
Instance details

Defined in Amazonka.SageMakerFeatureStoreRuntime.DeleteRecord

Show DeleteRecordResponse Source # 
Instance details

Defined in Amazonka.SageMakerFeatureStoreRuntime.DeleteRecord

NFData DeleteRecordResponse Source # 
Instance details

Defined in Amazonka.SageMakerFeatureStoreRuntime.DeleteRecord

Methods

rnf :: DeleteRecordResponse -> () #

Eq DeleteRecordResponse Source # 
Instance details

Defined in Amazonka.SageMakerFeatureStoreRuntime.DeleteRecord

type Rep DeleteRecordResponse Source # 
Instance details

Defined in Amazonka.SageMakerFeatureStoreRuntime.DeleteRecord

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

newDeleteRecordResponse :: DeleteRecordResponse Source #

Create a value of DeleteRecordResponse with all optional fields omitted.

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