summaryrefslogtreecommitdiff
path: root/docs/source/dynamodb_tut.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/source/dynamodb_tut.rst')
-rw-r--r--docs/source/dynamodb_tut.rst16
1 files changed, 11 insertions, 5 deletions
diff --git a/docs/source/dynamodb_tut.rst b/docs/source/dynamodb_tut.rst
index 40ff3fa2..3e641227 100644
--- a/docs/source/dynamodb_tut.rst
+++ b/docs/source/dynamodb_tut.rst
@@ -23,10 +23,12 @@ To do so, the most straight forward way is the following::
<boto.dynamodb.layer2.Layer2 object at 0x3fb3090>
Bear in mind that if you have your credentials in boto config in your home
-directory, the two keyword arguments in the call above are not needed. Also
-important to note is that just as any other AWS service, DynamoDB is
-region-specific and as such you might want to specify which region to connect
-to, by default, it'll connect to the US-EAST-1 region.
+directory, the two keyword arguments in the call above are not needed. More
+details on configuration can be found in :doc:`boto_config_tut`.
+
+.. note:: At this
+ time, Amazon DynamoDB is available only in the US-EAST-1 region. The
+ ``connect_dynamodb`` method automatically connect to that region.
The :py:func:`boto.connect_dynamodb` functions returns a
:py:class:`boto.dynamodb.layer2.Layer2` instance, which is a high-level API
@@ -222,10 +224,14 @@ To delete items, use the
Deleting Tables
---------------
+
+.. WARNING::
+ Deleting a table will also **permanently** delete all of its contents without prompt. Use carefully.
+
There are two easy ways to delete a table. Through your top-level
:py:class:`Layer2 <boto.dynamodb.layer2.Layer2>` object::
- >>> conn.delete_table('messages')
+ >>> conn.delete_table(table)
Or by getting the table, then using
:py:meth:`Table.delete <boto.dynamodb.table.Table.delete>`::