Skip to content

Commit

Permalink
Add docs for GSI throughput changes (#224)
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonfriedland authored and danielhochman committed Feb 6, 2017
1 parent 874d18e commit 507f6e7
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion docs/low_level.rst
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,22 @@ but here is a low level example to demonstrate the point:
}
]
}
conn.create_table('tablename', **kwargs)
conn.create_table('table_name', **kwargs)
You can also use `update_table` to change the Provisioned Throughput capacity of Global Secondary Indexes:

.. code-block:: python
>>> kwargs = {
'global_secondary_index_updates': [
{
'index_name': 'index_name',
'read_capacity_units': 10,
'write_capacity_units': 10
}
]
}
>>> conn.update_table('table_name', **kwargs)
Modifying items
^^^^^^^^^^^^^^^
Expand Down

0 comments on commit 507f6e7

Please sign in to comment.