aws_sdk_connect/client/get_prompt_file.rs
// 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):<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::get_prompt_file::builders::GetPromptFileFluentBuilder::prompt_id) / [`set_prompt_id(Option<String>)`](crate::operation::get_prompt_file::builders::GetPromptFileFluentBuilder::set_prompt_id):<br>required: **true**<br><p>A unique identifier for the prompt.</p><br>
/// - 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>
/// - [`last_modified_time(Option<DateTime>)`](crate::operation::get_prompt_file::GetPromptFileOutput::last_modified_time): <p>The timestamp when this resource was last modified.</p>
/// - [`last_modified_region(Option<String>)`](crate::operation::get_prompt_file::GetPromptFileOutput::last_modified_region): <p>The Amazon Web Services Region where this resource was last modified.</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())
}
}