Module Values.JobRunSource

Information about a job run. A job run is a unit of work, such as a Spark JAR, Hive query, or SparkSQL query, that you submit to an Amazon EMR Serverless application.

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

    The ID of the application the job is running on.

    *)
  2. jobRunId : JobRunId.t option;
    (*

    The ID of the job run.

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

    The optional job run name. This doesn't have to be unique.

    *)
  4. arn : JobArn.t option;
    (*

    The execution role ARN of the job run.

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

    The user who created the job run.

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

    The date and time when the job run was created.

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

    The date and time when the job run was updated.

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

    The execution role ARN of the job run.

    *)
  9. executionIamPolicy : JobRunExecutionIamPolicy.t option;
  10. state : JobRunState.t option;
    (*

    The state of the job run.

    *)
  11. stateDetails : String256.t option;
    (*

    The state details of the job run.

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

    The Amazon EMR release associated with the application your job is running on.

    *)
  13. configurationOverrides : ConfigurationOverrides.t option;
    (*

    The configuration settings that are used to override default configuration.

    *)
  14. jobDriver : JobDriver.t option;
    (*

    The job driver for the job run.

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

    The tags assigned to the job run.

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

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

    *)
  17. networkConfiguration : NetworkConfiguration.t option;
  18. totalExecutionDurationSeconds : Integer.t option;
    (*

    The job run total execution duration in seconds. This field is only available for job runs in a COMPLETED, FAILED, or CANCELLED state.

    *)
  19. executionTimeoutMinutes : Duration.t option;
    (*

    Returns the job run timeout value from the StartJobRun call. If no timeout was specified, then it returns the default timeout of 720 minutes.

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

    The aggregate vCPU, memory, and storage that Amazon Web Services has billed for the job run. 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. mode : JobRunMode.t option;
    (*

    The mode of the job run.

    *)
  22. retryPolicy : RetryPolicy.t option;
    (*

    The retry policy of the job run.

    *)
  23. attempt : AttemptNumber.t option;
    (*

    The attempt of the job run.

    *)
  24. attemptCreatedAt : Date.t option;
    (*

    The date and time of when the job run attempt was created.

    *)
  25. attemptUpdatedAt : Date.t option;
    (*

    The date and time of when the job run attempt was last updated.

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

    The date and time when the job moved to the RUNNING state.

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

    The date and time when the job was terminated.

    *)
  28. queuedDurationMilliseconds : Long.t option;
    (*

    The total time for a job in the QUEUED state in milliseconds.

    *)
}
Sourceval make : ?applicationId:ApplicationId.t -> ?jobRunId:JobRunId.t -> ?name:String256.t -> ?arn:JobArn.t -> ?createdBy:RequestIdentityUserArn.t -> ?createdAt:Date.t -> ?updatedAt:Date.t -> ?executionRole:IAMRoleArn.t -> ?executionIamPolicy:JobRunExecutionIamPolicy.t -> ?state:JobRunState.t -> ?stateDetails:String256.t -> ?releaseLabel:ReleaseLabel.t -> ?configurationOverrides:ConfigurationOverrides.t -> ?jobDriver:JobDriver.t -> ?tags:TagMap.t -> ?totalResourceUtilization:TotalResourceUtilization.t -> ?networkConfiguration:NetworkConfiguration.t -> ?totalExecutionDurationSeconds:Integer.t -> ?executionTimeoutMinutes:Duration.t -> ?billedResourceUtilization:ResourceUtilization.t -> ?mode:JobRunMode.t -> ?retryPolicy:RetryPolicy.t -> ?attempt:AttemptNumber.t -> ?attemptCreatedAt:Date.t -> ?attemptUpdatedAt:Date.t -> ?startedAt:Date.t -> ?endedAt:Date.t -> ?queuedDurationMilliseconds:Long.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Integer of Integer.t | `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