list_workteams
async
¶
list_workteams(
*,
config_overrides: Optional[AsyncSageMakerClientConfig] = None,
sort_by: Optional[ListWorkteamsSortByOptions] = None,
sort_order: Optional[SortOrder] = None,
name_contains: Optional[WorkteamName] = None,
next_token: Optional[NextToken] = None,
max_results: Optional[MaxResults] = None,
) -> ListWorkteamsResponse
Gets a list of private work teams that you have defined in a region. The list may be empty if no work team satisfies the filter specified in the NameContains parameter.
Parameters:
-
sort_by(Optional[ListWorkteamsSortByOptions], default:None) –The field to sort results by. The default is
CreationTime. -
sort_order(Optional[SortOrder], default:None) –The sort order for results. The default is
Ascending. -
name_contains(Optional[WorkteamName], default:None) –A string in the work team's name. This filter returns only work teams whose name contains the specified string.
-
next_token(Optional[NextToken], default:None) –If the result of the previous
ListWorkteamsrequest was truncated, the response includes aNextToken. To retrieve the next set of labeling jobs, use the token in the next request. -
max_results(Optional[MaxResults], default:None) –The maximum number of work teams to return in each page of the response.
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
27010 27011 27012 27013 27014 27015 27016 27017 27018 27019 27020 27021 27022 27023 27024 27025 27026 27027 27028 27029 27030 27031 27032 27033 27034 27035 27036 27037 27038 27039 27040 27041 27042 27043 27044 27045 27046 27047 27048 27049 27050 27051 27052 27053 27054 27055 27056 27057 27058 27059 27060 27061 27062 27063 27064 27065 27066 27067 27068 27069 27070 27071 27072 27073 | |