public static string ToAWS(this DynamoDBDataType typ)
        {
            switch (typ)
            {
            case DynamoDBDataType.Boolean: return("BOOL");

            case DynamoDBDataType.BinaryCollection: return("BS");

            case DynamoDBDataType.ByteBuffer: return("B");

            case DynamoDBDataType.Date: return("S");

            case DynamoDBDataType.Number: return("N");

            case DynamoDBDataType.NumberCollection: return("NS");

            case DynamoDBDataType.String: return("S");

            case DynamoDBDataType.StringCollection: return("SS");

            default: throw new ArgumentOutOfRangeException("Invalid DynamoDBDataTypes");
            }
        }
 public DynamoDBKeyDescriptor(string name, DynamoDBKeyType keyType, DynamoDBDataType fieldType)
 {
     Name      = name;
     KeyType   = keyType;
     FieldType = fieldType;
 }