update_inference_component
¶
update_inference_component(
*,
config_overrides: Optional[SageMakerClientConfig] = None,
inference_component_name: Optional[InferenceComponentName] = None,
specification: Optional[InferenceComponentSpecification] = None,
specifications: Optional[InferenceComponentSpecificationList] = None,
runtime_config: Optional[InferenceComponentRuntimeConfig] = None,
deployment_config: Optional[InferenceComponentDeploymentConfig] = None,
) -> UpdateInferenceComponentOutput
Updates an inference component.
Parameters:
-
inference_component_name(Optional[InferenceComponentName], default:None) –The name of the inference component.
-
specification(Optional[InferenceComponentSpecification], default:None) –Details about the resources to deploy with this inference component, including the model, container, and compute resources.
-
specifications(Optional[InferenceComponentSpecificationList], default:None) –A list of specification objects for the inference component, one per instance type. Use this parameter when you want to specify different model or resource configurations for the inference component on each instance type. You can use either this parameter or the singular
Specificationparameter, but not both. -
runtime_config(Optional[InferenceComponentRuntimeConfig], default:None) –Runtime settings for a model that is deployed with an inference component.
-
deployment_config(Optional[InferenceComponentDeploymentConfig], default:None) –The deployment configuration for the inference component. The configuration contains the desired deployment strategy and rollback settings.
Raises:
-
ResourceLimitExceeded–You have exceeded an SageMaker resource limit. For example, you might have too many training jobs created.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_sagemaker/_services/sage_maker.py
30397 30398 30399 30400 30401 30402 30403 30404 30405 30406 30407 30408 30409 30410 30411 30412 30413 30414 30415 30416 30417 30418 30419 30420 30421 30422 30423 30424 30425 30426 30427 30428 30429 30430 30431 30432 30433 30434 30435 30436 30437 30438 30439 30440 30441 30442 30443 30444 30445 30446 30447 30448 30449 30450 30451 30452 30453 30454 30455 30456 30457 30458 30459 30460 30461 30462 30463 30464 30465 30466 | |