Struct aws_sdk_glue::types::RedshiftTarget
source · #[non_exhaustive]pub struct RedshiftTarget {
pub name: String,
pub inputs: Vec<String>,
pub database: String,
pub table: String,
pub redshift_tmp_dir: Option<String>,
pub tmp_dir_iam_role: Option<String>,
pub upsert_redshift_options: Option<UpsertRedshiftTargetOptions>,
}Expand description
Specifies a target that uses Amazon Redshift.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: StringThe name of the data target.
inputs: Vec<String>The nodes that are inputs to the data target.
database: StringThe name of the database to write to.
table: StringThe name of the table in the database to write to.
redshift_tmp_dir: Option<String>The Amazon S3 path where temporary data can be staged when copying out of the database.
tmp_dir_iam_role: Option<String>The IAM role with permissions.
upsert_redshift_options: Option<UpsertRedshiftTargetOptions>The set of options to configure an upsert operation when writing to a Redshift target.
Implementations§
source§impl RedshiftTarget
impl RedshiftTarget
sourcepub fn redshift_tmp_dir(&self) -> Option<&str>
pub fn redshift_tmp_dir(&self) -> Option<&str>
The Amazon S3 path where temporary data can be staged when copying out of the database.
sourcepub fn tmp_dir_iam_role(&self) -> Option<&str>
pub fn tmp_dir_iam_role(&self) -> Option<&str>
The IAM role with permissions.
sourcepub fn upsert_redshift_options(&self) -> Option<&UpsertRedshiftTargetOptions>
pub fn upsert_redshift_options(&self) -> Option<&UpsertRedshiftTargetOptions>
The set of options to configure an upsert operation when writing to a Redshift target.
source§impl RedshiftTarget
impl RedshiftTarget
sourcepub fn builder() -> RedshiftTargetBuilder
pub fn builder() -> RedshiftTargetBuilder
Creates a new builder-style object to manufacture RedshiftTarget.
Trait Implementations§
source§impl Clone for RedshiftTarget
impl Clone for RedshiftTarget
source§fn clone(&self) -> RedshiftTarget
fn clone(&self) -> RedshiftTarget
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for RedshiftTarget
impl Debug for RedshiftTarget
source§impl PartialEq for RedshiftTarget
impl PartialEq for RedshiftTarget
source§fn eq(&self, other: &RedshiftTarget) -> bool
fn eq(&self, other: &RedshiftTarget) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for RedshiftTarget
Auto Trait Implementations§
impl RefUnwindSafe for RedshiftTarget
impl Send for RedshiftTarget
impl Sync for RedshiftTarget
impl Unpin for RedshiftTarget
impl UnwindSafe for RedshiftTarget
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.