Struct aws_sdk_sagemaker::model::RedshiftDatasetDefinition
source · [−]#[non_exhaustive]pub struct RedshiftDatasetDefinition {
pub cluster_id: Option<String>,
pub database: Option<String>,
pub db_user: Option<String>,
pub query_string: Option<String>,
pub cluster_role_arn: Option<String>,
pub output_s3_uri: Option<String>,
pub kms_key_id: Option<String>,
pub output_format: Option<RedshiftResultFormat>,
pub output_compression: Option<RedshiftResultCompressionType>,
}
Expand description
Configuration for Redshift Dataset Definition input.
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.cluster_id: Option<String>
The Redshift cluster Identifier.
database: Option<String>
The name of the Redshift database used in Redshift query execution.
db_user: Option<String>
The database user name used in Redshift query execution.
query_string: Option<String>
The SQL query statements to be executed.
cluster_role_arn: Option<String>
The IAM role attached to your Redshift cluster that Amazon SageMaker uses to generate datasets.
output_s3_uri: Option<String>
The location in Amazon S3 where the Redshift query results are stored.
kms_key_id: Option<String>
The Amazon Web Services Key Management Service (Amazon Web Services KMS) key that Amazon SageMaker uses to encrypt data from a Redshift execution.
output_format: Option<RedshiftResultFormat>
The data storage format for Redshift query results.
output_compression: Option<RedshiftResultCompressionType>
The compression used for Redshift query results.
Implementations
sourceimpl RedshiftDatasetDefinition
impl RedshiftDatasetDefinition
sourcepub fn cluster_id(&self) -> Option<&str>
pub fn cluster_id(&self) -> Option<&str>
The Redshift cluster Identifier.
sourcepub fn database(&self) -> Option<&str>
pub fn database(&self) -> Option<&str>
The name of the Redshift database used in Redshift query execution.
sourcepub fn query_string(&self) -> Option<&str>
pub fn query_string(&self) -> Option<&str>
The SQL query statements to be executed.
sourcepub fn cluster_role_arn(&self) -> Option<&str>
pub fn cluster_role_arn(&self) -> Option<&str>
The IAM role attached to your Redshift cluster that Amazon SageMaker uses to generate datasets.
sourcepub fn output_s3_uri(&self) -> Option<&str>
pub fn output_s3_uri(&self) -> Option<&str>
The location in Amazon S3 where the Redshift query results are stored.
sourcepub fn kms_key_id(&self) -> Option<&str>
pub fn kms_key_id(&self) -> Option<&str>
The Amazon Web Services Key Management Service (Amazon Web Services KMS) key that Amazon SageMaker uses to encrypt data from a Redshift execution.
sourcepub fn output_format(&self) -> Option<&RedshiftResultFormat>
pub fn output_format(&self) -> Option<&RedshiftResultFormat>
The data storage format for Redshift query results.
sourcepub fn output_compression(&self) -> Option<&RedshiftResultCompressionType>
pub fn output_compression(&self) -> Option<&RedshiftResultCompressionType>
The compression used for Redshift query results.
sourceimpl RedshiftDatasetDefinition
impl RedshiftDatasetDefinition
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture RedshiftDatasetDefinition
Trait Implementations
sourceimpl Clone for RedshiftDatasetDefinition
impl Clone for RedshiftDatasetDefinition
sourcefn clone(&self) -> RedshiftDatasetDefinition
fn clone(&self) -> RedshiftDatasetDefinition
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 Debug for RedshiftDatasetDefinition
impl Debug for RedshiftDatasetDefinition
sourceimpl PartialEq<RedshiftDatasetDefinition> for RedshiftDatasetDefinition
impl PartialEq<RedshiftDatasetDefinition> for RedshiftDatasetDefinition
sourcefn eq(&self, other: &RedshiftDatasetDefinition) -> bool
fn eq(&self, other: &RedshiftDatasetDefinition) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &RedshiftDatasetDefinition) -> bool
fn ne(&self, other: &RedshiftDatasetDefinition) -> bool
This method tests for !=
.
impl StructuralPartialEq for RedshiftDatasetDefinition
Auto Trait Implementations
impl RefUnwindSafe for RedshiftDatasetDefinition
impl Send for RedshiftDatasetDefinition
impl Sync for RedshiftDatasetDefinition
impl Unpin for RedshiftDatasetDefinition
impl UnwindSafe for RedshiftDatasetDefinition
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