Struct aws_sdk_sagemaker::client::fluent_builders::ListWorkteams
source · [−]pub struct ListWorkteams<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }
Expand description
Fluent builder constructing a request to ListWorkteams
.
Gets a list of private work teams that you have defined in a region. The list may be empty if no work team satisfies the filter specified in the NameContains
parameter.
Implementations
impl<C, M, R> ListWorkteams<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> ListWorkteams<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<ListWorkteamsOutput, SdkError<ListWorkteamsError>> where
R::Policy: SmithyRetryPolicy<ListWorkteamsInputOperationOutputAlias, ListWorkteamsOutput, ListWorkteamsError, ListWorkteamsInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<ListWorkteamsOutput, SdkError<ListWorkteamsError>> where
R::Policy: SmithyRetryPolicy<ListWorkteamsInputOperationOutputAlias, ListWorkteamsOutput, ListWorkteamsError, ListWorkteamsInputOperationRetryAlias>,
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
.
The field to sort results by. The default is CreationTime
.
The field to sort results by. The default is CreationTime
.
The sort order for results. The default is Ascending
.
The sort order for results. The default is Ascending
.
A string in the work team's name. This filter returns only work teams whose name contains the specified string.
A string in the work team's name. This filter returns only work teams whose name contains the specified string.
If the result of the previous ListWorkteams
request was truncated, the response includes a NextToken
. To retrieve the next set of labeling jobs, use the token in the next request.
If the result of the previous ListWorkteams
request was truncated, the response includes a NextToken
. To retrieve the next set of labeling jobs, use the token in the next request.
The maximum number of work teams to return in each page of the response.
The maximum number of work teams to return in each page of the response.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for ListWorkteams<C, M, R>
impl<C, M, R> Unpin for ListWorkteams<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for ListWorkteams<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