1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdatePullRequestDescription`](crate::operation::update_pull_request_description::builders::UpdatePullRequestDescriptionFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`pull_request_id(impl Into<String>)`](crate::operation::update_pull_request_description::builders::UpdatePullRequestDescriptionFluentBuilder::pull_request_id) / [`set_pull_request_id(Option<String>)`](crate::operation::update_pull_request_description::builders::UpdatePullRequestDescriptionFluentBuilder::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>
    ///   - [`description(impl Into<String>)`](crate::operation::update_pull_request_description::builders::UpdatePullRequestDescriptionFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::update_pull_request_description::builders::UpdatePullRequestDescriptionFluentBuilder::set_description):<br>required: **true**<br><p>The updated content of the description for the pull request. This content replaces the existing description.</p><br>
    /// - On success, responds with [`UpdatePullRequestDescriptionOutput`](crate::operation::update_pull_request_description::UpdatePullRequestDescriptionOutput) with field(s):
    ///   - [`pull_request(Option<PullRequest>)`](crate::operation::update_pull_request_description::UpdatePullRequestDescriptionOutput::pull_request): <p>Information about the updated pull request.</p>
    /// - On failure, responds with [`SdkError<UpdatePullRequestDescriptionError>`](crate::operation::update_pull_request_description::UpdatePullRequestDescriptionError)
    pub fn update_pull_request_description(
        &self,
    ) -> crate::operation::update_pull_request_description::builders::UpdatePullRequestDescriptionFluentBuilder {
        crate::operation::update_pull_request_description::builders::UpdatePullRequestDescriptionFluentBuilder::new(self.handle.clone())
    }
}