You can call the DescribeTable operation to query the structure information and the reserved read/write throughput of a table.

API

// Query the descriptive information of a table by table name.
DescribeTable(request *DescribeTableRequest) (*DescribeTableResponse, error)

Examples

describeTableReq := new(tablestore.DescribeTableRequest)
describeTableReq.TableName = tableName
describ, err := client.DescribeTable(describeTableReq)
if err ! = nil {
	fmt.Println("failed to update table with error:", err)
} else {
	fmt.Println("DescribeTableSample finished. Table meta:", describ.TableOption.MaxVersion, describ.TableOption.TimeToAlive)
}

Note Code details can be obtained at describeTable@GitHub.