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
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
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 for the session.
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 for the session.
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
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for SessionConfiguration
impl Debug for SessionConfiguration
source§impl PartialEq<SessionConfiguration> for SessionConfiguration
impl PartialEq<SessionConfiguration> for SessionConfiguration
source§fn eq(&self, other: &SessionConfiguration) -> bool
fn eq(&self, other: &SessionConfiguration) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for SessionConfiguration
Auto Trait Implementations§
impl RefUnwindSafe for SessionConfiguration
impl Send for SessionConfiguration
impl Sync for SessionConfiguration
impl Unpin for SessionConfiguration
impl UnwindSafe for SessionConfiguration
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
Mutably borrows from an owned value. Read more