update_compute_quota
¶
update_compute_quota(
*,
config_overrides: Optional[SageMakerClientConfig] = 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/sage_maker.py
29321 29322 29323 29324 29325 29326 29327 29328 29329 29330 29331 29332 29333 29334 29335 29336 29337 29338 29339 29340 29341 29342 29343 29344 29345 29346 29347 29348 29349 29350 29351 29352 29353 29354 29355 29356 29357 29358 29359 29360 29361 29362 29363 29364 29365 29366 29367 29368 29369 29370 29371 29372 29373 29374 29375 29376 29377 29378 29379 29380 29381 29382 29383 29384 29385 29386 29387 29388 29389 29390 29391 29392 29393 29394 29395 29396 29397 29398 | |