aws_sdk_codebuild/client/batch_get_projects.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 [`BatchGetProjects`](crate::operation::batch_get_projects::builders::BatchGetProjectsFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`names(impl Into<String>)`](crate::operation::batch_get_projects::builders::BatchGetProjectsFluentBuilder::names) / [`set_names(Option<Vec::<String>>)`](crate::operation::batch_get_projects::builders::BatchGetProjectsFluentBuilder::set_names):<br>required: **true**<br><p>The names or ARNs of the build projects. To get information about a project shared with your Amazon Web Services account, its ARN must be specified. You cannot specify a shared project using its name.</p><br>
7 /// - On success, responds with [`BatchGetProjectsOutput`](crate::operation::batch_get_projects::BatchGetProjectsOutput) with field(s):
8 /// - [`projects(Option<Vec::<Project>>)`](crate::operation::batch_get_projects::BatchGetProjectsOutput::projects): <p>Information about the requested build projects.</p>
9 /// - [`projects_not_found(Option<Vec::<String>>)`](crate::operation::batch_get_projects::BatchGetProjectsOutput::projects_not_found): <p>The names of build projects for which information could not be found.</p>
10 /// - On failure, responds with [`SdkError<BatchGetProjectsError>`](crate::operation::batch_get_projects::BatchGetProjectsError)
11 pub fn batch_get_projects(&self) -> crate::operation::batch_get_projects::builders::BatchGetProjectsFluentBuilder {
12 crate::operation::batch_get_projects::builders::BatchGetProjectsFluentBuilder::new(self.handle.clone())
13 }
14}