CmdID / aws / aws datasync
aws datasync list-locations
Returns a list of source and destination locations. AWS CLI reference
3 options Its page in the AWS CLI reference
Options
--filtersYou can use API filters to narrow down the list of resources returned by ListLocations.--max-resultsThe maximum number of locations to return.--next-tokenAn opaque string that indicates the position at which to begin the next list of locations.