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)


4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 4501

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,
  :execution_time,
  :timeout,
  :notification_property)
  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>)


4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 4501

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,
  :execution_time,
  :timeout,
  :notification_property)
  include Aws::Structure
end

#attemptInteger

The number of the attempt to run this job.

Returns:

  • (Integer)


4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 4501

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,
  :execution_time,
  :timeout,
  :notification_property)
  include Aws::Structure
end

#completed_onTime

The date and time this job run completed.

Returns:

  • (Time)


4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 4501

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,
  :execution_time,
  :timeout,
  :notification_property)
  include Aws::Structure
end

#error_messageString

An error message associated with this job run.

Returns:

  • (String)


4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 4501

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,
  :execution_time,
  :timeout,
  :notification_property)
  include Aws::Structure
end

#execution_timeInteger

The amount of time (in seconds) that the job run consumed resources.

Returns:

  • (Integer)


4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 4501

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,
  :execution_time,
  :timeout,
  :notification_property)
  include Aws::Structure
end

#idString

The ID of this job run.

Returns:

  • (String)


4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 4501

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,
  :execution_time,
  :timeout,
  :notification_property)
  include Aws::Structure
end

#job_nameString

The name of the job definition being used in this run.

Returns:

  • (String)


4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 4501

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,
  :execution_time,
  :timeout,
  :notification_property)
  include Aws::Structure
end

#job_run_stateString

The current state of the job run.

Returns:

  • (String)


4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 4501

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,
  :execution_time,
  :timeout,
  :notification_property)
  include Aws::Structure
end

#last_modified_onTime

The last time this job run was modified.

Returns:

  • (Time)


4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 4501

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,
  :execution_time,
  :timeout,
  :notification_property)
  include Aws::Structure
end

#notification_propertyTypes::NotificationProperty

Specifies configuration properties of a job run notification.



4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 4501

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,
  :execution_time,
  :timeout,
  :notification_property)
  include Aws::Structure
end

#predecessor_runsArray<Types::Predecessor>

A list of predecessors to this job run.

Returns:



4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 4501

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,
  :execution_time,
  :timeout,
  :notification_property)
  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)


4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 4501

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,
  :execution_time,
  :timeout,
  :notification_property)
  include Aws::Structure
end

#started_onTime

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

Returns:

  • (Time)


4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 4501

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,
  :execution_time,
  :timeout,
  :notification_property)
  include Aws::Structure
end

#timeoutInteger

The job run timeout in minutes.

Returns:

  • (Integer)


4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 4501

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,
  :execution_time,
  :timeout,
  :notification_property)
  include Aws::Structure
end

#trigger_nameString

The name of the trigger that started this job run.

Returns:

  • (String)


4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 4501

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,
  :execution_time,
  :timeout,
  :notification_property)
  include Aws::Structure
end