// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`SearchDiscoverableRegistryRecords`](crate::operation::search_discoverable_registry_records::builders::SearchDiscoverableRegistryRecordsFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`search_query(impl Into<String>)`](crate::operation::search_discoverable_registry_records::builders::SearchDiscoverableRegistryRecordsFluentBuilder::search_query) / [`set_search_query(Option<String>)`](crate::operation::search_discoverable_registry_records::builders::SearchDiscoverableRegistryRecordsFluentBuilder::set_search_query):<br>required: **true**<br><p>The natural language query to search for matching registry records.</p><br>
/// - [`registry_ids(impl Into<String>)`](crate::operation::search_discoverable_registry_records::builders::SearchDiscoverableRegistryRecordsFluentBuilder::registry_ids) / [`set_registry_ids(Option<Vec::<String>>)`](crate::operation::search_discoverable_registry_records::builders::SearchDiscoverableRegistryRecordsFluentBuilder::set_registry_ids):<br>required: **true**<br><p>The registry identifiers to search within. Currently, you must specify exactly one registry identifier. You can provide either the full Amazon Web Services Resource Name (ARN) or the registry ID.</p><br>
/// - [`max_results(i32)`](crate::operation::search_discoverable_registry_records::builders::SearchDiscoverableRegistryRecordsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::search_discoverable_registry_records::builders::SearchDiscoverableRegistryRecordsFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of results to return. Valid values are 1 through 20. The default value is 10.</p><br>
/// - [`filters(Document)`](crate::operation::search_discoverable_registry_records::builders::SearchDiscoverableRegistryRecordsFluentBuilder::filters) / [`set_filters(Option<Document>)`](crate::operation::search_discoverable_registry_records::builders::SearchDiscoverableRegistryRecordsFluentBuilder::set_filters):<br>required: **false**<br><p>An optional structured JSON metadata filter that narrows the search results. Supports the field-level operators <code>$eq</code>, <code>$ne</code>, and <code>$in</code>, and the logical operators <code>$and</code> and <code>$or</code> on filterable fields.</p><br>
/// - On success, responds with [`SearchDiscoverableRegistryRecordsOutput`](crate::operation::search_discoverable_registry_records::SearchDiscoverableRegistryRecordsOutput) with field(s):
/// - [`registry_records(Vec::<RegistryRecordSummary>)`](crate::operation::search_discoverable_registry_records::SearchDiscoverableRegistryRecordsOutput::registry_records): <p>The registry records that match the search query, ordered by relevance.</p>
/// - On failure, responds with [`SdkError<SearchDiscoverableRegistryRecordsError>`](crate::operation::search_discoverable_registry_records::SearchDiscoverableRegistryRecordsError)
pub fn search_discoverable_registry_records(
&self,
) -> crate::operation::search_discoverable_registry_records::builders::SearchDiscoverableRegistryRecordsFluentBuilder {
crate::operation::search_discoverable_registry_records::builders::SearchDiscoverableRegistryRecordsFluentBuilder::new(self.handle.clone())
}
}