StartSessionRequest
¶
Source code in docs_src/capo_athena/types/start_session_request.py
client_request_token
instance-attribute
¶
client_request_token: NotRequired[IdempotencyToken]
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.
copy_work_group_tags
instance-attribute
¶
copy_work_group_tags: NotRequired[BoxedBoolean]
Copies the tags from the Workgroup to the Session when.
description
instance-attribute
¶
description: NotRequired[DescriptionString]
The session description.
engine_configuration
instance-attribute
¶
engine_configuration: EngineConfiguration
Contains engine data processing unit (DPU) configuration settings and parameter mappings.
execution_role
instance-attribute
¶
execution_role: NotRequired[RoleArn]
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
instance-attribute
¶
monitoring_configuration: NotRequired[MonitoringConfiguration]
Contains the configuration settings for managed log persistence, delivering logs to Amazon S3 buckets, Amazon CloudWatch log groups etc.
notebook_version
instance-attribute
¶
notebook_version: NotRequired[NameString]
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
instance-attribute
¶
session_idle_timeout_in_minutes: NotRequired[SessionIdleTimeoutInMinutes]
The idle timeout in minutes for the session.
tags
instance-attribute
¶
tags: NotRequired[TagList]
A list of comma separated tags to add to the session that is created.
work_group
instance-attribute
¶
work_group: WorkGroupName
The workgroup to which the session belongs.