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,
) -> 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.
Raises:
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_sagemaker/_services/sage_maker.py
24801 24802 24803 24804 24805 24806 24807 24808 24809 24810 24811 24812 24813 24814 24815 24816 24817 24818 24819 24820 24821 24822 24823 24824 24825 24826 24827 24828 24829 24830 24831 24832 24833 24834 24835 24836 24837 24838 24839 24840 24841 24842 24843 24844 24845 24846 24847 24848 24849 24850 24851 24852 24853 24854 24855 24856 24857 24858 24859 24860 24861 24862 24863 24864 24865 24866 24867 24868 24869 24870 24871 24872 24873 24874 24875 | |