list_notebooks
async
¶
list_notebooks(
domain_identifier: DomainId,
owning_project_identifier: ProjectId,
*,
config_overrides: Optional[AsyncDataZoneClientConfig] = None,
max_results: Optional[MaxResults] = None,
sort_order: Optional[SortOrder] = None,
sort_by: Optional[SortKey] = None,
status: Optional[NotebookStatus] = None,
type: Optional[NotebookType] = None,
next_token: Optional[PaginationToken] = None,
) -> ListNotebooksOutput
Lists notebooks in Amazon SageMaker Unified Studio.
Parameters:
-
domain_identifier(DomainId) –The identifier of the Amazon SageMaker Unified Studio domain in which to list notebooks.
-
owning_project_identifier(ProjectId) –The identifier of the project that owns the notebooks.
-
max_results(Optional[MaxResults], default:None) –The maximum number of notebooks to return in a single call. When the number of notebooks exceeds the value of
MaxResults, the response contains aNextTokenvalue. -
sort_order(Optional[SortOrder], default:None) –The sort order for the results.
-
sort_by(Optional[SortKey], default:None) –The field to sort the results by.
-
status(Optional[NotebookStatus], default:None) –The status to filter notebooks by.
-
type(Optional[NotebookType], default:None) –The type to filter notebooks by.
-
next_token(Optional[PaginationToken], default:None) –When the number of notebooks is greater than the default value for the
MaxResultsparameter, or if you explicitly specify a value forMaxResultsthat is less than the number of notebooks, the response includes a pagination token namedNextToken. You can specify thisNextTokenvalue in a subsequent call toListNotebooksto list the next set of notebooks.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
ThrottlingException–The request was denied due to request throttling.
-
UnauthorizedException–You do not have permission to perform this action.
-
InternalServerException–The request has failed because of an unknown error, exception or failure.
-
ValidationException–The input fails to satisfy the constraints specified by the Amazon Web Services service.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_datazone/_services/async_data_zone.py
16371 16372 16373 16374 16375 16376 16377 16378 16379 16380 16381 16382 16383 16384 16385 16386 16387 16388 16389 16390 16391 16392 16393 16394 16395 16396 16397 16398 16399 16400 16401 16402 16403 16404 16405 16406 16407 16408 16409 16410 16411 16412 16413 16414 16415 16416 16417 16418 16419 16420 16421 16422 16423 16424 16425 16426 16427 16428 16429 16430 16431 16432 16433 16434 16435 16436 16437 16438 16439 16440 16441 16442 16443 16444 16445 16446 16447 16448 16449 16450 16451 16452 16453 16454 16455 16456 | |