Module Values.SessionSource

Information about a session, including the session state, configuration, and timestamps.

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

    The ID of the application that the session belongs to.

    *)
  2. sessionId : SessionId.t option;
    (*

    The ID of the session.

    *)
  3. arn : SessionArn.t option;
    (*

    The Amazon Resource Name (ARN) of the session.

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

    The optional name of the session.

    *)
  5. state : SessionState.t option;
    (*

    The state of the session.

    *)
  6. stateDetails : String1024.t option;
    (*

    Additional details about the current state of the session.

    *)
  7. releaseLabel : ReleaseLabel.t option;
    (*

    The Amazon EMR release label associated with the session.

    *)
  8. executionRoleArn : IAMRoleArn.t option;
    (*

    The Amazon Resource Name (ARN) of the execution role for the session.

    *)
  9. createdBy : RequestIdentityUserArn.t option;
    (*

    The IAM principal that created the session.

    *)
  10. createdAt : Date.t option;
    (*

    The date and time that the session was created.

    *)
  11. updatedAt : Date.t option;
    (*

    The date and time that the session was last updated.

    *)
  12. startedAt : Date.t option;
    (*

    The date and time that the session moved to a running state.

    *)
  13. endedAt : Date.t option;
    (*

    The date and time that the session was terminated or failed.

    *)
  14. idleSince : Date.t option;
    (*

    The date and time that the session became idle.

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

    The configuration overrides for the session, including runtime configuration properties.

    *)
  16. networkConfiguration : NetworkConfiguration.t option;
    (*

    The network configuration for customer VPC connectivity for the session.

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

    The idle timeout in minutes for the session. After the session remains idle for this duration, it is automatically terminated.

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

    The tags assigned to the session.

    *)
  19. totalResourceUtilization : TotalResourceUtilization.t option;
    (*

    The aggregate vCPU, memory, and storage resources used from the time the session starts to execute, until the time the session terminates, rounded up to the nearest second.

    *)
  20. billedResourceUtilization : ResourceUtilization.t option;
    (*

    The aggregate vCPU, memory, and storage that Amazon Web Services has billed for the session. The billed resources include a 1-minute minimum usage for workers, plus additional storage over 20 GB per worker. Note that billed resources do not include usage for idle pre-initialized workers.

    *)
  21. totalExecutionDurationSeconds : Long.t option;
    (*

    The total execution duration of the session in seconds.

    *)
}
Sourceval make : ?applicationId:??? -> ?sessionId:??? -> ?arn:??? -> ?name:??? -> ?state:??? -> ?stateDetails:??? -> ?releaseLabel:??? -> ?executionRoleArn:??? -> ?createdBy:??? -> ?createdAt:??? -> ?updatedAt:??? -> ?startedAt:??? -> ?endedAt:??? -> ?idleSince:??? -> ?configurationOverrides:??? -> ?networkConfiguration:??? -> ?idleTimeoutMinutes:??? -> ?tags:??? -> ?totalResourceUtilization:??? -> ?billedResourceUtilization:??? -> ?totalExecutionDurationSeconds:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum 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 | `Timestamp of Date.t ]) 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