Struct aws_sdk_sagemaker::client::fluent_builders::ListWorkforces [−][src]
pub struct ListWorkforces<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to ListWorkforces
.
Use this operation to list all private and vendor workforces in an Amazon Web Services Region. Note that you can only have one private workforce per Amazon Web Services Region.
Implementations
impl<C, M, R> ListWorkforces<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> ListWorkforces<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<ListWorkforcesOutput, SdkError<ListWorkforcesError>> where
R::Policy: SmithyRetryPolicy<ListWorkforcesInputOperationOutputAlias, ListWorkforcesOutput, ListWorkforcesError, ListWorkforcesInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<ListWorkforcesOutput, SdkError<ListWorkforcesError>> where
R::Policy: SmithyRetryPolicy<ListWorkforcesInputOperationOutputAlias, ListWorkforcesOutput, ListWorkforcesError, ListWorkforcesInputOperationRetryAlias>,
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.
Sort workforces using the workforce name or creation date.
Sort workforces using the workforce name or creation date.
Sort workforces in ascending or descending order.
Sort workforces in ascending or descending order.
A filter you can use to search for workforces using part of the workforce name.
A filter you can use to search for workforces using part of the workforce name.
A token to resume pagination.
A token to resume pagination.
The maximum number of workforces returned in the response.
The maximum number of workforces returned in the response.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for ListWorkforces<C, M, R>
impl<C, M, R> Send for ListWorkforces<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for ListWorkforces<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for ListWorkforces<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for ListWorkforces<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