amazonka-codepipeline-2.0: Amazon CodePipeline 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.CodePipeline.Types.Job

Description

 
Synopsis

Documentation

data Job Source #

Represents information about a job.

See: newJob smart constructor.

Constructors

Job' 

Fields

  • accountId :: Maybe Text

    The ID of the AWS account to use when performing the job.

  • data' :: Maybe JobData

    Other data about a job.

  • id :: Maybe Text

    The unique system-generated ID of the job.

  • nonce :: Maybe Text

    A system-generated random number that AWS CodePipeline uses to ensure that the job is being worked on by only one job worker. Use this number in an AcknowledgeJob request.

Instances

Instances details
FromJSON Job Source # 
Instance details

Defined in Amazonka.CodePipeline.Types.Job

Generic Job Source # 
Instance details

Defined in Amazonka.CodePipeline.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.CodePipeline.Types.Job

Methods

showsPrec :: Int -> Job -> ShowS #

show :: Job -> String #

showList :: [Job] -> ShowS #

NFData Job Source # 
Instance details

Defined in Amazonka.CodePipeline.Types.Job

Methods

rnf :: Job -> () #

Eq Job Source # 
Instance details

Defined in Amazonka.CodePipeline.Types.Job

Methods

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

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

Hashable Job Source # 
Instance details

Defined in Amazonka.CodePipeline.Types.Job

Methods

hashWithSalt :: Int -> Job -> Int #

hash :: Job -> Int #

type Rep Job Source # 
Instance details

Defined in Amazonka.CodePipeline.Types.Job

type Rep Job = D1 ('MetaData "Job" "Amazonka.CodePipeline.Types.Job" "amazonka-codepipeline-2.0-AHHPJTmnvhi1gPjRAFzjQE" 'False) (C1 ('MetaCons "Job'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "accountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "data'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe JobData))) :*: (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "nonce") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newJob :: Job Source #

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:accountId:Job', job_accountId - The ID of the AWS account to use when performing the job.

$sel:data':Job', job_data - Other data about a job.

$sel:id:Job', job_id - The unique system-generated ID of the job.

$sel:nonce:Job', job_nonce - A system-generated random number that AWS CodePipeline uses to ensure that the job is being worked on by only one job worker. Use this number in an AcknowledgeJob request.

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

The ID of the AWS account to use when performing the job.

job_data :: Lens' Job (Maybe JobData) Source #

Other data about a job.

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

The unique system-generated ID of the job.

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

A system-generated random number that AWS CodePipeline uses to ensure that the job is being worked on by only one job worker. Use this number in an AcknowledgeJob request.