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 [`GetSearchSuggestions`](crate::operation::get_search_suggestions::builders::GetSearchSuggestionsFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`resource(ResourceType)`](crate::operation::get_search_suggestions::builders::GetSearchSuggestionsFluentBuilder::resource) / [`set_resource(Option<ResourceType>)`](crate::operation::get_search_suggestions::builders::GetSearchSuggestionsFluentBuilder::set_resource):<br>required: **true**<br><p>The name of the SageMaker resource to search for.</p><br>
    ///   - [`suggestion_query(SuggestionQuery)`](crate::operation::get_search_suggestions::builders::GetSearchSuggestionsFluentBuilder::suggestion_query) / [`set_suggestion_query(Option<SuggestionQuery>)`](crate::operation::get_search_suggestions::builders::GetSearchSuggestionsFluentBuilder::set_suggestion_query):<br>required: **false**<br><p>Limits the property names that are included in the response.</p><br>
    /// - On success, responds with [`GetSearchSuggestionsOutput`](crate::operation::get_search_suggestions::GetSearchSuggestionsOutput) with field(s):
    ///   - [`property_name_suggestions(Option<Vec::<PropertyNameSuggestion>>)`](crate::operation::get_search_suggestions::GetSearchSuggestionsOutput::property_name_suggestions): <p>A list of property names for a <code>Resource</code> that match a <code>SuggestionQuery</code>.</p>
    /// - On failure, responds with [`SdkError<GetSearchSuggestionsError>`](crate::operation::get_search_suggestions::GetSearchSuggestionsError)
    pub fn get_search_suggestions(&self) -> crate::operation::get_search_suggestions::builders::GetSearchSuggestionsFluentBuilder {
        crate::operation::get_search_suggestions::builders::GetSearchSuggestionsFluentBuilder::new(self.handle.clone())
    }
}