Sha256: 64f88772b3879937de054b4de78990e5a6278e4acc674ec855129ce412d1312c

Contents?: true

Size: 280 Bytes

Versions: 13

Compression:

Stored size: 280 Bytes

Contents

# frozen_string_literal: true

module Awspec::Helper
  module Finder
    module Dynamodb
      def find_dynamodb_table(id)
        resource = dynamodb_client.describe_table({ table_name: id }).table
        return resource if resource.table_name == id
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
awspec-1.31.0 lib/awspec/helper/finder/dynamodb.rb
awspec-1.30.0 lib/awspec/helper/finder/dynamodb.rb
awspec-1.29.3 lib/awspec/helper/finder/dynamodb.rb
awspec-1.29.2 lib/awspec/helper/finder/dynamodb.rb
awspec-1.29.1 lib/awspec/helper/finder/dynamodb.rb
awspec-1.29.0 lib/awspec/helper/finder/dynamodb.rb
awspec-1.28.2 lib/awspec/helper/finder/dynamodb.rb
awspec-1.28.1 lib/awspec/helper/finder/dynamodb.rb
awspec-1.28.0 lib/awspec/helper/finder/dynamodb.rb
awspec-1.27.1 lib/awspec/helper/finder/dynamodb.rb
awspec-1.27.0 lib/awspec/helper/finder/dynamodb.rb
awspec-1.26.0 lib/awspec/helper/finder/dynamodb.rb
awspec-1.25.2 lib/awspec/helper/finder/dynamodb.rb