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
29868 29869 29870 29871 29872 29873 29874 29875 29876 29877 29878 29879 29880 29881 29882 29883 29884 29885 29886 29887 29888 29889 29890 29891 29892 29893 29894 29895 29896 29897 29898 29899 29900 29901 29902 29903 29904 29905 29906 29907 29908 29909 29910 29911 29912 29913 29914 29915 29916 29917 29918 29919 29920 29921 29922 29923 29924 29925 29926 29927 29928 29929 29930 29931 29932 29933 | |