// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`BatchGetCollection`](crate::operation::batch_get_collection::builders::BatchGetCollectionFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`ids(impl Into<String>)`](crate::operation::batch_get_collection::builders::BatchGetCollectionFluentBuilder::ids) / [`set_ids(Option<Vec::<String>>)`](crate::operation::batch_get_collection::builders::BatchGetCollectionFluentBuilder::set_ids):<br>required: **false**<br><p>A list of collection IDs. You can't provide names and IDs in the same request. The ID is part of the collection endpoint. You can also retrieve it using the <a href="https://docs.aws.amazon.com/opensearch-service/latest/ServerlessAPIReference/API_ListCollections.html">ListCollections</a> API.</p><br>
/// - [`names(impl Into<String>)`](crate::operation::batch_get_collection::builders::BatchGetCollectionFluentBuilder::names) / [`set_names(Option<Vec::<String>>)`](crate::operation::batch_get_collection::builders::BatchGetCollectionFluentBuilder::set_names):<br>required: **false**<br><p>A list of collection names. You can't provide names and IDs in the same request.</p><br>
/// - On success, responds with [`BatchGetCollectionOutput`](crate::operation::batch_get_collection::BatchGetCollectionOutput) with field(s):
/// - [`collection_details(Option<Vec::<CollectionDetail>>)`](crate::operation::batch_get_collection::BatchGetCollectionOutput::collection_details): <p>Details about each collection.</p>
/// - [`collection_error_details(Option<Vec::<CollectionErrorDetail>>)`](crate::operation::batch_get_collection::BatchGetCollectionOutput::collection_error_details): <p>Error information for the request.</p>
/// - On failure, responds with [`SdkError<BatchGetCollectionError>`](crate::operation::batch_get_collection::BatchGetCollectionError)
pub fn batch_get_collection(&self) -> crate::operation::batch_get_collection::builders::BatchGetCollectionFluentBuilder {
crate::operation::batch_get_collection::builders::BatchGetCollectionFluentBuilder::new(self.handle.clone())
}
}