Struct aws_sdk_sagemaker::types::AthenaDatasetDefinition
source · #[non_exhaustive]pub struct AthenaDatasetDefinition {
pub catalog: Option<String>,
pub database: Option<String>,
pub query_string: Option<String>,
pub work_group: Option<String>,
pub output_s3_uri: Option<String>,
pub kms_key_id: Option<String>,
pub output_format: Option<AthenaResultFormat>,
pub output_compression: Option<AthenaResultCompressionType>,
}
Expand description
Configuration for Athena 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.catalog: Option<String>
The name of the data catalog used in Athena query execution.
database: Option<String>
The name of the database used in the Athena query execution.
query_string: Option<String>
The SQL query statements, to be executed.
work_group: Option<String>
The name of the workgroup in which the Athena query is being started.
output_s3_uri: Option<String>
The location in Amazon S3 where Athena 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 generated from an Athena query execution.
output_format: Option<AthenaResultFormat>
The data storage format for Athena query results.
output_compression: Option<AthenaResultCompressionType>
The compression used for Athena query results.
Implementations§
source§impl AthenaDatasetDefinition
impl AthenaDatasetDefinition
sourcepub fn catalog(&self) -> Option<&str>
pub fn catalog(&self) -> Option<&str>
The name of the data catalog used in Athena query execution.
sourcepub fn database(&self) -> Option<&str>
pub fn database(&self) -> Option<&str>
The name of the database used in the Athena 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 work_group(&self) -> Option<&str>
pub fn work_group(&self) -> Option<&str>
The name of the workgroup in which the Athena query is being started.
sourcepub fn output_s3_uri(&self) -> Option<&str>
pub fn output_s3_uri(&self) -> Option<&str>
The location in Amazon S3 where Athena 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 generated from an Athena query execution.
sourcepub fn output_format(&self) -> Option<&AthenaResultFormat>
pub fn output_format(&self) -> Option<&AthenaResultFormat>
The data storage format for Athena query results.
sourcepub fn output_compression(&self) -> Option<&AthenaResultCompressionType>
pub fn output_compression(&self) -> Option<&AthenaResultCompressionType>
The compression used for Athena query results.
source§impl AthenaDatasetDefinition
impl AthenaDatasetDefinition
sourcepub fn builder() -> AthenaDatasetDefinitionBuilder
pub fn builder() -> AthenaDatasetDefinitionBuilder
Creates a new builder-style object to manufacture AthenaDatasetDefinition
.
Trait Implementations§
source§impl Clone for AthenaDatasetDefinition
impl Clone for AthenaDatasetDefinition
source§fn clone(&self) -> AthenaDatasetDefinition
fn clone(&self) -> AthenaDatasetDefinition
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AthenaDatasetDefinition
impl Debug for AthenaDatasetDefinition
source§impl PartialEq for AthenaDatasetDefinition
impl PartialEq for AthenaDatasetDefinition
impl StructuralPartialEq for AthenaDatasetDefinition
Auto Trait Implementations§
impl Freeze for AthenaDatasetDefinition
impl RefUnwindSafe for AthenaDatasetDefinition
impl Send for AthenaDatasetDefinition
impl Sync for AthenaDatasetDefinition
impl Unpin for AthenaDatasetDefinition
impl UnwindSafe for AthenaDatasetDefinition
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more