list_artifacts
¶
list_artifacts(
*,
config_overrides: Optional[SageMakerClientConfig] = None,
source_uri: Optional[SourceUri] = None,
artifact_type: Optional[String256] = None,
created_after: Optional[Timestamp] = None,
created_before: Optional[Timestamp] = None,
sort_by: Optional[SortArtifactsBy] = None,
sort_order: Optional[SortOrder] = None,
next_token: Optional[NextToken] = None,
max_results: Optional[MaxResults] = None,
) -> ListArtifactsResponse
Lists the artifacts in your account and their properties.
Parameters:
-
source_uri(Optional[SourceUri], default:None) –A filter that returns only artifacts with the specified source URI.
-
artifact_type(Optional[String256], default:None) –A filter that returns only artifacts of the specified type.
-
created_after(Optional[Timestamp], default:None) –A filter that returns only artifacts created on or after the specified time.
-
created_before(Optional[Timestamp], default:None) –A filter that returns only artifacts created on or before the specified time.
-
sort_by(Optional[SortArtifactsBy], default:None) –The property used to sort results. The default value is
CreationTime. -
sort_order(Optional[SortOrder], default:None) –The sort order. The default value is
Descending. -
next_token(Optional[NextToken], default:None) –If the previous call to
ListArtifactsdidn't return the full set of artifacts, the call returns a token for getting the next set of artifacts. -
max_results(Optional[MaxResults], default:None) –The maximum number of artifacts to return in the response. The default value is 10.
Raises:
-
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
16718 16719 16720 16721 16722 16723 16724 16725 16726 16727 16728 16729 16730 16731 16732 16733 16734 16735 16736 16737 16738 16739 16740 16741 16742 16743 16744 16745 16746 16747 16748 16749 16750 16751 16752 16753 16754 16755 16756 16757 16758 16759 16760 16761 16762 16763 16764 16765 16766 16767 16768 16769 16770 16771 16772 16773 16774 16775 16776 16777 16778 16779 16780 16781 16782 16783 16784 16785 16786 16787 16788 16789 16790 16791 | |