#[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) -> &[LocationFilter]
pub fn filters(&self) -> &[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
.
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 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
impl StructuralPartialEq for ListLocationsInput
Auto Trait Implementations§
impl Freeze for ListLocationsInput
impl RefUnwindSafe for ListLocationsInput
impl Send for ListLocationsInput
impl Sync for ListLocationsInput
impl Unpin for ListLocationsInput
impl UnwindSafe for ListLocationsInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more