1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`SearchAssociatedTranscripts`](crate::operation::search_associated_transcripts::builders::SearchAssociatedTranscriptsFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`bot_id(impl Into<String>)`](crate::operation::search_associated_transcripts::builders::SearchAssociatedTranscriptsFluentBuilder::bot_id) / [`set_bot_id(Option<String>)`](crate::operation::search_associated_transcripts::builders::SearchAssociatedTranscriptsFluentBuilder::set_bot_id):<br>required: **true**<br><p>The unique identifier of the bot associated with the transcripts that you are searching.</p><br>
    ///   - [`bot_version(impl Into<String>)`](crate::operation::search_associated_transcripts::builders::SearchAssociatedTranscriptsFluentBuilder::bot_version) / [`set_bot_version(Option<String>)`](crate::operation::search_associated_transcripts::builders::SearchAssociatedTranscriptsFluentBuilder::set_bot_version):<br>required: **true**<br><p>The version of the bot containing the transcripts that you are searching.</p><br>
    ///   - [`locale_id(impl Into<String>)`](crate::operation::search_associated_transcripts::builders::SearchAssociatedTranscriptsFluentBuilder::locale_id) / [`set_locale_id(Option<String>)`](crate::operation::search_associated_transcripts::builders::SearchAssociatedTranscriptsFluentBuilder::set_locale_id):<br>required: **true**<br><p>The identifier of the language and locale of the transcripts to search. The string must match one of the supported locales. For more information, see <a href="https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html">Supported languages</a></p><br>
    ///   - [`bot_recommendation_id(impl Into<String>)`](crate::operation::search_associated_transcripts::builders::SearchAssociatedTranscriptsFluentBuilder::bot_recommendation_id) / [`set_bot_recommendation_id(Option<String>)`](crate::operation::search_associated_transcripts::builders::SearchAssociatedTranscriptsFluentBuilder::set_bot_recommendation_id):<br>required: **true**<br><p>The unique identifier of the bot recommendation associated with the transcripts to search.</p><br>
    ///   - [`search_order(SearchOrder)`](crate::operation::search_associated_transcripts::builders::SearchAssociatedTranscriptsFluentBuilder::search_order) / [`set_search_order(Option<SearchOrder>)`](crate::operation::search_associated_transcripts::builders::SearchAssociatedTranscriptsFluentBuilder::set_search_order):<br>required: **false**<br><p>How SearchResults are ordered. Valid values are Ascending or Descending. The default is Descending.</p><br>
    ///   - [`filters(AssociatedTranscriptFilter)`](crate::operation::search_associated_transcripts::builders::SearchAssociatedTranscriptsFluentBuilder::filters) / [`set_filters(Option<Vec::<AssociatedTranscriptFilter>>)`](crate::operation::search_associated_transcripts::builders::SearchAssociatedTranscriptsFluentBuilder::set_filters):<br>required: **true**<br><p>A list of filter objects.</p><br>
    ///   - [`max_results(i32)`](crate::operation::search_associated_transcripts::builders::SearchAssociatedTranscriptsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::search_associated_transcripts::builders::SearchAssociatedTranscriptsFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of bot recommendations to return in each page of results. If there are fewer results than the max page size, only the actual number of results are returned.</p><br>
    ///   - [`next_index(i32)`](crate::operation::search_associated_transcripts::builders::SearchAssociatedTranscriptsFluentBuilder::next_index) / [`set_next_index(Option<i32>)`](crate::operation::search_associated_transcripts::builders::SearchAssociatedTranscriptsFluentBuilder::set_next_index):<br>required: **false**<br><p>If the response from the SearchAssociatedTranscriptsRequest operation contains more results than specified in the maxResults parameter, an index is returned in the response. Use that index in the nextIndex parameter to return the next page of results.</p><br>
    /// - On success, responds with [`SearchAssociatedTranscriptsOutput`](crate::operation::search_associated_transcripts::SearchAssociatedTranscriptsOutput) with field(s):
    ///   - [`bot_id(Option<String>)`](crate::operation::search_associated_transcripts::SearchAssociatedTranscriptsOutput::bot_id): <p>The unique identifier of the bot associated with the transcripts that you are searching.</p>
    ///   - [`bot_version(Option<String>)`](crate::operation::search_associated_transcripts::SearchAssociatedTranscriptsOutput::bot_version): <p>The version of the bot containing the transcripts that you are searching.</p>
    ///   - [`locale_id(Option<String>)`](crate::operation::search_associated_transcripts::SearchAssociatedTranscriptsOutput::locale_id): <p>The identifier of the language and locale of the transcripts to search. The string must match one of the supported locales. For more information, see <a href="https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html">Supported languages</a></p>
    ///   - [`bot_recommendation_id(Option<String>)`](crate::operation::search_associated_transcripts::SearchAssociatedTranscriptsOutput::bot_recommendation_id): <p>The unique identifier of the bot recommendation associated with the transcripts to search.</p>
    ///   - [`next_index(Option<i32>)`](crate::operation::search_associated_transcripts::SearchAssociatedTranscriptsOutput::next_index): <p>A index that indicates whether there are more results to return in a response to the SearchAssociatedTranscripts operation. If the nextIndex field is present, you send the contents as the nextIndex parameter of a SearchAssociatedTranscriptsRequest operation to get the next page of results.</p>
    ///   - [`associated_transcripts(Option<Vec::<AssociatedTranscript>>)`](crate::operation::search_associated_transcripts::SearchAssociatedTranscriptsOutput::associated_transcripts): <p>The object that contains the associated transcript that meet the criteria you specified.</p>
    ///   - [`total_results(Option<i32>)`](crate::operation::search_associated_transcripts::SearchAssociatedTranscriptsOutput::total_results): <p>The total number of transcripts returned by the search.</p>
    /// - On failure, responds with [`SdkError<SearchAssociatedTranscriptsError>`](crate::operation::search_associated_transcripts::SearchAssociatedTranscriptsError)
    pub fn search_associated_transcripts(
        &self,
    ) -> crate::operation::search_associated_transcripts::builders::SearchAssociatedTranscriptsFluentBuilder {
        crate::operation::search_associated_transcripts::builders::SearchAssociatedTranscriptsFluentBuilder::new(self.handle.clone())
    }
}