Struct aws_sdk_kafka::paginator::ListClustersPaginator
source · [−]pub struct ListClustersPaginator<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }Expand description
Paginator for ListClusters
Implementations
impl<C, M, R> ListClustersPaginator<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> ListClustersPaginator<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
Set the page size
Note: this method will override any previously set value for max_results
Create a flattened paginator
This paginator automatically flattens results using cluster_info_list. Queries to the underlying service
are dispatched lazily.
pub fn send(
self
) -> impl Stream<Item = Result<ListClustersOutput, SdkError<ListClustersError>>> + Unpin where
R::Policy: SmithyRetryPolicy<ListClustersInputOperationOutputAlias, ListClustersOutput, ListClustersError, ListClustersInputOperationRetryAlias>,
pub fn send(
self
) -> impl Stream<Item = Result<ListClustersOutput, SdkError<ListClustersError>>> + Unpin where
R::Policy: SmithyRetryPolicy<ListClustersInputOperationOutputAlias, ListClustersOutput, ListClustersError, ListClustersInputOperationRetryAlias>,
Create the pagination stream
Note: No requests will be dispatched until the stream is used (eg. with .next().await).
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for ListClustersPaginator<C, M, R>
impl<C, M, R> Send for ListClustersPaginator<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for ListClustersPaginator<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for ListClustersPaginator<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for ListClustersPaginator<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