Struct aws_sdk_athena::types::EngineConfiguration
source · #[non_exhaustive]pub struct EngineConfiguration {
pub coordinator_dpu_size: Option<i32>,
pub max_concurrent_dpus: i32,
pub default_executor_dpu_size: Option<i32>,
pub additional_configs: Option<HashMap<String, String>>,
pub spark_properties: Option<HashMap<String, String>>,
}Expand description
Contains data processing unit (DPU) configuration settings and parameter mappings for a notebook engine.
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.coordinator_dpu_size: Option<i32>The number of DPUs to use for the coordinator. A coordinator is a special executor that orchestrates processing work and manages other executors in a notebook session. The default is 1.
max_concurrent_dpus: i32The maximum number of DPUs that can run concurrently.
default_executor_dpu_size: Option<i32>The default number of DPUs to use for executors. An executor is the smallest unit of compute that a notebook session can request from Athena. The default is 1.
additional_configs: Option<HashMap<String, String>>Contains additional notebook engine MAP parameter mappings in the form of key-value pairs. To specify an Athena notebook that the Jupyter server will download and serve, specify a value for the StartSessionRequest$NotebookVersion field, and then add a key named NotebookId to AdditionalConfigs that has the value of the Athena notebook ID.
spark_properties: Option<HashMap<String, String>>Specifies custom jar files and Spark properties for use cases like cluster encryption, table formats, and general Spark tuning.
Implementations§
source§impl EngineConfiguration
impl EngineConfiguration
sourcepub fn coordinator_dpu_size(&self) -> Option<i32>
pub fn coordinator_dpu_size(&self) -> Option<i32>
The number of DPUs to use for the coordinator. A coordinator is a special executor that orchestrates processing work and manages other executors in a notebook session. The default is 1.
sourcepub fn max_concurrent_dpus(&self) -> i32
pub fn max_concurrent_dpus(&self) -> i32
The maximum number of DPUs that can run concurrently.
sourcepub fn default_executor_dpu_size(&self) -> Option<i32>
pub fn default_executor_dpu_size(&self) -> Option<i32>
The default number of DPUs to use for executors. An executor is the smallest unit of compute that a notebook session can request from Athena. The default is 1.
sourcepub fn additional_configs(&self) -> Option<&HashMap<String, String>>
pub fn additional_configs(&self) -> Option<&HashMap<String, String>>
Contains additional notebook engine MAP parameter mappings in the form of key-value pairs. To specify an Athena notebook that the Jupyter server will download and serve, specify a value for the StartSessionRequest$NotebookVersion field, and then add a key named NotebookId to AdditionalConfigs that has the value of the Athena notebook ID.
source§impl EngineConfiguration
impl EngineConfiguration
sourcepub fn builder() -> EngineConfigurationBuilder
pub fn builder() -> EngineConfigurationBuilder
Creates a new builder-style object to manufacture EngineConfiguration.
Trait Implementations§
source§impl Clone for EngineConfiguration
impl Clone for EngineConfiguration
source§fn clone(&self) -> EngineConfiguration
fn clone(&self) -> EngineConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for EngineConfiguration
impl Debug for EngineConfiguration
source§impl PartialEq for EngineConfiguration
impl PartialEq for EngineConfiguration
source§fn eq(&self, other: &EngineConfiguration) -> bool
fn eq(&self, other: &EngineConfiguration) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for EngineConfiguration
Auto Trait Implementations§
impl Freeze for EngineConfiguration
impl RefUnwindSafe for EngineConfiguration
impl Send for EngineConfiguration
impl Sync for EngineConfiguration
impl Unpin for EngineConfiguration
impl UnwindSafe for EngineConfiguration
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