Class: Aws::ElasticTranscoder::Resource
- Inherits:
-
Object
- Object
- Aws::ElasticTranscoder::Resource
- Defined in:
- lib/aws-sdk-elastictranscoder/resource.rb
Overview
This class provides a resource oriented interface for ElasticTranscoder. To create a resource object:
resource = Aws::ElasticTranscoder::Resource.new(region: 'us-west-2')
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::ElasticTranscoder::Client.new(region: 'us-west-2')
resource = Aws::ElasticTranscoder::Resource.new(client: client)
Instance Method Summary collapse
- #client ⇒ Client
-
#initialize(options = {}) ⇒ Resource
constructor
A new instance of Resource.
Constructor Details
Instance Method Details
#client ⇒ Client
25 26 27 |
# File 'lib/aws-sdk-elastictranscoder/resource.rb', line 25 def client @client end |