Skip to main content

aws_sdk_securityagent/client/
batch_get_code_reviews.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 [`BatchGetCodeReviews`](crate::operation::batch_get_code_reviews::builders::BatchGetCodeReviewsFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`code_review_ids(impl Into<String>)`](crate::operation::batch_get_code_reviews::builders::BatchGetCodeReviewsFluentBuilder::code_review_ids) / [`set_code_review_ids(Option<Vec::<String>>)`](crate::operation::batch_get_code_reviews::builders::BatchGetCodeReviewsFluentBuilder::set_code_review_ids):<br>required: **true**<br><p>The list of code review identifiers to retrieve.</p><br>
7    ///   - [`agent_space_id(impl Into<String>)`](crate::operation::batch_get_code_reviews::builders::BatchGetCodeReviewsFluentBuilder::agent_space_id) / [`set_agent_space_id(Option<String>)`](crate::operation::batch_get_code_reviews::builders::BatchGetCodeReviewsFluentBuilder::set_agent_space_id):<br>required: **true**<br><p>The unique identifier of the agent space that contains the code reviews.</p><br>
8    /// - On success, responds with [`BatchGetCodeReviewsOutput`](crate::operation::batch_get_code_reviews::BatchGetCodeReviewsOutput) with field(s):
9    ///   - [`code_reviews(Option<Vec::<CodeReview>>)`](crate::operation::batch_get_code_reviews::BatchGetCodeReviewsOutput::code_reviews): <p>The list of code reviews that were found.</p>
10    ///   - [`not_found(Option<Vec::<String>>)`](crate::operation::batch_get_code_reviews::BatchGetCodeReviewsOutput::not_found): <p>The list of code review identifiers that were not found.</p>
11    /// - On failure, responds with [`SdkError<BatchGetCodeReviewsError>`](crate::operation::batch_get_code_reviews::BatchGetCodeReviewsError)
12    pub fn batch_get_code_reviews(&self) -> crate::operation::batch_get_code_reviews::builders::BatchGetCodeReviewsFluentBuilder {
13        crate::operation::batch_get_code_reviews::builders::BatchGetCodeReviewsFluentBuilder::new(self.handle.clone())
14    }
15}