Sha256: 037acc041b2833506d55fe2c6614954629c0c0f313f751ca4432df92596814c1

Contents?: true

Size: 962 Bytes

Versions: 3

Compression:

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

3 entries across 3 versions & 1 rubygems

Version Path
aws-sdk-guardduty-1.28.0 lib/aws-sdk-guardduty/resource.rb
aws-sdk-guardduty-1.27.0 lib/aws-sdk-guardduty/resource.rb
aws-sdk-guardduty-1.26.0 lib/aws-sdk-guardduty/resource.rb