aws-sdk-quicksight 1.136.0

AWS SDK for Amazon QuickSight
Documentation
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`CreateAgent`](crate::operation::create_agent::builders::CreateAgentFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`spaces(impl Into<String>)`](crate::operation::create_agent::builders::CreateAgentFluentBuilder::spaces) / [`set_spaces(Option<Vec::<String>>)`](crate::operation::create_agent::builders::CreateAgentFluentBuilder::set_spaces):<br>required: **false**<br><p>The Amazon Resource Names (ARNs) of the spaces to attach to the agent.</p><br>
    ///   - [`action_connectors(impl Into<String>)`](crate::operation::create_agent::builders::CreateAgentFluentBuilder::action_connectors) / [`set_action_connectors(Option<Vec::<String>>)`](crate::operation::create_agent::builders::CreateAgentFluentBuilder::set_action_connectors):<br>required: **false**<br><p>The Amazon Resource Names (ARNs) of the action connectors to attach to the agent.</p><br>
    ///   - [`aws_account_id(impl Into<String>)`](crate::operation::create_agent::builders::CreateAgentFluentBuilder::aws_account_id) / [`set_aws_account_id(Option<String>)`](crate::operation::create_agent::builders::CreateAgentFluentBuilder::set_aws_account_id):<br>required: **true**<br><p>The ID of the Amazon Web Services account that contains the agent.</p><br>
    ///   - [`agent_id(impl Into<String>)`](crate::operation::create_agent::builders::CreateAgentFluentBuilder::agent_id) / [`set_agent_id(Option<String>)`](crate::operation::create_agent::builders::CreateAgentFluentBuilder::set_agent_id):<br>required: **true**<br><p>A unique identifier for the agent.</p><br>
    ///   - [`name(impl Into<String>)`](crate::operation::create_agent::builders::CreateAgentFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::create_agent::builders::CreateAgentFluentBuilder::set_name):<br>required: **true**<br><p>The name of the agent.</p><br>
    ///   - [`description(impl Into<String>)`](crate::operation::create_agent::builders::CreateAgentFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::create_agent::builders::CreateAgentFluentBuilder::set_description):<br>required: **false**<br><p>A description of the agent.</p><br>
    ///   - [`icon_id(impl Into<String>)`](crate::operation::create_agent::builders::CreateAgentFluentBuilder::icon_id) / [`set_icon_id(Option<String>)`](crate::operation::create_agent::builders::CreateAgentFluentBuilder::set_icon_id):<br>required: **false**<br><p>The icon identifier for the agent.</p><br>
    ///   - [`starter_prompts(impl Into<String>)`](crate::operation::create_agent::builders::CreateAgentFluentBuilder::starter_prompts) / [`set_starter_prompts(Option<Vec::<String>>)`](crate::operation::create_agent::builders::CreateAgentFluentBuilder::set_starter_prompts):<br>required: **false**<br><p>A list of starter prompts that are displayed to users when they begin interacting with the agent.</p><br>
    ///   - [`welcome_message(impl Into<String>)`](crate::operation::create_agent::builders::CreateAgentFluentBuilder::welcome_message) / [`set_welcome_message(Option<String>)`](crate::operation::create_agent::builders::CreateAgentFluentBuilder::set_welcome_message):<br>required: **false**<br><p>The welcome message that is displayed when a user starts a conversation with the agent.</p><br>
    ///   - [`agent_lifecycle(AgentLifecycle)`](crate::operation::create_agent::builders::CreateAgentFluentBuilder::agent_lifecycle) / [`set_agent_lifecycle(Option<AgentLifecycle>)`](crate::operation::create_agent::builders::CreateAgentFluentBuilder::set_agent_lifecycle):<br>required: **false**<br><p>The lifecycle state of the agent. Valid values are <code>PREVIEW</code> and <code>PUBLISHED</code>.</p><br>
    ///   - [`custom_prompt_input(CustomPromptInput)`](crate::operation::create_agent::builders::CreateAgentFluentBuilder::custom_prompt_input) / [`set_custom_prompt_input(Option<CustomPromptInput>)`](crate::operation::create_agent::builders::CreateAgentFluentBuilder::set_custom_prompt_input):<br>required: **false**<br><p>The custom prompt configuration for the agent.</p><br>
    /// - On success, responds with [`CreateAgentOutput`](crate::operation::create_agent::CreateAgentOutput) with field(s):
    ///   - [`arn(String)`](crate::operation::create_agent::CreateAgentOutput::arn): <p>The Amazon Resource Name (ARN) of the agent.</p>
    ///   - [`agent_id(String)`](crate::operation::create_agent::CreateAgentOutput::agent_id): <p>The unique identifier for the agent.</p>
    ///   - [`agent_status(AgentStatus)`](crate::operation::create_agent::CreateAgentOutput::agent_status): <p>The status of the agent.</p>
    ///   - [`agent_name(String)`](crate::operation::create_agent::CreateAgentOutput::agent_name): <p>The name of the agent.</p>
    ///   - [`request_id(Option<String>)`](crate::operation::create_agent::CreateAgentOutput::request_id): <p>The Amazon Web Services request ID for this operation.</p>
    /// - On failure, responds with [`SdkError<CreateAgentError>`](crate::operation::create_agent::CreateAgentError)
    pub fn create_agent(&self) -> crate::operation::create_agent::builders::CreateAgentFluentBuilder {
        crate::operation::create_agent::builders::CreateAgentFluentBuilder::new(self.handle.clone())
    }
}