Skip to content

Type definitions#

Index > SageMakerFeatureStoreRuntime > Type definitions

Auto-generated documentation for SageMakerFeatureStoreRuntime type annotations stubs module mypy-boto3-sagemaker-featurestore-runtime.

BatchGetRecordErrorTypeDef#

# BatchGetRecordErrorTypeDef definition

class BatchGetRecordErrorTypeDef(TypedDict):
    FeatureGroupName: str,
    RecordIdentifierValueAsString: str,
    ErrorCode: str,
    ErrorMessage: str,

BatchGetRecordIdentifierTypeDef#

# BatchGetRecordIdentifierTypeDef definition

class BatchGetRecordIdentifierTypeDef(TypedDict):
    FeatureGroupName: str,
    RecordIdentifiersValueAsString: Sequence[str],
    FeatureNames: NotRequired[Sequence[str]],

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef definition

class ResponseMetadataTypeDef(TypedDict):
    RequestId: str,
    HTTPStatusCode: int,
    HTTPHeaders: Dict[str, str],
    RetryAttempts: int,
    HostId: NotRequired[str],

FeatureValueTypeDef#

# FeatureValueTypeDef definition

class FeatureValueTypeDef(TypedDict):
    FeatureName: str,
    ValueAsString: NotRequired[str],
    ValueAsStringList: NotRequired[List[str]],

DeleteRecordRequestRequestTypeDef#

# DeleteRecordRequestRequestTypeDef definition

class DeleteRecordRequestRequestTypeDef(TypedDict):
    FeatureGroupName: str,
    RecordIdentifierValueAsString: str,
    EventTime: str,
    TargetStores: NotRequired[Sequence[TargetStoreType]],  # (1)
    DeletionMode: NotRequired[DeletionModeType],  # (2)
  1. See TargetStoreType
  2. See DeletionModeType

GetRecordRequestRequestTypeDef#

# GetRecordRequestRequestTypeDef definition

class GetRecordRequestRequestTypeDef(TypedDict):
    FeatureGroupName: str,
    RecordIdentifierValueAsString: str,
    FeatureNames: NotRequired[Sequence[str]],
    ExpirationTimeResponse: NotRequired[ExpirationTimeResponseType],  # (1)
  1. See ExpirationTimeResponseType

TtlDurationTypeDef#

# TtlDurationTypeDef definition

class TtlDurationTypeDef(TypedDict):
    Unit: TtlDurationUnitType,  # (1)
    Value: int,
  1. See TtlDurationUnitType

BatchGetRecordRequestRequestTypeDef#

# BatchGetRecordRequestRequestTypeDef definition

class BatchGetRecordRequestRequestTypeDef(TypedDict):
    Identifiers: Sequence[BatchGetRecordIdentifierTypeDef],  # (1)
    ExpirationTimeResponse: NotRequired[ExpirationTimeResponseType],  # (2)
  1. See BatchGetRecordIdentifierTypeDef
  2. See ExpirationTimeResponseType

EmptyResponseMetadataTypeDef#

# EmptyResponseMetadataTypeDef definition

class EmptyResponseMetadataTypeDef(TypedDict):
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

BatchGetRecordResultDetailTypeDef#

# BatchGetRecordResultDetailTypeDef definition

class BatchGetRecordResultDetailTypeDef(TypedDict):
    FeatureGroupName: str,
    RecordIdentifierValueAsString: str,
    Record: List[FeatureValueTypeDef],  # (1)
    ExpiresAt: NotRequired[str],
  1. See FeatureValueTypeDef

GetRecordResponseTypeDef#

# GetRecordResponseTypeDef definition

class GetRecordResponseTypeDef(TypedDict):
    Record: List[FeatureValueTypeDef],  # (1)
    ExpiresAt: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See FeatureValueTypeDef
  2. See ResponseMetadataTypeDef

PutRecordRequestRequestTypeDef#

# PutRecordRequestRequestTypeDef definition

class PutRecordRequestRequestTypeDef(TypedDict):
    FeatureGroupName: str,
    Record: Sequence[FeatureValueTypeDef],  # (1)
    TargetStores: NotRequired[Sequence[TargetStoreType]],  # (2)
    TtlDuration: NotRequired[TtlDurationTypeDef],  # (3)
  1. See FeatureValueTypeDef
  2. See TargetStoreType
  3. See TtlDurationTypeDef

BatchGetRecordResponseTypeDef#

# BatchGetRecordResponseTypeDef definition

class BatchGetRecordResponseTypeDef(TypedDict):
    Records: List[BatchGetRecordResultDetailTypeDef],  # (1)
    Errors: List[BatchGetRecordErrorTypeDef],  # (2)
    UnprocessedIdentifiers: List[BatchGetRecordIdentifierTypeDef],  # (3)
    ResponseMetadata: ResponseMetadataTypeDef,  # (4)
  1. See BatchGetRecordResultDetailTypeDef
  2. See BatchGetRecordErrorTypeDef
  3. See BatchGetRecordIdentifierTypeDef
  4. See ResponseMetadataTypeDef