Type definitions#
Index > SageMakerFeatureStoreRuntime > Type definitions
Auto-generated documentation for SageMakerFeatureStoreRuntime type annotations stubs module mypy-boto3-sagemaker-featurestore-runtime.
BatchGetRecordIdentifierUnionTypeDef#
# BatchGetRecordIdentifierUnionTypeDef Union usage example
from mypy_boto3_sagemaker_featurestore_runtime.type_defs import BatchGetRecordIdentifierUnionTypeDef
def get_value() -> BatchGetRecordIdentifierUnionTypeDef:
return ...
# BatchGetRecordIdentifierUnionTypeDef definition
BatchGetRecordIdentifierUnionTypeDef = Union[
BatchGetRecordIdentifierTypeDef, # (1)
BatchGetRecordIdentifierOutputTypeDef, # (2)
]
FeatureValueUnionTypeDef#
# FeatureValueUnionTypeDef Union usage example
from mypy_boto3_sagemaker_featurestore_runtime.type_defs import FeatureValueUnionTypeDef
def get_value() -> FeatureValueUnionTypeDef:
return ...
# FeatureValueUnionTypeDef definition
FeatureValueUnionTypeDef = Union[
FeatureValueTypeDef, # (1)
FeatureValueOutputTypeDef, # (2)
]
BatchGetRecordErrorTypeDef#
# BatchGetRecordErrorTypeDef TypedDict usage example
from mypy_boto3_sagemaker_featurestore_runtime.type_defs import BatchGetRecordErrorTypeDef
def get_value() -> BatchGetRecordErrorTypeDef:
return {
"FeatureGroupName": ...,
}
# BatchGetRecordErrorTypeDef definition
class BatchGetRecordErrorTypeDef(TypedDict):
FeatureGroupName: str,
RecordIdentifierValueAsString: str,
ErrorCode: str,
ErrorMessage: str,
BatchGetRecordIdentifierOutputTypeDef#
# BatchGetRecordIdentifierOutputTypeDef TypedDict usage example
from mypy_boto3_sagemaker_featurestore_runtime.type_defs import BatchGetRecordIdentifierOutputTypeDef
def get_value() -> BatchGetRecordIdentifierOutputTypeDef:
return {
"FeatureGroupName": ...,
}
# BatchGetRecordIdentifierOutputTypeDef definition
class BatchGetRecordIdentifierOutputTypeDef(TypedDict):
FeatureGroupName: str,
RecordIdentifiersValueAsString: List[str],
FeatureNames: NotRequired[List[str]],
BatchGetRecordIdentifierTypeDef#
# BatchGetRecordIdentifierTypeDef TypedDict usage example
from mypy_boto3_sagemaker_featurestore_runtime.type_defs import BatchGetRecordIdentifierTypeDef
def get_value() -> BatchGetRecordIdentifierTypeDef:
return {
"FeatureGroupName": ...,
}
# BatchGetRecordIdentifierTypeDef definition
class BatchGetRecordIdentifierTypeDef(TypedDict):
FeatureGroupName: str,
RecordIdentifiersValueAsString: Sequence[str],
FeatureNames: NotRequired[Sequence[str]],
ResponseMetadataTypeDef#
# ResponseMetadataTypeDef TypedDict usage example
from mypy_boto3_sagemaker_featurestore_runtime.type_defs import ResponseMetadataTypeDef
def get_value() -> ResponseMetadataTypeDef:
return {
"RequestId": ...,
}
# ResponseMetadataTypeDef definition
class ResponseMetadataTypeDef(TypedDict):
RequestId: str,
HTTPStatusCode: int,
HTTPHeaders: Dict[str, str],
RetryAttempts: int,
HostId: NotRequired[str],
FeatureValueOutputTypeDef#
# FeatureValueOutputTypeDef TypedDict usage example
from mypy_boto3_sagemaker_featurestore_runtime.type_defs import FeatureValueOutputTypeDef
def get_value() -> FeatureValueOutputTypeDef:
return {
"FeatureName": ...,
}
# FeatureValueOutputTypeDef definition
class FeatureValueOutputTypeDef(TypedDict):
FeatureName: str,
ValueAsString: NotRequired[str],
ValueAsStringList: NotRequired[List[str]],
DeleteRecordRequestTypeDef#
# DeleteRecordRequestTypeDef TypedDict usage example
from mypy_boto3_sagemaker_featurestore_runtime.type_defs import DeleteRecordRequestTypeDef
def get_value() -> DeleteRecordRequestTypeDef:
return {
"FeatureGroupName": ...,
}
# DeleteRecordRequestTypeDef definition
class DeleteRecordRequestTypeDef(TypedDict):
FeatureGroupName: str,
RecordIdentifierValueAsString: str,
EventTime: str,
TargetStores: NotRequired[Sequence[TargetStoreType]], # (1)
DeletionMode: NotRequired[DeletionModeType], # (2)
- See
Sequence[TargetStoreType]
- See DeletionModeType
FeatureValueTypeDef#
# FeatureValueTypeDef TypedDict usage example
from mypy_boto3_sagemaker_featurestore_runtime.type_defs import FeatureValueTypeDef
def get_value() -> FeatureValueTypeDef:
return {
"FeatureName": ...,
}
# FeatureValueTypeDef definition
class FeatureValueTypeDef(TypedDict):
FeatureName: str,
ValueAsString: NotRequired[str],
ValueAsStringList: NotRequired[Sequence[str]],
GetRecordRequestTypeDef#
# GetRecordRequestTypeDef TypedDict usage example
from mypy_boto3_sagemaker_featurestore_runtime.type_defs import GetRecordRequestTypeDef
def get_value() -> GetRecordRequestTypeDef:
return {
"FeatureGroupName": ...,
}
# GetRecordRequestTypeDef definition
class GetRecordRequestTypeDef(TypedDict):
FeatureGroupName: str,
RecordIdentifierValueAsString: str,
FeatureNames: NotRequired[Sequence[str]],
ExpirationTimeResponse: NotRequired[ExpirationTimeResponseType], # (1)
TtlDurationTypeDef#
# TtlDurationTypeDef TypedDict usage example
from mypy_boto3_sagemaker_featurestore_runtime.type_defs import TtlDurationTypeDef
def get_value() -> TtlDurationTypeDef:
return {
"Unit": ...,
}
# TtlDurationTypeDef definition
class TtlDurationTypeDef(TypedDict):
Unit: TtlDurationUnitType, # (1)
Value: int,
EmptyResponseMetadataTypeDef#
# EmptyResponseMetadataTypeDef TypedDict usage example
from mypy_boto3_sagemaker_featurestore_runtime.type_defs import EmptyResponseMetadataTypeDef
def get_value() -> EmptyResponseMetadataTypeDef:
return {
"ResponseMetadata": ...,
}
# EmptyResponseMetadataTypeDef definition
class EmptyResponseMetadataTypeDef(TypedDict):
ResponseMetadata: ResponseMetadataTypeDef, # (1)
BatchGetRecordResultDetailTypeDef#
# BatchGetRecordResultDetailTypeDef TypedDict usage example
from mypy_boto3_sagemaker_featurestore_runtime.type_defs import BatchGetRecordResultDetailTypeDef
def get_value() -> BatchGetRecordResultDetailTypeDef:
return {
"FeatureGroupName": ...,
}
# BatchGetRecordResultDetailTypeDef definition
class BatchGetRecordResultDetailTypeDef(TypedDict):
FeatureGroupName: str,
RecordIdentifierValueAsString: str,
Record: List[FeatureValueOutputTypeDef], # (1)
ExpiresAt: NotRequired[str],
- See
List[FeatureValueOutputTypeDef]
GetRecordResponseTypeDef#
# GetRecordResponseTypeDef TypedDict usage example
from mypy_boto3_sagemaker_featurestore_runtime.type_defs import GetRecordResponseTypeDef
def get_value() -> GetRecordResponseTypeDef:
return {
"Record": ...,
}
# GetRecordResponseTypeDef definition
class GetRecordResponseTypeDef(TypedDict):
Record: List[FeatureValueOutputTypeDef], # (1)
ExpiresAt: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
- See
List[FeatureValueOutputTypeDef]
- See ResponseMetadataTypeDef
BatchGetRecordRequestTypeDef#
# BatchGetRecordRequestTypeDef TypedDict usage example
from mypy_boto3_sagemaker_featurestore_runtime.type_defs import BatchGetRecordRequestTypeDef
def get_value() -> BatchGetRecordRequestTypeDef:
return {
"Identifiers": ...,
}
# BatchGetRecordRequestTypeDef definition
class BatchGetRecordRequestTypeDef(TypedDict):
Identifiers: Sequence[BatchGetRecordIdentifierUnionTypeDef], # (1)
ExpirationTimeResponse: NotRequired[ExpirationTimeResponseType], # (2)
- See
Sequence[BatchGetRecordIdentifierUnionTypeDef]
- See ExpirationTimeResponseType
BatchGetRecordResponseTypeDef#
# BatchGetRecordResponseTypeDef TypedDict usage example
from mypy_boto3_sagemaker_featurestore_runtime.type_defs import BatchGetRecordResponseTypeDef
def get_value() -> BatchGetRecordResponseTypeDef:
return {
"Records": ...,
}
# BatchGetRecordResponseTypeDef definition
class BatchGetRecordResponseTypeDef(TypedDict):
Records: List[BatchGetRecordResultDetailTypeDef], # (1)
Errors: List[BatchGetRecordErrorTypeDef], # (2)
UnprocessedIdentifiers: List[BatchGetRecordIdentifierOutputTypeDef], # (3)
ResponseMetadata: ResponseMetadataTypeDef, # (4)
- See
List[BatchGetRecordResultDetailTypeDef]
- See
List[BatchGetRecordErrorTypeDef]
- See
List[BatchGetRecordIdentifierOutputTypeDef]
- See ResponseMetadataTypeDef
PutRecordRequestTypeDef#
# PutRecordRequestTypeDef TypedDict usage example
from mypy_boto3_sagemaker_featurestore_runtime.type_defs import PutRecordRequestTypeDef
def get_value() -> PutRecordRequestTypeDef:
return {
"FeatureGroupName": ...,
}
# PutRecordRequestTypeDef definition
class PutRecordRequestTypeDef(TypedDict):
FeatureGroupName: str,
Record: Sequence[FeatureValueUnionTypeDef], # (1)
TargetStores: NotRequired[Sequence[TargetStoreType]], # (2)
TtlDuration: NotRequired[TtlDurationTypeDef], # (3)
- See
Sequence[FeatureValueUnionTypeDef]
- See
Sequence[TargetStoreType]
- See TtlDurationTypeDef