list_projects
async
¶
list_projects(
*,
config_overrides: Optional[AsyncSageMakerClientConfig] = 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/async_sage_maker.py
27947 27948 27949 27950 27951 27952 27953 27954 27955 27956 27957 27958 27959 27960 27961 27962 27963 27964 27965 27966 27967 27968 27969 27970 27971 27972 27973 27974 27975 27976 27977 27978 27979 27980 27981 27982 27983 27984 27985 27986 27987 27988 27989 27990 27991 27992 27993 27994 27995 27996 27997 27998 27999 28000 28001 28002 28003 28004 28005 28006 28007 28008 28009 28010 28011 28012 28013 28014 28015 28016 28017 28018 28019 28020 28021 28022 28023 28024 28025 28026 | |