You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::DataSync::Types::ListLocationsRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::DataSync::Types::ListLocationsRequest
- Defined in:
- (unknown)
Overview
When passing ListLocationsRequest as input to an Aws::Client method, you can use a vanilla Hash:
{
max_results: 1,
next_token: "NextToken",
filters: [
{
name: "LocationUri", # required, accepts LocationUri, LocationType, CreationTime
values: ["FilterAttributeValue"], # required
operator: "Equals", # required, accepts Equals, NotEquals, In, LessThanOrEqual, LessThan, GreaterThanOrEqual, GreaterThan, Contains, NotContains, BeginsWith
},
],
}
ListLocationsRequest
Instance Attribute Summary collapse
-
#filters ⇒ Array<Types::LocationFilter>
You can use API filters to narrow down the list of resources returned by
ListLocations
. -
#max_results ⇒ Integer
The maximum number of locations to return.
-
#next_token ⇒ String
An opaque string that indicates the position at which to begin the next list of locations.
Instance Attribute Details
#filters ⇒ Array<Types::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
.
#max_results ⇒ Integer
The maximum number of locations to return.
#next_token ⇒ String
An opaque string that indicates the position at which to begin the next list of locations.