awswrangler.dynamodb.get_table

awswrangler.dynamodb.get_table(table_name: str, boto3_session: Optional[boto3.session.Session] = None) Any

Get DynamoDB table object for specified table name.

Note

This function has arguments which can be configured globally through wr.config or environment variables:

Check out the Global Configurations Tutorial for details.

Parameters
  • table_name (str) – Name of the Amazon DynamoDB table.

  • boto3_session (boto3.Session(), optional) – Boto3 Session. The default boto3 Session will be used if boto3_session receive None.

Returns

dynamodb_table – Boto3 DynamoDB.Table object. https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html#DynamoDB.Table

Return type

boto3.resources.dynamodb.Table