aws_sdk_codecommit/client/update_pull_request_title.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 [`UpdatePullRequestTitle`](crate::operation::update_pull_request_title::builders::UpdatePullRequestTitleFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`pull_request_id(impl Into<String>)`](crate::operation::update_pull_request_title::builders::UpdatePullRequestTitleFluentBuilder::pull_request_id) / [`set_pull_request_id(Option<String>)`](crate::operation::update_pull_request_title::builders::UpdatePullRequestTitleFluentBuilder::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 /// - [`title(impl Into<String>)`](crate::operation::update_pull_request_title::builders::UpdatePullRequestTitleFluentBuilder::title) / [`set_title(Option<String>)`](crate::operation::update_pull_request_title::builders::UpdatePullRequestTitleFluentBuilder::set_title):<br>required: **true**<br><p>The updated title of the pull request. This replaces the existing title.</p><br>
8 /// - On success, responds with [`UpdatePullRequestTitleOutput`](crate::operation::update_pull_request_title::UpdatePullRequestTitleOutput) with field(s):
9 /// - [`pull_request(Option<PullRequest>)`](crate::operation::update_pull_request_title::UpdatePullRequestTitleOutput::pull_request): <p>Information about the updated pull request.</p>
10 /// - On failure, responds with [`SdkError<UpdatePullRequestTitleError>`](crate::operation::update_pull_request_title::UpdatePullRequestTitleError)
11 pub fn update_pull_request_title(&self) -> crate::operation::update_pull_request_title::builders::UpdatePullRequestTitleFluentBuilder {
12 crate::operation::update_pull_request_title::builders::UpdatePullRequestTitleFluentBuilder::new(self.handle.clone())
13 }
14}