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 [`GetPromptFile`](crate::operation::get_prompt_file::builders::GetPromptFileFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`instance_id(impl Into<String>)`](crate::operation::get_prompt_file::builders::GetPromptFileFluentBuilder::instance_id) / [`set_instance_id(Option<String>)`](crate::operation::get_prompt_file::builders::GetPromptFileFluentBuilder::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::get_prompt_file::builders::GetPromptFileFluentBuilder::prompt_id) / [`set_prompt_id(Option<String>)`](crate::operation::get_prompt_file::builders::GetPromptFileFluentBuilder::set_prompt_id): <p>A unique identifier for the prompt.</p>
    /// - On success, responds with [`GetPromptFileOutput`](crate::operation::get_prompt_file::GetPromptFileOutput) with field(s):
    ///   - [`prompt_presigned_url(Option<String>)`](crate::operation::get_prompt_file::GetPromptFileOutput::prompt_presigned_url): <p>A generated URL to the prompt that can be given to an unauthorized user so they can access the prompt in S3.</p>
    /// - On failure, responds with [`SdkError<GetPromptFileError>`](crate::operation::get_prompt_file::GetPromptFileError)
    pub fn get_prompt_file(&self) -> crate::operation::get_prompt_file::builders::GetPromptFileFluentBuilder {
        crate::operation::get_prompt_file::builders::GetPromptFileFluentBuilder::new(self.handle.clone())
    }
}