/AWS1/CL_ATH=>IMPORTNOTEBOOK()
¶
About ImportNotebook¶
Imports a single ipynb
file to a Spark enabled workgroup. To import the
notebook, the request must specify a value for either Payload
or
NoteBookS3LocationUri
. If neither is specified or both are specified,
an InvalidRequestException
occurs. The maximum file size that can be
imported is 10 megabytes. If an ipynb
file with the same name already
exists in the workgroup, throws an error.
Method Signature¶
IMPORTING¶
Required arguments:¶
IV_WORKGROUP
TYPE /AWS1/ATHWORKGROUPNAME
/AWS1/ATHWORKGROUPNAME
¶
The name of the Spark enabled workgroup to import the notebook to.
IV_NAME
TYPE /AWS1/ATHNOTEBOOKNAME
/AWS1/ATHNOTEBOOKNAME
¶
The name of the notebook to import.
IV_TYPE
TYPE /AWS1/ATHNOTEBOOKTYPE
/AWS1/ATHNOTEBOOKTYPE
¶
The notebook content type. Currently, the only valid type is
IPYNB
.
Optional arguments:¶
IV_PAYLOAD
TYPE /AWS1/ATHPAYLOAD
/AWS1/ATHPAYLOAD
¶
The notebook content to be imported. The payload must be in
ipynb
format.
IV_NOTEBOOKS3LOCATIONURI
TYPE /AWS1/ATHS3URI
/AWS1/ATHS3URI
¶
A URI that specifies the Amazon S3 location of a notebook file in
ipynb
format.
IV_CLIENTREQUESTTOKEN
TYPE /AWS1/ATHCLIENTREQUESTTOKEN
/AWS1/ATHCLIENTREQUESTTOKEN
¶
A unique case-sensitive string used to ensure the request to import the notebook is idempotent (executes only once).
This token is listed as not required because Amazon Web Services SDKs (for example the Amazon Web Services SDK for Java) auto-generate the token for you. If you are not using the Amazon Web Services SDK or the Amazon Web Services CLI, you must provide this token or the action will fail.