Sha256: 00f457ca6d4513b76a355e1c4204f8e3b99bf8f081f4d34c5ddbce6c897aee21

Contents?: true

Size: 967 Bytes

Versions: 1

Compression:

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

1 entries across 1 versions & 1 rubygems

Version Path
aws-sdk-greengrass-1.29.0 lib/aws-sdk-greengrass/resource.rb