// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`BatchGetCommits`](crate::operation::batch_get_commits::builders::BatchGetCommitsFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`commit_ids(impl Into<String>)`](crate::operation::batch_get_commits::builders::BatchGetCommitsFluentBuilder::commit_ids) / [`set_commit_ids(Option<Vec::<String>>)`](crate::operation::batch_get_commits::builders::BatchGetCommitsFluentBuilder::set_commit_ids):<br>required: **true**<br><p>The full commit IDs of the commits to get information about.</p><note> <p>You must supply the full SHA IDs of each commit. You cannot use shortened SHA IDs.</p> </note><br>
/// - [`repository_name(impl Into<String>)`](crate::operation::batch_get_commits::builders::BatchGetCommitsFluentBuilder::repository_name) / [`set_repository_name(Option<String>)`](crate::operation::batch_get_commits::builders::BatchGetCommitsFluentBuilder::set_repository_name):<br>required: **true**<br><p>The name of the repository that contains the commits.</p><br>
/// - On success, responds with [`BatchGetCommitsOutput`](crate::operation::batch_get_commits::BatchGetCommitsOutput) with field(s):
/// - [`commits(Option<Vec::<Commit>>)`](crate::operation::batch_get_commits::BatchGetCommitsOutput::commits): <p>An array of commit data type objects, each of which contains information about a specified commit.</p>
/// - [`errors(Option<Vec::<BatchGetCommitsError>>)`](crate::operation::batch_get_commits::BatchGetCommitsOutput::errors): <p>Returns any commit IDs for which information could not be found. For example, if one of the commit IDs was a shortened SHA ID or that commit was not found in the specified repository, the ID returns an error object with more information.</p>
/// - On failure, responds with [`SdkError<BatchGetCommitsError>`](crate::operation::batch_get_commits::BatchGetCommitsError)
pub fn batch_get_commits(&self) -> crate::operation::batch_get_commits::builders::BatchGetCommitsFluentBuilder {
crate::operation::batch_get_commits::builders::BatchGetCommitsFluentBuilder::new(self.handle.clone())
}
}