Struct aws_sdk_datasync::input::ListLocationsInput
source · [−]#[non_exhaustive]pub struct ListLocationsInput { /* private fields */ }
Expand description
ListLocationsRequest
Implementations
sourceimpl ListLocationsInput
impl ListLocationsInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ListLocations, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ListLocations, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<ListLocations
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ListLocationsInput
.
sourceimpl 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
.
Trait Implementations
sourceimpl Clone for ListLocationsInput
impl Clone for ListLocationsInput
sourcefn clone(&self) -> ListLocationsInput
fn clone(&self) -> ListLocationsInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ListLocationsInput
impl Debug for ListLocationsInput
sourceimpl PartialEq<ListLocationsInput> for ListLocationsInput
impl PartialEq<ListLocationsInput> for ListLocationsInput
sourcefn eq(&self, other: &ListLocationsInput) -> bool
fn eq(&self, other: &ListLocationsInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ListLocationsInput) -> bool
fn ne(&self, other: &ListLocationsInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for ListLocationsInput
Auto Trait Implementations
impl RefUnwindSafe for ListLocationsInput
impl Send for ListLocationsInput
impl Sync for ListLocationsInput
impl Unpin for ListLocationsInput
impl UnwindSafe for ListLocationsInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more