Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data NotebookMetadata = NotebookMetadata' {
- creationTime :: Maybe POSIX
- lastModifiedTime :: Maybe POSIX
- name :: Maybe Text
- notebookId :: Maybe Text
- type' :: Maybe NotebookType
- workGroup :: Maybe Text
- newNotebookMetadata :: NotebookMetadata
- notebookMetadata_creationTime :: Lens' NotebookMetadata (Maybe UTCTime)
- notebookMetadata_lastModifiedTime :: Lens' NotebookMetadata (Maybe UTCTime)
- notebookMetadata_name :: Lens' NotebookMetadata (Maybe Text)
- notebookMetadata_notebookId :: Lens' NotebookMetadata (Maybe Text)
- notebookMetadata_type :: Lens' NotebookMetadata (Maybe NotebookType)
- notebookMetadata_workGroup :: Lens' NotebookMetadata (Maybe Text)
Documentation
data NotebookMetadata Source #
Contains metadata for notebook, including the notebook name, ID, workgroup, and time created.
See: newNotebookMetadata
smart constructor.
NotebookMetadata' | |
|
Instances
newNotebookMetadata :: NotebookMetadata Source #
Create a value of NotebookMetadata
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:creationTime:NotebookMetadata'
, notebookMetadata_creationTime
- The time when the notebook was created.
$sel:lastModifiedTime:NotebookMetadata'
, notebookMetadata_lastModifiedTime
- The time when the notebook was last modified.
$sel:name:NotebookMetadata'
, notebookMetadata_name
- The name of the notebook.
$sel:notebookId:NotebookMetadata'
, notebookMetadata_notebookId
- The notebook ID.
$sel:type':NotebookMetadata'
, notebookMetadata_type
- The type of notebook. Currently, the only valid type is IPYNB
.
$sel:workGroup:NotebookMetadata'
, notebookMetadata_workGroup
- The name of the Spark enabled workgroup to which the notebook belongs.
notebookMetadata_creationTime :: Lens' NotebookMetadata (Maybe UTCTime) Source #
The time when the notebook was created.
notebookMetadata_lastModifiedTime :: Lens' NotebookMetadata (Maybe UTCTime) Source #
The time when the notebook was last modified.
notebookMetadata_name :: Lens' NotebookMetadata (Maybe Text) Source #
The name of the notebook.
notebookMetadata_notebookId :: Lens' NotebookMetadata (Maybe Text) Source #
The notebook ID.
notebookMetadata_type :: Lens' NotebookMetadata (Maybe NotebookType) Source #
The type of notebook. Currently, the only valid type is IPYNB
.
notebookMetadata_workGroup :: Lens' NotebookMetadata (Maybe Text) Source #
The name of the Spark enabled workgroup to which the notebook belongs.