You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::Glue::Types::JobRun

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb

Overview

Contains information about a job run.

Instance Attribute Summary collapse

Instance Attribute Details

#allocated_capacityInteger

The number of AWS Glue data processing units (DPUs) allocated to this JobRun. From 2 to 100 DPUs can be allocated; the default is 10. A DPU is a relative measure of processing power that consists of 4 vCPUs of compute capacity and 16 GB of memory. For more information, see the AWS Glue pricing page.

Returns:

  • (Integer)


4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 4390

class JobRun < Struct.new(
  :id,
  :attempt,
  :previous_run_id,
  :trigger_name,
  :job_name,
  :started_on,
  :last_modified_on,
  :completed_on,
  :job_run_state,
  :arguments,
  :error_message,
  :predecessor_runs,
  :allocated_capacity)
  include Aws::Structure
end

#argumentsHash<String,String>

The job arguments associated with this run. These override equivalent default arguments set for the job.

You can specify arguments here that your own job-execution script consumes, as well as arguments that AWS Glue itself consumes.

For information about how to specify and consume your own job arguments, see the Calling AWS Glue APIs in Python topic in the developer guide.

For information about the key-value pairs that AWS Glue consumes to set up your job, see the Special Parameters Used by AWS Glue topic in the developer guide.

Returns:

  • (Hash<String,String>)


4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 4390

class JobRun < Struct.new(
  :id,
  :attempt,
  :previous_run_id,
  :trigger_name,
  :job_name,
  :started_on,
  :last_modified_on,
  :completed_on,
  :job_run_state,
  :arguments,
  :error_message,
  :predecessor_runs,
  :allocated_capacity)
  include Aws::Structure
end

#attemptInteger

The number of the attempt to run this job.

Returns:

  • (Integer)


4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 4390

class JobRun < Struct.new(
  :id,
  :attempt,
  :previous_run_id,
  :trigger_name,
  :job_name,
  :started_on,
  :last_modified_on,
  :completed_on,
  :job_run_state,
  :arguments,
  :error_message,
  :predecessor_runs,
  :allocated_capacity)
  include Aws::Structure
end

#completed_onTime

The date and time this job run completed.

Returns:

  • (Time)


4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 4390

class JobRun < Struct.new(
  :id,
  :attempt,
  :previous_run_id,
  :trigger_name,
  :job_name,
  :started_on,
  :last_modified_on,
  :completed_on,
  :job_run_state,
  :arguments,
  :error_message,
  :predecessor_runs,
  :allocated_capacity)
  include Aws::Structure
end

#error_messageString

An error message associated with this job run.

Returns:

  • (String)


4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 4390

class JobRun < Struct.new(
  :id,
  :attempt,
  :previous_run_id,
  :trigger_name,
  :job_name,
  :started_on,
  :last_modified_on,
  :completed_on,
  :job_run_state,
  :arguments,
  :error_message,
  :predecessor_runs,
  :allocated_capacity)
  include Aws::Structure
end

#idString

The ID of this job run.

Returns:

  • (String)


4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 4390

class JobRun < Struct.new(
  :id,
  :attempt,
  :previous_run_id,
  :trigger_name,
  :job_name,
  :started_on,
  :last_modified_on,
  :completed_on,
  :job_run_state,
  :arguments,
  :error_message,
  :predecessor_runs,
  :allocated_capacity)
  include Aws::Structure
end

#job_nameString

The name of the job being run.

Returns:

  • (String)


4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 4390

class JobRun < Struct.new(
  :id,
  :attempt,
  :previous_run_id,
  :trigger_name,
  :job_name,
  :started_on,
  :last_modified_on,
  :completed_on,
  :job_run_state,
  :arguments,
  :error_message,
  :predecessor_runs,
  :allocated_capacity)
  include Aws::Structure
end

#job_run_stateString

The current state of the job run.

Returns:

  • (String)


4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 4390

class JobRun < Struct.new(
  :id,
  :attempt,
  :previous_run_id,
  :trigger_name,
  :job_name,
  :started_on,
  :last_modified_on,
  :completed_on,
  :job_run_state,
  :arguments,
  :error_message,
  :predecessor_runs,
  :allocated_capacity)
  include Aws::Structure
end

#last_modified_onTime

The last time this job run was modified.

Returns:

  • (Time)


4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 4390

class JobRun < Struct.new(
  :id,
  :attempt,
  :previous_run_id,
  :trigger_name,
  :job_name,
  :started_on,
  :last_modified_on,
  :completed_on,
  :job_run_state,
  :arguments,
  :error_message,
  :predecessor_runs,
  :allocated_capacity)
  include Aws::Structure
end

#predecessor_runsArray<Types::Predecessor>

A list of predecessors to this job run.

Returns:



4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 4390

class JobRun < Struct.new(
  :id,
  :attempt,
  :previous_run_id,
  :trigger_name,
  :job_name,
  :started_on,
  :last_modified_on,
  :completed_on,
  :job_run_state,
  :arguments,
  :error_message,
  :predecessor_runs,
  :allocated_capacity)
  include Aws::Structure
end

#previous_run_idString

The ID of the previous run of this job. For example, the JobRunId specified in the StartJobRun action.

Returns:

  • (String)


4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 4390

class JobRun < Struct.new(
  :id,
  :attempt,
  :previous_run_id,
  :trigger_name,
  :job_name,
  :started_on,
  :last_modified_on,
  :completed_on,
  :job_run_state,
  :arguments,
  :error_message,
  :predecessor_runs,
  :allocated_capacity)
  include Aws::Structure
end

#started_onTime

The date and time at which this job run was started.

Returns:

  • (Time)


4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 4390

class JobRun < Struct.new(
  :id,
  :attempt,
  :previous_run_id,
  :trigger_name,
  :job_name,
  :started_on,
  :last_modified_on,
  :completed_on,
  :job_run_state,
  :arguments,
  :error_message,
  :predecessor_runs,
  :allocated_capacity)
  include Aws::Structure
end

#trigger_nameString

The name of the trigger that started this job run.

Returns:

  • (String)


4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 4390

class JobRun < Struct.new(
  :id,
  :attempt,
  :previous_run_id,
  :trigger_name,
  :job_name,
  :started_on,
  :last_modified_on,
  :completed_on,
  :job_run_state,
  :arguments,
  :error_message,
  :predecessor_runs,
  :allocated_capacity)
  include Aws::Structure
end