Struct aws_sdk_glue::types::AthenaConnectorSource
source · #[non_exhaustive]pub struct AthenaConnectorSource {
pub name: String,
pub connection_name: String,
pub connector_name: String,
pub connection_type: String,
pub connection_table: Option<String>,
pub schema_name: String,
pub output_schemas: Option<Vec<GlueSchema>>,
}Expand description
Specifies a connector to an Amazon Athena data source.
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.name: StringThe name of the data source.
connection_name: StringThe name of the connection that is associated with the connector.
connector_name: StringThe name of a connector that assists with accessing the data store in Glue Studio.
connection_type: StringThe type of connection, such as marketplace.athena or custom.athena, designating a connection to an Amazon Athena data store.
connection_table: Option<String>The name of the table in the data source.
schema_name: StringThe name of the Cloudwatch log group to read from. For example, /aws-glue/jobs/output.
output_schemas: Option<Vec<GlueSchema>>Specifies the data schema for the custom Athena source.
Implementations§
source§impl AthenaConnectorSource
impl AthenaConnectorSource
sourcepub fn connection_name(&self) -> &str
pub fn connection_name(&self) -> &str
The name of the connection that is associated with the connector.
sourcepub fn connector_name(&self) -> &str
pub fn connector_name(&self) -> &str
The name of a connector that assists with accessing the data store in Glue Studio.
sourcepub fn connection_type(&self) -> &str
pub fn connection_type(&self) -> &str
The type of connection, such as marketplace.athena or custom.athena, designating a connection to an Amazon Athena data store.
sourcepub fn connection_table(&self) -> Option<&str>
pub fn connection_table(&self) -> Option<&str>
The name of the table in the data source.
sourcepub fn schema_name(&self) -> &str
pub fn schema_name(&self) -> &str
The name of the Cloudwatch log group to read from. For example, /aws-glue/jobs/output.
sourcepub fn output_schemas(&self) -> &[GlueSchema]
pub fn output_schemas(&self) -> &[GlueSchema]
Specifies the data schema for the custom Athena source.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .output_schemas.is_none().
source§impl AthenaConnectorSource
impl AthenaConnectorSource
sourcepub fn builder() -> AthenaConnectorSourceBuilder
pub fn builder() -> AthenaConnectorSourceBuilder
Creates a new builder-style object to manufacture AthenaConnectorSource.
Trait Implementations§
source§impl Clone for AthenaConnectorSource
impl Clone for AthenaConnectorSource
source§fn clone(&self) -> AthenaConnectorSource
fn clone(&self) -> AthenaConnectorSource
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for AthenaConnectorSource
impl Debug for AthenaConnectorSource
source§impl PartialEq for AthenaConnectorSource
impl PartialEq for AthenaConnectorSource
source§fn eq(&self, other: &AthenaConnectorSource) -> bool
fn eq(&self, other: &AthenaConnectorSource) -> bool
self and other values to be equal, and is used
by ==.