#[non_exhaustive]pub struct StartSessionInput {
pub description: Option<String>,
pub work_group: Option<String>,
pub engine_configuration: Option<EngineConfiguration>,
pub execution_role: Option<String>,
pub monitoring_configuration: Option<MonitoringConfiguration>,
pub notebook_version: Option<String>,
pub session_idle_timeout_in_minutes: Option<i32>,
pub client_request_token: Option<String>,
pub tags: Option<Vec<Tag>>,
pub copy_work_group_tags: Option<bool>,
}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.description: Option<String>The session description.
work_group: Option<String>The workgroup to which the session belongs.
engine_configuration: Option<EngineConfiguration>Contains engine data processing unit (DPU) configuration settings and parameter mappings.
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.
monitoring_configuration: Option<MonitoringConfiguration>Contains the configuration settings for managed log persistence, delivering logs to Amazon S3 buckets, Amazon CloudWatch log groups etc.
notebook_version: Option<String>The notebook version. This value is supplied automatically for notebook sessions in the Athena console and is not required for programmatic session access. The only valid notebook version is Athena notebook version 1. If you specify a value for NotebookVersion, you must also specify a value for NotebookId. See EngineConfiguration$AdditionalConfigs.
session_idle_timeout_in_minutes: Option<i32>The idle timeout in minutes for the session.
client_request_token: Option<String>A unique case-sensitive string used to ensure the request to create the session is idempotent (executes only once). If another StartSessionRequest is received, the same response is returned and another session is not created. If a parameter has changed, an error is returned.
This token is listed as not required because Amazon Web Services SDKs (for example the Amazon Web Services SDK for Java) auto-generate the token for users. If you are not using the Amazon Web Services SDK or the Amazon Web Services CLI, you must provide this token or the action will fail.
A list of comma separated tags to add to the session that is created.
Copies the tags from the Workgroup to the Session when.
Implementations§
Source§impl StartSessionInput
impl StartSessionInput
Sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The session description.
Sourcepub fn work_group(&self) -> Option<&str>
pub fn work_group(&self) -> Option<&str>
The workgroup to which the session belongs.
Sourcepub fn engine_configuration(&self) -> Option<&EngineConfiguration>
pub fn engine_configuration(&self) -> Option<&EngineConfiguration>
Contains engine data processing unit (DPU) configuration settings and parameter mappings.
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 monitoring_configuration(&self) -> Option<&MonitoringConfiguration>
pub fn monitoring_configuration(&self) -> Option<&MonitoringConfiguration>
Contains the configuration settings for managed log persistence, delivering logs to Amazon S3 buckets, Amazon CloudWatch log groups etc.
Sourcepub fn notebook_version(&self) -> Option<&str>
pub fn notebook_version(&self) -> Option<&str>
The notebook version. This value is supplied automatically for notebook sessions in the Athena console and is not required for programmatic session access. The only valid notebook version is Athena notebook version 1. If you specify a value for NotebookVersion, you must also specify a value for NotebookId. See EngineConfiguration$AdditionalConfigs.
Sourcepub fn session_idle_timeout_in_minutes(&self) -> Option<i32>
pub fn session_idle_timeout_in_minutes(&self) -> Option<i32>
The idle timeout in minutes for the session.
Sourcepub fn client_request_token(&self) -> Option<&str>
pub fn client_request_token(&self) -> Option<&str>
A unique case-sensitive string used to ensure the request to create the session is idempotent (executes only once). If another StartSessionRequest is received, the same response is returned and another session is not created. If a parameter has changed, an error is returned.
This token is listed as not required because Amazon Web Services SDKs (for example the Amazon Web Services SDK for Java) auto-generate the token for users. If you are not using the Amazon Web Services SDK or the Amazon Web Services CLI, you must provide this token or the action will fail.
A list of comma separated tags to add to the session that is created.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none().
Copies the tags from the Workgroup to the Session when.
Source§impl StartSessionInput
impl StartSessionInput
Sourcepub fn builder() -> StartSessionInputBuilder
pub fn builder() -> StartSessionInputBuilder
Creates a new builder-style object to manufacture StartSessionInput.
Trait Implementations§
Source§impl Clone for StartSessionInput
impl Clone for StartSessionInput
Source§fn clone(&self) -> StartSessionInput
fn clone(&self) -> StartSessionInput
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for StartSessionInput
impl Debug for StartSessionInput
Source§impl PartialEq for StartSessionInput
impl PartialEq for StartSessionInput
impl StructuralPartialEq for StartSessionInput
Auto Trait Implementations§
impl Freeze for StartSessionInput
impl RefUnwindSafe for StartSessionInput
impl Send for StartSessionInput
impl Sync for StartSessionInput
impl Unpin for StartSessionInput
impl UnsafeUnpin for StartSessionInput
impl UnwindSafe for StartSessionInput
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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