Skip to content

Typed dictionaries

Index > SageMakerFeatureStoreRuntime > Typed dictionaries

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

BatchGetRecordErrorTypeDef

Usage Example
from mypy_boto3_sagemaker_featurestore_runtime.type_defs import BatchGetRecordErrorTypeDef

def get_value() -> BatchGetRecordErrorTypeDef:
    return {
        "FeatureGroupName": ...,
        "RecordIdentifierValueAsString": ...,
        "ErrorCode": ...,
        "ErrorMessage": ...,
    }
Definition
class BatchGetRecordErrorTypeDef(TypedDict):
    FeatureGroupName: str,
    RecordIdentifierValueAsString: str,
    ErrorCode: str,
    ErrorMessage: str,

BatchGetRecordIdentifierTypeDef

Usage Example
from mypy_boto3_sagemaker_featurestore_runtime.type_defs import BatchGetRecordIdentifierTypeDef

def get_value() -> BatchGetRecordIdentifierTypeDef:
    return {
        "FeatureGroupName": ...,
        "RecordIdentifiersValueAsString": ...,
    }
Definition
class BatchGetRecordIdentifierTypeDef(TypedDict):
    FeatureGroupName: str,
    RecordIdentifiersValueAsString: Sequence[str],
    FeatureNames: NotRequired[Sequence[str]],

ResponseMetadataTypeDef

Usage Example
from mypy_boto3_sagemaker_featurestore_runtime.type_defs import ResponseMetadataTypeDef

def get_value() -> ResponseMetadataTypeDef:
    return {
        "RequestId": ...,
        "HostId": ...,
        "HTTPStatusCode": ...,
        "HTTPHeaders": ...,
        "RetryAttempts": ...,
    }
Definition
class ResponseMetadataTypeDef(TypedDict):
    RequestId: str,
    HostId: str,
    HTTPStatusCode: int,
    HTTPHeaders: Dict[str, str],
    RetryAttempts: int,

FeatureValueTypeDef

Usage Example
from mypy_boto3_sagemaker_featurestore_runtime.type_defs import FeatureValueTypeDef

def get_value() -> FeatureValueTypeDef:
    return {
        "FeatureName": ...,
        "ValueAsString": ...,
    }
Definition
class FeatureValueTypeDef(TypedDict):
    FeatureName: str,
    ValueAsString: str,

DeleteRecordRequestRequestTypeDef

Usage Example
from mypy_boto3_sagemaker_featurestore_runtime.type_defs import DeleteRecordRequestRequestTypeDef

def get_value() -> DeleteRecordRequestRequestTypeDef:
    return {
        "FeatureGroupName": ...,
        "RecordIdentifierValueAsString": ...,
        "EventTime": ...,
    }
Definition
class DeleteRecordRequestRequestTypeDef(TypedDict):
    FeatureGroupName: str,
    RecordIdentifierValueAsString: str,
    EventTime: str,

GetRecordRequestRequestTypeDef

Usage Example
from mypy_boto3_sagemaker_featurestore_runtime.type_defs import GetRecordRequestRequestTypeDef

def get_value() -> GetRecordRequestRequestTypeDef:
    return {
        "FeatureGroupName": ...,
        "RecordIdentifierValueAsString": ...,
    }
Definition
class GetRecordRequestRequestTypeDef(TypedDict):
    FeatureGroupName: str,
    RecordIdentifierValueAsString: str,
    FeatureNames: NotRequired[Sequence[str]],

BatchGetRecordRequestRequestTypeDef

Usage Example
from mypy_boto3_sagemaker_featurestore_runtime.type_defs import BatchGetRecordRequestRequestTypeDef

def get_value() -> BatchGetRecordRequestRequestTypeDef:
    return {
        "Identifiers": ...,
    }
Definition
class BatchGetRecordRequestRequestTypeDef(TypedDict):
    Identifiers: Sequence[BatchGetRecordIdentifierTypeDef],  # (1)
  1. See BatchGetRecordIdentifierTypeDef

EmptyResponseMetadataTypeDef

Usage Example
from mypy_boto3_sagemaker_featurestore_runtime.type_defs import EmptyResponseMetadataTypeDef

def get_value() -> EmptyResponseMetadataTypeDef:
    return {
        "ResponseMetadata": ...,
    }
Definition
class EmptyResponseMetadataTypeDef(TypedDict):
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

BatchGetRecordResultDetailTypeDef

Usage Example
from mypy_boto3_sagemaker_featurestore_runtime.type_defs import BatchGetRecordResultDetailTypeDef

def get_value() -> BatchGetRecordResultDetailTypeDef:
    return {
        "FeatureGroupName": ...,
        "RecordIdentifierValueAsString": ...,
        "Record": ...,
    }
Definition
class BatchGetRecordResultDetailTypeDef(TypedDict):
    FeatureGroupName: str,
    RecordIdentifierValueAsString: str,
    Record: List[FeatureValueTypeDef],  # (1)
  1. See FeatureValueTypeDef

GetRecordResponseTypeDef

Usage Example
from mypy_boto3_sagemaker_featurestore_runtime.type_defs import GetRecordResponseTypeDef

def get_value() -> GetRecordResponseTypeDef:
    return {
        "Record": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetRecordResponseTypeDef(TypedDict):
    Record: List[FeatureValueTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See FeatureValueTypeDef
  2. See ResponseMetadataTypeDef

PutRecordRequestRequestTypeDef

Usage Example
from mypy_boto3_sagemaker_featurestore_runtime.type_defs import PutRecordRequestRequestTypeDef

def get_value() -> PutRecordRequestRequestTypeDef:
    return {
        "FeatureGroupName": ...,
        "Record": ...,
    }
Definition
class PutRecordRequestRequestTypeDef(TypedDict):
    FeatureGroupName: str,
    Record: Sequence[FeatureValueTypeDef],  # (1)
  1. See FeatureValueTypeDef

BatchGetRecordResponseTypeDef

Usage Example
from mypy_boto3_sagemaker_featurestore_runtime.type_defs import BatchGetRecordResponseTypeDef

def get_value() -> BatchGetRecordResponseTypeDef:
    return {
        "Records": ...,
        "Errors": ...,
        "UnprocessedIdentifiers": ...,
        "ResponseMetadata": ...,
    }
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