list_hubs
async
¶
list_hubs(
*,
config_overrides: Optional[AsyncSageMakerClientConfig] = None,
name_contains: Optional[NameContains] = None,
creation_time_before: Optional[Timestamp] = None,
creation_time_after: Optional[Timestamp] = None,
last_modified_time_before: Optional[Timestamp] = None,
last_modified_time_after: Optional[Timestamp] = None,
sort_by: Optional[HubSortBy] = None,
sort_order: Optional[SortOrder] = None,
max_results: Optional[MaxResults] = None,
next_token: Optional[NextToken] = None,
) -> ListHubsResponse
List all existing hubs.
Parameters:
-
name_contains(Optional[NameContains], default:None) –Only list hubs with names that contain the specified string.
-
creation_time_before(Optional[Timestamp], default:None) –Only list hubs that were created before the time specified.
-
creation_time_after(Optional[Timestamp], default:None) –Only list hubs that were created after the time specified.
-
last_modified_time_before(Optional[Timestamp], default:None) –Only list hubs that were last modified before the time specified.
-
last_modified_time_after(Optional[Timestamp], default:None) –Only list hubs that were last modified after the time specified.
-
sort_by(Optional[HubSortBy], default:None) –Sort hubs by either name or creation time.
-
sort_order(Optional[SortOrder], default:None) –Sort hubs by ascending or descending order.
-
max_results(Optional[MaxResults], default:None) –The maximum number of hubs to list.
-
next_token(Optional[NextToken], default:None) –If the response to a previous
ListHubsrequest was truncated, the response includes aNextToken. To retrieve the next set of hubs, use the token in the next request.
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
22442 22443 22444 22445 22446 22447 22448 22449 22450 22451 22452 22453 22454 22455 22456 22457 22458 22459 22460 22461 22462 22463 22464 22465 22466 22467 22468 22469 22470 22471 22472 22473 22474 22475 22476 22477 22478 22479 22480 22481 22482 22483 22484 22485 22486 22487 22488 22489 22490 22491 22492 22493 22494 22495 22496 22497 22498 22499 22500 22501 22502 22503 22504 22505 22506 22507 22508 22509 22510 22511 22512 22513 22514 22515 22516 22517 22518 22519 22520 22521 22522 22523 22524 22525 22526 22527 | |