aws_sdk_cleanrooms/client/
list_protected_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 [`ListProtectedJobs`](crate::operation::list_protected_jobs::builders::ListProtectedJobsFluentBuilder) operation.
4    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_protected_jobs::builders::ListProtectedJobsFluentBuilder::into_paginator).
5    ///
6    /// - The fluent builder is configurable:
7    ///   - [`membership_identifier(impl Into<String>)`](crate::operation::list_protected_jobs::builders::ListProtectedJobsFluentBuilder::membership_identifier) / [`set_membership_identifier(Option<String>)`](crate::operation::list_protected_jobs::builders::ListProtectedJobsFluentBuilder::set_membership_identifier):<br>required: **true**<br><p>The identifier for the membership in the collaboration.</p><br>
8    ///   - [`status(ProtectedJobStatus)`](crate::operation::list_protected_jobs::builders::ListProtectedJobsFluentBuilder::status) / [`set_status(Option<ProtectedJobStatus>)`](crate::operation::list_protected_jobs::builders::ListProtectedJobsFluentBuilder::set_status):<br>required: **false**<br><p>A filter on the status of the protected job.</p><br>
9    ///   - [`next_token(impl Into<String>)`](crate::operation::list_protected_jobs::builders::ListProtectedJobsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_protected_jobs::builders::ListProtectedJobsFluentBuilder::set_next_token):<br>required: **false**<br><p>The pagination token that's used to fetch the next set of results.</p><br>
10    ///   - [`max_results(i32)`](crate::operation::list_protected_jobs::builders::ListProtectedJobsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_protected_jobs::builders::ListProtectedJobsFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of results that are returned for an API request call. The service chooses a default number if you don't set one. The service might return a `nextToken` even if the `maxResults` value has not been met.</p><br>
11    /// - On success, responds with [`ListProtectedJobsOutput`](crate::operation::list_protected_jobs::ListProtectedJobsOutput) with field(s):
12    ///   - [`next_token(Option<String>)`](crate::operation::list_protected_jobs::ListProtectedJobsOutput::next_token): <p>The pagination token that's used to fetch the next set of results.</p>
13    ///   - [`protected_jobs(Vec::<ProtectedJobSummary>)`](crate::operation::list_protected_jobs::ListProtectedJobsOutput::protected_jobs): <p>A list of protected job summaries.</p>
14    /// - On failure, responds with [`SdkError<ListProtectedJobsError>`](crate::operation::list_protected_jobs::ListProtectedJobsError)
15    pub fn list_protected_jobs(&self) -> crate::operation::list_protected_jobs::builders::ListProtectedJobsFluentBuilder {
16        crate::operation::list_protected_jobs::builders::ListProtectedJobsFluentBuilder::new(self.handle.clone())
17    }
18}