pub struct ExecuteSqlFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to ExecuteSql
.
Runs one or more SQL statements.
This operation is deprecated. Use the BatchExecuteStatement
or ExecuteStatement
operation.
Implementations§
source§impl ExecuteSqlFluentBuilder
impl ExecuteSqlFluentBuilder
sourcepub fn as_input(&self) -> &ExecuteSqlInputBuilder
pub fn as_input(&self) -> &ExecuteSqlInputBuilder
Access the ExecuteSql as a reference.
sourcepub async fn send(
self
) -> Result<ExecuteSqlOutput, SdkError<ExecuteSqlError, HttpResponse>>
pub async fn send( self ) -> Result<ExecuteSqlOutput, SdkError<ExecuteSqlError, 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<ExecuteSqlOutput, ExecuteSqlError, Self>
pub fn customize( self ) -> CustomizableOperation<ExecuteSqlOutput, ExecuteSqlError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn db_cluster_or_instance_arn(self, input: impl Into<String>) -> Self
pub fn db_cluster_or_instance_arn(self, input: impl Into<String>) -> Self
The ARN of the Aurora Serverless DB cluster.
sourcepub fn set_db_cluster_or_instance_arn(self, input: Option<String>) -> Self
pub fn set_db_cluster_or_instance_arn(self, input: Option<String>) -> Self
The ARN of the Aurora Serverless DB cluster.
sourcepub fn get_db_cluster_or_instance_arn(&self) -> &Option<String>
pub fn get_db_cluster_or_instance_arn(&self) -> &Option<String>
The ARN of the Aurora Serverless DB cluster.
sourcepub fn aws_secret_store_arn(self, input: impl Into<String>) -> Self
pub fn aws_secret_store_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the secret that enables access to the DB cluster. Enter the database user name and password for the credentials in the secret.
For information about creating the secret, see Create a database secret.
sourcepub fn set_aws_secret_store_arn(self, input: Option<String>) -> Self
pub fn set_aws_secret_store_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the secret that enables access to the DB cluster. Enter the database user name and password for the credentials in the secret.
For information about creating the secret, see Create a database secret.
sourcepub fn get_aws_secret_store_arn(&self) -> &Option<String>
pub fn get_aws_secret_store_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the secret that enables access to the DB cluster. Enter the database user name and password for the credentials in the secret.
For information about creating the secret, see Create a database secret.
sourcepub fn sql_statements(self, input: impl Into<String>) -> Self
pub fn sql_statements(self, input: impl Into<String>) -> Self
One or more SQL statements to run on the DB cluster.
You can separate SQL statements from each other with a semicolon (;). Any valid SQL statement is permitted, including data definition, data manipulation, and commit statements.
sourcepub fn set_sql_statements(self, input: Option<String>) -> Self
pub fn set_sql_statements(self, input: Option<String>) -> Self
One or more SQL statements to run on the DB cluster.
You can separate SQL statements from each other with a semicolon (;). Any valid SQL statement is permitted, including data definition, data manipulation, and commit statements.
sourcepub fn get_sql_statements(&self) -> &Option<String>
pub fn get_sql_statements(&self) -> &Option<String>
One or more SQL statements to run on the DB cluster.
You can separate SQL statements from each other with a semicolon (;). Any valid SQL statement is permitted, including data definition, data manipulation, and commit statements.
sourcepub fn set_database(self, input: Option<String>) -> Self
pub fn set_database(self, input: Option<String>) -> Self
The name of the database.
sourcepub fn get_database(&self) -> &Option<String>
pub fn get_database(&self) -> &Option<String>
The name of the database.
sourcepub fn set_schema(self, input: Option<String>) -> Self
pub fn set_schema(self, input: Option<String>) -> Self
The name of the database schema.
sourcepub fn get_schema(&self) -> &Option<String>
pub fn get_schema(&self) -> &Option<String>
The name of the database schema.
Trait Implementations§
source§impl Clone for ExecuteSqlFluentBuilder
impl Clone for ExecuteSqlFluentBuilder
source§fn clone(&self) -> ExecuteSqlFluentBuilder
fn clone(&self) -> ExecuteSqlFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more