update_compute_quota
async
¶
update_compute_quota(
*,
config_overrides: Optional[AsyncSageMakerClientConfig] = None,
compute_quota_id: Optional[ComputeQuotaId] = None,
target_version: Optional[Integer] = None,
compute_quota_config: Optional[ComputeQuotaConfig] = None,
compute_quota_target: Optional[ComputeQuotaTarget] = None,
activation_state: Optional[ActivationState] = None,
description: Optional[EntityDescription] = None,
) -> UpdateComputeQuotaResponse
Update the compute allocation definition.
Parameters:
-
compute_quota_id(Optional[ComputeQuotaId], default:None) –ID of the compute allocation definition.
-
target_version(Optional[Integer], default:None) –Target version.
-
compute_quota_config(Optional[ComputeQuotaConfig], default:None) –Configuration of the compute allocation definition. This includes the resource sharing option, and the setting to preempt low priority tasks.
-
compute_quota_target(Optional[ComputeQuotaTarget], default:None) –The target entity to allocate compute resources to.
-
activation_state(Optional[ActivationState], default:None) –The state of the compute allocation being described. Use to enable or disable compute allocation.
Default is
Enabled. -
description(Optional[EntityDescription], default:None) –Description of the compute allocation definition.
Raises:
-
ConflictException–There was a conflict when you attempted to modify a SageMaker entity such as an
ExperimentorArtifact. -
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
32841 32842 32843 32844 32845 32846 32847 32848 32849 32850 32851 32852 32853 32854 32855 32856 32857 32858 32859 32860 32861 32862 32863 32864 32865 32866 32867 32868 32869 32870 32871 32872 32873 32874 32875 32876 32877 32878 32879 32880 32881 32882 32883 32884 32885 32886 32887 32888 32889 32890 32891 32892 32893 32894 32895 32896 32897 32898 32899 32900 32901 32902 32903 32904 32905 32906 32907 32908 32909 32910 32911 32912 32913 32914 32915 32916 32917 32918 32919 | |