SageMakerFeatureStoreRuntimeClient
Index > SageMakerFeatureStoreRuntime > SageMakerFeatureStoreRuntimeClient
Auto-generated documentation for SageMakerFeatureStoreRuntime type annotations stubs module mypy-boto3-sagemaker-featurestore-runtime.
SageMakerFeatureStoreRuntimeClient
Type annotations and code completion for boto3.client("sagemaker-featurestore-runtime")
.
boto3 documentation
from boto3.session import Session
from mypy_boto3_sagemaker_featurestore_runtime.client import SageMakerFeatureStoreRuntimeClient
def get_sagemaker-featurestore-runtime_client() -> SageMakerFeatureStoreRuntimeClient:
return Session().client("sagemaker-featurestore-runtime")
Exceptions
boto3
client exceptions are generated in runtime.
This class provides code completion for boto3.client("sagemaker-featurestore-runtime").exceptions
structure.
client = boto3.client("sagemaker-featurestore-runtime")
try:
do_something(client)
except (
client.AccessForbidden,
client.ClientError,
client.InternalFailure,
client.ResourceNotFound,
client.ServiceUnavailable,
client.ValidationError,
) as e:
print(e)
from mypy_boto3_sagemaker_featurestore_runtime.client import Exceptions
def handle_error(exc: Exceptions.AccessForbidden) -> None:
...
Methods
batch_get_record
Retrieves a batch of Records
from a FeatureGroup
.
Type annotations and code completion for boto3.client("sagemaker-featurestore-runtime").batch_get_record
method.
boto3 documentation
def batch_get_record(
self,
*,
Identifiers: Sequence[BatchGetRecordIdentifierTypeDef], # (1)
) -> BatchGetRecordResponseTypeDef: # (2)
...
kwargs: BatchGetRecordRequestRequestTypeDef = { # (1)
"Identifiers": ...,
}
parent.batch_get_record(**kwargs)
can_paginate
Check if an operation can be paginated.
Type annotations and code completion for boto3.client("sagemaker-featurestore-runtime").can_paginate
method.
boto3 documentation
close
Closes underlying endpoint connections.
Type annotations and code completion for boto3.client("sagemaker-featurestore-runtime").close
method.
boto3 documentation
delete_record
Deletes a Record
from a FeatureGroup
.
Type annotations and code completion for boto3.client("sagemaker-featurestore-runtime").delete_record
method.
boto3 documentation
def delete_record(
self,
*,
FeatureGroupName: str,
RecordIdentifierValueAsString: str,
EventTime: str,
TargetStores: Sequence[TargetStoreType] = ..., # (1)
) -> EmptyResponseMetadataTypeDef: # (2)
...
kwargs: DeleteRecordRequestRequestTypeDef = { # (1)
"FeatureGroupName": ...,
"RecordIdentifierValueAsString": ...,
"EventTime": ...,
}
parent.delete_record(**kwargs)
generate_presigned_url
Generate a presigned url given a client, its method, and arguments.
Type annotations and code completion for boto3.client("sagemaker-featurestore-runtime").generate_presigned_url
method.
boto3 documentation
def generate_presigned_url(
self,
ClientMethod: str,
Params: Mapping[str, Any] = ...,
ExpiresIn: int = 3600,
HttpMethod: str = ...,
) -> str:
...
get_record
Use for OnlineStore
serving from a FeatureStore
.
Type annotations and code completion for boto3.client("sagemaker-featurestore-runtime").get_record
method.
boto3 documentation
def get_record(
self,
*,
FeatureGroupName: str,
RecordIdentifierValueAsString: str,
FeatureNames: Sequence[str] = ...,
) -> GetRecordResponseTypeDef: # (1)
...
kwargs: GetRecordRequestRequestTypeDef = { # (1)
"FeatureGroupName": ...,
"RecordIdentifierValueAsString": ...,
}
parent.get_record(**kwargs)
put_record
Used for data ingestion into the FeatureStore
.
Type annotations and code completion for boto3.client("sagemaker-featurestore-runtime").put_record
method.
boto3 documentation
def put_record(
self,
*,
FeatureGroupName: str,
Record: Sequence[FeatureValueTypeDef], # (1)
TargetStores: Sequence[TargetStoreType] = ..., # (2)
) -> EmptyResponseMetadataTypeDef: # (3)
...