| 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.GetRecord
Description
Use for OnlineStore serving from a FeatureStore. Only the latest
records stored in the OnlineStore can be retrieved. If no Record with
RecordIdentifierValue is found, then an empty result is returned.
Synopsis
- data GetRecord = GetRecord' {}
- newGetRecord :: Text -> Text -> GetRecord
- getRecord_featureNames :: Lens' GetRecord (Maybe (NonEmpty Text))
- getRecord_featureGroupName :: Lens' GetRecord Text
- getRecord_recordIdentifierValueAsString :: Lens' GetRecord Text
- data GetRecordResponse = GetRecordResponse' {
- record :: Maybe (NonEmpty FeatureValue)
- httpStatus :: Int
- newGetRecordResponse :: Int -> GetRecordResponse
- getRecordResponse_record :: Lens' GetRecordResponse (Maybe (NonEmpty FeatureValue))
- getRecordResponse_httpStatus :: Lens' GetRecordResponse Int
Creating a Request
See: newGetRecord smart constructor.
Constructors
| GetRecord' | |
Fields
| |
Instances
Create a value of GetRecord 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:
GetRecord, getRecord_featureNames - List of names of Features to be retrieved. If not specified, the latest
value for all the Features are returned.
GetRecord, getRecord_featureGroupName - The name of the feature group from which you want to retrieve a record.
GetRecord, getRecord_recordIdentifierValueAsString - The value that corresponds to RecordIdentifier type and uniquely
identifies the record in the FeatureGroup.
Request Lenses
getRecord_featureNames :: Lens' GetRecord (Maybe (NonEmpty Text)) Source #
List of names of Features to be retrieved. If not specified, the latest value for all the Features are returned.
getRecord_featureGroupName :: Lens' GetRecord Text Source #
The name of the feature group from which you want to retrieve a record.
getRecord_recordIdentifierValueAsString :: Lens' GetRecord Text Source #
The value that corresponds to RecordIdentifier type and uniquely
identifies the record in the FeatureGroup.
Destructuring the Response
data GetRecordResponse Source #
See: newGetRecordResponse smart constructor.
Constructors
| GetRecordResponse' | |
Fields
| |
Instances
Arguments
| :: Int | |
| -> GetRecordResponse |
Create a value of GetRecordResponse 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:
GetRecordResponse, getRecordResponse_record - The record you requested. A list of FeatureValues.
$sel:httpStatus:GetRecordResponse', getRecordResponse_httpStatus - The response's http status code.
Response Lenses
getRecordResponse_record :: Lens' GetRecordResponse (Maybe (NonEmpty FeatureValue)) Source #
The record you requested. A list of FeatureValues.
getRecordResponse_httpStatus :: Lens' GetRecordResponse Int Source #
The response's http status code.