Struct aws_sdk_rdsdata::operation::execute_sql::ExecuteSqlInput
source · #[non_exhaustive]pub struct ExecuteSqlInput {
pub db_cluster_or_instance_arn: Option<String>,
pub aws_secret_store_arn: Option<String>,
pub sql_statements: Option<String>,
pub database: Option<String>,
pub schema: Option<String>,
}Expand description
The request parameters represent the input of a request to run one or more SQL statements.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.db_cluster_or_instance_arn: Option<String>The ARN of the Aurora Serverless DB cluster.
aws_secret_store_arn: 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.
sql_statements: 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.
database: Option<String>The name of the database.
schema: Option<String>The name of the database schema.
Implementations§
source§impl ExecuteSqlInput
impl ExecuteSqlInput
sourcepub fn db_cluster_or_instance_arn(&self) -> Option<&str>
pub fn db_cluster_or_instance_arn(&self) -> Option<&str>
The ARN of the Aurora Serverless DB cluster.
sourcepub fn aws_secret_store_arn(&self) -> Option<&str>
pub fn aws_secret_store_arn(&self) -> Option<&str>
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) -> Option<&str>
pub fn sql_statements(&self) -> Option<&str>
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.
source§impl ExecuteSqlInput
impl ExecuteSqlInput
sourcepub fn builder() -> ExecuteSqlInputBuilder
pub fn builder() -> ExecuteSqlInputBuilder
Creates a new builder-style object to manufacture ExecuteSqlInput.
Trait Implementations§
source§impl Clone for ExecuteSqlInput
impl Clone for ExecuteSqlInput
source§fn clone(&self) -> ExecuteSqlInput
fn clone(&self) -> ExecuteSqlInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ExecuteSqlInput
impl Debug for ExecuteSqlInput
source§impl PartialEq for ExecuteSqlInput
impl PartialEq for ExecuteSqlInput
source§fn eq(&self, other: &ExecuteSqlInput) -> bool
fn eq(&self, other: &ExecuteSqlInput) -> bool
self and other values to be equal, and is used
by ==.