list_projects
¶
list_projects(
*,
config_overrides: Optional[SageMakerClientConfig] = None,
creation_time_after: Optional[Timestamp] = None,
creation_time_before: Optional[Timestamp] = None,
max_results: Optional[MaxResults] = None,
name_contains: Optional[ProjectEntityName] = None,
next_token: Optional[NextToken] = None,
sort_by: Optional[ProjectSortBy] = None,
sort_order: Optional[ProjectSortOrder] = None,
project_type: Optional[ProjectType] = None,
) -> ListProjectsOutput
Gets a list of the projects in an Amazon Web Services account.
Parameters:
-
creation_time_after(Optional[Timestamp], default:None) –A filter that returns the projects that were created after a specified time.
-
creation_time_before(Optional[Timestamp], default:None) –A filter that returns the projects that were created before a specified time.
-
max_results(Optional[MaxResults], default:None) –The maximum number of projects to return in the response.
-
name_contains(Optional[ProjectEntityName], default:None) –A filter that returns the projects whose name contains a specified string.
-
next_token(Optional[NextToken], default:None) –If the result of the previous
ListProjectsrequest was truncated, the response includes aNextToken. To retrieve the next set of projects, use the token in the next request. -
sort_by(Optional[ProjectSortBy], default:None) –The field by which to sort results. The default is
CreationTime. -
sort_order(Optional[ProjectSortOrder], default:None) –The sort order for results. The default is
Ascending. -
project_type(Optional[ProjectType], default:None) –A filter that returns only projects of the specified type. A
CLASSICfilter also returns projects that have no project type.
Raises:
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_sagemaker/_services/sage_maker.py
27601 27602 27603 27604 27605 27606 27607 27608 27609 27610 27611 27612 27613 27614 27615 27616 27617 27618 27619 27620 27621 27622 27623 27624 27625 27626 27627 27628 27629 27630 27631 27632 27633 27634 27635 27636 27637 27638 27639 27640 27641 27642 27643 27644 27645 27646 27647 27648 27649 27650 27651 27652 27653 27654 27655 27656 27657 27658 27659 27660 27661 27662 27663 27664 27665 27666 27667 27668 27669 27670 27671 27672 27673 27674 27675 27676 27677 27678 27679 | |