1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateQApp`](crate::operation::update_q_app::builders::UpdateQAppFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`instance_id(impl Into<String>)`](crate::operation::update_q_app::builders::UpdateQAppFluentBuilder::instance_id) / [`set_instance_id(Option<String>)`](crate::operation::update_q_app::builders::UpdateQAppFluentBuilder::set_instance_id):<br>required: **true**<br><p>The unique identifier of the Amazon Q Business application environment instance.</p><br>
    ///   - [`app_id(impl Into<String>)`](crate::operation::update_q_app::builders::UpdateQAppFluentBuilder::app_id) / [`set_app_id(Option<String>)`](crate::operation::update_q_app::builders::UpdateQAppFluentBuilder::set_app_id):<br>required: **true**<br><p>The unique identifier of the Q App to update.</p><br>
    ///   - [`title(impl Into<String>)`](crate::operation::update_q_app::builders::UpdateQAppFluentBuilder::title) / [`set_title(Option<String>)`](crate::operation::update_q_app::builders::UpdateQAppFluentBuilder::set_title):<br>required: **false**<br><p>The new title for the Q App.</p><br>
    ///   - [`description(impl Into<String>)`](crate::operation::update_q_app::builders::UpdateQAppFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::update_q_app::builders::UpdateQAppFluentBuilder::set_description):<br>required: **false**<br><p>The new description for the Q App.</p><br>
    ///   - [`app_definition(AppDefinitionInput)`](crate::operation::update_q_app::builders::UpdateQAppFluentBuilder::app_definition) / [`set_app_definition(Option<AppDefinitionInput>)`](crate::operation::update_q_app::builders::UpdateQAppFluentBuilder::set_app_definition):<br>required: **false**<br><p>The new definition specifying the cards and flow for the Q App.</p><br>
    /// - On success, responds with [`UpdateQAppOutput`](crate::operation::update_q_app::UpdateQAppOutput) with field(s):
    ///   - [`app_id(String)`](crate::operation::update_q_app::UpdateQAppOutput::app_id): <p>The unique identifier of the updated Q App.</p>
    ///   - [`app_arn(String)`](crate::operation::update_q_app::UpdateQAppOutput::app_arn): <p>The Amazon Resource Name (ARN) of the updated Q App.</p>
    ///   - [`title(String)`](crate::operation::update_q_app::UpdateQAppOutput::title): <p>The new title of the updated Q App.</p>
    ///   - [`description(Option<String>)`](crate::operation::update_q_app::UpdateQAppOutput::description): <p>The new description of the updated Q App.</p>
    ///   - [`initial_prompt(Option<String>)`](crate::operation::update_q_app::UpdateQAppOutput::initial_prompt): <p>The initial prompt for the updated Q App.</p>
    ///   - [`app_version(i32)`](crate::operation::update_q_app::UpdateQAppOutput::app_version): <p>The new version of the updated Q App.</p>
    ///   - [`status(AppStatus)`](crate::operation::update_q_app::UpdateQAppOutput::status): <p>The status of the updated Q App.</p>
    ///   - [`created_at(DateTime)`](crate::operation::update_q_app::UpdateQAppOutput::created_at): <p>The date and time the Q App was originally created.</p>
    ///   - [`created_by(String)`](crate::operation::update_q_app::UpdateQAppOutput::created_by): <p>The user who originally created the Q App.</p>
    ///   - [`updated_at(DateTime)`](crate::operation::update_q_app::UpdateQAppOutput::updated_at): <p>The date and time the Q App was last updated.</p>
    ///   - [`updated_by(String)`](crate::operation::update_q_app::UpdateQAppOutput::updated_by): <p>The user who last updated the Q App.</p>
    ///   - [`required_capabilities(Option<Vec::<AppRequiredCapability>>)`](crate::operation::update_q_app::UpdateQAppOutput::required_capabilities): <p>The capabilities required for the updated Q App.</p>
    /// - On failure, responds with [`SdkError<UpdateQAppError>`](crate::operation::update_q_app::UpdateQAppError)
    pub fn update_q_app(&self) -> crate::operation::update_q_app::builders::UpdateQAppFluentBuilder {
        crate::operation::update_q_app::builders::UpdateQAppFluentBuilder::new(self.handle.clone())
    }
}