Struct aws_sdk_athena::types::EngineVersion
source · #[non_exhaustive]pub struct EngineVersion {
pub selected_engine_version: Option<String>,
pub effective_engine_version: Option<String>,
}Expand description
The Athena engine version for running queries, or the PySpark engine version for running sessions.
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.selected_engine_version: Option<String>The engine version requested by the user. Possible values are determined by the output of ListEngineVersions, including AUTO. The default is AUTO.
effective_engine_version: Option<String>Read only. The engine version on which the query runs. If the user requests a valid engine version other than Auto, the effective engine version is the same as the engine version that the user requested. If the user requests Auto, the effective engine version is chosen by Athena. When a request to update the engine version is made by a CreateWorkGroup or UpdateWorkGroup operation, the EffectiveEngineVersion field is ignored.
Implementations§
source§impl EngineVersion
impl EngineVersion
sourcepub fn selected_engine_version(&self) -> Option<&str>
pub fn selected_engine_version(&self) -> Option<&str>
The engine version requested by the user. Possible values are determined by the output of ListEngineVersions, including AUTO. The default is AUTO.
sourcepub fn effective_engine_version(&self) -> Option<&str>
pub fn effective_engine_version(&self) -> Option<&str>
Read only. The engine version on which the query runs. If the user requests a valid engine version other than Auto, the effective engine version is the same as the engine version that the user requested. If the user requests Auto, the effective engine version is chosen by Athena. When a request to update the engine version is made by a CreateWorkGroup or UpdateWorkGroup operation, the EffectiveEngineVersion field is ignored.
source§impl EngineVersion
impl EngineVersion
sourcepub fn builder() -> EngineVersionBuilder
pub fn builder() -> EngineVersionBuilder
Creates a new builder-style object to manufacture EngineVersion.
Trait Implementations§
source§impl Clone for EngineVersion
impl Clone for EngineVersion
source§fn clone(&self) -> EngineVersion
fn clone(&self) -> EngineVersion
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for EngineVersion
impl Debug for EngineVersion
source§impl PartialEq for EngineVersion
impl PartialEq for EngineVersion
source§fn eq(&self, other: &EngineVersion) -> bool
fn eq(&self, other: &EngineVersion) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for EngineVersion
Auto Trait Implementations§
impl Freeze for EngineVersion
impl RefUnwindSafe for EngineVersion
impl Send for EngineVersion
impl Sync for EngineVersion
impl Unpin for EngineVersion
impl UnwindSafe for EngineVersion
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> 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