#[non_exhaustive]pub struct ListLocationsInput {
pub max_results: Option<i32>,
pub next_token: Option<String>,
pub filters: Option<Vec<LocationFilter>>,
}
Expand description
ListLocationsRequest
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 locations to return.
next_token: Option<String>
An opaque string that indicates the position at which to begin the next list of locations.
filters: Option<Vec<LocationFilter>>
You can use API filters to narrow down the list of resources returned by ListLocations
. For example, to retrieve all tasks on a specific source location, you can use ListLocations
with filter name LocationType S3
and Operator Equals
.
Implementations§
source§impl ListLocationsInput
impl ListLocationsInput
sourcepub fn max_results(&self) -> Option<i32>
pub fn max_results(&self) -> Option<i32>
The maximum number of locations 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 locations.
sourcepub fn filters(&self) -> Option<&[LocationFilter]>
pub fn filters(&self) -> Option<&[LocationFilter]>
You can use API filters to narrow down the list of resources returned by ListLocations
. For example, to retrieve all tasks on a specific source location, you can use ListLocations
with filter name LocationType S3
and Operator Equals
.
source§impl ListLocationsInput
impl ListLocationsInput
sourcepub fn builder() -> ListLocationsInputBuilder
pub fn builder() -> ListLocationsInputBuilder
Creates a new builder-style object to manufacture ListLocationsInput
.
Trait Implementations§
source§impl Clone for ListLocationsInput
impl Clone for ListLocationsInput
source§fn clone(&self) -> ListLocationsInput
fn clone(&self) -> ListLocationsInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListLocationsInput
impl Debug for ListLocationsInput
source§impl PartialEq for ListLocationsInput
impl PartialEq for ListLocationsInput
source§fn eq(&self, other: &ListLocationsInput) -> bool
fn eq(&self, other: &ListLocationsInput) -> bool
self
and other
values to be equal, and is used
by ==
.