1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`MergePullRequestByFastForward`](crate::operation::merge_pull_request_by_fast_forward::builders::MergePullRequestByFastForwardFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`pull_request_id(impl Into<String>)`](crate::operation::merge_pull_request_by_fast_forward::builders::MergePullRequestByFastForwardFluentBuilder::pull_request_id) / [`set_pull_request_id(Option<String>)`](crate::operation::merge_pull_request_by_fast_forward::builders::MergePullRequestByFastForwardFluentBuilder::set_pull_request_id):<br>required: **true**<br><p>The system-generated ID of the pull request. To get this ID, use <code>ListPullRequests</code>.</p><br>
    ///   - [`repository_name(impl Into<String>)`](crate::operation::merge_pull_request_by_fast_forward::builders::MergePullRequestByFastForwardFluentBuilder::repository_name) / [`set_repository_name(Option<String>)`](crate::operation::merge_pull_request_by_fast_forward::builders::MergePullRequestByFastForwardFluentBuilder::set_repository_name):<br>required: **true**<br><p>The name of the repository where the pull request was created.</p><br>
    ///   - [`source_commit_id(impl Into<String>)`](crate::operation::merge_pull_request_by_fast_forward::builders::MergePullRequestByFastForwardFluentBuilder::source_commit_id) / [`set_source_commit_id(Option<String>)`](crate::operation::merge_pull_request_by_fast_forward::builders::MergePullRequestByFastForwardFluentBuilder::set_source_commit_id):<br>required: **false**<br><p>The full commit ID of the original or updated commit in the pull request source branch. Pass this value if you want an exception thrown if the current commit ID of the tip of the source branch does not match this commit ID.</p><br>
    /// - On success, responds with [`MergePullRequestByFastForwardOutput`](crate::operation::merge_pull_request_by_fast_forward::MergePullRequestByFastForwardOutput) with field(s):
    ///   - [`pull_request(Option<PullRequest>)`](crate::operation::merge_pull_request_by_fast_forward::MergePullRequestByFastForwardOutput::pull_request): <p>Information about the specified pull request, including the merge.</p>
    /// - On failure, responds with [`SdkError<MergePullRequestByFastForwardError>`](crate::operation::merge_pull_request_by_fast_forward::MergePullRequestByFastForwardError)
    pub fn merge_pull_request_by_fast_forward(
        &self,
    ) -> crate::operation::merge_pull_request_by_fast_forward::builders::MergePullRequestByFastForwardFluentBuilder {
        crate::operation::merge_pull_request_by_fast_forward::builders::MergePullRequestByFastForwardFluentBuilder::new(self.handle.clone())
    }
}