create_notebook
¶
create_notebook(
domain_identifier: DomainId,
owning_project_identifier: ProjectId,
name: NotebookName,
*,
config_overrides: Optional[DataZoneClientConfig] = None,
description: Optional[Description] = None,
type: Optional[NotebookType] = None,
metadata: Optional[Metadata] = None,
parameters: Optional[Parameters] = None,
client_token: Optional[ClientToken] = None,
) -> CreateNotebookOutput
Creates a notebook in Amazon SageMaker Unified Studio. A notebook is a collaborative document within a project that contains code cells for interactive computing.
Parameters:
-
domain_identifier(DomainId) –The identifier of the Amazon SageMaker Unified Studio domain in which to create the notebook.
-
owning_project_identifier(ProjectId) –The identifier of the project that owns the notebook.
-
name(NotebookName) –The name of the notebook. The name must be between 1 and 256 characters.
-
description(Optional[Description], default:None) –The description of the notebook.
-
type(Optional[NotebookType], default:None) –The type of the notebook.
-
metadata(Optional[Metadata], default:None) –The metadata for the notebook, specified as key-value pairs. You can specify up to 50 entries, with keys up to 128 characters and values up to 1024 characters.
-
parameters(Optional[Parameters], default:None) –The sensitive parameters for the notebook, specified as key-value pairs. You can specify up to 50 entries, with keys up to 128 characters and values up to 1024 characters.
-
client_token(Optional[ClientToken], default:None) –A unique, case-sensitive identifier to ensure idempotency of the request. This field is automatically populated if not provided.
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.
-
ConflictException–There is a conflict while performing this action.
-
InternalServerException–The request has failed because of an unknown error, exception or failure.
-
ResourceNotFoundException–The specified resource cannot be found.
-
ServiceQuotaExceededException–The request has exceeded the specified service quota.
-
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/data_zone.py
15857 15858 15859 15860 15861 15862 15863 15864 15865 15866 15867 15868 15869 15870 15871 15872 15873 15874 15875 15876 15877 15878 15879 15880 15881 15882 15883 15884 15885 15886 15887 15888 15889 15890 15891 15892 15893 15894 15895 15896 15897 15898 15899 15900 15901 15902 15903 15904 15905 15906 15907 15908 15909 15910 15911 15912 15913 15914 15915 15916 15917 15918 15919 15920 15921 15922 15923 15924 15925 15926 15927 15928 15929 15930 15931 15932 15933 15934 15935 15936 15937 15938 15939 15940 15941 15942 15943 15944 15945 15946 15947 15948 15949 15950 15951 15952 15953 | |