Copyright | (c) 2013-2017 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 |
Language | Haskell2010 |
Determines whether there are any third party jobs for a job worker to act on. Only used for partner actions.
Important: 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.
- pollForThirdPartyJobs :: ActionTypeId -> PollForThirdPartyJobs
- data PollForThirdPartyJobs
- pftpjMaxBatchSize :: Lens' PollForThirdPartyJobs (Maybe Natural)
- pftpjActionTypeId :: Lens' PollForThirdPartyJobs ActionTypeId
- pollForThirdPartyJobsResponse :: Int -> PollForThirdPartyJobsResponse
- data PollForThirdPartyJobsResponse
- pftpjrsJobs :: Lens' PollForThirdPartyJobsResponse [ThirdPartyJob]
- pftpjrsResponseStatus :: Lens' PollForThirdPartyJobsResponse Int
Creating a Request
pollForThirdPartyJobs Source #
Creates a value of PollForThirdPartyJobs
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
pftpjMaxBatchSize
- The maximum number of jobs to return in a poll for jobs call.pftpjActionTypeId
- Represents information about an action type.
data PollForThirdPartyJobs Source #
Represents the input of a PollForThirdPartyJobs action.
See: pollForThirdPartyJobs
smart constructor.
Request Lenses
pftpjMaxBatchSize :: Lens' PollForThirdPartyJobs (Maybe Natural) Source #
The maximum number of jobs to return in a poll for jobs call.
pftpjActionTypeId :: Lens' PollForThirdPartyJobs ActionTypeId Source #
Represents information about an action type.
Destructuring the Response
pollForThirdPartyJobsResponse Source #
Creates a value of PollForThirdPartyJobsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
pftpjrsJobs
- Information about the jobs to take action on.pftpjrsResponseStatus
- -- | The response status code.
data PollForThirdPartyJobsResponse Source #
Represents the output of a PollForThirdPartyJobs action.
See: pollForThirdPartyJobsResponse
smart constructor.
Response Lenses
pftpjrsJobs :: Lens' PollForThirdPartyJobsResponse [ThirdPartyJob] Source #
Information about the jobs to take action on.
pftpjrsResponseStatus :: Lens' PollForThirdPartyJobsResponse Int Source #
- - | The response status code.