list_notebook_instances
async
¶
list_notebook_instances(
*,
config_overrides: Optional[AsyncSageMakerClientConfig] = None,
next_token: Optional[NextToken] = None,
max_results: Optional[MaxResults] = None,
sort_by: Optional[NotebookInstanceSortKey] = None,
sort_order: Optional[NotebookInstanceSortOrder] = None,
name_contains: Optional[NotebookInstanceNameContains] = None,
creation_time_before: Optional[CreationTime] = None,
creation_time_after: Optional[CreationTime] = None,
last_modified_time_before: Optional[LastModifiedTime] = None,
last_modified_time_after: Optional[LastModifiedTime] = None,
status_equals: Optional[NotebookInstanceStatus] = None,
notebook_instance_lifecycle_config_name_contains: Optional[
NotebookInstanceLifecycleConfigName
] = None,
default_code_repository_contains: Optional[CodeRepositoryContains] = None,
additional_code_repository_equals: Optional[CodeRepositoryNameOrUrl] = None,
) -> ListNotebookInstancesOutput
Returns a list of the SageMaker AI notebook instances in the requester's account in an Amazon Web Services Region.
Parameters:
-
next_token(Optional[NextToken], default:None) –If the previous call to the
ListNotebookInstancesis truncated, the response includes aNextToken. You can use this token in your subsequentListNotebookInstancesrequest to fetch the next set of notebook instances.You might specify a filter or a sort order in your request. When response is truncated, you must use the same values for the filer and sort order in the next request.
-
max_results(Optional[MaxResults], default:None) –The maximum number of notebook instances to return.
-
sort_by(Optional[NotebookInstanceSortKey], default:None) –The field to sort results by. The default is
Name. -
sort_order(Optional[NotebookInstanceSortOrder], default:None) –The sort order for results.
-
name_contains(Optional[NotebookInstanceNameContains], default:None) –A string in the notebook instances' name. This filter returns only notebook instances whose name contains the specified string.
-
creation_time_before(Optional[CreationTime], default:None) –A filter that returns only notebook instances that were created before the specified time (timestamp).
-
creation_time_after(Optional[CreationTime], default:None) –A filter that returns only notebook instances that were created after the specified time (timestamp).
-
last_modified_time_before(Optional[LastModifiedTime], default:None) –A filter that returns only notebook instances that were modified before the specified time (timestamp).
-
last_modified_time_after(Optional[LastModifiedTime], default:None) –A filter that returns only notebook instances that were modified after the specified time (timestamp).
-
status_equals(Optional[NotebookInstanceStatus], default:None) –A filter that returns only notebook instances with the specified status.
-
notebook_instance_lifecycle_config_name_contains(Optional[NotebookInstanceLifecycleConfigName], default:None) –A string in the name of a notebook instances lifecycle configuration associated with this notebook instance. This filter returns only notebook instances associated with a lifecycle configuration with a name that contains the specified string.
-
default_code_repository_contains(Optional[CodeRepositoryContains], default:None) –A string in the name or URL of a Git repository associated with this notebook instance. This filter returns only notebook instances associated with a git repository with a name that contains the specified string.
-
additional_code_repository_equals(Optional[CodeRepositoryNameOrUrl], default:None) –A filter that returns only notebook instances with associated with the specified git repository.
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
26891 26892 26893 26894 26895 26896 26897 26898 26899 26900 26901 26902 26903 26904 26905 26906 26907 26908 26909 26910 26911 26912 26913 26914 26915 26916 26917 26918 26919 26920 26921 26922 26923 26924 26925 26926 26927 26928 26929 26930 26931 26932 26933 26934 26935 26936 26937 26938 26939 26940 26941 26942 26943 26944 26945 26946 26947 26948 26949 26950 26951 26952 26953 26954 26955 26956 26957 26958 26959 26960 26961 26962 26963 26964 26965 26966 26967 26968 26969 26970 26971 26972 26973 26974 26975 26976 26977 26978 26979 26980 26981 26982 26983 26984 26985 26986 26987 26988 26989 26990 26991 26992 26993 26994 26995 26996 26997 26998 26999 27000 27001 27002 27003 27004 27005 27006 27007 27008 27009 27010 | |