update_feature_group
async
¶
update_feature_group(
*,
config_overrides: Optional[AsyncSageMakerClientConfig] = 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/async_sage_maker.py
30257 30258 30259 30260 30261 30262 30263 30264 30265 30266 30267 30268 30269 30270 30271 30272 30273 30274 30275 30276 30277 30278 30279 30280 30281 30282 30283 30284 30285 30286 30287 30288 30289 30290 30291 30292 30293 30294 30295 30296 30297 30298 30299 30300 30301 30302 30303 30304 30305 30306 30307 30308 30309 30310 30311 30312 30313 30314 30315 30316 30317 30318 30319 30320 30321 30322 30323 | |