Struct aws_sdk_datasync::operation::list_tasks::ListTasksInput
source · #[non_exhaustive]pub struct ListTasksInput {
pub max_results: Option<i32>,
pub next_token: Option<String>,
pub filters: Option<Vec<TaskFilter>>,
}
Expand description
ListTasksRequest
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.max_results: Option<i32>
The maximum number of tasks to return.
next_token: Option<String>
An opaque string that indicates the position at which to begin the next list of tasks.
filters: Option<Vec<TaskFilter>>
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.
Implementations§
source§impl ListTasksInput
impl ListTasksInput
sourcepub fn max_results(&self) -> Option<i32>
pub fn max_results(&self) -> Option<i32>
The maximum number of tasks to return.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
An opaque string that indicates the position at which to begin the next list of tasks.
sourcepub fn filters(&self) -> &[TaskFilter]
pub fn filters(&self) -> &[TaskFilter]
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.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .filters.is_none()
.
source§impl ListTasksInput
impl ListTasksInput
sourcepub fn builder() -> ListTasksInputBuilder
pub fn builder() -> ListTasksInputBuilder
Creates a new builder-style object to manufacture ListTasksInput
.
Trait Implementations§
source§impl Clone for ListTasksInput
impl Clone for ListTasksInput
source§fn clone(&self) -> ListTasksInput
fn clone(&self) -> ListTasksInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListTasksInput
impl Debug for ListTasksInput
source§impl PartialEq for ListTasksInput
impl PartialEq for ListTasksInput
source§fn eq(&self, other: &ListTasksInput) -> bool
fn eq(&self, other: &ListTasksInput) -> bool
self
and other
values to be equal, and is used
by ==
.