aws_sdk_qapps/client/create_q_app.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 [`CreateQApp`](crate::operation::create_q_app::builders::CreateQAppFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`instance_id(impl Into<String>)`](crate::operation::create_q_app::builders::CreateQAppFluentBuilder::instance_id) / [`set_instance_id(Option<String>)`](crate::operation::create_q_app::builders::CreateQAppFluentBuilder::set_instance_id):<br>required: **true**<br><p>The unique identifier of the Amazon Q Business application environment instance.</p><br>
7 /// - [`title(impl Into<String>)`](crate::operation::create_q_app::builders::CreateQAppFluentBuilder::title) / [`set_title(Option<String>)`](crate::operation::create_q_app::builders::CreateQAppFluentBuilder::set_title):<br>required: **true**<br><p>The title of the new Q App.</p><br>
8 /// - [`description(impl Into<String>)`](crate::operation::create_q_app::builders::CreateQAppFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::create_q_app::builders::CreateQAppFluentBuilder::set_description):<br>required: **false**<br><p>The description of the new Q App.</p><br>
9 /// - [`app_definition(AppDefinitionInput)`](crate::operation::create_q_app::builders::CreateQAppFluentBuilder::app_definition) / [`set_app_definition(Option<AppDefinitionInput>)`](crate::operation::create_q_app::builders::CreateQAppFluentBuilder::set_app_definition):<br>required: **true**<br><p>The definition of the new Q App, specifying the cards and flow.</p><br>
10 /// - [`tags(impl Into<String>, impl Into<String>)`](crate::operation::create_q_app::builders::CreateQAppFluentBuilder::tags) / [`set_tags(Option<HashMap::<String, String>>)`](crate::operation::create_q_app::builders::CreateQAppFluentBuilder::set_tags):<br>required: **false**<br><p>Optional tags to associate with the new Q App.</p><br>
11 /// - On success, responds with [`CreateQAppOutput`](crate::operation::create_q_app::CreateQAppOutput) with field(s):
12 /// - [`app_id(String)`](crate::operation::create_q_app::CreateQAppOutput::app_id): <p>The unique identifier of the new Q App.</p>
13 /// - [`app_arn(String)`](crate::operation::create_q_app::CreateQAppOutput::app_arn): <p>The Amazon Resource Name (ARN) of the new Q App.</p>
14 /// - [`title(String)`](crate::operation::create_q_app::CreateQAppOutput::title): <p>The title of the new Q App.</p>
15 /// - [`description(Option<String>)`](crate::operation::create_q_app::CreateQAppOutput::description): <p>The description of the new Q App.</p>
16 /// - [`initial_prompt(Option<String>)`](crate::operation::create_q_app::CreateQAppOutput::initial_prompt): <p>The initial prompt displayed when the Q App is started.</p>
17 /// - [`app_version(i32)`](crate::operation::create_q_app::CreateQAppOutput::app_version): <p>The version of the new Q App.</p>
18 /// - [`status(AppStatus)`](crate::operation::create_q_app::CreateQAppOutput::status): <p>The status of the new Q App, such as "Created".</p>
19 /// - [`created_at(DateTime)`](crate::operation::create_q_app::CreateQAppOutput::created_at): <p>The date and time the Q App was created.</p>
20 /// - [`created_by(String)`](crate::operation::create_q_app::CreateQAppOutput::created_by): <p>The user who created the Q App.</p>
21 /// - [`updated_at(DateTime)`](crate::operation::create_q_app::CreateQAppOutput::updated_at): <p>The date and time the Q App was last updated.</p>
22 /// - [`updated_by(String)`](crate::operation::create_q_app::CreateQAppOutput::updated_by): <p>The user who last updated the Q App.</p>
23 /// - [`required_capabilities(Option<Vec::<AppRequiredCapability>>)`](crate::operation::create_q_app::CreateQAppOutput::required_capabilities): <p>The capabilities required to run the Q App, such as file upload or third-party integrations.</p>
24 /// - On failure, responds with [`SdkError<CreateQAppError>`](crate::operation::create_q_app::CreateQAppError)
25 pub fn create_q_app(&self) -> crate::operation::create_q_app::builders::CreateQAppFluentBuilder {
26 crate::operation::create_q_app::builders::CreateQAppFluentBuilder::new(self.handle.clone())
27 }
28}