Module Values_0.JobCommandSource

Specifies code that runs when a job is run.

Sourcetype nonrec t = {
  1. name : GenericString.t option;
    (*

    The name of the job command. For an Apache Spark ETL job, this must be glueetl. For a Python shell job, it must be pythonshell. For an Apache Spark streaming ETL job, this must be gluestreaming. For a Ray job, this must be glueray.

    *)
  2. scriptLocation : ScriptLocationString.t option;
    (*

    Specifies the Amazon Simple Storage Service (Amazon S3) path to a script that runs a job.

    *)
  3. pythonVersion : PythonVersionString.t option;
    (*

    The Python version being used to run a Python shell job. Allowed values are 2 or 3.

    *)
  4. runtime : RuntimeNameString.t option;
    (*

    In Ray jobs, Runtime is used to specify the versions of Ray, Python and additional libraries available in your environment. This field is not used in other job types. For supported runtime environment values, see Supported Ray runtime environments in the Glue Developer Guide.

    *)
}
Sourceval make : ?name:??? -> ?scriptLocation:??? -> ?pythonVersion:??? -> ?runtime:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of GenericString.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