Struct aws_sdk_datasync::input::ListLocationsInput
source · #[non_exhaustive]pub struct ListLocationsInput { /* private fields */ }
Expand description
ListLocationsRequest
Implementations§
source§impl ListLocationsInput
impl ListLocationsInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ListLocations, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ListLocations, AwsResponseRetryClassifier>, 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
.
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
.
Trait Implementations§
source§impl Clone for ListLocationsInput
impl Clone for ListLocationsInput
source§fn clone(&self) -> ListLocationsInput
fn clone(&self) -> ListLocationsInput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ListLocationsInput
impl Debug for ListLocationsInput
source§impl PartialEq<ListLocationsInput> for ListLocationsInput
impl PartialEq<ListLocationsInput> for ListLocationsInput
source§fn 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 ==
.