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

Retrieves a paginated list of table names created by the AWS Account of the caller in the AWS Region (e.g. us-east-1 ).

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 name of the table that starts the list. If you already ran a ListTables operation and received a LastEvaluatedTableName value in the response, use that value here to continue the list.

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 number of maximum table names to return.

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.ToArray()));

    // 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)