1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DescribePrompt`](crate::operation::describe_prompt::builders::DescribePromptFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`instance_id(impl Into<String>)`](crate::operation::describe_prompt::builders::DescribePromptFluentBuilder::instance_id) / [`set_instance_id(Option<String>)`](crate::operation::describe_prompt::builders::DescribePromptFluentBuilder::set_instance_id):<br>required: **true**<br><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><br>
    ///   - [`prompt_id(impl Into<String>)`](crate::operation::describe_prompt::builders::DescribePromptFluentBuilder::prompt_id) / [`set_prompt_id(Option<String>)`](crate::operation::describe_prompt::builders::DescribePromptFluentBuilder::set_prompt_id):<br>required: **true**<br><p>A unique identifier for the prompt.</p><br>
    /// - On success, responds with [`DescribePromptOutput`](crate::operation::describe_prompt::DescribePromptOutput) with field(s):
    ///   - [`prompt(Option<Prompt>)`](crate::operation::describe_prompt::DescribePromptOutput::prompt): <p>Information about the prompt.</p>
    /// - On failure, responds with [`SdkError<DescribePromptError>`](crate::operation::describe_prompt::DescribePromptError)
    pub fn describe_prompt(&self) -> crate::operation::describe_prompt::builders::DescribePromptFluentBuilder {
        crate::operation::describe_prompt::builders::DescribePromptFluentBuilder::new(self.handle.clone())
    }
}