Struct aws_sdk_redshiftdata::model::StatementData
source · [−]#[non_exhaustive]pub struct StatementData { /* private fields */ }Expand description
The SQL statement to run.
Implementations
sourceimpl StatementData
impl StatementData
sourcepub fn id(&self) -> Option<&str>
pub fn id(&self) -> Option<&str>
The SQL statement identifier. This value is a universally unique identifier (UUID) generated by Amazon Redshift Data API.
sourcepub fn query_string(&self) -> Option<&str>
pub fn query_string(&self) -> Option<&str>
The SQL statement.
sourcepub fn query_strings(&self) -> Option<&[String]>
pub fn query_strings(&self) -> Option<&[String]>
One or more SQL statements. Each query string in the array corresponds to one of the queries in a batch query request.
sourcepub fn secret_arn(&self) -> Option<&str>
pub fn secret_arn(&self) -> Option<&str>
The name or Amazon Resource Name (ARN) of the secret that enables access to the database.
sourcepub fn status(&self) -> Option<&StatusString>
pub fn status(&self) -> Option<&StatusString>
The status of the SQL statement. An example is the that the SQL statement finished.
sourcepub fn statement_name(&self) -> Option<&str>
pub fn statement_name(&self) -> Option<&str>
The name of the SQL statement.
sourcepub fn created_at(&self) -> Option<&DateTime>
pub fn created_at(&self) -> Option<&DateTime>
The date and time (UTC) the statement was created.
sourcepub fn updated_at(&self) -> Option<&DateTime>
pub fn updated_at(&self) -> Option<&DateTime>
The date and time (UTC) that the statement metadata was last updated.
sourcepub fn query_parameters(&self) -> Option<&[SqlParameter]>
pub fn query_parameters(&self) -> Option<&[SqlParameter]>
The parameters used in a SQL statement.
sourcepub fn is_batch_statement(&self) -> Option<bool>
pub fn is_batch_statement(&self) -> Option<bool>
A value that indicates whether the statement is a batch query request.
sourceimpl StatementData
impl StatementData
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture StatementData.
Trait Implementations
sourceimpl Clone for StatementData
impl Clone for StatementData
sourcefn clone(&self) -> StatementData
fn clone(&self) -> StatementData
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more