list_hubs
¶
list_hubs(
*,
config_overrides: Optional[SageMakerClientConfig] = 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/sage_maker.py
22137 22138 22139 22140 22141 22142 22143 22144 22145 22146 22147 22148 22149 22150 22151 22152 22153 22154 22155 22156 22157 22158 22159 22160 22161 22162 22163 22164 22165 22166 22167 22168 22169 22170 22171 22172 22173 22174 22175 22176 22177 22178 22179 22180 22181 22182 22183 22184 22185 22186 22187 22188 22189 22190 22191 22192 22193 22194 22195 22196 22197 22198 22199 22200 22201 22202 22203 22204 22205 22206 22207 22208 22209 22210 22211 22212 22213 22214 22215 22216 22217 22218 22219 22220 22221 | |