aws_sdk_connect/client/
describe_prompt.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 [`DescribePrompt`](crate::operation::describe_prompt::builders::DescribePromptFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`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>
7    ///   - [`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>
8    /// - On success, responds with [`DescribePromptOutput`](crate::operation::describe_prompt::DescribePromptOutput) with field(s):
9    ///   - [`prompt(Option<Prompt>)`](crate::operation::describe_prompt::DescribePromptOutput::prompt): <p>Information about the prompt.</p>
10    /// - On failure, responds with [`SdkError<DescribePromptError>`](crate::operation::describe_prompt::DescribePromptError)
11    pub fn describe_prompt(&self) -> crate::operation::describe_prompt::builders::DescribePromptFluentBuilder {
12        crate::operation::describe_prompt::builders::DescribePromptFluentBuilder::new(self.handle.clone())
13    }
14}