Creates a session for running calculations within a workgroup
Source:R/athena_operations.R
athena_start_session.RdCreates a session for running calculations within a workgroup. The session is ready when it reaches an IDLE state.
See https://www.paws-r-sdk.com/docs/athena_start_session/ for full documentation.
Usage
athena_start_session(
Description = NULL,
WorkGroup,
EngineConfiguration,
ExecutionRole = NULL,
MonitoringConfiguration = NULL,
NotebookVersion = NULL,
SessionIdleTimeoutInMinutes = NULL,
ClientRequestToken = NULL,
Tags = NULL,
CopyWorkGroupTags = NULL
)Arguments
- Description
The session description.
- WorkGroup
[required] The workgroup to which the session belongs.
- EngineConfiguration
[required] Contains engine data processing unit (DPU) configuration settings and parameter mappings.
- ExecutionRole
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.
- MonitoringConfiguration
Contains the configuration settings for managed log persistence, delivering logs to Amazon S3 buckets, Amazon CloudWatch log groups etc.
- NotebookVersion
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 forNotebookVersion, you must also specify a value forNotebookId. See EngineConfiguration$AdditionalConfigs.- SessionIdleTimeoutInMinutes
The idle timeout in minutes for the session.
- ClientRequestToken
A unique case-sensitive string used to ensure the request to create the session is idempotent (executes only once). If another
StartSessionRequestis 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.