libZSservicesZSamazonka-codepipelineZSamazonka-codepipeline
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.CodePipeline.Types.Job

Description

 
Synopsis

Documentation

data Job Source #

Represents information about a job.

See: newJob smart constructor.

Constructors

Job' 

Fields

  • data' :: Maybe JobData

    Other data about a job.

  • accountId :: Maybe Text

    The ID of the AWS account to use when performing the 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
Eq Job Source # 
Instance details

Defined in Amazonka.CodePipeline.Types.Job

Methods

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

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

Show Job Source # 
Instance details

Defined in Amazonka.CodePipeline.Types.Job

Methods

showsPrec :: Int -> Job -> ShowS #

show :: Job -> String #

showList :: [Job] -> ShowS #

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 #

NFData Job Source # 
Instance details

Defined in Amazonka.CodePipeline.Types.Job

Methods

rnf :: Job -> () #

Hashable Job Source # 
Instance details

Defined in Amazonka.CodePipeline.Types.Job

Methods

hashWithSalt :: Int -> Job -> Int #

hash :: Job -> Int #

FromJSON Job Source # 
Instance details

Defined in Amazonka.CodePipeline.Types.Job

type Rep Job Source # 
Instance details

Defined in Amazonka.CodePipeline.Types.Job

type Rep Job = D1 ('MetaData "Job" "Amazonka.CodePipeline.Types.Job" "libZSservicesZSamazonka-codepipelineZSamazonka-codepipeline" 'False) (C1 ('MetaCons "Job'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "data'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe JobData)) :*: S1 ('MetaSel ('Just "accountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (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:data':Job', job_data - Other data about a job.

$sel:accountId:Job', job_accountId - The ID of the AWS account to use when performing the 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_data :: Lens' Job (Maybe JobData) Source #

Other data about a job.

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

The ID of the AWS account to use when performing the 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.