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": ...,
}
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,
TargetStores: NotRequired[Sequence[TargetStoreType]], # (1)
- See TargetStoreType
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)
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)
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)
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)
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)
TargetStores: NotRequired[Sequence[TargetStoreType]], # (2)
- See FeatureValueTypeDef
- See TargetStoreType
BatchGetRecordResponseTypeDef
Usage Example
from mypy_boto3_sagemaker_featurestore_runtime.type_defs import BatchGetRecordResponseTypeDef
def get_value() -> BatchGetRecordResponseTypeDef:
return {
"Records": ...,
"Errors": ...,
"UnprocessedIdentifiers": ...,
"ResponseMetadata": ...,
}