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 |
Updates the metadata for a notebook.
Synopsis
- data UpdateNotebookMetadata = UpdateNotebookMetadata' {
- clientRequestToken :: Maybe Text
- notebookId :: Text
- name :: Text
- newUpdateNotebookMetadata :: Text -> Text -> UpdateNotebookMetadata
- updateNotebookMetadata_clientRequestToken :: Lens' UpdateNotebookMetadata (Maybe Text)
- updateNotebookMetadata_notebookId :: Lens' UpdateNotebookMetadata Text
- updateNotebookMetadata_name :: Lens' UpdateNotebookMetadata Text
- data UpdateNotebookMetadataResponse = UpdateNotebookMetadataResponse' {
- httpStatus :: Int
- newUpdateNotebookMetadataResponse :: Int -> UpdateNotebookMetadataResponse
- updateNotebookMetadataResponse_httpStatus :: Lens' UpdateNotebookMetadataResponse Int
Creating a Request
data UpdateNotebookMetadata Source #
See: newUpdateNotebookMetadata
smart constructor.
UpdateNotebookMetadata' | |
|
Instances
newUpdateNotebookMetadata Source #
Create a value of UpdateNotebookMetadata
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:clientRequestToken:UpdateNotebookMetadata'
, updateNotebookMetadata_clientRequestToken
- A unique case-sensitive string used to ensure the request to create 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.
UpdateNotebookMetadata
, updateNotebookMetadata_notebookId
- The ID of the notebook to update the metadata for.
UpdateNotebookMetadata
, updateNotebookMetadata_name
- The name to update the notebook to.
Request Lenses
updateNotebookMetadata_clientRequestToken :: Lens' UpdateNotebookMetadata (Maybe Text) Source #
A unique case-sensitive string used to ensure the request to create 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.
updateNotebookMetadata_notebookId :: Lens' UpdateNotebookMetadata Text Source #
The ID of the notebook to update the metadata for.
updateNotebookMetadata_name :: Lens' UpdateNotebookMetadata Text Source #
The name to update the notebook to.
Destructuring the Response
data UpdateNotebookMetadataResponse Source #
See: newUpdateNotebookMetadataResponse
smart constructor.
UpdateNotebookMetadataResponse' | |
|
Instances
Generic UpdateNotebookMetadataResponse Source # | |
Read UpdateNotebookMetadataResponse Source # | |
Show UpdateNotebookMetadataResponse Source # | |
Defined in Amazonka.Athena.UpdateNotebookMetadata | |
NFData UpdateNotebookMetadataResponse Source # | |
Defined in Amazonka.Athena.UpdateNotebookMetadata rnf :: UpdateNotebookMetadataResponse -> () # | |
Eq UpdateNotebookMetadataResponse Source # | |
type Rep UpdateNotebookMetadataResponse Source # | |
Defined in Amazonka.Athena.UpdateNotebookMetadata type Rep UpdateNotebookMetadataResponse = D1 ('MetaData "UpdateNotebookMetadataResponse" "Amazonka.Athena.UpdateNotebookMetadata" "amazonka-athena-2.0-1BJA3HTvHJNEzwQRaEw59w" 'False) (C1 ('MetaCons "UpdateNotebookMetadataResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newUpdateNotebookMetadataResponse Source #
Create a value of UpdateNotebookMetadataResponse
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:httpStatus:UpdateNotebookMetadataResponse'
, updateNotebookMetadataResponse_httpStatus
- The response's http status code.
Response Lenses
updateNotebookMetadataResponse_httpStatus :: Lens' UpdateNotebookMetadataResponse Int Source #
The response's http status code.