Struct aws_sdk_eventbridge::types::RedshiftDataParameters
source · #[non_exhaustive]pub struct RedshiftDataParameters { /* private fields */ }
Expand description
These are custom parameters to be used when the target is a Amazon Redshift cluster or Redshift Serverless workgroup to invoke the Amazon Redshift Data API ExecuteStatement based on EventBridge events.
Implementations§
source§impl RedshiftDataParameters
impl RedshiftDataParameters
sourcepub fn secret_manager_arn(&self) -> Option<&str>
pub fn secret_manager_arn(&self) -> Option<&str>
The name or ARN of the secret that enables access to the database. Required when authenticating using Amazon Web Services Secrets Manager.
sourcepub fn database(&self) -> Option<&str>
pub fn database(&self) -> Option<&str>
The name of the database. Required when authenticating using temporary credentials.
sourcepub fn db_user(&self) -> Option<&str>
pub fn db_user(&self) -> Option<&str>
The database user name. Required when authenticating using temporary credentials.
Do not provide this parameter when connecting to a Redshift Serverless workgroup.
sourcepub fn statement_name(&self) -> Option<&str>
pub fn statement_name(&self) -> Option<&str>
The name of the SQL statement. You can name the SQL statement when you create it to identify the query.
sourcepub fn with_event(&self) -> bool
pub fn with_event(&self) -> bool
Indicates whether to send an event back to EventBridge after the SQL statement runs.
source§impl RedshiftDataParameters
impl RedshiftDataParameters
sourcepub fn builder() -> RedshiftDataParametersBuilder
pub fn builder() -> RedshiftDataParametersBuilder
Creates a new builder-style object to manufacture RedshiftDataParameters
.
Trait Implementations§
source§impl Clone for RedshiftDataParameters
impl Clone for RedshiftDataParameters
source§fn clone(&self) -> RedshiftDataParameters
fn clone(&self) -> RedshiftDataParameters
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for RedshiftDataParameters
impl Debug for RedshiftDataParameters
source§impl PartialEq<RedshiftDataParameters> for RedshiftDataParameters
impl PartialEq<RedshiftDataParameters> for RedshiftDataParameters
source§fn eq(&self, other: &RedshiftDataParameters) -> bool
fn eq(&self, other: &RedshiftDataParameters) -> bool
self
and other
values to be equal, and is used
by ==
.