aws-sdk-qconnect 1.109.0

AWS SDK for Amazon Q Connect
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`Retrieve`](crate::operation::retrieve::builders::RetrieveFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`assistant_id(impl Into<String>)`](crate::operation::retrieve::builders::RetrieveFluentBuilder::assistant_id) / [`set_assistant_id(Option<String>)`](crate::operation::retrieve::builders::RetrieveFluentBuilder::set_assistant_id):<br>required: **true**<br><p>The identifier of the Amazon Q in Connect assistant for content retrieval.</p><br>
    ///   - [`retrieval_configuration(RetrievalConfiguration)`](crate::operation::retrieve::builders::RetrieveFluentBuilder::retrieval_configuration) / [`set_retrieval_configuration(Option<RetrievalConfiguration>)`](crate::operation::retrieve::builders::RetrieveFluentBuilder::set_retrieval_configuration):<br>required: **true**<br><p>The configuration for the content retrieval operation.</p><br>
    ///   - [`retrieval_query(impl Into<String>)`](crate::operation::retrieve::builders::RetrieveFluentBuilder::retrieval_query) / [`set_retrieval_query(Option<String>)`](crate::operation::retrieve::builders::RetrieveFluentBuilder::set_retrieval_query):<br>required: **true**<br><p>The query for content retrieval.</p><br>
    /// - On success, responds with [`RetrieveOutput`](crate::operation::retrieve::RetrieveOutput) with field(s):
    ///   - [`results(Vec::<RetrieveResult>)`](crate::operation::retrieve::RetrieveOutput::results): <p>The results of the content retrieval operation.</p>
    /// - On failure, responds with [`SdkError<RetrieveError>`](crate::operation::retrieve::RetrieveError)
    pub fn retrieve(&self) -> crate::operation::retrieve::builders::RetrieveFluentBuilder {
        crate::operation::retrieve::builders::RetrieveFluentBuilder::new(self.handle.clone())
    }
}