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 Members | Constructors | Methods | Properties | ||
Icon | Member | Description |
---|---|---|
ListTablesRequest()()()() | Initializes a new instance of the ListTablesRequest class | |
Equals(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: | |
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: | |
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
Object | ||
AmazonWebServiceRequest | ||
ListTablesRequest |
See Also