_add_global_secondary_index_throughput

in lib/aws-record/record/table_config.rb [349:364]


      def _add_global_secondary_index_throughput(opts, resp_gsis)
        gsis = resp_gsis.map(&:index_name)
        gsi_updates = []
        gsis.each do |index_name|
          lgsi = @global_secondary_indexes[index_name.to_sym]
          gsi_updates << {
            update: {
              index_name: index_name,
              provisioned_throughput: lgsi.provisioned_throughput
            }
          }
        end
        opts[:global_secondary_index_updates] = gsi_updates
        true
      end