awswrangler.dynamodb.get_table

awswrangler.dynamodb.get_table(table_name: str, boto3_session: Session | None = 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 (Optional[boto3.Session()]) – Boto3 Session. If None, the default boto3 Session is used.

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