Struct aws_sdk_kafka::client::fluent_builders::ListClustersV2
source ·
[−]pub struct ListClustersV2<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }Expand description
Fluent builder constructing a request to ListClustersV2.
Returns a list of all the MSK clusters in the current Region.
Implementations
impl<C, M, R> ListClustersV2<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> ListClustersV2<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<ListClustersV2Output, SdkError<ListClustersV2Error>> where
R::Policy: SmithyRetryPolicy<ListClustersV2InputOperationOutputAlias, ListClustersV2Output, ListClustersV2Error, ListClustersV2InputOperationRetryAlias>,
pub async fn send(
self
) -> Result<ListClustersV2Output, SdkError<ListClustersV2Error>> where
R::Policy: SmithyRetryPolicy<ListClustersV2InputOperationOutputAlias, ListClustersV2Output, ListClustersV2Error, ListClustersV2InputOperationRetryAlias>,
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.
Create a paginator for this request
Paginators are used by calling send().await which returns a Stream.
Specify a prefix of the names of the clusters that you want to list. The service lists all the clusters whose names start with this prefix.
Specify a prefix of the names of the clusters that you want to list. The service lists all the clusters whose names start with this prefix.
Specify either PROVISIONED or SERVERLESS.
Specify either PROVISIONED or SERVERLESS.
The maximum number of results to return in the response. If there are more results, the response includes a NextToken parameter.
The maximum number of results to return in the response. If there are more results, the response includes a NextToken parameter.
The paginated results marker. When the result of the operation is truncated, the call returns NextToken in the response. To get the next batch, provide this token in your next request.
The paginated results marker. When the result of the operation is truncated, the call returns NextToken in the response. To get the next batch, provide this token in your next request.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for ListClustersV2<C, M, R>
impl<C, M, R> Send for ListClustersV2<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for ListClustersV2<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for ListClustersV2<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for ListClustersV2<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more
