1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`MergeBranchesByFastForward`](crate::operation::merge_branches_by_fast_forward::builders::MergeBranchesByFastForwardFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`repository_name(impl Into<String>)`](crate::operation::merge_branches_by_fast_forward::builders::MergeBranchesByFastForwardFluentBuilder::repository_name) / [`set_repository_name(Option<String>)`](crate::operation::merge_branches_by_fast_forward::builders::MergeBranchesByFastForwardFluentBuilder::set_repository_name):<br>required: **true**<br><p>The name of the repository where you want to merge two branches.</p><br>
    ///   - [`source_commit_specifier(impl Into<String>)`](crate::operation::merge_branches_by_fast_forward::builders::MergeBranchesByFastForwardFluentBuilder::source_commit_specifier) / [`set_source_commit_specifier(Option<String>)`](crate::operation::merge_branches_by_fast_forward::builders::MergeBranchesByFastForwardFluentBuilder::set_source_commit_specifier):<br>required: **true**<br><p>The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID).</p><br>
    ///   - [`destination_commit_specifier(impl Into<String>)`](crate::operation::merge_branches_by_fast_forward::builders::MergeBranchesByFastForwardFluentBuilder::destination_commit_specifier) / [`set_destination_commit_specifier(Option<String>)`](crate::operation::merge_branches_by_fast_forward::builders::MergeBranchesByFastForwardFluentBuilder::set_destination_commit_specifier):<br>required: **true**<br><p>The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID).</p><br>
    ///   - [`target_branch(impl Into<String>)`](crate::operation::merge_branches_by_fast_forward::builders::MergeBranchesByFastForwardFluentBuilder::target_branch) / [`set_target_branch(Option<String>)`](crate::operation::merge_branches_by_fast_forward::builders::MergeBranchesByFastForwardFluentBuilder::set_target_branch):<br>required: **false**<br><p>The branch where the merge is applied.</p><br>
    /// - On success, responds with [`MergeBranchesByFastForwardOutput`](crate::operation::merge_branches_by_fast_forward::MergeBranchesByFastForwardOutput) with field(s):
    ///   - [`commit_id(Option<String>)`](crate::operation::merge_branches_by_fast_forward::MergeBranchesByFastForwardOutput::commit_id): <p>The commit ID of the merge in the destination or target branch.</p>
    ///   - [`tree_id(Option<String>)`](crate::operation::merge_branches_by_fast_forward::MergeBranchesByFastForwardOutput::tree_id): <p>The tree ID of the merge in the destination or target branch.</p>
    /// - On failure, responds with [`SdkError<MergeBranchesByFastForwardError>`](crate::operation::merge_branches_by_fast_forward::MergeBranchesByFastForwardError)
    pub fn merge_branches_by_fast_forward(
        &self,
    ) -> crate::operation::merge_branches_by_fast_forward::builders::MergeBranchesByFastForwardFluentBuilder {
        crate::operation::merge_branches_by_fast_forward::builders::MergeBranchesByFastForwardFluentBuilder::new(self.handle.clone())
    }
}