cancel_trained_model
async
¶
cancel_trained_model(
membership_identifier: UUID,
trained_model_arn: TrainedModelArn,
*,
config_overrides: Optional[AsyncCleanRoomsMLClientConfig] = None,
version_identifier: Optional[UUID] = None,
) -> None
Submits a request to cancel the trained model job.
Parameters:
-
membership_identifier(UUID) –The membership ID of the trained model job that you want to cancel.
-
trained_model_arn(TrainedModelArn) –The Amazon Resource Name (ARN) of the trained model job that you want to cancel.
-
version_identifier(Optional[UUID], default:None) –The version identifier of the trained model to cancel. This parameter allows you to specify which version of the trained model you want to cancel when multiple versions exist.
If
versionIdentifieris not specified, the base model will be cancelled.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
ConflictException–You can't complete this action because another resource depends on this resource.
-
ResourceNotFoundException–The resource you are requesting does not exist.
-
ThrottlingException–The request was denied due to request throttling.
-
ValidationException–The request parameters for this request are incorrect.
-
UnknownServiceError–The service returned an error code this client does not model.