update_feature_group
¶
update_feature_group(
*,
config_overrides: Optional[SageMakerClientConfig] = None,
feature_group_name: Optional[FeatureGroupNameOrArn] = None,
feature_additions: Optional[FeatureAdditions] = None,
online_store_config: Optional[OnlineStoreConfigUpdate] = None,
throughput_config: Optional[ThroughputConfigUpdate] = None,
) -> UpdateFeatureGroupResponse
Updates the feature group by either adding features or updating the online store configuration. Use one of the following request parameters at a time while using the UpdateFeatureGroup API.
You can add features for your feature group using the FeatureAdditions request parameter. Features cannot be removed from a feature group.
You can update the online store configuration by using the OnlineStoreConfig request parameter. If a TtlDuration is specified, the default TtlDuration applies for all records added to the feature group after the feature group is updated. If a record level TtlDuration exists from using the PutRecord API, the record level TtlDuration applies to that record instead of the default TtlDuration. To remove the default TtlDuration from an existing feature group, use the UpdateFeatureGroup API and set the TtlDuration Unit and Value to null.
Parameters:
-
feature_group_name(Optional[FeatureGroupNameOrArn], default:None) –The name or Amazon Resource Name (ARN) of the feature group that you're updating.
-
feature_additions(Optional[FeatureAdditions], default:None) –Updates the feature group. Updating a feature group is an asynchronous operation. When you get an HTTP 200 response, you've made a valid request. It takes some time after you've made a valid request for Feature Store to update the feature group.
-
online_store_config(Optional[OnlineStoreConfigUpdate], default:None) –Updates the feature group online store configuration.
Raises:
-
ResourceLimitExceeded–You have exceeded an SageMaker resource limit. For example, you might have too many training jobs created.
-
ResourceNotFound–Resource being access is not found.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_sagemaker/_services/sage_maker.py
32968 32969 32970 32971 32972 32973 32974 32975 32976 32977 32978 32979 32980 32981 32982 32983 32984 32985 32986 32987 32988 32989 32990 32991 32992 32993 32994 32995 32996 32997 32998 32999 33000 33001 33002 33003 33004 33005 33006 33007 33008 33009 33010 33011 33012 33013 33014 33015 33016 33017 33018 33019 33020 33021 33022 33023 33024 33025 33026 33027 33028 33029 33030 33031 33032 33033 | |