aws_sdk_wisdom/client/
get_quick_response.rs

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 [`GetQuickResponse`](crate::operation::get_quick_response::builders::GetQuickResponseFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`quick_response_id(impl Into<String>)`](crate::operation::get_quick_response::builders::GetQuickResponseFluentBuilder::quick_response_id) / [`set_quick_response_id(Option<String>)`](crate::operation::get_quick_response::builders::GetQuickResponseFluentBuilder::set_quick_response_id):<br>required: **true**<br><p>The identifier of the quick response.</p><br>
    ///   - [`knowledge_base_id(impl Into<String>)`](crate::operation::get_quick_response::builders::GetQuickResponseFluentBuilder::knowledge_base_id) / [`set_knowledge_base_id(Option<String>)`](crate::operation::get_quick_response::builders::GetQuickResponseFluentBuilder::set_knowledge_base_id):<br>required: **true**<br><p>The identifier of the knowledge base. This should be a QUICK_RESPONSES type knowledge base.</p><br>
    /// - On success, responds with [`GetQuickResponseOutput`](crate::operation::get_quick_response::GetQuickResponseOutput) with field(s):
    ///   - [`quick_response(Option<QuickResponseData>)`](crate::operation::get_quick_response::GetQuickResponseOutput::quick_response): <p>The quick response.</p>
    /// - On failure, responds with [`SdkError<GetQuickResponseError>`](crate::operation::get_quick_response::GetQuickResponseError)
    pub fn get_quick_response(&self) -> crate::operation::get_quick_response::builders::GetQuickResponseFluentBuilder {
        crate::operation::get_quick_response::builders::GetQuickResponseFluentBuilder::new(self.handle.clone())
    }
}