amazonka-emr-serverless-2.0: Amazon EMR Serverless SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.EMRServerless.Types.JobRun

Description

 
Synopsis

Documentation

data JobRun Source #

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 EMR Serverless application.

See: newJobRun smart constructor.

Constructors

JobRun' 

Fields

Instances

Instances details
FromJSON JobRun Source # 
Instance details

Defined in Amazonka.EMRServerless.Types.JobRun

Generic JobRun Source # 
Instance details

Defined in Amazonka.EMRServerless.Types.JobRun

Associated Types

type Rep JobRun :: Type -> Type #

Methods

from :: JobRun -> Rep JobRun x #

to :: Rep JobRun x -> JobRun #

Show JobRun Source # 
Instance details

Defined in Amazonka.EMRServerless.Types.JobRun

NFData JobRun Source # 
Instance details

Defined in Amazonka.EMRServerless.Types.JobRun

Methods

rnf :: JobRun -> () #

Eq JobRun Source # 
Instance details

Defined in Amazonka.EMRServerless.Types.JobRun

Methods

(==) :: JobRun -> JobRun -> Bool #

(/=) :: JobRun -> JobRun -> Bool #

Hashable JobRun Source # 
Instance details

Defined in Amazonka.EMRServerless.Types.JobRun

Methods

hashWithSalt :: Int -> JobRun -> Int #

hash :: JobRun -> Int #

type Rep JobRun Source # 
Instance details

Defined in Amazonka.EMRServerless.Types.JobRun

type Rep JobRun = D1 ('MetaData "JobRun" "Amazonka.EMRServerless.Types.JobRun" "amazonka-emr-serverless-2.0-Zw6ehwruaDFJFsqn31iYt" 'False) (C1 ('MetaCons "JobRun'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "configurationOverrides") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ConfigurationOverrides)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "networkConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe NetworkConfiguration)) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))))) :*: ((S1 ('MetaSel ('Just "totalExecutionDurationSeconds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "totalResourceUtilization") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TotalResourceUtilization))) :*: (S1 ('MetaSel ('Just "applicationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "jobRunId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))) :*: (((S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "createdBy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "createdAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX) :*: S1 ('MetaSel ('Just "updatedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX))) :*: ((S1 ('MetaSel ('Just "executionRole") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 JobRunState)) :*: (S1 ('MetaSel ('Just "stateDetails") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "releaseLabel") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "jobDriver") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 JobDriver)))))))

newJobRun Source #

Create a value of JobRun with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:configurationOverrides:JobRun', jobRun_configurationOverrides - The configuration settings that are used to override default configuration.

$sel:name:JobRun', jobRun_name - The optional job run name. This doesn't have to be unique.

$sel:networkConfiguration:JobRun', jobRun_networkConfiguration - Undocumented member.

$sel:tags:JobRun', jobRun_tags - The tags assigned to the job run.

$sel:totalExecutionDurationSeconds:JobRun', jobRun_totalExecutionDurationSeconds - The job run total execution duration in seconds. This field is only available for job runs in a COMPLETED, FAILED, or CANCELLED state.

$sel:totalResourceUtilization:JobRun', jobRun_totalResourceUtilization - The aggregate vCPU, memory, and storage resources used from the time job start executing till the time job is terminated, rounded up to the nearest second.

$sel:applicationId:JobRun', jobRun_applicationId - The ID of the application the job is running on.

$sel:jobRunId:JobRun', jobRun_jobRunId - The ID of the job run.

$sel:arn:JobRun', jobRun_arn - The execution role ARN of the job run.

$sel:createdBy:JobRun', jobRun_createdBy - The user who created the job run.

$sel:createdAt:JobRun', jobRun_createdAt - The date and time when the job run was created.

$sel:updatedAt:JobRun', jobRun_updatedAt - The date and time when the job run was updated.

$sel:executionRole:JobRun', jobRun_executionRole - The execution role ARN of the job run.

$sel:state:JobRun', jobRun_state - The state of the job run.

$sel:stateDetails:JobRun', jobRun_stateDetails - The state details of the job run.

$sel:releaseLabel:JobRun', jobRun_releaseLabel - The EMR release associated with the application your job is running on.

$sel:jobDriver:JobRun', jobRun_jobDriver - The job driver for the job run.

jobRun_configurationOverrides :: Lens' JobRun (Maybe ConfigurationOverrides) Source #

The configuration settings that are used to override default configuration.

jobRun_name :: Lens' JobRun (Maybe Text) Source #

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

jobRun_tags :: Lens' JobRun (Maybe (HashMap Text Text)) Source #

The tags assigned to the job run.

jobRun_totalExecutionDurationSeconds :: Lens' JobRun (Maybe Int) Source #

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

jobRun_totalResourceUtilization :: Lens' JobRun (Maybe TotalResourceUtilization) Source #

The aggregate vCPU, memory, and storage resources used from the time job start executing till the time job is terminated, rounded up to the nearest second.

jobRun_applicationId :: Lens' JobRun Text Source #

The ID of the application the job is running on.

jobRun_jobRunId :: Lens' JobRun Text Source #

The ID of the job run.

jobRun_arn :: Lens' JobRun Text Source #

The execution role ARN of the job run.

jobRun_createdBy :: Lens' JobRun Text Source #

The user who created the job run.

jobRun_createdAt :: Lens' JobRun UTCTime Source #

The date and time when the job run was created.

jobRun_updatedAt :: Lens' JobRun UTCTime Source #

The date and time when the job run was updated.

jobRun_executionRole :: Lens' JobRun Text Source #

The execution role ARN of the job run.

jobRun_state :: Lens' JobRun JobRunState Source #

The state of the job run.

jobRun_stateDetails :: Lens' JobRun Text Source #

The state details of the job run.

jobRun_releaseLabel :: Lens' JobRun Text Source #

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

jobRun_jobDriver :: Lens' JobRun JobDriver Source #

The job driver for the job run.