/// <summary>
 /// Checks if table for snapshots with given names exists. If not it creates it.
 /// </summary>
 /// <exception cref="System.InvalidOperationException">Thrown when DynamoDB table already exists, but with different properties OR when table is being deleted.</exception>
 /// <exception cref="Amazon.DynamoDBv2.AmazonDynamoDBException">Thrown when timeout occurs when getting table status from AWS.</exception>
 public static Task CheckCreateSnapshotsTable(
     this IAmazonDynamoDB dynamoDB, DynamoDBProviderOptions options,
     int initialReadCapacityUnits, int initialWriteCapacityUnits
     )
 => dynamoDB.CheckCreateTable(
     options.SnapshotsTableName, options.SnapshotsTableHashKey, options.SnapshotsTableSortKey,
     initialReadCapacityUnits, initialWriteCapacityUnits
     );