AWS SDK for .NET Documentation
ListTablesRequest Class
AmazonAmazon.DynamoDBv2.ModelListTablesRequest Did this page help you?   Yes   No    Tell us about it...
Container for the parameters to the ListTables operation.

Returns an array of table names associated with the current account and endpoint. The output from ListTables is paginated, with each page returning a maximum of 100 table names.

Declaration Syntax
C#
public class ListTablesRequest : AmazonWebServiceRequest
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
ListTablesRequest()()()()
Initializes a new instance of the ListTablesRequest class

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
ExclusiveStartTableName
The first table name that this operation will evaluate. Use the value that was returned for LastEvaluatedTableName in a previous operation, so that you can obtain the next page of results.

Constraints:

Length
3 - 255
Pattern
[a-zA-Z0-9_.-]+


GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the type of the current instance.
(Inherited from Object.)
Limit
A maximum number of table names to return. If this parameter is not specified, the limit is 100.

Constraints:

Range
1 - 100


ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
WithExclusiveStartTableName(String) Obsolete.
Sets the ExclusiveStartTableName property

WithLimit(Int32) Obsolete.
Sets the Limit property

Examples

This example shows how to get a list of all tables.

CopyListTables sample
// Create a client
AmazonDynamoDBClient client = new AmazonDynamoDBClient();

string startTableName = null;
do
{
    // Configure ListTables request with the marker value
    ListTablesRequest request = new ListTablesRequest
    {
        ExclusiveStartTableName = startTableName,
    };

    // Issue call
    ListTablesResult result = client.ListTables(request).ListTablesResult;

    // List retrieved tables
    List<string> tables = result.TableNames;
    Console.WriteLine("Retrieved tables: {0}",
        string.Join(", ", tables));

    // Update marker value from the result
    startTableName = result.LastEvaluatedTableName;

} while (!string.IsNullOrEmpty(startTableName)); // Test marker value
Inheritance Hierarchy
See Also

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)