amazonka-codepipeline-1.3.5: Amazon CodePipeline SDK.

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

Network.AWS.CodePipeline.AcknowledgeJob

Contents

Description

Returns information about a specified job and whether that job has been received by the job worker. Only used for custom actions.

See: AWS API Reference for AcknowledgeJob.

Synopsis

Creating a Request

acknowledgeJob Source

Creates a value of AcknowledgeJob with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

ajJobId :: Lens' AcknowledgeJob Text Source

The unique system-generated ID of the job for which you want to confirm receipt.

ajNonce :: Lens' AcknowledgeJob 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. This number must be returned in the response.

Destructuring the Response

acknowledgeJobResponse Source

Creates a value of AcknowledgeJobResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Response Lenses

ajrsStatus :: Lens' AcknowledgeJobResponse (Maybe JobStatus) Source

Whether the job worker has received the specified job.