amazonka-codepipeline-1.2.0.1: 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.GetJobDetails

Contents

Description

Returns information about a job. Only used for custom actions.

When this API is called, AWS CodePipeline returns temporary credentials for the Amazon S3 bucket used to store artifacts for the pipeline, if the action requires access to that Amazon S3 bucket for input or output artifacts. Additionally, this API returns any secret values defined for the action.

See: AWS API Reference for GetJobDetails.

Synopsis

Creating a Request

getJobDetails Source

Arguments

:: Text

gjdJobId

-> GetJobDetails 

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

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

Request Lenses

gjdJobId :: Lens' GetJobDetails Text Source

The unique system-generated ID for the job.

Destructuring the Response

getJobDetailsResponse Source

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

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

Response Lenses

gjdrsJobDetails :: Lens' GetJobDetailsResponse (Maybe JobDetails) Source

The details of the job.

If AWSSessionCredentials is used, a long-running job can call GetJobDetails again to obtain new credentials.

gjdrsStatus :: Lens' GetJobDetailsResponse Int Source

The response status code.