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 |
Retrieves notebook metadata for the specified notebook ID.
Synopsis
- data GetNotebookMetadata = GetNotebookMetadata' {
- notebookId :: Text
- newGetNotebookMetadata :: Text -> GetNotebookMetadata
- getNotebookMetadata_notebookId :: Lens' GetNotebookMetadata Text
- data GetNotebookMetadataResponse = GetNotebookMetadataResponse' {}
- newGetNotebookMetadataResponse :: Int -> GetNotebookMetadataResponse
- getNotebookMetadataResponse_notebookMetadata :: Lens' GetNotebookMetadataResponse (Maybe NotebookMetadata)
- getNotebookMetadataResponse_httpStatus :: Lens' GetNotebookMetadataResponse Int
Creating a Request
data GetNotebookMetadata Source #
See: newGetNotebookMetadata
smart constructor.
GetNotebookMetadata' | |
|
Instances
newGetNotebookMetadata Source #
Create a value of GetNotebookMetadata
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:
GetNotebookMetadata
, getNotebookMetadata_notebookId
- The ID of the notebook whose metadata is to be retrieved.
Request Lenses
getNotebookMetadata_notebookId :: Lens' GetNotebookMetadata Text Source #
The ID of the notebook whose metadata is to be retrieved.
Destructuring the Response
data GetNotebookMetadataResponse Source #
See: newGetNotebookMetadataResponse
smart constructor.
GetNotebookMetadataResponse' | |
|
Instances
newGetNotebookMetadataResponse Source #
Create a value of GetNotebookMetadataResponse
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:notebookMetadata:GetNotebookMetadataResponse'
, getNotebookMetadataResponse_notebookMetadata
- The metadata that is returned for the specified notebook ID.
$sel:httpStatus:GetNotebookMetadataResponse'
, getNotebookMetadataResponse_httpStatus
- The response's http status code.
Response Lenses
getNotebookMetadataResponse_notebookMetadata :: Lens' GetNotebookMetadataResponse (Maybe NotebookMetadata) Source #
The metadata that is returned for the specified notebook ID.
getNotebookMetadataResponse_httpStatus :: Lens' GetNotebookMetadataResponse Int Source #
The response's http status code.