Class: Aws::EMRServerless::Types::JobRun

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

Overview

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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#application_idString

The ID of the application the job is running on.

Returns:

  • (String)


827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
# File 'gems/aws-sdk-emrserverless/lib/aws-sdk-emrserverless/types.rb', line 827

class JobRun < Struct.new(
  :application_id,
  :job_run_id,
  :name,
  :arn,
  :created_by,
  :created_at,
  :updated_at,
  :execution_role,
  :state,
  :state_details,
  :release_label,
  :configuration_overrides,
  :job_driver,
  :tags,
  :total_resource_utilization,
  :network_configuration,
  :total_execution_duration_seconds,
  :execution_timeout_minutes,
  :billed_resource_utilization)
  SENSITIVE = []
  include Aws::Structure
end

#arnString

The execution role ARN of the job run.

Returns:

  • (String)


827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
# File 'gems/aws-sdk-emrserverless/lib/aws-sdk-emrserverless/types.rb', line 827

class JobRun < Struct.new(
  :application_id,
  :job_run_id,
  :name,
  :arn,
  :created_by,
  :created_at,
  :updated_at,
  :execution_role,
  :state,
  :state_details,
  :release_label,
  :configuration_overrides,
  :job_driver,
  :tags,
  :total_resource_utilization,
  :network_configuration,
  :total_execution_duration_seconds,
  :execution_timeout_minutes,
  :billed_resource_utilization)
  SENSITIVE = []
  include Aws::Structure
end

#billed_resource_utilizationTypes::ResourceUtilization

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.



827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
# File 'gems/aws-sdk-emrserverless/lib/aws-sdk-emrserverless/types.rb', line 827

class JobRun < Struct.new(
  :application_id,
  :job_run_id,
  :name,
  :arn,
  :created_by,
  :created_at,
  :updated_at,
  :execution_role,
  :state,
  :state_details,
  :release_label,
  :configuration_overrides,
  :job_driver,
  :tags,
  :total_resource_utilization,
  :network_configuration,
  :total_execution_duration_seconds,
  :execution_timeout_minutes,
  :billed_resource_utilization)
  SENSITIVE = []
  include Aws::Structure
end

#configuration_overridesTypes::ConfigurationOverrides

The configuration settings that are used to override default configuration.



827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
# File 'gems/aws-sdk-emrserverless/lib/aws-sdk-emrserverless/types.rb', line 827

class JobRun < Struct.new(
  :application_id,
  :job_run_id,
  :name,
  :arn,
  :created_by,
  :created_at,
  :updated_at,
  :execution_role,
  :state,
  :state_details,
  :release_label,
  :configuration_overrides,
  :job_driver,
  :tags,
  :total_resource_utilization,
  :network_configuration,
  :total_execution_duration_seconds,
  :execution_timeout_minutes,
  :billed_resource_utilization)
  SENSITIVE = []
  include Aws::Structure
end

#created_atTime

The date and time when the job run was created.

Returns:

  • (Time)


827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
# File 'gems/aws-sdk-emrserverless/lib/aws-sdk-emrserverless/types.rb', line 827

class JobRun < Struct.new(
  :application_id,
  :job_run_id,
  :name,
  :arn,
  :created_by,
  :created_at,
  :updated_at,
  :execution_role,
  :state,
  :state_details,
  :release_label,
  :configuration_overrides,
  :job_driver,
  :tags,
  :total_resource_utilization,
  :network_configuration,
  :total_execution_duration_seconds,
  :execution_timeout_minutes,
  :billed_resource_utilization)
  SENSITIVE = []
  include Aws::Structure
end

#created_byString

The user who created the job run.

Returns:

  • (String)


827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
# File 'gems/aws-sdk-emrserverless/lib/aws-sdk-emrserverless/types.rb', line 827

class JobRun < Struct.new(
  :application_id,
  :job_run_id,
  :name,
  :arn,
  :created_by,
  :created_at,
  :updated_at,
  :execution_role,
  :state,
  :state_details,
  :release_label,
  :configuration_overrides,
  :job_driver,
  :tags,
  :total_resource_utilization,
  :network_configuration,
  :total_execution_duration_seconds,
  :execution_timeout_minutes,
  :billed_resource_utilization)
  SENSITIVE = []
  include Aws::Structure
end

#execution_roleString

The execution role ARN of the job run.

Returns:

  • (String)


827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
# File 'gems/aws-sdk-emrserverless/lib/aws-sdk-emrserverless/types.rb', line 827

class JobRun < Struct.new(
  :application_id,
  :job_run_id,
  :name,
  :arn,
  :created_by,
  :created_at,
  :updated_at,
  :execution_role,
  :state,
  :state_details,
  :release_label,
  :configuration_overrides,
  :job_driver,
  :tags,
  :total_resource_utilization,
  :network_configuration,
  :total_execution_duration_seconds,
  :execution_timeout_minutes,
  :billed_resource_utilization)
  SENSITIVE = []
  include Aws::Structure
end

#execution_timeout_minutesInteger

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

Returns:

  • (Integer)


827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
# File 'gems/aws-sdk-emrserverless/lib/aws-sdk-emrserverless/types.rb', line 827

class JobRun < Struct.new(
  :application_id,
  :job_run_id,
  :name,
  :arn,
  :created_by,
  :created_at,
  :updated_at,
  :execution_role,
  :state,
  :state_details,
  :release_label,
  :configuration_overrides,
  :job_driver,
  :tags,
  :total_resource_utilization,
  :network_configuration,
  :total_execution_duration_seconds,
  :execution_timeout_minutes,
  :billed_resource_utilization)
  SENSITIVE = []
  include Aws::Structure
end

#job_driverTypes::JobDriver

The job driver for the job run.

Returns:



827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
# File 'gems/aws-sdk-emrserverless/lib/aws-sdk-emrserverless/types.rb', line 827

class JobRun < Struct.new(
  :application_id,
  :job_run_id,
  :name,
  :arn,
  :created_by,
  :created_at,
  :updated_at,
  :execution_role,
  :state,
  :state_details,
  :release_label,
  :configuration_overrides,
  :job_driver,
  :tags,
  :total_resource_utilization,
  :network_configuration,
  :total_execution_duration_seconds,
  :execution_timeout_minutes,
  :billed_resource_utilization)
  SENSITIVE = []
  include Aws::Structure
end

#job_run_idString

The ID of the job run.

Returns:

  • (String)


827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
# File 'gems/aws-sdk-emrserverless/lib/aws-sdk-emrserverless/types.rb', line 827

class JobRun < Struct.new(
  :application_id,
  :job_run_id,
  :name,
  :arn,
  :created_by,
  :created_at,
  :updated_at,
  :execution_role,
  :state,
  :state_details,
  :release_label,
  :configuration_overrides,
  :job_driver,
  :tags,
  :total_resource_utilization,
  :network_configuration,
  :total_execution_duration_seconds,
  :execution_timeout_minutes,
  :billed_resource_utilization)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

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

Returns:

  • (String)


827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
# File 'gems/aws-sdk-emrserverless/lib/aws-sdk-emrserverless/types.rb', line 827

class JobRun < Struct.new(
  :application_id,
  :job_run_id,
  :name,
  :arn,
  :created_by,
  :created_at,
  :updated_at,
  :execution_role,
  :state,
  :state_details,
  :release_label,
  :configuration_overrides,
  :job_driver,
  :tags,
  :total_resource_utilization,
  :network_configuration,
  :total_execution_duration_seconds,
  :execution_timeout_minutes,
  :billed_resource_utilization)
  SENSITIVE = []
  include Aws::Structure
end

#network_configurationTypes::NetworkConfiguration

The network configuration for customer VPC connectivity.



827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
# File 'gems/aws-sdk-emrserverless/lib/aws-sdk-emrserverless/types.rb', line 827

class JobRun < Struct.new(
  :application_id,
  :job_run_id,
  :name,
  :arn,
  :created_by,
  :created_at,
  :updated_at,
  :execution_role,
  :state,
  :state_details,
  :release_label,
  :configuration_overrides,
  :job_driver,
  :tags,
  :total_resource_utilization,
  :network_configuration,
  :total_execution_duration_seconds,
  :execution_timeout_minutes,
  :billed_resource_utilization)
  SENSITIVE = []
  include Aws::Structure
end

#release_labelString

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

Returns:

  • (String)


827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
# File 'gems/aws-sdk-emrserverless/lib/aws-sdk-emrserverless/types.rb', line 827

class JobRun < Struct.new(
  :application_id,
  :job_run_id,
  :name,
  :arn,
  :created_by,
  :created_at,
  :updated_at,
  :execution_role,
  :state,
  :state_details,
  :release_label,
  :configuration_overrides,
  :job_driver,
  :tags,
  :total_resource_utilization,
  :network_configuration,
  :total_execution_duration_seconds,
  :execution_timeout_minutes,
  :billed_resource_utilization)
  SENSITIVE = []
  include Aws::Structure
end

#stateString

The state of the job run.

Returns:

  • (String)


827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
# File 'gems/aws-sdk-emrserverless/lib/aws-sdk-emrserverless/types.rb', line 827

class JobRun < Struct.new(
  :application_id,
  :job_run_id,
  :name,
  :arn,
  :created_by,
  :created_at,
  :updated_at,
  :execution_role,
  :state,
  :state_details,
  :release_label,
  :configuration_overrides,
  :job_driver,
  :tags,
  :total_resource_utilization,
  :network_configuration,
  :total_execution_duration_seconds,
  :execution_timeout_minutes,
  :billed_resource_utilization)
  SENSITIVE = []
  include Aws::Structure
end

#state_detailsString

The state details of the job run.

Returns:

  • (String)


827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
# File 'gems/aws-sdk-emrserverless/lib/aws-sdk-emrserverless/types.rb', line 827

class JobRun < Struct.new(
  :application_id,
  :job_run_id,
  :name,
  :arn,
  :created_by,
  :created_at,
  :updated_at,
  :execution_role,
  :state,
  :state_details,
  :release_label,
  :configuration_overrides,
  :job_driver,
  :tags,
  :total_resource_utilization,
  :network_configuration,
  :total_execution_duration_seconds,
  :execution_timeout_minutes,
  :billed_resource_utilization)
  SENSITIVE = []
  include Aws::Structure
end

#tagsHash<String,String>

The tags assigned to the job run.

Returns:

  • (Hash<String,String>)


827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
# File 'gems/aws-sdk-emrserverless/lib/aws-sdk-emrserverless/types.rb', line 827

class JobRun < Struct.new(
  :application_id,
  :job_run_id,
  :name,
  :arn,
  :created_by,
  :created_at,
  :updated_at,
  :execution_role,
  :state,
  :state_details,
  :release_label,
  :configuration_overrides,
  :job_driver,
  :tags,
  :total_resource_utilization,
  :network_configuration,
  :total_execution_duration_seconds,
  :execution_timeout_minutes,
  :billed_resource_utilization)
  SENSITIVE = []
  include Aws::Structure
end

#total_execution_duration_secondsInteger

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

Returns:

  • (Integer)


827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
# File 'gems/aws-sdk-emrserverless/lib/aws-sdk-emrserverless/types.rb', line 827

class JobRun < Struct.new(
  :application_id,
  :job_run_id,
  :name,
  :arn,
  :created_by,
  :created_at,
  :updated_at,
  :execution_role,
  :state,
  :state_details,
  :release_label,
  :configuration_overrides,
  :job_driver,
  :tags,
  :total_resource_utilization,
  :network_configuration,
  :total_execution_duration_seconds,
  :execution_timeout_minutes,
  :billed_resource_utilization)
  SENSITIVE = []
  include Aws::Structure
end

#total_resource_utilizationTypes::TotalResourceUtilization

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.



827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
# File 'gems/aws-sdk-emrserverless/lib/aws-sdk-emrserverless/types.rb', line 827

class JobRun < Struct.new(
  :application_id,
  :job_run_id,
  :name,
  :arn,
  :created_by,
  :created_at,
  :updated_at,
  :execution_role,
  :state,
  :state_details,
  :release_label,
  :configuration_overrides,
  :job_driver,
  :tags,
  :total_resource_utilization,
  :network_configuration,
  :total_execution_duration_seconds,
  :execution_timeout_minutes,
  :billed_resource_utilization)
  SENSITIVE = []
  include Aws::Structure
end

#updated_atTime

The date and time when the job run was updated.

Returns:

  • (Time)


827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
# File 'gems/aws-sdk-emrserverless/lib/aws-sdk-emrserverless/types.rb', line 827

class JobRun < Struct.new(
  :application_id,
  :job_run_id,
  :name,
  :arn,
  :created_by,
  :created_at,
  :updated_at,
  :execution_role,
  :state,
  :state_details,
  :release_label,
  :configuration_overrides,
  :job_driver,
  :tags,
  :total_resource_utilization,
  :network_configuration,
  :total_execution_duration_seconds,
  :execution_timeout_minutes,
  :billed_resource_utilization)
  SENSITIVE = []
  include Aws::Structure
end