Class: Aws::Transfer::Resource
- Inherits:
-
Object
- Object
- Aws::Transfer::Resource
- Defined in:
- lib/aws-sdk-transfer/resource.rb
Overview
This class provides a resource oriented interface for Transfer. To create a resource object:
resource = Aws::Transfer::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::Transfer::Client.new(region: 'us-west-2')
resource = Aws::Transfer::Resource.new(client: client)
Instance Method Summary collapse
- #client ⇒ Client
-
#initialize(options = {}) ⇒ Resource
constructor
A new instance of Resource.