@@ -6531,13 +6531,16 @@ def list_hubs(
6531
6531
"""Lists all existing SageMaker Hubs
6532
6532
6533
6533
Args:
6534
- creation_time_after (str): Only list HubContent that was created after the time specified.
6535
- creation_time_before (str): Only list HubContent that was created before the time specified.
6534
+ creation_time_after (str): Only list HubContent that was created after
6535
+ the time specified.
6536
+ creation_time_before (str): Only list HubContent that was created
6537
+ before the time specified.
6536
6538
max_results (int): The maximum amount of HubContent to list.
6537
6539
max_schema_version (str): The upper bound of the HubContentSchemaVersion.
6538
6540
name_contains (str): Only list HubContent if the name contains the specified string.
6539
- next_token (str): If the response to a previous ``ListHubContents`` request was truncated, the
6540
- response includes a ``NextToken``. To retrieve the next set of hub content, use the token in the next request.
6541
+ next_token (str): If the response to a previous ``ListHubContents`` request was
6542
+ truncated, the response includes a ``NextToken``. To retrieve the next set of
6543
+ hub content, use the token in the next request.
6541
6544
sort_by (str): Sort HubContent versions by either name or creation time.
6542
6545
sort_order (str): Sort Hubs by ascending or descending order.
6543
6546
Returns:
@@ -6581,13 +6584,16 @@ def list_hub_contents(
6581
6584
Args:
6582
6585
hub_name (str): The name of the Hub to list the contents of.
6583
6586
hub_content_type (str): The type of the HubContent to list.
6584
- creation_time_after (str): Only list HubContent that was created after the time specified.
6585
- creation_time_before (str): Only list HubContent that was created before the time specified.
6587
+ creation_time_after (str): Only list HubContent that was created after the
6588
+ time specified.
6589
+ creation_time_before (str): Only list HubContent that was created before the
6590
+ time specified.
6586
6591
max_results (int): The maximum amount of HubContent to list.
6587
6592
max_schema_version (str): The upper bound of the HubContentSchemaVersion.
6588
6593
name_contains (str): Only list HubContent if the name contains the specified string.
6589
- next_token (str): If the response to a previous ``ListHubContents`` request was truncated, the
6590
- response includes a ``NextToken``. To retrieve the next set of hub content, use the token in the next request.
6594
+ next_token (str): If the response to a previous ``ListHubContents`` request was
6595
+ truncated, the response includes a ``NextToken``. To retrieve the next set of
6596
+ hub content, use the token in the next request.
6591
6597
sort_by (str): Sort HubContent versions by either name or creation time.
6592
6598
sort_order (str): Sort Hubs by ascending or descending order.
6593
6599
Returns:
@@ -6645,12 +6651,12 @@ def import_hub_content(
6645
6651
hub_content_version (str): The version of the HubContent to import.
6646
6652
hub_content_type (str): The type of HubContent to import.
6647
6653
hub_name (str): The name of the Hub to import content to.
6648
- hub_content_document (str): The hub content document that describes information about the hub content
6649
- such as type, associated containers, scripts, and more.
6654
+ hub_content_document (str): The hub content document that describes information
6655
+ about the hub content such as type, associated containers, scripts, and more.
6650
6656
hub_content_display_name (str): The display name of the HubContent to import.
6651
6657
hub_content_description (str): The description of the HubContent to import.
6652
- hub_content_markdown (str): A string that provides a description of the HubContent. This string can include links, tables,
6653
- and standard markdown formatting.
6658
+ hub_content_markdown (str): A string that provides a description of the HubContent.
6659
+ This string can include links, tables, and standard markdown formatting.
6654
6660
hub_content_search_keywords (list): The searchable keywords of the HubContent.
6655
6661
tags (list): Any tags associated with the HubContent.
6656
6662
Returns:
@@ -6713,7 +6719,8 @@ def delete_hub_content(
6713
6719
6714
6720
Args:
6715
6721
hub_content_name (str): The name of the content thatyou want to delete from a Hub.
6716
- hub_content_version (str): The version of the content that you want to delete from a Hub.
6722
+ hub_content_version (str): The version of the content that you want to delete from
6723
+ a Hub.
6717
6724
hub_content_type (str): The type of the content that you want to delete from a Hub.
6718
6725
hub_name (str): The name of the Hub that you want to delete content in.
6719
6726
"""
0 commit comments