Method: AWS::S3#buckets

Defined in:
lib/aws/s3.rb

#bucketsBucketCollection

Returns a collection that represents all buckets in the account.

Returns:

  • (BucketCollection)

    Returns a collection that represents all buckets in the account.



104
105
106
# File 'lib/aws/s3.rb', line 104

def buckets
  BucketCollection.new(:config => @config)
end