(self, opts)
| 468 | @with_connection |
| 469 | @with_s3_exception_handler |
| 470 | def __list_buckets(self, opts): |
| 471 | response = self.connection_client.list_buckets() |
| 472 | result = [] |
| 473 | for bucket in response['Buckets']: |
| 474 | result.append(bucket['Name']) |
| 475 | return {'result': result} |
| 476 | |
| 477 | @with_connection |
| 478 | @with_s3_exception_handler |
no outgoing calls