list_hub_contents
async
¶
list_hub_contents(
*,
config_overrides: Optional[AsyncSageMakerClientConfig] = None,
hub_name: Optional[HubNameOrArn] = None,
hub_content_type: Optional[HubContentType] = None,
name_contains: Optional[NameContains] = None,
max_schema_version: Optional[DocumentSchemaVersion] = None,
creation_time_before: Optional[Timestamp] = None,
creation_time_after: Optional[Timestamp] = None,
sort_by: Optional[HubContentSortBy] = None,
sort_order: Optional[SortOrder] = None,
max_results: Optional[MaxResults] = None,
next_token: Optional[NextToken] = None,
) -> ListHubContentsResponse
List the contents of a hub.
Parameters:
-
hub_name(Optional[HubNameOrArn], default:None) –The name of the hub to list the contents of.
-
hub_content_type(Optional[HubContentType], default:None) –The type of hub content to list.
-
name_contains(Optional[NameContains], default:None) –Only list hub content if the name contains the specified string.
-
max_schema_version(Optional[DocumentSchemaVersion], default:None) –The upper bound of the hub content schema verion.
-
creation_time_before(Optional[Timestamp], default:None) –Only list hub content that was created before the time specified.
-
creation_time_after(Optional[Timestamp], default:None) –Only list hub content that was created after the time specified.
-
sort_by(Optional[HubContentSortBy], default:None) –Sort hub content versions 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 amount of hub content to list.
-
next_token(Optional[NextToken], default:None) –If the response to a previous
ListHubContentsrequest was truncated, the response includes aNextToken. To retrieve the next set of hub content, use the token in the next request.
Raises:
-
ResourceNotFound–Resource being access is not found.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_sagemaker/_services/async_sage_maker.py
22248 22249 22250 22251 22252 22253 22254 22255 22256 22257 22258 22259 22260 22261 22262 22263 22264 22265 22266 22267 22268 22269 22270 22271 22272 22273 22274 22275 22276 22277 22278 22279 22280 22281 22282 22283 22284 22285 22286 22287 22288 22289 22290 22291 22292 22293 22294 22295 22296 22297 22298 22299 22300 22301 22302 22303 22304 22305 22306 22307 22308 22309 22310 22311 22312 22313 22314 22315 22316 22317 22318 22319 22320 22321 22322 22323 22324 22325 22326 22327 22328 22329 22330 22331 22332 22333 22334 22335 22336 22337 22338 22339 22340 | |