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,
) -> 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/async_sage_maker.py
25112 25113 25114 25115 25116 25117 25118 25119 25120 25121 25122 25123 25124 25125 25126 25127 25128 25129 25130 25131 25132 25133 25134 25135 25136 25137 25138 25139 25140 25141 25142 25143 25144 25145 25146 25147 25148 25149 25150 25151 25152 25153 25154 25155 25156 25157 25158 25159 25160 25161 25162 25163 25164 25165 25166 25167 25168 25169 25170 25171 25172 25173 25174 25175 25176 25177 25178 25179 25180 25181 25182 25183 25184 25185 25186 25187 | |