Module Values.StartSessionRequestSource

Creates and starts a new session on the specified application. The application must be in the STARTED state or have AutoStart enabled, and have interactive sessions enabled. This operation is supported for EMR release 7.13.0 and later.

Sourcetype nonrec t = {
  1. applicationId : ApplicationId.t;
    (*

    The ID of the application on which to start the session.

    *)
  2. clientToken : ClientToken.t;
    (*

    A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you retry a request that completed successfully using the same client token, the server returns the successful response without performing the operation again.

    *)
  3. executionRoleArn : IAMRoleArn.t;
    (*

    The execution role ARN for the session. Amazon EMR Serverless uses this role to access Amazon Web Services resources on your behalf during session execution.

    *)
  4. configurationOverrides : SessionConfigurationOverrides.t option;
    (*

    The configuration overrides for the session. Only runtime configuration overrides are supported.

    *)
  5. tags : TagMap.t option;
    (*

    The tags to assign to the session.

    *)
  6. idleTimeoutMinutes : Duration.t option;
    (*

    The idle timeout in minutes for the session. After the session remains idle for this duration, Amazon EMR Serverless automatically terminates it.

    *)
  7. name : String256.t option;
    (*

    The optional name for the session.

    *)
}
Sourceval context_ : string
Sourceval make : ?configurationOverrides:??? -> ?tags:??? -> ?idleTimeoutMinutes:??? -> ?name:??? -> applicationId:ApplicationId.t -> clientToken:ClientToken.t -> executionRoleArn:IAMRoleArn.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Long of Duration.t | `Map of ([> `String of TagKey.t ] * [> `String of TagValue.t ]) list | `String of ApplicationId.t | `Structure of (string * Awso.Botodata.value) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t