Struct aws_sdk_grafana::paginator::ListWorkspacesPaginator [−][src]
pub struct ListWorkspacesPaginator<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Paginator for ListWorkspaces
Implementations
impl<C, M, R> ListWorkspacesPaginator<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> ListWorkspacesPaginator<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 workspaces
. Queries to the underlying service
are dispatched lazily.
pub fn send(
self
) -> impl Stream<Item = Result<ListWorkspacesOutput, SdkError<ListWorkspacesError>>> + Unpin where
R::Policy: SmithyRetryPolicy<ListWorkspacesInputOperationOutputAlias, ListWorkspacesOutput, ListWorkspacesError, ListWorkspacesInputOperationRetryAlias>,
pub fn send(
self
) -> impl Stream<Item = Result<ListWorkspacesOutput, SdkError<ListWorkspacesError>>> + Unpin where
R::Policy: SmithyRetryPolicy<ListWorkspacesInputOperationOutputAlias, ListWorkspacesOutput, ListWorkspacesError, ListWorkspacesInputOperationRetryAlias>,
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 ListWorkspacesPaginator<C, M, R>
impl<C, M, R> Send for ListWorkspacesPaginator<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for ListWorkspacesPaginator<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for ListWorkspacesPaginator<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for ListWorkspacesPaginator<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