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 [`UpdateTopic`](crate::operation::update_topic::builders::UpdateTopicFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`aws_account_id(impl Into<String>)`](crate::operation::update_topic::builders::UpdateTopicFluentBuilder::aws_account_id) / [`set_aws_account_id(Option<String>)`](crate::operation::update_topic::builders::UpdateTopicFluentBuilder::set_aws_account_id):<br>required: **true**<br><p>The ID of the Amazon Web Services account that contains the topic that you want to update.</p><br>
    ///   - [`topic_id(impl Into<String>)`](crate::operation::update_topic::builders::UpdateTopicFluentBuilder::topic_id) / [`set_topic_id(Option<String>)`](crate::operation::update_topic::builders::UpdateTopicFluentBuilder::set_topic_id):<br>required: **true**<br><p>The ID of the topic that you want to modify. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.</p><br>
    ///   - [`topic(TopicDetails)`](crate::operation::update_topic::builders::UpdateTopicFluentBuilder::topic) / [`set_topic(Option<TopicDetails>)`](crate::operation::update_topic::builders::UpdateTopicFluentBuilder::set_topic):<br>required: **true**<br><p>The definition of the topic that you want to update.</p><br>
    /// - On success, responds with [`UpdateTopicOutput`](crate::operation::update_topic::UpdateTopicOutput) with field(s):
    ///   - [`topic_id(Option<String>)`](crate::operation::update_topic::UpdateTopicOutput::topic_id): <p>The ID of the topic that you want to modify. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.</p>
    ///   - [`arn(Option<String>)`](crate::operation::update_topic::UpdateTopicOutput::arn): <p>The Amazon Resource Name (ARN) of the topic.</p>
    ///   - [`refresh_arn(Option<String>)`](crate::operation::update_topic::UpdateTopicOutput::refresh_arn): <p>The Amazon Resource Name (ARN) of the topic refresh.</p>
    ///   - [`request_id(Option<String>)`](crate::operation::update_topic::UpdateTopicOutput::request_id): <p>The Amazon Web Services request ID for this operation.</p>
    ///   - [`status(i32)`](crate::operation::update_topic::UpdateTopicOutput::status): <p>The HTTP status of the request.</p>
    /// - On failure, responds with [`SdkError<UpdateTopicError>`](crate::operation::update_topic::UpdateTopicError)
    pub fn update_topic(&self) -> crate::operation::update_topic::builders::UpdateTopicFluentBuilder {
        crate::operation::update_topic::builders::UpdateTopicFluentBuilder::new(self.handle.clone())
    }
}