Skip to content

Instantly share code, notes, and snippets.

@OksanaH
Last active Dec 4, 2020
Embed
What would you like to do?
await CreateTable(sourceTableName);
await CreateTable(destinationTableNameSlow);
await CreateTable(destinationTableNameFast);
//wait until source table is created
var describeTableRequest = new DescribeTableRequest
{
TableName = sourceTableName
};
DescribeTableResponse describeTableResponse;
do
{
System.Threading.Thread.Sleep(1000);
describeTableResponse = await client.DescribeTableAsync(describeTableRequest);
}
while (describeTableResponse.Table.TableStatus != TableStatus.ACTIVE);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment