@@ -6467,10 +6467,10 @@ def create_hub(
6467
6467
self ,
6468
6468
hub_name : str ,
6469
6469
hub_description : str ,
6470
- hub_display_name = None ,
6471
- hub_search_keywords = None ,
6472
- s3_storage_config = None ,
6473
- tags = None
6470
+ hub_display_name : str = None ,
6471
+ hub_search_keywords : List [ str ] = None ,
6472
+ s3_storage_config : Dict [ str , Any ] = None ,
6473
+ tags : List [ Dict [ str , Any ]] = None
6474
6474
) -> Dict [str , str ]:
6475
6475
"""Creates a SageMaker Hub
6476
6476
@@ -6518,19 +6518,20 @@ def describe_hub(
6518
6518
6519
6519
def list_hubs (
6520
6520
self ,
6521
- creation_time_after = None ,
6522
- creation_time_before = None ,
6523
- max_results = None ,
6524
- max_schema_version = None ,
6525
- name_contains = None ,
6526
- sort_by = None ,
6527
- sort_order = None
6521
+ creation_time_after : str = None ,
6522
+ creation_time_before : str = None ,
6523
+ max_results : int = None ,
6524
+ max_schema_version : str = None ,
6525
+ name_contains : str = None ,
6526
+ next_token : str = None ,
6527
+ sort_by : str = None ,
6528
+ sort_order : str = None
6528
6529
) -> Dict [str , Any ]:
6529
6530
"""Lists all existing SageMaker Hubs
6530
6531
6531
6532
Args:
6532
- creation_time_after (int ): Only list HubContent that was created after the time specified.
6533
- creation_time_before (int ): Only list HubContent that was created before the time specified.
6533
+ creation_time_after (str ): Only list HubContent that was created after the time specified.
6534
+ creation_time_before (str ): Only list HubContent that was created before the time specified.
6534
6535
max_results (int): The maximum amount of HubContent to list.
6535
6536
max_schema_version (str): The upper bound of the HubContentSchemaVersion.
6536
6537
name_contains (str): Only list HubContent if the name contains the specified string.
@@ -6552,6 +6553,8 @@ def list_hubs(
6552
6553
request ["MaxSchemaVersion" ] = max_schema_version
6553
6554
if name_contains :
6554
6555
request ["NameContains" ] = name_contains
6556
+ if next_token :
6557
+ request ["NextToken" ] = next_token
6555
6558
if sort_by :
6556
6559
request ["SortBy" ] = sort_by
6557
6560
if sort_order :
@@ -6563,21 +6566,22 @@ def list_hub_contents(
6563
6566
self ,
6564
6567
hub_name : str ,
6565
6568
hub_content_type : str ,
6566
- creation_time_after = None ,
6567
- creation_time_before = None ,
6568
- max_results = None ,
6569
- max_schema_version = None ,
6570
- name_contains = None ,
6571
- sort_by = None ,
6572
- sort_order = None
6569
+ creation_time_after : str = None ,
6570
+ creation_time_before : str = None ,
6571
+ max_results : int = None ,
6572
+ max_schema_version : str = None ,
6573
+ name_contains : str = None ,
6574
+ next_token : str = None ,
6575
+ sort_by : str = None ,
6576
+ sort_order : str = None
6573
6577
) -> Dict [str , Any ]:
6574
6578
"""Lists the HubContents in a SageMaker Hub
6575
6579
6576
6580
Args:
6577
6581
hub_name (str): The name of the Hub to list the contents of.
6578
6582
hub_content_type (str): The type of the HubContent to list.
6579
- creation_time_after (int ): Only list HubContent that was created after the time specified.
6580
- creation_time_before (int ): Only list HubContent that was created before the time specified.
6583
+ creation_time_after (str ): Only list HubContent that was created after the time specified.
6584
+ creation_time_before (str ): Only list HubContent that was created before the time specified.
6581
6585
max_results (int): The maximum amount of HubContent to list.
6582
6586
max_schema_version (str): The upper bound of the HubContentSchemaVersion.
6583
6587
name_contains (str): Only list HubContent if the name contains the specified string.
@@ -6602,6 +6606,8 @@ def list_hub_contents(
6602
6606
request ["MaxSchemaVersion" ] = max_schema_version
6603
6607
if name_contains :
6604
6608
request ["NameContains" ] = name_contains
6609
+ if next_token :
6610
+ request ["NextToken" ] = next_token
6605
6611
if sort_by :
6606
6612
request ["SortBy" ] = sort_by
6607
6613
if sort_order :
@@ -6629,12 +6635,12 @@ def import_hub_content(
6629
6635
hub_content_type : str ,
6630
6636
hub_name : str ,
6631
6637
hub_content_document : str ,
6632
- hub_content_display_name = None ,
6633
- hub_content_description = None ,
6634
- hub_content_version = None ,
6635
- hub_content_markdown = None ,
6636
- hub_content_search_keywords = None ,
6637
- tags = None
6638
+ hub_content_display_name : str = None ,
6639
+ hub_content_description : str = None ,
6640
+ hub_content_version : str = None ,
6641
+ hub_content_markdown : str = None ,
6642
+ hub_content_search_keywords : List [ str ] = None ,
6643
+ tags : List [ Dict [ str , Any ]] = None
6638
6644
) -> Dict [str , str ]:
6639
6645
"""Imports a new HubContent into a SageMaker Hub
6640
6646
@@ -6682,7 +6688,7 @@ def describe_hub_content(
6682
6688
hub_content_name : str ,
6683
6689
hub_content_type : str ,
6684
6690
hub_name : str ,
6685
- hub_content_version = None
6691
+ hub_content_version : str = None
6686
6692
) -> Dict [str , Any ]:
6687
6693
"""Describes a HubContent in a SageMaker Hub
6688
6694
0 commit comments