1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ListSourceRepositoryBranches`](crate::operation::list_source_repository_branches::builders::ListSourceRepositoryBranchesFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_source_repository_branches::builders::ListSourceRepositoryBranchesFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`space_name(impl Into<String>)`](crate::operation::list_source_repository_branches::builders::ListSourceRepositoryBranchesFluentBuilder::space_name) / [`set_space_name(Option<String>)`](crate::operation::list_source_repository_branches::builders::ListSourceRepositoryBranchesFluentBuilder::set_space_name):<br>required: **true**<br><p>The name of the space.</p><br>
    ///   - [`project_name(impl Into<String>)`](crate::operation::list_source_repository_branches::builders::ListSourceRepositoryBranchesFluentBuilder::project_name) / [`set_project_name(Option<String>)`](crate::operation::list_source_repository_branches::builders::ListSourceRepositoryBranchesFluentBuilder::set_project_name):<br>required: **true**<br><p>The name of the project in the space.</p><br>
    ///   - [`source_repository_name(impl Into<String>)`](crate::operation::list_source_repository_branches::builders::ListSourceRepositoryBranchesFluentBuilder::source_repository_name) / [`set_source_repository_name(Option<String>)`](crate::operation::list_source_repository_branches::builders::ListSourceRepositoryBranchesFluentBuilder::set_source_repository_name):<br>required: **true**<br><p>The name of the source repository.</p><br>
    ///   - [`next_token(impl Into<String>)`](crate::operation::list_source_repository_branches::builders::ListSourceRepositoryBranchesFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_source_repository_branches::builders::ListSourceRepositoryBranchesFluentBuilder::set_next_token):<br>required: **false**<br><p>A token returned from a call to this API to indicate the next batch of results to return, if any.</p><br>
    ///   - [`max_results(i32)`](crate::operation::list_source_repository_branches::builders::ListSourceRepositoryBranchesFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_source_repository_branches::builders::ListSourceRepositoryBranchesFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of results to show in a single call to this API. If the number of results is larger than the number you specified, the response will include a <code>NextToken</code> element, which you can use to obtain additional results.</p><br>
    /// - On success, responds with [`ListSourceRepositoryBranchesOutput`](crate::operation::list_source_repository_branches::ListSourceRepositoryBranchesOutput) with field(s):
    ///   - [`next_token(Option<String>)`](crate::operation::list_source_repository_branches::ListSourceRepositoryBranchesOutput::next_token): <p>A token returned from a call to this API to indicate the next batch of results to return, if any.</p>
    ///   - [`items(Vec::<ListSourceRepositoryBranchesItem>)`](crate::operation::list_source_repository_branches::ListSourceRepositoryBranchesOutput::items): <p>Information about the source branches.</p>
    /// - On failure, responds with [`SdkError<ListSourceRepositoryBranchesError>`](crate::operation::list_source_repository_branches::ListSourceRepositoryBranchesError)
    pub fn list_source_repository_branches(
        &self,
    ) -> crate::operation::list_source_repository_branches::builders::ListSourceRepositoryBranchesFluentBuilder {
        crate::operation::list_source_repository_branches::builders::ListSourceRepositoryBranchesFluentBuilder::new(self.handle.clone())
    }
}