Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data Job = Job' {
- arn :: Maybe Text
- creationDateTime :: Maybe Text
- endDateTime :: Maybe Text
- initiatedBy :: Maybe InitiatedBy
- participatingServers :: Maybe [ParticipatingServer]
- status :: Maybe JobStatus
- tags :: Maybe (Sensitive (HashMap Text Text))
- type' :: Maybe JobType
- jobID :: Text
- newJob :: Text -> Job
- job_arn :: Lens' Job (Maybe Text)
- job_creationDateTime :: Lens' Job (Maybe Text)
- job_endDateTime :: Lens' Job (Maybe Text)
- job_initiatedBy :: Lens' Job (Maybe InitiatedBy)
- job_participatingServers :: Lens' Job (Maybe [ParticipatingServer])
- job_status :: Lens' Job (Maybe JobStatus)
- job_tags :: Lens' Job (Maybe (HashMap Text Text))
- job_type :: Lens' Job (Maybe JobType)
- job_jobID :: Lens' Job Text
Documentation
A job is an asynchronous workflow.
See: newJob
smart constructor.
Job' | |
|
Instances
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_creationDateTime :: Lens' Job (Maybe Text) Source #
The date and time of when the Job was created.
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.