Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Returns information about a job. Used for custom actions only.
When this API is called, AWS CodePipeline returns temporary credentials for the S3 bucket used to store artifacts for the pipeline, if the action requires access to that S3 bucket for input or output artifacts. This API also returns any secret values defined for the action.
Synopsis
- data GetJobDetails = GetJobDetails' {}
- newGetJobDetails :: Text -> GetJobDetails
- getJobDetails_jobId :: Lens' GetJobDetails Text
- data GetJobDetailsResponse = GetJobDetailsResponse' {}
- newGetJobDetailsResponse :: Int -> GetJobDetailsResponse
- getJobDetailsResponse_jobDetails :: Lens' GetJobDetailsResponse (Maybe JobDetails)
- getJobDetailsResponse_httpStatus :: Lens' GetJobDetailsResponse Int
Creating a Request
data GetJobDetails Source #
Represents the input of a GetJobDetails
action.
See: newGetJobDetails
smart constructor.
Instances
Create a value of GetJobDetails
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:jobId:GetJobDetails'
, getJobDetails_jobId
- The unique system-generated ID for the job.
Request Lenses
getJobDetails_jobId :: Lens' GetJobDetails Text Source #
The unique system-generated ID for the job.
Destructuring the Response
data GetJobDetailsResponse Source #
Represents the output of a GetJobDetails
action.
See: newGetJobDetailsResponse
smart constructor.
GetJobDetailsResponse' | |
|
Instances
newGetJobDetailsResponse Source #
Create a value of GetJobDetailsResponse
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:jobDetails:GetJobDetailsResponse'
, getJobDetailsResponse_jobDetails
- The details of the job.
If AWSSessionCredentials is used, a long-running job can call
GetJobDetails
again to obtain new credentials.
$sel:httpStatus:GetJobDetailsResponse'
, getJobDetailsResponse_httpStatus
- The response's http status code.
Response Lenses
getJobDetailsResponse_jobDetails :: 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.
getJobDetailsResponse_httpStatus :: Lens' GetJobDetailsResponse Int Source #
The response's http status code.