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
source§fn eq(&self, other: &AthenaDatasetDefinition) -> bool
fn eq(&self, other: &AthenaDatasetDefinition) -> bool
self
and other
values to be equal, and is used
by ==
.