aws-sdk-quicksight 1.145.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 [`UpdateAgent`](crate::operation::update_agent::builders::UpdateAgentFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`agent_id(impl Into<String>)`](crate::operation::update_agent::builders::UpdateAgentFluentBuilder::agent_id) / [`set_agent_id(Option<String>)`](crate::operation::update_agent::builders::UpdateAgentFluentBuilder::set_agent_id):<br>required: **true**<br><p>The unique identifier for the agent to update.</p><br>
    ///   - [`aws_account_id(impl Into<String>)`](crate::operation::update_agent::builders::UpdateAgentFluentBuilder::aws_account_id) / [`set_aws_account_id(Option<String>)`](crate::operation::update_agent::builders::UpdateAgentFluentBuilder::set_aws_account_id):<br>required: **true**<br><p>The ID of the Amazon Web Services account that contains the agent.</p><br>
    ///   - [`name(impl Into<String>)`](crate::operation::update_agent::builders::UpdateAgentFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::update_agent::builders::UpdateAgentFluentBuilder::set_name):<br>required: **true**<br><p>The name of the agent.</p><br>
    ///   - [`description(impl Into<String>)`](crate::operation::update_agent::builders::UpdateAgentFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::update_agent::builders::UpdateAgentFluentBuilder::set_description):<br>required: **false**<br><p>A description of the agent.</p><br>
    ///   - [`icon_id(impl Into<String>)`](crate::operation::update_agent::builders::UpdateAgentFluentBuilder::icon_id) / [`set_icon_id(Option<String>)`](crate::operation::update_agent::builders::UpdateAgentFluentBuilder::set_icon_id):<br>required: **false**<br><p>The icon identifier for the agent.</p><br>
    ///   - [`starter_prompts(impl Into<String>)`](crate::operation::update_agent::builders::UpdateAgentFluentBuilder::starter_prompts) / [`set_starter_prompts(Option<Vec::<String>>)`](crate::operation::update_agent::builders::UpdateAgentFluentBuilder::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::update_agent::builders::UpdateAgentFluentBuilder::welcome_message) / [`set_welcome_message(Option<String>)`](crate::operation::update_agent::builders::UpdateAgentFluentBuilder::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>
    ///   - [`custom_prompt_input(CustomPromptInput)`](crate::operation::update_agent::builders::UpdateAgentFluentBuilder::custom_prompt_input) / [`set_custom_prompt_input(Option<CustomPromptInput>)`](crate::operation::update_agent::builders::UpdateAgentFluentBuilder::set_custom_prompt_input):<br>required: **false**<br><p>The custom prompt configuration for the agent.</p><br>
    ///   - [`spaces_to_add(impl Into<String>)`](crate::operation::update_agent::builders::UpdateAgentFluentBuilder::spaces_to_add) / [`set_spaces_to_add(Option<Vec::<String>>)`](crate::operation::update_agent::builders::UpdateAgentFluentBuilder::set_spaces_to_add):<br>required: **false**<br><p>The Amazon Resource Names (ARNs) of the spaces to attach to the agent.</p><br>
    ///   - [`spaces_to_remove(impl Into<String>)`](crate::operation::update_agent::builders::UpdateAgentFluentBuilder::spaces_to_remove) / [`set_spaces_to_remove(Option<Vec::<String>>)`](crate::operation::update_agent::builders::UpdateAgentFluentBuilder::set_spaces_to_remove):<br>required: **false**<br><p>The Amazon Resource Names (ARNs) of the spaces to detach from the agent.</p><br>
    ///   - [`action_connectors_to_add(impl Into<String>)`](crate::operation::update_agent::builders::UpdateAgentFluentBuilder::action_connectors_to_add) / [`set_action_connectors_to_add(Option<Vec::<String>>)`](crate::operation::update_agent::builders::UpdateAgentFluentBuilder::set_action_connectors_to_add):<br>required: **false**<br><p>The Amazon Resource Names (ARNs) of the action connectors to attach to the agent.</p><br>
    ///   - [`action_connectors_to_remove(impl Into<String>)`](crate::operation::update_agent::builders::UpdateAgentFluentBuilder::action_connectors_to_remove) / [`set_action_connectors_to_remove(Option<Vec::<String>>)`](crate::operation::update_agent::builders::UpdateAgentFluentBuilder::set_action_connectors_to_remove):<br>required: **false**<br><p>The Amazon Resource Names (ARNs) of the action connectors to detach from the agent.</p><br>
    /// - On success, responds with [`UpdateAgentOutput`](crate::operation::update_agent::UpdateAgentOutput) with field(s):
    ///   - [`arn(String)`](crate::operation::update_agent::UpdateAgentOutput::arn): <p>The Amazon Resource Name (ARN) of the agent.</p>
    ///   - [`agent_id(String)`](crate::operation::update_agent::UpdateAgentOutput::agent_id): <p>The unique identifier for the agent.</p>
    ///   - [`agent_status(AgentStatus)`](crate::operation::update_agent::UpdateAgentOutput::agent_status): <p>The status of the agent.</p>
    ///   - [`failed_to_add_spaces(Option<Vec::<FailedToUpdateAssociation>>)`](crate::operation::update_agent::UpdateAgentOutput::failed_to_add_spaces): <p>A list of per-ARN failures from the spaces that were requested to be added.</p>
    ///   - [`failed_to_remove_spaces(Option<Vec::<FailedToUpdateAssociation>>)`](crate::operation::update_agent::UpdateAgentOutput::failed_to_remove_spaces): <p>A list of per-ARN failures from the spaces that were requested to be removed.</p>
    ///   - [`failed_to_add_action_connectors(Option<Vec::<FailedToUpdateAssociation>>)`](crate::operation::update_agent::UpdateAgentOutput::failed_to_add_action_connectors): <p>A list of per-ARN failures from the action connectors that were requested to be added.</p>
    ///   - [`failed_to_remove_action_connectors(Option<Vec::<FailedToUpdateAssociation>>)`](crate::operation::update_agent::UpdateAgentOutput::failed_to_remove_action_connectors): <p>A list of per-ARN failures from the action connectors that were requested to be removed.</p>
    ///   - [`request_id(Option<String>)`](crate::operation::update_agent::UpdateAgentOutput::request_id): <p>The Amazon Web Services request ID for this operation.</p>
    /// - On failure, responds with [`SdkError<UpdateAgentError>`](crate::operation::update_agent::UpdateAgentError)
    pub fn update_agent(&self) -> crate::operation::update_agent::builders::UpdateAgentFluentBuilder {
        crate::operation::update_agent::builders::UpdateAgentFluentBuilder::new(self.handle.clone())
    }
}