pub struct RedshiftDestinationConfiguration {
pub cloud_watch_logging_options: Option<CloudWatchLoggingOptions>,
pub cluster_jdbcurl: String,
pub copy_command: CopyCommand,
pub password: String,
pub processing_configuration: Option<ProcessingConfiguration>,
pub retry_options: Option<RedshiftRetryOptions>,
pub role_arn: String,
pub s3_backup_configuration: Option<S3DestinationConfiguration>,
pub s3_backup_mode: Option<String>,
pub s3_configuration: S3DestinationConfiguration,
pub username: String,
}
Expand description
Describes the configuration of a destination in Amazon Redshift.
Fields
cloud_watch_logging_options: Option<CloudWatchLoggingOptions>
The CloudWatch logging options for your delivery stream.
cluster_jdbcurl: String
The database connection string.
copy_command: CopyCommand
The COPY
command.
password: String
The user password.
processing_configuration: Option<ProcessingConfiguration>
The data processing configuration.
retry_options: Option<RedshiftRetryOptions>
The retry behavior in case Kinesis Data Firehose is unable to deliver documents to Amazon Redshift. Default value is 3600 (60 minutes).
role_arn: String
The Amazon Resource Name (ARN) of the AWS credentials. For more information, see Amazon Resource Names (ARNs) and AWS Service Namespaces.
s3_backup_configuration: Option<S3DestinationConfiguration>
The configuration for backup in Amazon S3.
s3_backup_mode: Option<String>
The Amazon S3 backup mode. After you create a delivery stream, you can update it to enable Amazon S3 backup if it is disabled. If backup is enabled, you can't update the delivery stream to disable it.
s3_configuration: S3DestinationConfiguration
The configuration for the intermediate Amazon S3 location from which Amazon Redshift obtains data. Restrictions are described in the topic for CreateDeliveryStream.
The compression formats SNAPPY
or ZIP
cannot be specified in RedshiftDestinationConfiguration.S3Configuration
because the Amazon Redshift COPY
operation that reads from the S3 bucket doesn't support these compression formats.
username: String
The name of the user.
Trait Implementations
sourceimpl Clone for RedshiftDestinationConfiguration
impl Clone for RedshiftDestinationConfiguration
sourcefn clone(&self) -> RedshiftDestinationConfiguration
fn clone(&self) -> RedshiftDestinationConfiguration
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Default for RedshiftDestinationConfiguration
impl Default for RedshiftDestinationConfiguration
sourcefn default() -> RedshiftDestinationConfiguration
fn default() -> RedshiftDestinationConfiguration
Returns the “default value” for a type. Read more
sourceimpl PartialEq<RedshiftDestinationConfiguration> for RedshiftDestinationConfiguration
impl PartialEq<RedshiftDestinationConfiguration> for RedshiftDestinationConfiguration
sourcefn eq(&self, other: &RedshiftDestinationConfiguration) -> bool
fn eq(&self, other: &RedshiftDestinationConfiguration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &RedshiftDestinationConfiguration) -> bool
fn ne(&self, other: &RedshiftDestinationConfiguration) -> bool
This method tests for !=
.
impl StructuralPartialEq for RedshiftDestinationConfiguration
Auto Trait Implementations
impl RefUnwindSafe for RedshiftDestinationConfiguration
impl Send for RedshiftDestinationConfiguration
impl Sync for RedshiftDestinationConfiguration
impl Unpin for RedshiftDestinationConfiguration
impl UnwindSafe for RedshiftDestinationConfiguration
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more