amazonka-drs-2.0: Amazon Elastic Disaster Recovery Service 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.DrS.Types.Job

Description

 
Synopsis

Documentation

data Job Source #

A job is an asynchronous workflow.

See: newJob smart constructor.

Constructors

Job' 

Fields

Instances

Instances details
FromJSON Job Source # 
Instance details

Defined in Amazonka.DrS.Types.Job

Generic Job Source # 
Instance details

Defined in Amazonka.DrS.Types.Job

Associated Types

type Rep Job :: Type -> Type #

Methods

from :: Job -> Rep Job x #

to :: Rep Job x -> Job #

Show Job Source # 
Instance details

Defined in Amazonka.DrS.Types.Job

Methods

showsPrec :: Int -> Job -> ShowS #

show :: Job -> String #

showList :: [Job] -> ShowS #

NFData Job Source # 
Instance details

Defined in Amazonka.DrS.Types.Job

Methods

rnf :: Job -> () #

Eq Job Source # 
Instance details

Defined in Amazonka.DrS.Types.Job

Methods

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

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

Hashable Job Source # 
Instance details

Defined in Amazonka.DrS.Types.Job

Methods

hashWithSalt :: Int -> Job -> Int #

hash :: Job -> Int #

type Rep Job Source # 
Instance details

Defined in Amazonka.DrS.Types.Job

newJob Source #

Arguments

:: Text

$sel:jobID:Job'

-> Job 

Create a value of Job 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:arn:Job', job_arn - The ARN of a Job.

$sel:creationDateTime:Job', job_creationDateTime - The date and time of when the Job was created.

$sel:endDateTime:Job', job_endDateTime - The date and time of when the Job ended.

$sel:initiatedBy:Job', job_initiatedBy - A string representing who initiated the Job.

$sel:participatingServers:Job', job_participatingServers - A list of servers that the Job is acting upon.

$sel:status:Job', job_status - The status of the Job.

$sel:tags:Job', job_tags - A list of tags associated with the Job.

$sel:type':Job', job_type - The type of the Job.

$sel:jobID:Job', job_jobID - The ID of the Job.

job_arn :: Lens' Job (Maybe Text) Source #

The ARN of a Job.

job_creationDateTime :: Lens' Job (Maybe Text) Source #

The date and time of when the Job was created.

job_endDateTime :: Lens' Job (Maybe Text) Source #

The date and time of when the Job ended.

job_initiatedBy :: Lens' Job (Maybe InitiatedBy) Source #

A string representing who initiated the Job.

job_participatingServers :: Lens' Job (Maybe [ParticipatingServer]) Source #

A list of servers that the Job is acting upon.

job_status :: Lens' Job (Maybe JobStatus) Source #

The status of the Job.

job_tags :: Lens' Job (Maybe (HashMap Text Text)) Source #

A list of tags associated with the Job.

job_type :: Lens' Job (Maybe JobType) Source #

The type of the Job.

job_jobID :: Lens' Job Text Source #

The ID of the Job.