Struct aws_sdk_datasync::client::fluent_builders::ListTasks [−][src]
pub struct ListTasks<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to ListTasks
.
Returns a list of all the tasks.
Implementations
impl<C, M, R> ListTasks<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> ListTasks<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(self) -> Result<ListTasksOutput, SdkError<ListTasksError>> where
R::Policy: SmithyRetryPolicy<ListTasksInputOperationOutputAlias, ListTasksOutput, ListTasksError, ListTasksInputOperationRetryAlias>,
pub async fn send(self) -> Result<ListTasksOutput, SdkError<ListTasksError>> where
R::Policy: SmithyRetryPolicy<ListTasksInputOperationOutputAlias, ListTasksOutput, ListTasksError, ListTasksInputOperationRetryAlias>,
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 maximum number of tasks to return.
The maximum number of tasks to return.
An opaque string that indicates the position at which to begin the next list of tasks.
An opaque string that indicates the position at which to begin the next list of tasks.
Appends an item to Filters
.
To override the contents of this collection use set_filters
.
You can use API filters to narrow down the list of resources returned by ListTasks
. For example, to retrieve all tasks on a specific source location, you can use ListTasks
with filter name LocationId
and Operator Equals
with the ARN for the location.
You can use API filters to narrow down the list of resources returned by ListTasks
. For example, to retrieve all tasks on a specific source location, you can use ListTasks
with filter name LocationId
and Operator Equals
with the ARN for the location.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for ListTasks<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for ListTasks<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