list_trained_model_versions
async
¶
list_trained_model_versions(
membership_identifier: UUID,
trained_model_arn: TrainedModelArn,
*,
config_overrides: Optional[AsyncCleanRoomsMLClientConfig] = None,
next_token: Optional[NextToken] = None,
max_results: Optional[MaxResults] = None,
status: Optional[TrainedModelStatus] = None,
) -> ListTrainedModelVersionsResponse
Returns a list of trained model versions for a specified trained model. This operation allows you to view all versions of a trained model, including information about their status and creation details. You can use this to track the evolution of your trained models and select specific versions for inference or further training.
Parameters:
-
next_token(Optional[NextToken], default:None) –The pagination token from a previous
ListTrainedModelVersionsrequest. Use this token to retrieve the next page of results. -
max_results(Optional[MaxResults], default:None) –The maximum number of trained model versions to return in a single page. The default value is 10, and the maximum value is 100.
-
membership_identifier(UUID) –The membership identifier for the collaboration that contains the trained model.
-
trained_model_arn(TrainedModelArn) –The Amazon Resource Name (ARN) of the trained model for which to list versions.
-
status(Optional[TrainedModelStatus], default:None) –Filter the results to only include trained model versions with the specified status. Valid values include
CREATE_PENDING,CREATE_IN_PROGRESS,ACTIVE,CREATE_FAILED, and others.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
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.
Source code in docs_src/capo_cleanroomsml/_services/async_clean_rooms_ml.py
3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 | |