Sha256: 33ccf9b94067f764ff5a25e6da2e5a81c6131102b18fb963aca1432203f53c70

Contents?: true

Size: 987 Bytes

Versions: 1

Compression:

Stored size: 987 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::SecretsManager
  # This class provides a resource oriented interface for SecretsManager.
  # To create a resource object:
  #     resource = Aws::SecretsManager::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::SecretsManager::Client.new(region: 'us-west-2')
  #     resource = Aws::SecretsManager::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-secretsmanager-1.34.0 lib/aws-sdk-secretsmanager/resource.rb