SageMakerFeatureStoreRuntime module#
Index > SageMakerFeatureStoreRuntime
Auto-generated documentation for SageMakerFeatureStoreRuntime type annotations stubs module mypy-boto3-sagemaker-featurestore-runtime.
How to install#
VSCode extension#
Add AWS Boto3
extension to your VSCode and run AWS boto3: Quick Start
command.
Click Modify
and select boto3 common
and SageMakerFeatureStoreRuntime
.
From PyPI with pip#
Install boto3-stubs
for SageMakerFeatureStoreRuntime
service.
# install with boto3 type annotations
python -m pip install 'boto3-stubs[sagemaker-featurestore-runtime]'
# Lite version does not provide session.client/resource overloads
# it is more RAM-friendly, but requires explicit type annotations
python -m pip install 'boto3-stubs-lite[sagemaker-featurestore-runtime]'
# standalone installation
python -m pip install mypy-boto3-sagemaker-featurestore-runtime
How to uninstall#
python -m pip uninstall -y mypy-boto3-sagemaker-featurestore-runtime
Usage#
Code samples can be found in Examples.
SageMakerFeatureStoreRuntimeClient#
Type annotations and code completion for boto3.client("sagemaker-featurestore-runtime")
as SageMakerFeatureStoreRuntimeClient
boto3 documentation
# SageMakerFeatureStoreRuntimeClient usage example
from boto3.session import Session
from mypy_boto3_sagemaker_featurestore_runtime.client import SageMakerFeatureStoreRuntimeClient
def get_client() -> SageMakerFeatureStoreRuntimeClient:
return Session().client("sagemaker-featurestore-runtime")
Literals#
Type annotations for literals used in methods and schemas.
# DeletionModeType usage example
from mypy_boto3_sagemaker_featurestore_runtime.literals import DeletionModeType
def get_value() -> DeletionModeType:
return "HardDelete"
- DeletionModeType
- TargetStoreType
- SageMakerFeatureStoreRuntimeServiceName
- ServiceName
- ResourceServiceName
Typed dictionaries#
Type annotations for typed dictionaries used in methods and schema.
# BatchGetRecordErrorTypeDef usage example
from mypy_boto3_sagemaker_featurestore_runtime.type_defs import BatchGetRecordErrorTypeDef
def get_value() -> BatchGetRecordErrorTypeDef:
return {
"FeatureGroupName": ...,
"RecordIdentifierValueAsString": ...,
"ErrorCode": ...,
"ErrorMessage": ...,
}
- BatchGetRecordErrorTypeDef
- BatchGetRecordIdentifierTypeDef
- FeatureValueTypeDef
- DeleteRecordRequestRequestTypeDef
- EmptyResponseMetadataTypeDef
- GetRecordRequestRequestTypeDef
- ResponseMetadataTypeDef
- BatchGetRecordRequestRequestTypeDef
- BatchGetRecordResultDetailTypeDef
- GetRecordResponseTypeDef
- PutRecordRequestRequestTypeDef
- BatchGetRecordResponseTypeDef