list_artifacts
async
¶
list_artifacts(
*,
config_overrides: Optional[AsyncSageMakerClientConfig] = 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/async_sage_maker.py
16960 16961 16962 16963 16964 16965 16966 16967 16968 16969 16970 16971 16972 16973 16974 16975 16976 16977 16978 16979 16980 16981 16982 16983 16984 16985 16986 16987 16988 16989 16990 16991 16992 16993 16994 16995 16996 16997 16998 16999 17000 17001 17002 17003 17004 17005 17006 17007 17008 17009 17010 17011 17012 17013 17014 17015 17016 17017 17018 17019 17020 17021 17022 17023 17024 17025 17026 17027 17028 17029 17030 17031 17032 17033 17034 | |