pub struct CreateNotebookFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to CreateNotebook.
Creates an empty ipynb file in the specified Apache Spark enabled workgroup. Throws an error if a file in the workgroup with the same name already exists.
Implementations§
source§impl CreateNotebookFluentBuilder
impl CreateNotebookFluentBuilder
sourcepub fn as_input(&self) -> &CreateNotebookInputBuilder
pub fn as_input(&self) -> &CreateNotebookInputBuilder
Access the CreateNotebook as a reference.
sourcepub async fn send(
self
) -> Result<CreateNotebookOutput, SdkError<CreateNotebookError, HttpResponse>>
pub async fn send( self ) -> Result<CreateNotebookOutput, SdkError<CreateNotebookError, HttpResponse>>
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 customize(
self
) -> CustomizableOperation<CreateNotebookOutput, CreateNotebookError, Self>
pub fn customize( self ) -> CustomizableOperation<CreateNotebookOutput, CreateNotebookError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn work_group(self, input: impl Into<String>) -> Self
pub fn work_group(self, input: impl Into<String>) -> Self
The name of the Spark enabled workgroup in which the notebook will be created.
sourcepub fn set_work_group(self, input: Option<String>) -> Self
pub fn set_work_group(self, input: Option<String>) -> Self
The name of the Spark enabled workgroup in which the notebook will be created.
sourcepub fn get_work_group(&self) -> &Option<String>
pub fn get_work_group(&self) -> &Option<String>
The name of the Spark enabled workgroup in which the notebook will be created.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the ipynb file to be created in the Spark workgroup, without the .ipynb extension.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name of the ipynb file to be created in the Spark workgroup, without the .ipynb extension.
sourcepub fn get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
The name of the ipynb file to be created in the Spark workgroup, without the .ipynb extension.
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.
sourcepub fn get_client_request_token(&self) -> &Option<String>
pub fn get_client_request_token(&self) -> &Option<String>
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 CreateNotebookFluentBuilder
impl Clone for CreateNotebookFluentBuilder
source§fn clone(&self) -> CreateNotebookFluentBuilder
fn clone(&self) -> CreateNotebookFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more