aws-sdk-amplifygen3 1.0.0

AWS SDK for AWS Amplify Gen 3
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ListBranches`](crate::operation::list_branches::builders::ListBranchesFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_branches::builders::ListBranchesFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`app_name(impl Into<String>)`](crate::operation::list_branches::builders::ListBranchesFluentBuilder::app_name) / [`set_app_name(Option<String>)`](crate::operation::list_branches::builders::ListBranchesFluentBuilder::set_app_name):<br>required: **true**<br><p>The name of the app.</p><br>
    ///   - [`environment_name(impl Into<String>)`](crate::operation::list_branches::builders::ListBranchesFluentBuilder::environment_name) / [`set_environment_name(Option<String>)`](crate::operation::list_branches::builders::ListBranchesFluentBuilder::set_environment_name):<br>required: **true**<br><p>The name of the environment.</p><br>
    ///   - [`next_token(impl Into<String>)`](crate::operation::list_branches::builders::ListBranchesFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_branches::builders::ListBranchesFluentBuilder::set_next_token):<br>required: **false**<br><p>The pagination token returned in a previous response, used to retrieve the next page of results.</p><br>
    ///   - [`max_results(i32)`](crate::operation::list_branches::builders::ListBranchesFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_branches::builders::ListBranchesFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of results to return in a single response.</p><br>
    /// - On success, responds with [`ListBranchesOutput`](crate::operation::list_branches::ListBranchesOutput) with field(s):
    ///   - [`branches(Vec::<BranchSummary>)`](crate::operation::list_branches::ListBranchesOutput::branches): <p>The branches for the environment.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::list_branches::ListBranchesOutput::next_token): <p>The pagination token to use to retrieve the next page of results. This value is null when there are no more results to return.</p>
    /// - On failure, responds with [`SdkError<ListBranchesError>`](crate::operation::list_branches::ListBranchesError)
    pub fn list_branches(&self) -> crate::operation::list_branches::builders::ListBranchesFluentBuilder {
        crate::operation::list_branches::builders::ListBranchesFluentBuilder::new(self.handle.clone())
    }
}