Module Smaws_Client_DataSync.ListLocations

Returns a list of source and destination locations.

If you have more locations than are returned in a response (that is, the response returns only a truncated list of your agents), the response contains a token that you can specify in your next request to fetch the next page of locations.

val error_to_string : [ Smaws_Lib.Protocols.AwsJson.error | `InternalException of Types.internal_exception | `InvalidRequestException of Types.invalid_request_exception ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.list_locations_request -> (Types.list_locations_response, [> Smaws_Lib.Protocols.AwsJson.error | `InternalException of Types.internal_exception | `InvalidRequestException of Types.invalid_request_exception ]) Stdlib.result