listBuckets method

Future<ListBucketsOutput> listBuckets()

Returns a list of all buckets owned by the authenticated sender of the request.

Implementation

Future<ListBucketsOutput> listBuckets() async {
  final $result = await _protocol.send(
    method: 'GET',
    requestUri: '/',
    exceptionFnMap: _exceptionFns,
  );
  return ListBucketsOutput.fromXml($result.body);
}