list_trained_model_versions
¶
list_trained_model_versions(
membership_identifier: UUID,
trained_model_arn: TrainedModelArn,
*,
config_overrides: Optional[CleanRoomsMLClientConfig] = 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/clean_rooms_ml.py
3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 | |