Struct aws_sdk_athena::client::fluent_builders::UpdateNotebook
source · pub struct UpdateNotebook { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateNotebook
.
Updates the contents of a Spark notebook.
Implementations§
source§impl UpdateNotebook
impl UpdateNotebook
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<UpdateNotebook, AwsResponseRetryClassifier>, SdkError<UpdateNotebookError>>
pub async fn customize( self ) -> Result<CustomizableOperation<UpdateNotebook, AwsResponseRetryClassifier>, SdkError<UpdateNotebookError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<UpdateNotebookOutput, SdkError<UpdateNotebookError>>
pub async fn send( self ) -> Result<UpdateNotebookOutput, SdkError<UpdateNotebookError>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn notebook_id(self, input: impl Into<String>) -> Self
pub fn notebook_id(self, input: impl Into<String>) -> Self
The ID of the notebook to update.
sourcepub fn set_notebook_id(self, input: Option<String>) -> Self
pub fn set_notebook_id(self, input: Option<String>) -> Self
The ID of the notebook to update.
sourcepub fn set_payload(self, input: Option<String>) -> Self
pub fn set_payload(self, input: Option<String>) -> Self
The updated content for the notebook.
sourcepub fn type(self, input: NotebookType) -> Self
pub fn type(self, input: NotebookType) -> Self
The notebook content type. Currently, the only valid type is IPYNB
.
sourcepub fn set_type(self, input: Option<NotebookType>) -> Self
pub fn set_type(self, input: Option<NotebookType>) -> Self
The notebook content type. Currently, the only valid type is IPYNB
.
sourcepub fn session_id(self, input: impl Into<String>) -> Self
pub fn session_id(self, input: impl Into<String>) -> Self
The ID of the session in which the notebook will be updated.
sourcepub fn set_session_id(self, input: Option<String>) -> Self
pub fn set_session_id(self, input: Option<String>) -> Self
The ID of the session in which the notebook will be updated.
sourcepub fn client_request_token(self, input: impl Into<String>) -> Self
pub fn client_request_token(self, input: impl Into<String>) -> Self
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.
sourcepub fn set_client_request_token(self, input: Option<String>) -> Self
pub fn set_client_request_token(self, input: Option<String>) -> Self
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.
Trait Implementations§
source§impl Clone for UpdateNotebook
impl Clone for UpdateNotebook
source§fn clone(&self) -> UpdateNotebook
fn clone(&self) -> UpdateNotebook
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more