'Updates the provisioned throughput for a given table.
:type table_name: str
:param table_name: The name of the table to update.
:type provisioned_throughput: dict
:param provisioned_throughput: A Python version of the
ProvisionedThroughput data structure defined by
DynamoDB.'

def update_table(self, table_name, provisioned_throughput):

    data = {'TableName': table_name, 'ProvisionedThroughput': provisioned_throughput}
    json_input = json.dumps(data)
    return self.make_request('UpdateTable', json_input)
