Struct aws_sdk_athena::types::SessionConfiguration
source · #[non_exhaustive]pub struct SessionConfiguration {
pub execution_role: Option<String>,
pub working_directory: Option<String>,
pub idle_timeout_seconds: Option<i64>,
pub encryption_configuration: Option<EncryptionConfiguration>,
}Expand description
Contains session configuration information.
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.execution_role: Option<String>The ARN of the execution role used to access user resources for Spark sessions and Identity Center enabled workgroups. This property applies only to Spark enabled workgroups and Identity Center enabled workgroups.
working_directory: Option<String>The Amazon S3 location that stores information for the notebook.
idle_timeout_seconds: Option<i64>The idle timeout in seconds for the session.
encryption_configuration: Option<EncryptionConfiguration>If query and calculation results are encrypted in Amazon S3, indicates the encryption option used (for example, SSE_KMS or CSE_KMS) and key information.
Implementations§
source§impl SessionConfiguration
impl SessionConfiguration
sourcepub fn execution_role(&self) -> Option<&str>
pub fn execution_role(&self) -> Option<&str>
The ARN of the execution role used to access user resources for Spark sessions and Identity Center enabled workgroups. This property applies only to Spark enabled workgroups and Identity Center enabled workgroups.
sourcepub fn working_directory(&self) -> Option<&str>
pub fn working_directory(&self) -> Option<&str>
The Amazon S3 location that stores information for the notebook.
sourcepub fn idle_timeout_seconds(&self) -> Option<i64>
pub fn idle_timeout_seconds(&self) -> Option<i64>
The idle timeout in seconds for the session.
sourcepub fn encryption_configuration(&self) -> Option<&EncryptionConfiguration>
pub fn encryption_configuration(&self) -> Option<&EncryptionConfiguration>
If query and calculation results are encrypted in Amazon S3, indicates the encryption option used (for example, SSE_KMS or CSE_KMS) and key information.
source§impl SessionConfiguration
impl SessionConfiguration
sourcepub fn builder() -> SessionConfigurationBuilder
pub fn builder() -> SessionConfigurationBuilder
Creates a new builder-style object to manufacture SessionConfiguration.
Trait Implementations§
source§impl Clone for SessionConfiguration
impl Clone for SessionConfiguration
source§fn clone(&self) -> SessionConfiguration
fn clone(&self) -> SessionConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for SessionConfiguration
impl Debug for SessionConfiguration
source§impl PartialEq for SessionConfiguration
impl PartialEq for SessionConfiguration
source§fn eq(&self, other: &SessionConfiguration) -> bool
fn eq(&self, other: &SessionConfiguration) -> bool
self and other values to be equal, and is used
by ==.