Values.StartSessionRequestSourceCreates a session for running calculations within a workgroup. The session is ready when it reaches an IDLE state.
type nonrec t = {description : DescriptionString.t option;The session description.
*)workGroup : WorkGroupName.t;The workgroup to which the session belongs.
*)engineConfiguration : EngineConfiguration.t;Contains engine data processing unit (DPU) configuration settings and parameter mappings.
*)executionRole : RoleArn.t option;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 : MonitoringConfiguration.t option;Contains the configuration settings for managed log persistence, delivering logs to Amazon S3 buckets, Amazon CloudWatch log groups etc.
*)notebookVersion : NameString.t option;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.
*)sessionIdleTimeoutInMinutes : SessionIdleTimeoutInMinutes.t option;The idle timeout in minutes for the session.
*)clientRequestToken : IdempotencyToken.t option;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.
*)copyWorkGroupTags : BoxedBoolean.t option;Copies the tags from the Workgroup to the Session when.
*)}val make :
?description:??? ->
?executionRole:??? ->
?monitoringConfiguration:??? ->
?notebookVersion:??? ->
?sessionIdleTimeoutInMinutes:??? ->
?clientRequestToken:??? ->
?tags:??? ->
?copyWorkGroupTags:??? ->
workGroup:WorkGroupName.t ->
engineConfiguration:EngineConfiguration.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Boolean of BoxedBoolean.t
| `Integer of SessionIdleTimeoutInMinutes.t
| `List of
[> `Structure of (string * [> `String of TagKey.t ]) list ] list
| `String of DescriptionString.t
| `Structure of
(string
* [> `Integer of CoordinatorDpuSize.t
| `List of
[> `Structure of
(string
* [> `Map of
([> `String of KeyString.t ]
* [> `String of ParametersMapValue.t ])
list
| `String of NameString.t ])
list ]
list
| `Map of
([> `String of KeyString.t ]
* [> `String of ParametersMapValue.t ])
list
| `Structure of
(string
* [> `Boolean of BoxedBoolean.t
| `Map of
([> `String of LogTypeKey.t ]
* [> `List of [> `String of LogTypeValue.t ] list ])
list
| `String of LogGroupName.t ])
list ])
list ])
list ]