aws_sdk_codepipeline/client/poll_for_third_party_jobs.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`PollForThirdPartyJobs`](crate::operation::poll_for_third_party_jobs::builders::PollForThirdPartyJobsFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`action_type_id(ActionTypeId)`](crate::operation::poll_for_third_party_jobs::builders::PollForThirdPartyJobsFluentBuilder::action_type_id) / [`set_action_type_id(Option<ActionTypeId>)`](crate::operation::poll_for_third_party_jobs::builders::PollForThirdPartyJobsFluentBuilder::set_action_type_id):<br>required: **true**<br><p>Represents information about an action type.</p><br>
7 /// - [`max_batch_size(i32)`](crate::operation::poll_for_third_party_jobs::builders::PollForThirdPartyJobsFluentBuilder::max_batch_size) / [`set_max_batch_size(Option<i32>)`](crate::operation::poll_for_third_party_jobs::builders::PollForThirdPartyJobsFluentBuilder::set_max_batch_size):<br>required: **false**<br><p>The maximum number of jobs to return in a poll for jobs call.</p><br>
8 /// - On success, responds with [`PollForThirdPartyJobsOutput`](crate::operation::poll_for_third_party_jobs::PollForThirdPartyJobsOutput) with field(s):
9 /// - [`jobs(Option<Vec::<ThirdPartyJob>>)`](crate::operation::poll_for_third_party_jobs::PollForThirdPartyJobsOutput::jobs): <p>Information about the jobs to take action on.</p>
10 /// - On failure, responds with [`SdkError<PollForThirdPartyJobsError>`](crate::operation::poll_for_third_party_jobs::PollForThirdPartyJobsError)
11 pub fn poll_for_third_party_jobs(&self) -> crate::operation::poll_for_third_party_jobs::builders::PollForThirdPartyJobsFluentBuilder {
12 crate::operation::poll_for_third_party_jobs::builders::PollForThirdPartyJobsFluentBuilder::new(self.handle.clone())
13 }
14}