// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`SearchRegistryRecords`](crate::operation::search_registry_records::builders::SearchRegistryRecordsFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`search_query(impl Into<String>)`](crate::operation::search_registry_records::builders::SearchRegistryRecordsFluentBuilder::search_query) / [`set_search_query(Option<String>)`](crate::operation::search_registry_records::builders::SearchRegistryRecordsFluentBuilder::set_search_query):<br>required: **true**<br><p>The search query to find matching registry records.</p><br>
/// - [`registry_ids(impl Into<String>)`](crate::operation::search_registry_records::builders::SearchRegistryRecordsFluentBuilder::registry_ids) / [`set_registry_ids(Option<Vec::<String>>)`](crate::operation::search_registry_records::builders::SearchRegistryRecordsFluentBuilder::set_registry_ids):<br>required: **true**<br><p>The list of registry identifiers to search within. Currently, you can specify exactly one registry identifier. You can provide either the full Amazon Web Services Resource Name (ARN) or the 12-character alphanumeric registry ID.</p><br>
/// - [`max_results(i32)`](crate::operation::search_registry_records::builders::SearchRegistryRecordsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::search_registry_records::builders::SearchRegistryRecordsFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of records to return in a single call. Valid values are 1 through 20. The default value is 10.</p><br>
/// - [`filters(Document)`](crate::operation::search_registry_records::builders::SearchRegistryRecordsFluentBuilder::filters) / [`set_filters(Option<Document>)`](crate::operation::search_registry_records::builders::SearchRegistryRecordsFluentBuilder::set_filters):<br>required: **false**<br><p>A metadata filter expression to narrow search results. Uses structured JSON operators including field-level operators (<code>$eq</code>, <code>$ne</code>, <code>$in</code>) and logical operators (<code>$and</code>, <code>$or</code>) on filterable fields (<code>name</code>, <code>descriptorType</code>, <code>version</code>). For example, to filter by descriptor type: <code>{"descriptorType": {"$eq": "MCP"}}</code>. To combine filters: <code>{"$and": \[{"descriptorType": {"$eq": "MCP"}}, {"name": {"$eq": "my-tool"}}\]}</code>.</p><br>
/// - On success, responds with [`SearchRegistryRecordsOutput`](crate::operation::search_registry_records::SearchRegistryRecordsOutput) with field(s):
/// - [`registry_records(Vec::<RegistryRecordSummary>)`](crate::operation::search_registry_records::SearchRegistryRecordsOutput::registry_records): <p>The list of registry records that match the search query, ordered by relevance.</p>
/// - On failure, responds with [`SdkError<SearchRegistryRecordsError>`](crate::operation::search_registry_records::SearchRegistryRecordsError)
pub fn search_registry_records(&self) -> crate::operation::search_registry_records::builders::SearchRegistryRecordsFluentBuilder {
crate::operation::search_registry_records::builders::SearchRegistryRecordsFluentBuilder::new(self.handle.clone())
}
}