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
24076 24077 24078 24079 24080 24081 24082 24083 24084 24085 24086 24087 24088 24089 24090 24091 24092 24093 24094 24095 24096 24097 24098 24099 24100 24101 24102 24103 24104 24105 24106 24107 24108 24109 24110 24111 24112 24113 24114 24115 24116 24117 24118 24119 24120 24121 24122 24123 24124 24125 24126 24127 24128 24129 24130 24131 24132 24133 24134 24135 24136 24137 24138 24139 24140 24141 24142 24143 24144 24145 24146 24147 24148 24149 24150 24151 24152 24153 24154 24155 24156 24157 24158 24159 24160 24161 24162 24163 24164 24165 24166 24167 24168 24169 24170 24171 24172 24173 24174 24175 24176 24177 24178 24179 24180 24181 24182 24183 24184 24185 24186 24187 24188 24189 24190 24191 24192 24193 24194 24195 | |