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