DescribeTable¶
When given a DescribeTable, the connection will return a DescribeTableResponse:
>>> r = connection(DescribeTable(table))
>>> r
<LowVoltage.actions.describe_table.DescribeTableResponse ...>
>>> r.table.table_status
u'ACTIVE'
>>> r.table.key_schema[0].attribute_name
u'h'
>>> r.table.key_schema[0].key_type
u'HASH'
-
class
DescribeTableResponse¶ -
-
table¶ The description of the table.
Type: NoneorTableDescription
-
-
class
DescribeTable(table_name=None)¶ -
Passing
table_nameto the constructor is like callingtable_name()on the new instance.-
table_name(table_name)¶ Set TableName. Mandatory, can also be set in the constructor.
>>> connection(DescribeTable().table_name(table)) <LowVoltage.actions.describe_table.DescribeTableResponse ...>
-