Sha256: 621fe18c9e899aafd4d7e86f2c79dc00134574df5a28b25de3c3480e4cdda6fa

Contents?: true

Size: 977 Bytes

Versions: 2

Compression:

Stored size: 977 Bytes

Contents

# WARNING ABOUT GENERATED CODE
#
# This file is generated. See the contributing guide for more information:
# https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
#
# WARNING ABOUT GENERATED CODE

module Aws::MediaConnect
  # This class provides a resource oriented interface for MediaConnect.
  # To create a resource object:
  #     resource = Aws::MediaConnect::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::MediaConnect::Client.new(region: 'us-west-2')
  #     resource = Aws::MediaConnect::Resource.new(client: client)
  class Resource

    # @param options ({})
    # @option options [Client] :client
    def initialize(options = {})
      @client = options[:client] || Client.new(options)
    end

    # @return [Client]
    def client
      @client
    end

  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
aws-sdk-mediaconnect-1.18.0 lib/aws-sdk-mediaconnect/resource.rb
aws-sdk-mediaconnect-1.17.0 lib/aws-sdk-mediaconnect/resource.rb