class Aws::DataSync::Types::ListLocationsRequest

ListLocationsRequest

@note When making an API call, you may pass ListLocationsRequest

data as a 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
        },
      ],
    }

@!attribute [rw] max_results

The maximum number of locations to return.
@return [Integer]

@!attribute [rw] next_token

An opaque string that indicates the position at which to begin the
next list of locations.
@return [String]

@!attribute [rw] filters

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`.
@return [Array<Types::LocationFilter>]

@see docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/ListLocationsRequest AWS API Documentation

Constants

SENSITIVE