BillingandCostManagementDataExports / Client / get_table

get_table#

BillingandCostManagementDataExports.Client.get_table(**kwargs)#

Returns the metadata for the specified table and table properties. This includes the list of columns in the table schema, their data types, and column descriptions.

See also: AWS API Documentation

Request Syntax

response = client.get_table(
    TableName='string',
    TableProperties={
        'string': 'string'
    }
)
Parameters:
  • TableName (string) –

    [REQUIRED]

    The name of the table.

  • TableProperties (dict) –

    TableProperties are additional configurations you can provide to change the data and schema of a table. Each table can have different TableProperties. Tables are not required to have any TableProperties. Each table property has a default value that it assumes if not specified.

    • (string) –

      • (string) –

Return type:

dict

Returns:

Response Syntax

{
    'Description': 'string',
    'Schema': [
        {
            'Description': 'string',
            'Name': 'string',
            'Type': 'string'
        },
    ],
    'TableName': 'string',
    'TableProperties': {
        'string': 'string'
    }
}

Response Structure

  • (dict) –

    • Description (string) –

      The table description.

    • Schema (list) –

      The schema of the table.

      • (dict) –

        Includes basic information for a data column such as its description, name, and type.

        • Description (string) –

          The description for a column.

        • Name (string) –

          The column name.

        • Type (string) –

          The kind of data a column stores.

    • TableName (string) –

      The name of the table.

    • TableProperties (dict) –

      TableProperties are additional configurations you can provide to change the data and schema of a table. Each table can have different TableProperties. Tables are not required to have any TableProperties. Each table property has a default value that it assumes if not specified.

      • (string) –

        • (string) –

Exceptions