1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdatePrompt`](crate::operation::update_prompt::builders::UpdatePromptFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`instance_id(impl Into<String>)`](crate::operation::update_prompt::builders::UpdatePromptFluentBuilder::instance_id) / [`set_instance_id(Option<String>)`](crate::operation::update_prompt::builders::UpdatePromptFluentBuilder::set_instance_id): <p>The identifier of the Amazon Connect instance. You can <a href="https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html">find the instance ID</a> in the Amazon Resource Name (ARN) of the instance.</p>
    ///   - [`prompt_id(impl Into<String>)`](crate::operation::update_prompt::builders::UpdatePromptFluentBuilder::prompt_id) / [`set_prompt_id(Option<String>)`](crate::operation::update_prompt::builders::UpdatePromptFluentBuilder::set_prompt_id): <p>A unique identifier for the prompt.</p>
    ///   - [`name(impl Into<String>)`](crate::operation::update_prompt::builders::UpdatePromptFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::update_prompt::builders::UpdatePromptFluentBuilder::set_name): <p>The name of the prompt.</p>
    ///   - [`description(impl Into<String>)`](crate::operation::update_prompt::builders::UpdatePromptFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::update_prompt::builders::UpdatePromptFluentBuilder::set_description): <p>A description of the prompt.</p>
    ///   - [`s3_uri(impl Into<String>)`](crate::operation::update_prompt::builders::UpdatePromptFluentBuilder::s3_uri) / [`set_s3_uri(Option<String>)`](crate::operation::update_prompt::builders::UpdatePromptFluentBuilder::set_s3_uri): <p>The URI for the S3 bucket where the prompt is stored.</p>
    /// - On success, responds with [`UpdatePromptOutput`](crate::operation::update_prompt::UpdatePromptOutput) with field(s):
    ///   - [`prompt_arn(Option<String>)`](crate::operation::update_prompt::UpdatePromptOutput::prompt_arn): <p>The Amazon Resource Name (ARN) of the prompt.</p>
    ///   - [`prompt_id(Option<String>)`](crate::operation::update_prompt::UpdatePromptOutput::prompt_id): <p>A unique identifier for the prompt.</p>
    /// - On failure, responds with [`SdkError<UpdatePromptError>`](crate::operation::update_prompt::UpdatePromptError)
    pub fn update_prompt(&self) -> crate::operation::update_prompt::builders::UpdatePromptFluentBuilder {
        crate::operation::update_prompt::builders::UpdatePromptFluentBuilder::new(self.handle.clone())
    }
}