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 |
Determines whether there are any third party jobs for a job worker to act on. Used for partner 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.
Synopsis
- data PollForThirdPartyJobs = PollForThirdPartyJobs' {}
- newPollForThirdPartyJobs :: ActionTypeId -> PollForThirdPartyJobs
- pollForThirdPartyJobs_maxBatchSize :: Lens' PollForThirdPartyJobs (Maybe Natural)
- pollForThirdPartyJobs_actionTypeId :: Lens' PollForThirdPartyJobs ActionTypeId
- data PollForThirdPartyJobsResponse = PollForThirdPartyJobsResponse' {
- jobs :: Maybe [ThirdPartyJob]
- httpStatus :: Int
- newPollForThirdPartyJobsResponse :: Int -> PollForThirdPartyJobsResponse
- pollForThirdPartyJobsResponse_jobs :: Lens' PollForThirdPartyJobsResponse (Maybe [ThirdPartyJob])
- pollForThirdPartyJobsResponse_httpStatus :: Lens' PollForThirdPartyJobsResponse Int
Creating a Request
data PollForThirdPartyJobs Source #
Represents the input of a PollForThirdPartyJobs
action.
See: newPollForThirdPartyJobs
smart constructor.
PollForThirdPartyJobs' | |
|
Instances
newPollForThirdPartyJobs Source #
Create a value of PollForThirdPartyJobs
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:maxBatchSize:PollForThirdPartyJobs'
, pollForThirdPartyJobs_maxBatchSize
- The maximum number of jobs to return in a poll for jobs call.
$sel:actionTypeId:PollForThirdPartyJobs'
, pollForThirdPartyJobs_actionTypeId
- Represents information about an action type.
Request Lenses
pollForThirdPartyJobs_maxBatchSize :: Lens' PollForThirdPartyJobs (Maybe Natural) Source #
The maximum number of jobs to return in a poll for jobs call.
pollForThirdPartyJobs_actionTypeId :: Lens' PollForThirdPartyJobs ActionTypeId Source #
Represents information about an action type.
Destructuring the Response
data PollForThirdPartyJobsResponse Source #
Represents the output of a PollForThirdPartyJobs
action.
See: newPollForThirdPartyJobsResponse
smart constructor.
PollForThirdPartyJobsResponse' | |
|
Instances
newPollForThirdPartyJobsResponse Source #
Create a value of PollForThirdPartyJobsResponse
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:jobs:PollForThirdPartyJobsResponse'
, pollForThirdPartyJobsResponse_jobs
- Information about the jobs to take action on.
$sel:httpStatus:PollForThirdPartyJobsResponse'
, pollForThirdPartyJobsResponse_httpStatus
- The response's http status code.
Response Lenses
pollForThirdPartyJobsResponse_jobs :: Lens' PollForThirdPartyJobsResponse (Maybe [ThirdPartyJob]) Source #
Information about the jobs to take action on.
pollForThirdPartyJobsResponse_httpStatus :: Lens' PollForThirdPartyJobsResponse Int Source #
The response's http status code.