update_inference_component
async
¶
update_inference_component(
*,
config_overrides: Optional[AsyncSageMakerClientConfig] = 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/async_sage_maker.py
30793 30794 30795 30796 30797 30798 30799 30800 30801 30802 30803 30804 30805 30806 30807 30808 30809 30810 30811 30812 30813 30814 30815 30816 30817 30818 30819 30820 30821 30822 30823 30824 30825 30826 30827 30828 30829 30830 30831 30832 30833 30834 30835 30836 30837 30838 30839 30840 30841 30842 30843 30844 30845 30846 30847 30848 30849 30850 30851 30852 30853 30854 30855 30856 30857 30858 30859 30860 30861 30862 30863 | |