Struct aws_sdk_opensearchserverless::operation::batch_get_collection::builders::BatchGetCollectionFluentBuilder
source · pub struct BatchGetCollectionFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to BatchGetCollection
.
Returns attributes for one or more collections, including the collection endpoint and the OpenSearch Dashboards endpoint. For more information, see Creating and managing Amazon OpenSearch Serverless collections.
Implementations§
source§impl BatchGetCollectionFluentBuilder
impl BatchGetCollectionFluentBuilder
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<BatchGetCollection, AwsResponseRetryClassifier>, SdkError<BatchGetCollectionError>>
pub async fn customize( self ) -> Result<CustomizableOperation<BatchGetCollection, AwsResponseRetryClassifier>, SdkError<BatchGetCollectionError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<BatchGetCollectionOutput, SdkError<BatchGetCollectionError>>
pub async fn send( self ) -> Result<BatchGetCollectionOutput, SdkError<BatchGetCollectionError>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn ids(self, input: impl Into<String>) -> Self
pub fn ids(self, input: impl Into<String>) -> Self
Appends an item to ids
.
To override the contents of this collection use set_ids
.
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 ListCollections API.
sourcepub fn set_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_ids(self, input: Option<Vec<String>>) -> Self
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 ListCollections API.
Trait Implementations§
source§impl Clone for BatchGetCollectionFluentBuilder
impl Clone for BatchGetCollectionFluentBuilder
source§fn clone(&self) -> BatchGetCollectionFluentBuilder
fn clone(&self) -> BatchGetCollectionFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more