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
18447 18448 18449 18450 18451 18452 18453 18454 18455 18456 18457 18458 18459 18460 18461 18462 18463 18464 18465 18466 18467 18468 18469 18470 18471 18472 18473 18474 18475 18476 18477 18478 18479 18480 18481 18482 18483 18484 18485 18486 18487 18488 18489 18490 18491 18492 18493 18494 18495 18496 18497 18498 18499 18500 18501 18502 18503 18504 18505 18506 18507 18508 18509 18510 18511 18512 18513 18514 18515 18516 18517 18518 18519 18520 | |