A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.aws.amazon.com/sdkforruby/api/Aws/S3/Resource.html below:

Resource — AWS SDK for Ruby V2

You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::S3::Resource Overview

This class provides a resource oriented interface for Amazon S3. To create a resource object:

resource = Aws::S3::Resource.new

You can supply a client object with custom configuration that will be used for all resource operations. If you do not pass :client, a default client will be constructed.

client = Aws::S3::Client.new(region: 'us-west-2')
resource = Aws::S3::Resource.new(client: client)
Resource Resource Classes

Aws::S3::Resource has the following resource classes:

Attribute Summary collapse Instance Attribute Summary Attributes inherited from Resources::Resource

#client, #identifiers

Instance Method Summary collapse Methods inherited from Resources::Resource

add_data_attribute, add_identifier, #data, data_attributes, #data_loaded?, identifiers, #load, #wait_until

Methods included from Resources::OperationMethods

#add_batch_operation, #add_operation, #batch_operation, #batch_operation_names, #batch_operations, #operation, #operation_names, #operations

Constructor Details #initialize(options = {}) ⇒ Object #initialize(options = {}) ⇒ Object Instance Method Details #buckets ⇒ Collection<Bucket>

Returns a Collection of Bucket resources. No API requests are made until you call an enumerable method on the collection. Client#list_buckets will be called multiple times until every Bucket has been yielded.

#create_bucket(options = {}) ⇒ Bucket

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4