Type definitions#
Index > SageMakerFeatureStoreRuntime > Type definitions
Auto-generated documentation for SageMakerFeatureStoreRuntime type annotations stubs module mypy-boto3-sagemaker-featurestore-runtime.
BatchGetRecordIdentifierUnionTypeDef#
# BatchGetRecordIdentifierUnionTypeDef definition
BatchGetRecordIdentifierUnionTypeDef = Union[
BatchGetRecordIdentifierTypeDef, # (1)
BatchGetRecordIdentifierOutputTypeDef, # (2)
]
FeatureValueUnionTypeDef#
# FeatureValueUnionTypeDef definition
FeatureValueUnionTypeDef = Union[
FeatureValueTypeDef, # (1)
FeatureValueOutputTypeDef, # (2)
]
BatchGetRecordErrorTypeDef#
# BatchGetRecordErrorTypeDef definition
class BatchGetRecordErrorTypeDef(TypedDict):
FeatureGroupName: str,
RecordIdentifierValueAsString: str,
ErrorCode: str,
ErrorMessage: str,
BatchGetRecordIdentifierOutputTypeDef#
# BatchGetRecordIdentifierOutputTypeDef definition
class BatchGetRecordIdentifierOutputTypeDef(TypedDict):
FeatureGroupName: str,
RecordIdentifiersValueAsString: List[str],
FeatureNames: NotRequired[List[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],
FeatureValueOutputTypeDef#
# FeatureValueOutputTypeDef definition
class FeatureValueOutputTypeDef(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)
- See TargetStoreType
- See DeletionModeType
FeatureValueTypeDef#
# FeatureValueTypeDef definition
class FeatureValueTypeDef(TypedDict):
FeatureName: str,
ValueAsString: NotRequired[str],
ValueAsStringList: NotRequired[Sequence[str]],
GetRecordRequestRequestTypeDef#
# GetRecordRequestRequestTypeDef definition
class GetRecordRequestRequestTypeDef(TypedDict):
FeatureGroupName: str,
RecordIdentifierValueAsString: str,
FeatureNames: NotRequired[Sequence[str]],
ExpirationTimeResponse: NotRequired[ExpirationTimeResponseType], # (1)
TtlDurationTypeDef#
# TtlDurationTypeDef definition
class TtlDurationTypeDef(TypedDict):
Unit: TtlDurationUnitType, # (1)
Value: int,
EmptyResponseMetadataTypeDef#
# EmptyResponseMetadataTypeDef definition
class EmptyResponseMetadataTypeDef(TypedDict):
ResponseMetadata: ResponseMetadataTypeDef, # (1)
BatchGetRecordResultDetailTypeDef#
# BatchGetRecordResultDetailTypeDef definition
class BatchGetRecordResultDetailTypeDef(TypedDict):
FeatureGroupName: str,
RecordIdentifierValueAsString: str,
Record: List[FeatureValueOutputTypeDef], # (1)
ExpiresAt: NotRequired[str],
GetRecordResponseTypeDef#
# GetRecordResponseTypeDef definition
class GetRecordResponseTypeDef(TypedDict):
Record: List[FeatureValueOutputTypeDef], # (1)
ExpiresAt: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
BatchGetRecordRequestRequestTypeDef#
# BatchGetRecordRequestRequestTypeDef definition
class BatchGetRecordRequestRequestTypeDef(TypedDict):
Identifiers: Sequence[Union[BatchGetRecordIdentifierTypeDef, BatchGetRecordIdentifierOutputTypeDef]], # (1)
ExpirationTimeResponse: NotRequired[ExpirationTimeResponseType], # (2)
- See BatchGetRecordIdentifierTypeDef BatchGetRecordIdentifierOutputTypeDef
- See ExpirationTimeResponseType
BatchGetRecordResponseTypeDef#
# BatchGetRecordResponseTypeDef definition
class BatchGetRecordResponseTypeDef(TypedDict):
Records: List[BatchGetRecordResultDetailTypeDef], # (1)
Errors: List[BatchGetRecordErrorTypeDef], # (2)
UnprocessedIdentifiers: List[BatchGetRecordIdentifierOutputTypeDef], # (3)
ResponseMetadata: ResponseMetadataTypeDef, # (4)
- See BatchGetRecordResultDetailTypeDef
- See BatchGetRecordErrorTypeDef
- See BatchGetRecordIdentifierOutputTypeDef
- See ResponseMetadataTypeDef
PutRecordRequestRequestTypeDef#
# PutRecordRequestRequestTypeDef definition
class PutRecordRequestRequestTypeDef(TypedDict):
FeatureGroupName: str,
Record: Sequence[Union[FeatureValueTypeDef, FeatureValueOutputTypeDef]], # (1)
TargetStores: NotRequired[Sequence[TargetStoreType]], # (2)
TtlDuration: NotRequired[TtlDurationTypeDef], # (3)