Struct aws_sdk_fsx::client::fluent_builders::DescribeDataRepositoryTasks [−][src]
pub struct DescribeDataRepositoryTasks<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }Expand description
Fluent builder constructing a request to DescribeDataRepositoryTasks.
Returns the description of specific Amazon FSx for Lustre data repository tasks, if
one or more TaskIds values are provided in the request, or if filters are used in the request.
You can use filters to narrow the response to include just tasks for specific file systems,
or tasks in a specific lifecycle state. Otherwise, it returns all data repository tasks owned
by your Amazon Web Services account in the Amazon Web Services Region of the endpoint that you're calling.
When retrieving all tasks, you can paginate the response by using the optional MaxResults
parameter to limit the number of tasks returned in a response. If more tasks remain, Amazon
FSx returns a NextToken value in the response. In this case, send a later
request with the NextToken request parameter set to the value of
NextToken from the last response.
Implementations
impl<C, M, R> DescribeDataRepositoryTasks<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> DescribeDataRepositoryTasks<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<DescribeDataRepositoryTasksOutput, SdkError<DescribeDataRepositoryTasksError>> where
R::Policy: SmithyRetryPolicy<DescribeDataRepositoryTasksInputOperationOutputAlias, DescribeDataRepositoryTasksOutput, DescribeDataRepositoryTasksError, DescribeDataRepositoryTasksInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<DescribeDataRepositoryTasksOutput, SdkError<DescribeDataRepositoryTasksError>> where
R::Policy: SmithyRetryPolicy<DescribeDataRepositoryTasksInputOperationOutputAlias, DescribeDataRepositoryTasksOutput, DescribeDataRepositoryTasksError, DescribeDataRepositoryTasksInputOperationRetryAlias>,
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.
Appends an item to TaskIds.
To override the contents of this collection use set_task_ids.
(Optional) IDs of the tasks whose descriptions you want to retrieve (String).
(Optional) IDs of the tasks whose descriptions you want to retrieve (String).
Appends an item to Filters.
To override the contents of this collection use set_filters.
(Optional) You can use filters to narrow the DescribeDataRepositoryTasks response to
include just tasks for specific file systems, or tasks in a specific lifecycle state.
(Optional) You can use filters to narrow the DescribeDataRepositoryTasks response to
include just tasks for specific file systems, or tasks in a specific lifecycle state.
The maximum number of resources to return in the response. This value must be an integer greater than zero.
The maximum number of resources to return in the response. This value must be an integer greater than zero.
(Optional) Opaque pagination token returned from a previous operation (String). If
present, this token indicates from what point you can continue processing the request, where
the previous NextToken value left off.
(Optional) Opaque pagination token returned from a previous operation (String). If
present, this token indicates from what point you can continue processing the request, where
the previous NextToken value left off.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for DescribeDataRepositoryTasks<C, M, R>
impl<C, M, R> Send for DescribeDataRepositoryTasks<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for DescribeDataRepositoryTasks<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for DescribeDataRepositoryTasks<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for DescribeDataRepositoryTasks<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